From dda3c89aa975071e1dde152fdef271b561b1e6ae Mon Sep 17 00:00:00 2001 From: chenbaodi Date: Thu, 10 Oct 2024 14:06:28 +0800 Subject: [PATCH 1/2] add runhe ui_compare project MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chenbaodi add project demo Signed-off-by: chenbaodi TestBase提交 TestBase提交 TestBase提交 TestBase提交 将截图png复制为webp 修改权限 提交根据横竖屏切换进行截图 转测 Signed-off-by: 小肉头君 删除afterEach 删除afterforeach 1115 转测 转测提交 Signed-off-by: 陈宝迪 1115 转测试 fixed:删除问题用例 Signed-off-by: 陈宝迪 fixed:删除list文件中问题用例 Signed-off-by: 陈宝迪 fixed:删除注释代码和注释用例 Signed-off-by: 陈宝迪 fixed:问题用例解决 Signed-off-by: 陈宝迪 fixed:解决用例失败问题 Signed-off-by: 陈宝迪 fixed:删除Test中的afterEach Signed-off-by: 陈宝迪 1123转测提交 Signed-off-by: 陈宝迪 fixed:解决用例问题 Signed-off-by: 陈宝迪 fixed:删除重复用例 Signed-off-by: 陈宝迪 fixed:用例问题解决 Signed-off-by: 陈宝迪 fix:提交丢失用例 fix:提交丢失用例 fix: add afterEach add缺失用例 Signed-off-by: 陈宝迪 更改失败用例 Signed-off-by: 陈宝迪 修改setting配置文件 Signed-off-by: 陈宝迪 fixed:修复不稳定用例 Signed-off-by: 陈宝迪 Text置换用例提交 Signed-off-by: 陈宝迪 提交置换用例 Signed-off-by: 陈宝迪 修复用例对比失败 Signed-off-by: 陈宝迪 修复用例对比失败 && 删除转python用例 Signed-off-by: 陈宝迪 同步dev分支代码 Signed-off-by: 陈宝迪 提交置换用例 Signed-off-by: 陈宝迪 修改用例乱码 Signed-off-by: 陈宝迪 --- .../uicompare/build-profile.json5 | 45 +- .../uicompare/entry/build-profile.json5 | 18 +- .../entry/src/ohosTest/ets/offIcon.png | Bin 0 -> 175 bytes .../entry/src/ohosTest/ets/onIcon.png | Bin 0 -> 268 bytes .../entry/src/ohosTest/ets/test/List.test.ets | 260 +- .../StatusManagerBelievable.test.ets | 54 + ...eStylesInterfaceEditableTextThree.test.ets | 370 ++ .../UIComponentAttributeImage.test.ets | 360 + ...nentAttributeStringModifyingStyle.test.ets | 136 + ...AttributeStringModifyingStyleText.test.ets | 134 + .../UIComponentAttributeUserData.test.ets | 70 + .../UIComponentCreateColor.test.ets | 1289 ++++ ...UIComponentInputKeyboardAvoidMode.test.ets | 383 ++ ...ComponentScrollSwiperInterfacemix.test.ets | 344 + ...nentTextAttributeStringConstructs.test.ets | 187 + .../UIComponentTextAttribute.test.ets | 1745 +++++ ...TextCommonCopyOptionDraggableTest.test.ets | 1219 ++++ ...ponentTextCommonCustomDrawingSpan.test.ets | 1319 ++++ ...ntTextCommonItscaAttributeUpdater.test.ets | 328 + ...ComponentTextHyperlinkInteraction.test.ets | 128 + ...omponentTextImagePrivacySensitive.test.ets | 55 + .../UIComponentTextInline.test.ets | 413 ++ ...mponentTextInputNumberDecimalTest.test.ets | 273 + ...xtInputSecurityKeyboardScrollTest.test.ets | 368 ++ .../UIComponentTextInput.test.ets | 65 + .../UIComponentTextReverseAnalysis.test.ets | 313 + ...UIComponentTextTextAreaActionTest.test.ets | 296 + ...ComponentTextTextAreaEnhancesTest.test.ets | 89 + ...onentTextTextAreaEnterkeyTypeTest.test.ets | 424 ++ ...extTextAreaEvaSaveInputMethodTest.test.ets | 124 + ...ponentTextTextAreaInterActionTest.test.ets | 121 + ...ponentTextTextAreaInterActiveTest.test.ets | 355 + ...omponentTextTextAreaInterfaceTest.test.ets | 185 + ...UIComponentTextTextAreaLayoutTest.test.ets | 77 + ...onentTextTextAreaOnEditChangeTest.test.ets | 110 + ...omponentTextTextAreaSelectionTest.test.ets | 505 ++ ...nentTextTextAreaUxComsistencyTest.test.ets | 63 + .../UIComponentTextTextEditable.test.ets | 291 + ...mponentTextTextEvasiveInputMethod.test.ets | 137 + .../UIComponentTextTextGestureStyle.test.ets | 1014 +++ .../UIComponentTextTextImageSpanAlt.test.ets | 102 + .../UIComponentTextTextInterface.test.ets | 86 + .../UIComponentTextTextLongPress.test.ets | 126 + .../UIComponentTextTextMarquee.test.ets | 85 + .../UIComponentTextTextPrivacyMask.test.ets | 63 + ...onentTextTextStringParagraphStyle.test.ets | 817 +++ .../UIComponentTextTextSupportFont.test.ets | 315 + .../UIComponentTextTransparency.test.ets | 115 + .../UIComponentUISupportColor.test.ets | 15 +- ...ICustomTextShortCutKeyReplacement.test.ets | 1574 +++++ .../UiComponentNavModifier.test.ets | 484 ++ .../src/ohosTest/ets/test/model/Settings.ets | 8 +- .../src/ohosTest/ets/test/model/Utils.ets | 42 + .../ohosTest/ets/testability/TestAbility.ets | 27 +- ...UICustomTextShortCutKeyReplacement0150.ets | 30 + ...UICustomTextShortCutKeyReplacement0160.ets | 39 + ...UICustomTextShortCutKeyReplacement0170.ets | 39 + ...UICustomTextShortCutKeyReplacement0180.ets | 46 + ...UICustomTextShortCutKeyReplacement0190.ets | 46 + ...UICustomTextShortCutKeyReplacement0200.ets | 46 + ...UICustomTextShortCutKeyReplacement0210.ets | 46 + ...UICustomTextShortCutKeyReplacement0220.ets | 46 + ...UICustomTextShortCutKeyReplacement0230.ets | 46 + ...UICustomTextShortCutKeyReplacement0240.ets | 46 + ...UICustomTextShortCutKeyReplacement0250.ets | 46 + ...UICustomTextShortCutKeyReplacement0260.ets | 46 + ...UICustomTextShortCutKeyReplacement0270.ets | 46 + ...UICustomTextShortCutKeyReplacement0280.ets | 46 + ...UICustomTextShortCutKeyReplacement0300.ets | 46 + ...UICustomTextShortCutKeyReplacement0310.ets | 46 + ...UICustomTextShortCutKeyReplacement0320.ets | 46 + ...UICustomTextShortCutKeyReplacement0330.ets | 46 + ...UICustomTextShortCutKeyReplacement0340.ets | 46 + ...UICustomTextShortCutKeyReplacement0350.ets | 46 + ...UICustomTextShortCutKeyReplacement0360.ets | 46 + ...UICustomTextShortCutKeyReplacement0370.ets | 46 + ...UICustomTextShortCutKeyReplacement0380.ets | 46 + .../ohosTest/ets/testability/pages/Index.ets | 38 +- .../StatusManagerBelievable0010.ets | 40 + ...ateStylesInterfaceEditableTextThree032.ets | 47 + ...ateStylesInterfaceEditableTextThree061.ets | 48 + ...ateStylesInterfaceEditableTextThree075.ets | 68 + ...ateStylesInterfaceEditableTextThree090.ets | 50 + ...ateStylesInterfaceEditableTextThree092.ets | 50 + ...ateStylesInterfaceEditableTextThree101.ets | 51 + ...ateStylesInterfaceEditableTextThree103.ets | 51 + ...ateStylesInterfaceEditableTextThree104.ets | 56 + ...ateStylesInterfaceEditableTextThree105.ets | 65 + ...ateStylesInterfaceEditableTextThree106.ets | 65 + ...ateStylesInterfaceEditableTextThree113.ets | 52 + ...ateStylesInterfaceEditableTextThree117.ets | 53 + ...ateStylesInterfaceEditableTextThree120.ets | 53 + .../UIComponentAttributeImage001.ets | 57 + .../UIComponentAttributeImage002.ets | 88 + .../UIComponentAttributeImage003.ets | 117 + .../UIComponentAttributeImage004.ets | 126 + .../UIComponentAttributeImage005.ets | 160 + .../UIComponentAttributeImage006.ets | 66 + .../UIComponentAttributeImage007.ets | 159 + .../UIComponentAttributeImage008.ets | 60 + .../UIComponentAttributeImage009.ets | 60 + .../UIComponentAttributeImage010.ets | 60 + .../UIComponentAttributeImage011.ets | 66 + .../UIComponentAttributeImage012.ets | 68 + .../UIComponentAttributeImage013.ets | 77 + .../UIComponentAttributeImage014.ets | 69 + .../UIComponentAttributeImage015.ets | 74 + .../UIComponentAttributeImage016.ets | 76 + .../UIComponentAttributeImage017.ets | 74 + .../UIComponentAttributeImage018.ets | 74 + ...onentAttributeStringModifyingStyle0120.ets | 61 + ...ponentAttributeStringModifyingStyle015.ets | 56 + ...ponentAttributeStringModifyingStyle016.ets | 66 + ...ponentAttributeStringModifyingStyle022.ets | 56 + ...ponentAttributeStringModifyingStyle023.ets | 63 + ...tAttributeStringModifyingStyleText0090.ets | 65 + ...tAttributeStringModifyingStyleText0100.ets | 65 + ...ntAttributeStringModifyingStyleText011.ets | 99 + ...ntAttributeStringModifyingStyleText023.ets | 62 + .../UIComponentAttributeUserData0030.ets | 112 + .../UIComponentCreateColor001.ets | 48 + .../UIComponentCreateColor002.ets | 48 + .../UIComponentCreateColor003.ets | 50 + .../UIComponentCreateColor004.ets | 64 + .../UIComponentCreateColor006_1.ets | 62 + .../UIComponentCreateColor006_2.ets | 69 + .../UIComponentCreateColor006_3.ets | 70 + .../UIComponentCreateColor007.ets | 49 + .../UIComponentCreateColor008.ets | 45 + .../UIComponentCreateColor009.ets | 48 + .../UIComponentCreateColor011.ets | 49 + .../UIComponentCreateColor0120.ets | 51 + .../UIComponentCreateColor0130.ets | 48 + .../UIComponentCreateColor0140.ets | 54 + .../UIComponentCreateColor0150.ets | 41 + .../UIComponentCreateColor0160.ets | 51 + .../UIComponentCreateColor0170.ets | 48 + .../UIComponentCreateColor0180.ets | 48 + .../UIComponentCreateColor0200.ets | 49 + .../UIComponentCreateColor0210.ets | 49 + .../UIComponentInputKeyboardAvoidMode0010.ets | 38 + .../UIComponentInputKeyboardAvoidMode0020.ets | 40 + .../UIComponentInputKeyboardAvoidMode0030.ets | 49 + .../UIComponentInputKeyboardAvoidMode0040.ets | 46 + .../UIComponentInputKeyboardAvoidMode0050.ets | 46 + .../UIComponentInputKeyboardAvoidMode0060.ets | 47 + .../UIComponentInputKeyboardAvoidMode0070.ets | 45 + .../UIComponentInputKeyboardAvoidMode0080.ets | 48 + .../UIComponentInputKeyboardAvoidMode0090.ets | 38 + .../UIComponentInputKeyboardAvoidMode0100.ets | 44 + .../UIComponentInputKeyboardAvoidMode0110.ets | 43 + .../UIComponentInputKeyboardAvoidMode0120.ets | 45 + .../UIComponentInputKeyboardAvoidMode0130.ets | 44 + .../UIComponentInputKeyboardAvoidMode0150.ets | 44 + ...IComponentScrollSwiperInterfacemix0430.ets | 42 + ...IComponentScrollSwiperInterfacemix0440.ets | 42 + ...IComponentScrollSwiperInterfacemix0450.ets | 43 + ...IComponentScrollSwiperInterfacemix0460.ets | 42 + ...IComponentScrollSwiperInterfacemix0470.ets | 49 + ...IComponentScrollSwiperInterfacemix0890.ets | 33 + ...IComponentScrollSwiperInterfacemix1120.ets | 36 + ...IComponentScrollSwiperInterfacemix1140.ets | 29 + ...IComponentScrollSwiperInterfacemix1150.ets | 48 + ...IComponentScrollSwiperInterfacemix1160.ets | 49 + ...IComponentScrollSwiperInterfacemix1170.ets | 33 + ...IComponentScrollSwiperInterfacemix1180.ets | 34 + ...IComponentScrollSwiperInterfacemix1190.ets | 33 + ...IComponentScrollSwiperInterfacemix1200.ets | 33 + ...IComponentScrollSwiperInterfacemix1220.ets | 33 + .../UIComponentTextAttribute0010.ets | 31 + .../UIComponentTextAttribute0020.ets | 31 + .../UIComponentTextAttribute0030.ets | 31 + .../UIComponentTextAttribute0040.ets | 31 + .../UIComponentTextAttribute0050.ets | 31 + .../UIComponentTextAttribute0060.ets | 31 + .../UIComponentTextAttribute0080.ets | 60 + .../UIComponentTextAttribute0090.ets | 60 + .../UIComponentTextAttribute0100.ets | 60 + .../UIComponentTextAttribute0110.ets | 60 + .../UIComponentTextAttribute0120.ets | 60 + .../UIComponentTextAttribute0130.ets | 75 + .../UIComponentTextAttribute0140.ets | 59 + .../UIComponentTextAttribute0150.ets | 58 + .../UIComponentTextAttribute0160.ets | 58 + .../UIComponentTextAttribute0170.ets | 59 + .../UIComponentTextAttribute0180.ets | 65 + .../UIComponentTextAttribute0190.ets | 66 + .../UIComponentTextAttribute0200.ets | 88 + .../UIComponentTextAttribute0210.ets | 71 + .../UIComponentTextAttribute0220.ets | 72 + .../UIComponentTextAttribute0230.ets | 79 + .../UIComponentTextAttribute0240.ets | 79 + .../UIComponentTextAttribute0250.ets | 62 + .../UIComponentTextAttribute0260.ets | 62 + .../UIComponentTextAttribute0270.ets | 61 + .../UIComponentTextAttribute0280.ets | 62 + .../UIComponentTextAttribute0290.ets | 61 + .../UIComponentTextAttribute0300.ets | 64 + .../UIComponentTextAttribute0310.ets | 64 + .../UIComponentTextAttribute0320.ets | 63 + .../UIComponentTextAttribute0330.ets | 63 + .../UIComponentTextAttribute0340.ets | 83 + .../UIComponentTextAttribute0350.ets | 63 + .../UIComponentTextAttribute0360.ets | 65 + .../UIComponentTextAttribute0370.ets | 87 + .../UIComponentTextAttribute0380.ets | 66 + .../UIComponentTextAttribute0390.ets | 65 + .../UIComponentTextAttribute0400.ets | 69 + .../UIComponentTextAttribute0410.ets | 68 + .../UIComponentTextAttribute0420.ets | 36 + .../UIComponentTextAttribute0430.ets | 30 + .../UIComponentTextAttribute0440.ets | 45 + .../UIComponentTextAttribute0450.ets | 39 + .../UIComponentTextAttribute0460.ets | 44 + .../UIComponentTextAttribute0470.ets | 47 + .../UIComponentTextAttribute0480.ets | 47 + .../UIComponentTextAttribute0490.ets | 53 + .../UIComponentTextAttribute0500.ets | 68 + .../UIComponentTextAttribute0510.ets | 36 + .../UIComponentTextAttribute0520.ets | 34 + .../UIComponentTextAttribute0530.ets | 51 + .../UIComponentTextAttribute0540.ets | 35 + .../UIComponentTextAttribute0550.ets | 35 + .../UIComponentTextAttribute0560.ets | 29 + .../UIComponentTextAttribute0570.ets | 58 + .../UIComponentTextAttribute0600.ets | 32 + .../UIComponentTextAttribute0640.ets | 32 + ...onentTextAttributeStringConstructs0220.ets | 58 + ...onentTextAttributeStringConstructs0320.ets | 58 + ...onentTextAttributeStringConstructs0330.ets | 58 + ...onentTextAttributeStringConstructs0340.ets | 58 + ...onentTextAttributeStringConstructs0350.ets | 58 + ...onentTextAttributeStringConstructs0360.ets | 58 + ...onentTextAttributeStringConstructs0460.ets | 43 + ...onentTextCommonCopyOptionDraggable0010.ets | 158 + ...onentTextCommonCopyOptionDraggable0020.ets | 159 + ...onentTextCommonCopyOptionDraggable0030.ets | 135 + ...onentTextCommonCopyOptionDraggable0040.ets | 135 + ...onentTextCommonCopyOptionDraggable0050.ets | 143 + ...onentTextCommonCopyOptionDraggable0060.ets | 143 + ...onentTextCommonCopyOptionDraggable0070.ets | 155 + ...onentTextCommonCopyOptionDraggable0080.ets | 155 + ...onentTextCommonCopyOptionDraggable0090.ets | 139 + ...onentTextCommonCopyOptionDraggable0100.ets | 151 + ...onentTextCommonCopyOptionDraggable0110.ets | 151 + ...onentTextCommonCopyOptionDraggable0120.ets | 172 + ...onentTextCommonCopyOptionDraggable0130.ets | 172 + ...onentTextCommonCopyOptionDraggable0140.ets | 157 + ...onentTextCommonCopyOptionDraggable0150.ets | 157 + ...onentTextCommonCopyOptionDraggable0160.ets | 167 + ...onentTextCommonCopyOptionDraggable0170.ets | 167 + ...onentTextCommonCopyOptionDraggable0180.ets | 136 + ...omponentTextCommonCustomDrawingSpan001.ets | 67 + ...omponentTextCommonCustomDrawingSpan002.ets | 67 + ...omponentTextCommonCustomDrawingSpan004.ets | 69 + ...omponentTextCommonCustomDrawingSpan005.ets | 69 + ...omponentTextCommonCustomDrawingSpan007.ets | 85 + ...omponentTextCommonCustomDrawingSpan008.ets | 77 + ...omponentTextCommonCustomDrawingSpan009.ets | 56 + ...omponentTextCommonCustomDrawingSpan010.ets | 111 + ...omponentTextCommonCustomDrawingSpan011.ets | 115 + ...omponentTextCommonCustomDrawingSpan012.ets | 110 + ...omponentTextCommonCustomDrawingSpan013.ets | 121 + ...omponentTextCommonCustomDrawingSpan014.ets | 132 + ...omponentTextCommonCustomDrawingSpan015.ets | 65 + ...omponentTextCommonCustomDrawingSpan016.ets | 65 + ...omponentTextCommonCustomDrawingSpan017.ets | 184 + ...omponentTextCommonCustomDrawingSpan019.ets | 121 + ...omponentTextCommonCustomDrawingSpan020.ets | 131 + ...omponentTextCommonCustomDrawingSpan021.ets | 107 + ...omponentTextCommonCustomDrawingSpan022.ets | 123 + ...omponentTextCommonCustomDrawingSpan023.ets | 122 + ...omponentTextCommonCustomDrawingSpan024.ets | 124 + ...mponentTextCommonCustomDrawingSpan0250.ets | 138 + ...omponentTextCommonCustomDrawingSpan027.ets | 123 + ...omponentTextCommonCustomDrawingSpan028.ets | 139 + ...mponentTextCommonCustomDrawingSpan0290.ets | 138 + ...omponentTextCommonCustomDrawingSpan032.ets | 121 + ...omponentTextCommonCustomDrawingSpan033.ets | 121 + ...omponentTextCommonCustomDrawingSpan034.ets | 122 + ...omponentTextCommonCustomDrawingSpan035.ets | 122 + ...omponentTextCommonCustomDrawingSpan036.ets | 148 + ...omponentTextCommonCustomDrawingSpan037.ets | 122 + ...omponentTextCommonCustomDrawingSpan038.ets | 124 + ...omponentTextCommonCustomDrawingSpan039.ets | 150 + ...omponentTextCommonCustomDrawingSpan040.ets | 157 + ...omponentTextCommonCustomDrawingSpan041.ets | 133 + ...omponentTextCommonCustomDrawingSpan042.ets | 126 + ...omponentTextCommonCustomDrawingSpan043.ets | 120 + ...omponentTextCommonCustomDrawingSpan044.ets | 124 + ...omponentTextCommonCustomDrawingSpan045.ets | 145 + ...omponentTextCommonCustomDrawingSpan046.ets | 116 + ...omponentTextCommonCustomDrawingSpan047.ets | 116 + ...omponentTextCommonCustomDrawingSpan048.ets | 103 + ...omponentTextCommonCustomDrawingSpan049.ets | 95 + ...omponentTextCommonCustomDrawingSpan050.ets | 95 + ...omponentTextCommonCustomDrawingSpan051.ets | 97 + ...omponentTextCommonCustomDrawingSpan052.ets | 102 + ...omponentTextCommonCustomDrawingSpan053.ets | 104 + ...omponentTextCommonCustomDrawingSpan054.ets | 105 + ...omponentTextCommonCustomDrawingSpan055.ets | 102 + ...omponentTextCommonCustomDrawingSpan056.ets | 111 + ...nentTextCommonItscaAttributeUpdater001.ets | 30 + ...nentTextCommonItscaAttributeUpdater002.ets | 32 + ...nentTextCommonItscaAttributeUpdater003.ets | 30 + ...nentTextCommonItscaAttributeUpdater004.ets | 30 + ...nentTextCommonItscaAttributeUpdater005.ets | 38 + ...nentTextCommonItscaAttributeUpdater006.ets | 53 + ...nentTextCommonItscaAttributeUpdater007.ets | 85 + ...nentTextCommonItscaAttributeUpdater008.ets | 86 + ...nentTextCommonItscaAttributeUpdater009.ets | 69 + ...nentTextCommonItscaAttributeUpdater010.ets | 82 + ...nentTextCommonItscaAttributeUpdater011.ets | 69 + ...nentTextCommonItscaAttributeUpdater012.ets | 69 + ...nentTextCommonItscaAttributeUpdater013.ets | 44 + ...nentTextCommonItscaAttributeUpdater014.ets | 92 + ...IComponentTextHyperlinkInteraction0030.ets | 30 + ...IComponentTextHyperlinkInteraction0040.ets | 30 + ...IComponentTextHyperlinkInteraction0080.ets | 30 + ...IComponentTextHyperlinkInteraction0090.ets | 30 + ...IComponentTextImagePrivacySensitive001.ets | 30 + .../UIComponentTextInline0010.ets | 32 + .../UIComponentTextInline0020.ets | 32 + .../UIComponentTextInline0030.ets | 57 + .../UIComponentTextInline0060.ets | 34 + .../UIComponentTextInline0070.ets | 32 + .../UIComponentTextInline0080.ets | 32 + .../UIComponentTextInline0090.ets | 57 + .../UIComponentTextInline0120.ets | 34 + .../UIComponentTextInline0130.ets | 32 + .../UIComponentTextInput0010.ets | 43 + .../UIComponentTextInputNumberDecimal0010.ets | 40 + .../UIComponentTextInputNumberDecimal0020.ets | 32 + .../UIComponentTextInputNumberDecimal0030.ets | 32 + .../UIComponentTextInputNumberDecimal0040.ets | 32 + .../UIComponentTextInputNumberDecimal0050.ets | 35 + .../UIComponentTextInputNumberDecimal0060.ets | 36 + .../UIComponentTextInputNumberDecimal0070.ets | 70 + .../UIComponentTextInputNumberDecimal0080.ets | 32 + .../UIComponentTextInputNumberDecimal0100.ets | 33 + ...entTextInputSecurityKeyboardScroll0010.ets | 32 + ...entTextInputSecurityKeyboardScroll0020.ets | 32 + ...entTextInputSecurityKeyboardScroll0030.ets | 36 + ...entTextInputSecurityKeyboardScroll0040.ets | 38 + ...entTextInputSecurityKeyboardScroll0050.ets | 38 + ...entTextInputSecurityKeyboardScroll0060.ets | 44 + ...entTextInputSecurityKeyboardScroll0070.ets | 38 + ...entTextInputSecurityKeyboardScroll0080.ets | 35 + ...entTextInputSecurityKeyboardScroll0090.ets | 36 + ...entTextInputSecurityKeyboardScroll0100.ets | 36 + ...entTextInputSecurityKeyboardScroll0110.ets | 40 + ...entTextInputSecurityKeyboardScroll0120.ets | 35 + ...entTextInputSecurityKeyboardScroll0130.ets | 38 + ...entTextInputSecurityKeyboardScroll0140.ets | 37 + ...entTextInputSecurityKeyboardScroll0150.ets | 36 + .../UIComponentTextReverseAnalysis0200.ets | 50 + .../UIComponentTextReverseAnalysis0300.ets | 30 + .../UIComponentTextReverseAnalysis0350.ets | 30 + .../UIComponentTextReverseAnalysis0390.ets | 68 + .../UIComponentTextReverseAnalysis0400.ets | 64 + .../UIComponentTextReverseAnalysis0410.ets | 64 + .../UIComponentTextReverseAnalysis0420.ets | 68 + .../UIComponentTextReverseAnalysis0430.ets | 68 + .../UIComponentTextReverseAnalysis0480.ets | 30 + .../UIComponentTextReverseAnalysis0490.ets | 31 + .../UIComponentTextReverseAnalysis0500.ets | 30 + .../UIComponentTextReverseAnalysis0510.ets | 32 + .../UIComponentTextTextAreaAction0010.ets | 26 + .../UIComponentTextTextAreaAction0020.ets | 28 + .../UIComponentTextTextAreaAction0030.ets | 29 + .../UIComponentTextTextAreaAction0040.ets | 33 + .../UIComponentTextTextAreaAction0070.ets | 29 + .../UIComponentTextTextAreaAction0080.ets | 29 + .../UIComponentTextTextAreaAction0090.ets | 29 + .../UIComponentTextTextAreaAction0100.ets | 33 + .../UIComponentTextTextAreaAction0110.ets | 41 + .../UIComponentTextTextAreaEnhances0900.ets | 30 + .../UIComponentTextTextAreaEnhances2500.ets | 28 + ...IComponentTextTextAreaEnterkeyType0010.ets | 37 + ...IComponentTextTextAreaEnterkeyType0016.ets | 37 + ...IComponentTextTextAreaEnterkeyType0020.ets | 37 + ...IComponentTextTextAreaEnterkeyType0030.ets | 37 + ...IComponentTextTextAreaEnterkeyType0040.ets | 37 + ...IComponentTextTextAreaEnterkeyType0050.ets | 37 + ...IComponentTextTextAreaEnterkeyType0060.ets | 37 + ...IComponentTextTextAreaEnterkeyType0080.ets | 37 + ...IComponentTextTextAreaEnterkeyType0090.ets | 53 + ...IComponentTextTextAreaEnterkeyType0100.ets | 53 + ...IComponentTextTextAreaEnterkeyType0110.ets | 54 + ...IComponentTextTextAreaEnterkeyType0120.ets | 54 + ...IComponentTextTextAreaEnterkeyType0130.ets | 54 + ...IComponentTextTextAreaEnterkeyType0140.ets | 54 + ...nentTextTextAreaEvaSaveInputMethod0130.ets | 61 + ...nentTextTextAreaEvaSaveInputMethod0140.ets | 64 + ...nentTextTextAreaEvaSaveInputMethod0150.ets | 64 + ...UIComponentTextTextAreaInterAction0010.ets | 31 + ...UIComponentTextTextAreaInterAction0030.ets | 31 + ...UIComponentTextTextAreaInterAction0040.ets | 31 + ...UIComponentTextTextAreaInterActive0010.ets | 30 + ...UIComponentTextTextAreaInterActive0020.ets | 30 + ...UIComponentTextTextAreaInterActive0030.ets | 30 + ...UIComponentTextTextAreaInterActive0040.ets | 29 + ...UIComponentTextTextAreaInterActive0050.ets | 29 + ...UIComponentTextTextAreaInterActive0060.ets | 37 + ...UIComponentTextTextAreaInterActive0070.ets | 32 + ...UIComponentTextTextAreaInterActive0300.ets | 34 + ...UIComponentTextTextAreaInterActive0320.ets | 34 + ...UIComponentTextTextAreaInterActive0330.ets | 37 + ...UIComponentTextTextAreaInterActive0340.ets | 37 + ...UIComponentTextTextAreaInterActive0350.ets | 37 + ...UIComponentTextTextAreaInterActive0360.ets | 37 + ...UIComponentTextTextAreaInterActive0370.ets | 37 + ...UIComponentTextTextAreaInterActive0380.ets | 37 + .../UIComponentTextTextAreaInterface0670.ets | 34 + .../UIComponentTextTextAreaInterface0680.ets | 34 + .../UIComponentTextTextAreaInterface0690.ets | 34 + .../UIComponentTextTextAreaInterface0700.ets | 37 + .../UIComponentTextTextAreaInterface0710.ets | 37 + .../UIComponentTextTextAreaInterface0720.ets | 37 + .../UIComponentTextTextAreaInterface0730.ets | 37 + .../UIComponentTextTextAreaInterface0740.ets | 39 + .../UIComponentTextTextAreaInterface1020.ets | 37 + .../UIComponentTextTextAreaLayout0010.ets | 32 + .../UIComponentTextTextAreaLayout0020.ets | 34 + ...IComponentTextTextAreaOnEditChange0090.ets | 48 + ...IComponentTextTextAreaOnEditChange0100.ets | 100 + ...IComponentTextTextAreaOnEditChange0130.ets | 48 + .../UIComponentTextTextAreaSelection0020.ets | 37 + .../UIComponentTextTextAreaSelection0030.ets | 39 + .../UIComponentTextTextAreaSelection0040.ets | 39 + .../UIComponentTextTextAreaSelection0050.ets | 37 + .../UIComponentTextTextAreaSelection0060.ets | 41 + .../UIComponentTextTextAreaSelection0070.ets | 37 + .../UIComponentTextTextAreaSelection0090.ets | 52 + .../UIComponentTextTextAreaSelection0100.ets | 37 + .../UIComponentTextTextAreaSelection0110.ets | 37 + .../UIComponentTextTextAreaSelection0120.ets | 42 + .../UIComponentTextTextAreaSelection0130.ets | 37 + .../UIComponentTextTextAreaSelection0140.ets | 37 + .../UIComponentTextTextAreaSelection0150.ets | 37 + .../UIComponentTextTextAreaSelection0160.ets | 37 + ...ComponentTextTextAreaUxComsistency0060.ets | 37 + .../UIComponentTextTextEditable014.ets | 41 + .../UIComponentTextTextEditable015.ets | 55 + .../UIComponentTextTextEditable016.ets | 55 + .../UIComponentTextTextEditable017.ets | 63 + .../UIComponentTextTextEditable018.ets | 51 + .../UIComponentTextTextEditable019.ets | 59 + .../UIComponentTextTextEditable020.ets | 59 + .../UIComponentTextTextEditable021.ets | 58 + .../UIComponentTextTextEditable022.ets | 52 + .../UIComponentTextTextEditable023.ets | 54 + .../UIComponentTextTextEditable024.ets | 54 + .../UIComponentTextTextEditable025.ets | 62 + .../UIComponentTextTextEditable026.ets | 69 + .../UIComponentTextTextEvasiveInput001.ets | 93 + .../UIComponentTextTextEvasiveInput002.ets | 111 + .../UIComponentTextTextEvasiveInput003.ets | 115 + .../UIComponentTextTextEvasiveInput004.ets | 116 + .../UIComponentTextTextGestureStyle001.ets | 53 + .../UIComponentTextTextGestureStyle0020.ets | 53 + .../UIComponentTextTextGestureStyle0030.ets | 48 + .../UIComponentTextTextGestureStyle0040.ets | 48 + .../UIComponentTextTextGestureStyle0050.ets | 48 + .../UIComponentTextTextGestureStyle0060.ets | 48 + .../UIComponentTextTextGestureStyle0070.ets | 48 + .../UIComponentTextTextGestureStyle0080.ets | 48 + .../UIComponentTextTextGestureStyle009.ets | 46 + .../UIComponentTextTextGestureStyle010.ets | 46 + .../UIComponentTextTextGestureStyle011.ets | 41 + .../UIComponentTextTextGestureStyle012.ets | 50 + .../UIComponentTextTextGestureStyle013.ets | 48 + .../UIComponentTextTextGestureStyle014.ets | 58 + .../UIComponentTextTextGestureStyle015.ets | 54 + .../UIComponentTextTextGestureStyle016.ets | 54 + .../UIComponentTextTextGestureStyle017.ets | 65 + .../UIComponentTextTextGestureStyle018.ets | 60 + .../UIComponentTextTextGestureStyle019.ets | 68 + .../UIComponentTextTextGestureStyle020.ets | 55 + .../UIComponentTextTextGestureStyle0210.ets | 54 + .../UIComponentTextTextGestureStyle0220.ets | 61 + .../UIComponentTextTextGestureStyle0230.ets | 59 + .../UIComponentTextTextGestureStyle024.ets | 66 + .../UIComponentTextTextGestureStyle0250.ets | 61 + .../UIComponentTextTextGestureStyle0260.ets | 92 + .../UIComponentTextTextGestureStyle0270.ets | 68 + .../UIComponentTextTextGestureStyle0280.ets | 96 + .../UIComponentTextTextGestureStyle029.ets | 63 + .../UIComponentTextTextGestureStyle030.ets | 60 + .../UIComponentTextTextGestureStyle031.ets | 76 + .../UIComponentTextTextGestureStyle032.ets | 69 + .../UIComponentTextTextGestureStyle033.ets | 62 + .../UIComponentTextTextGestureStyle034.ets | 63 + .../UIComponentTextTextGestureStyle035.ets | 58 + .../UIComponentTextTextGestureStyle036.ets | 64 + .../UIComponentTextTextGestureStyle037.ets | 64 + .../UIComponentTextTextImageSpanAlt004.ets | 30 + .../UIComponentTextTextImageSpanAlt005.ets | 56 + .../UIComponentTextTextImageSpanAlt006.ets | 56 + .../UIComponentTextTextImageSpanAlt007.ets | 66 + .../UIComponentTextTextInterface029.ets | 25 + .../UIComponentTextTextInterface187.ets | 25 + .../UIComponentTextTextInterface202.ets | 26 + .../UIComponentTextTextLongPress010.ets | 57 + .../UIComponentTextTextLongPress011.ets | 47 + .../UIComponentTextTextLongPress012.ets | 40 + .../UIComponentTextTextLongPress013.ets | 40 + .../UIComponentTextTextMarquee001.ets | 52 + .../UIComponentTextTextMarquee002.ets | 49 + .../UIComponentTextTextMarquee003.ets | 56 + .../UIComponentTextTextMarquee004.ets | 65 + .../UIComponentTextTextMarquee005.ets | 51 + .../UIComponentTextTextMarquee006.ets | 47 + .../UIComponentTextTextMarquee008.ets | 51 + .../UIComponentTextTextMarquee009.ets | 52 + .../UIComponentTextTextPrivacyMask028.ets | 27 + ...mponentTextTextStringParagraphStyle006.ets | 62 + ...mponentTextTextStringParagraphStyle007.ets | 62 + ...mponentTextTextStringParagraphStyle008.ets | 63 + ...mponentTextTextStringParagraphStyle009.ets | 44 + ...mponentTextTextStringParagraphStyle010.ets | 44 + ...mponentTextTextStringParagraphStyle011.ets | 43 + ...mponentTextTextStringParagraphStyle012.ets | 43 + ...mponentTextTextStringParagraphStyle013.ets | 44 + ...mponentTextTextStringParagraphStyle014.ets | 44 + ...mponentTextTextStringParagraphStyle015.ets | 44 + ...mponentTextTextStringParagraphStyle016.ets | 43 + ...mponentTextTextStringParagraphStyle017.ets | 43 + ...mponentTextTextStringParagraphStyle018.ets | 44 + ...mponentTextTextStringParagraphStyle019.ets | 44 + ...mponentTextTextStringParagraphStyle020.ets | 44 + ...mponentTextTextStringParagraphStyle021.ets | 44 + ...mponentTextTextStringParagraphStyle022.ets | 45 + ...mponentTextTextStringParagraphStyle023.ets | 44 + ...mponentTextTextStringParagraphStyle024.ets | 44 + ...mponentTextTextStringParagraphStyle025.ets | 44 + ...mponentTextTextStringParagraphStyle026.ets | 62 + ...mponentTextTextStringParagraphStyle027.ets | 40 + ...mponentTextTextStringParagraphStyle028.ets | 49 + ...mponentTextTextStringParagraphStyle029.ets | 49 + ...mponentTextTextStringParagraphStyle030.ets | 50 + ...mponentTextTextStringParagraphStyle031.ets | 47 + ...mponentTextTextStringParagraphStyle032.ets | 45 + ...mponentTextTextStringParagraphStyle033.ets | 58 + ...mponentTextTextStringParagraphStyle034.ets | 45 + ...mponentTextTextStringParagraphStyle035.ets | 45 + ...mponentTextTextStringParagraphStyle036.ets | 45 + ...mponentTextTextStringParagraphStyle037.ets | 45 + ...mponentTextTextStringParagraphStyle038.ets | 45 + ...mponentTextTextStringParagraphStyle039.ets | 45 + ...mponentTextTextStringParagraphStyle040.ets | 67 + ...mponentTextTextStringParagraphStyle041.ets | 68 + ...mponentTextTextStringParagraphStyle042.ets | 68 + ...mponentTextTextStringParagraphStyle043.ets | 68 + ...mponentTextTextStringParagraphStyle044.ets | 68 + ...mponentTextTextStringParagraphStyle045.ets | 68 + ...mponentTextTextStringParagraphStyle046.ets | 68 + ...mponentTextTextStringParagraphStyle047.ets | 68 + ...mponentTextTextStringParagraphStyle048.ets | 59 + ...mponentTextTextStringParagraphStyle049.ets | 60 + ...mponentTextTextStringParagraphStyle050.ets | 59 + ...mponentTextTextStringParagraphStyle051.ets | 169 + ...mponentTextTextStringParagraphStyle052.ets | 61 + ...mponentTextTextStringParagraphStyle053.ets | 62 + .../UIComponentTextTransparency0030.ets | 27 + .../UIComponentTextTransparency0170.ets | 28 + .../UIComponentTextTransparency0180.ets | 27 + .../UIComponentTextTransparency0190.ets | 28 + .../UIComponentTextTransparency0200.ets | 28 + .../UIComponentTextTransparency0210.ets | 28 + .../UIComponentTextTransparency0220.ets | 28 + .../UIComponentTextTransparency0230.ets | 28 + .../UIComponentTextTransparency0240.ets | 28 + .../UIComponentTextTransparency0250.ets | 28 + .../UIComponentTextTransparency0260.ets | 28 + .../UIComponentTextTransparency0270.ets | 28 + .../UIComponentTextTransparency0280.ets | 28 + .../UIComponentTextTransparency0290.ets | 28 + .../UIComponentTextTransparency0300.ets | 28 + .../UIComponentTextTransparency0310.ets | 27 + .../UIComponentTextTransparency0320.ets | 28 + .../UIComponentTextTransparency0330.ets | 28 + .../UIComponentTextTransparency003.ets | 34 + .../UIComponentTextTransparency0040.ets | 41 + .../UIComponentTextTransparency0050.ets | 46 + .../UIComponentTextTransparency0060.ets | 40 + .../UIComponentUISupportColor204.ets | 31 + .../UIComponentUISupportColor205.ets | 31 + .../UIComponentUISupportColor206.ets | 31 + .../UIComponentUISupportColor207.ets | 31 + .../UIComponentUISupportColor208.ets | 27 + .../UIComponentUISupportColor209.ets | 27 + .../UIComponentUISupportColor210.ets | 26 + ...UICustomTextShortCutKeyReplacement0150.ets | 30 + ...UICustomTextShortCutKeyReplacement0160.ets | 39 + ...UICustomTextShortCutKeyReplacement0170.ets | 39 + ...UICustomTextShortCutKeyReplacement0180.ets | 46 + ...UICustomTextShortCutKeyReplacement0190.ets | 46 + ...UICustomTextShortCutKeyReplacement0200.ets | 46 + ...UICustomTextShortCutKeyReplacement0210.ets | 46 + ...UICustomTextShortCutKeyReplacement0220.ets | 46 + ...UICustomTextShortCutKeyReplacement0230.ets | 46 + ...UICustomTextShortCutKeyReplacement0240.ets | 46 + ...UICustomTextShortCutKeyReplacement0250.ets | 46 + ...UICustomTextShortCutKeyReplacement0260.ets | 46 + ...UICustomTextShortCutKeyReplacement0270.ets | 46 + ...UICustomTextShortCutKeyReplacement0280.ets | 46 + ...UICustomTextShortCutKeyReplacement0300.ets | 46 + ...UICustomTextShortCutKeyReplacement0310.ets | 46 + ...UICustomTextShortCutKeyReplacement0320.ets | 46 + ...UICustomTextShortCutKeyReplacement0330.ets | 46 + ...UICustomTextShortCutKeyReplacement0340.ets | 46 + ...UICustomTextShortCutKeyReplacement0350.ets | 46 + ...UICustomTextShortCutKeyReplacement0360.ets | 46 + ...UICustomTextShortCutKeyReplacement0370.ets | 46 + ...UICustomTextShortCutKeyReplacement0380.ets | 46 + ...UICustomTextShortCutKeyReplacement0400.ets | 91 + ...UICustomTextShortCutKeyReplacement0410.ets | 76 + ...UICustomTextShortCutKeyReplacement0420.ets | 85 + ...UICustomTextShortCutKeyReplacement0430.ets | 93 + ...UICustomTextShortCutKeyReplacement0440.ets | 81 + ...UICustomTextShortCutKeyReplacement0460.ets | 87 + ...UICustomTextShortCutKeyReplacement0490.ets | 84 + ...UICustomTextShortCutKeyReplacement0500.ets | 65 + ...UICustomTextShortCutKeyReplacement0510.ets | 88 + ...UICustomTextShortCutKeyReplacement0610.ets | 120 + ...UICustomTextShortCutKeyReplacement0620.ets | 83 + ...UICustomTextShortCutKeyReplacement0660.ets | 138 + ...UICustomTextShortCutKeyReplacement0670.ets | 60 + ...UICustomTextShortCutKeyReplacement0710.ets | 58 + ...UICustomTextShortCutKeyReplacement0720.ets | 37 + .../ets/testrunner/OpenHarmonyTestRunner.ts | 3 +- .../uicompare/entry/src/ohosTest/module.json5 | 81 +- .../resources/base/element/integer.json | 20 +- .../resources/base/element/string.json | 8 + .../resources/base/profile/test_pages.json | 5793 ++++++++++++----- .../uicompare/hvigor/hvigor-wrapper.js | 1 + .../uicompare/oh-package-lock.json5 | 15 + .../ui_compare_rh/uicompare/oh-package.json5 | 22 +- .../uicompare_tools/excel/Text.xlsx | Bin 0 -> 14878 bytes ...StateStylesInterfaceEditableTextThree.xlsx | Bin 0 -> 8803 bytes .../excel/UIComponentAttributeImageTest.xlsx | Bin 0 -> 9596 bytes ...omponentAttributeStringModifyingStyle.xlsx | Bin 0 -> 8766 bytes ...nentAttributeStringModifyingStyleText.xlsx | Bin 0 -> 8726 bytes .../excel/UIComponentCreateColor.xlsx | Bin 0 -> 10197 bytes .../UIComponentScrollSwiperInterfacemix.xlsx | Bin 0 -> 9549 bytes ...IComponentTextCommonCustomDrawingSpan.xlsx | Bin 0 -> 10218 bytes ...ponentTextCommonItscaAttributeUpdater.xlsx | Bin 0 -> 9462 bytes .../UIComponentTextImagePrivacySensitive.xlsx | Bin 0 -> 8747 bytes .../excel/UIComponentTextInput0010.xlsx | Bin 0 -> 8724 bytes .../UIComponentTextTextAreaActionTest.xlsx | Bin 0 -> 9882 bytes ...ComponentTextTextAreaEnterkeyTypeTest.xlsx | Bin 0 -> 10017 bytes ...entTextTextAreaEvaSaveInputMethodTest.xlsx | Bin 0 -> 9868 bytes ...IComponentTextTextAreaInterActiveTest.xlsx | Bin 0 -> 10010 bytes .../UIComponentTextTextAreaInterfaceTest.xlsx | Bin 0 -> 9919 bytes .../UIComponentTextTextAreaLayoutTest.xlsx | Bin 0 -> 9818 bytes .../excel/UIComponentTextTextEditable.xlsx | Bin 0 -> 9526 bytes .../UIComponentTextTextGestureStyle.xlsx | Bin 0 -> 9721 bytes .../UIComponentTextTextImageSpanAlt.xlsx | Bin 0 -> 8745 bytes .../excel/UIComponentTextTextInterface.xlsx | Bin 0 -> 8724 bytes .../excel/UIComponentTextTextLongPress.xlsx | Bin 0 -> 9417 bytes .../excel/UIComponentTextTextMarquee.xlsx | Bin 0 -> 8784 bytes .../excel/UIComponentTextTextPrivacyMask.xlsx | Bin 0 -> 8736 bytes ...ComponentTextTextStringParagraphStyle.xlsx | Bin 0 -> 10343 bytes .../excel/UIComponentUISupportColor.xlsx | Bin 0 -> 9480 bytes 665 files changed, 55552 insertions(+), 1912 deletions(-) create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/offIcon.png create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/onIcon.png create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/StatusManagerBelievableTest/StatusManagerBelievable.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIAttributesStateStylesInterfaceEditableTextThreeTest/UIAttributesStateStylesInterfaceEditableTextThree.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeImageTest/UIComponentAttributeImage.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeStringModifyingStyleTest/UIComponentAttributeStringModifyingStyle.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeStringModifyingStyleTextTest/UIComponentAttributeStringModifyingStyleText.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeUserData/UIComponentAttributeUserData.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentCreateColorTest/UIComponentCreateColor.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentInputKeyboardAvoidModeTest/UIComponentInputKeyboardAvoidMode.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperInterfacemixTest/UIComponentScrollSwiperInterfacemix.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextAttributeStringConstructsTest/UIComponentTextAttributeStringConstructs.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextAttributeText/UIComponentTextAttribute.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonCopyOptionDraggableTest/UIComponentTextCommonCopyOptionDraggableTest.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonItscaAttributeUpdaterTest/UIComponentTextCommonItscaAttributeUpdater.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextHyperlinkInteractionTest/UIComponentTextHyperlinkInteraction.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextImagePrivacySensitiveTest/UIComponentTextImagePrivacySensitive.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInlineTest/UIComponentTextInline.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInputNumberDecimalTest/UIComponentTextInputNumberDecimalTest.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInputSecurityKeyboardScrollTest/UIComponentTextInputSecurityKeyboardScrollTest.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInputTest/UIComponentTextInput.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextReverseAnalysisTest/UIComponentTextReverseAnalysis.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaActionTest/UIComponentTextTextAreaActionTest.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaEnhancesTest/UIComponentTextTextAreaEnhancesTest.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaEnterkeyTypeTest/UIComponentTextTextAreaEnterkeyTypeTest.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaEvaSaveInputMethodTest/UIComponentTextTextAreaEvaSaveInputMethodTest.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaInterActionTest/UIComponentTextTextAreaInterActionTest.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaInterActiveTest/UIComponentTextTextAreaInterActiveTest.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaInterfaceTest/UIComponentTextTextAreaInterfaceTest.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaLayoutTest/UIComponentTextTextAreaLayoutTest.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaOnEditChangeTest/UIComponentTextTextAreaOnEditChangeTest.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaSelectionTest/UIComponentTextTextAreaSelectionTest.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaUxComsistencyTest/UIComponentTextTextAreaUxComsistencyTest.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextEditableTest/UIComponentTextTextEditable.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextEvasiveInputMethodTest/UIComponentTextTextEvasiveInputMethod.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextGestureStyleTest/UIComponentTextTextGestureStyle.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextImageSpanAltTest/UIComponentTextTextImageSpanAlt.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextInterfaceTest/UIComponentTextTextInterface.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextLongPressTest/UIComponentTextTextLongPress.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextMarqueeTest/UIComponentTextTextMarquee.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextPrivacyMaskTest/UIComponentTextTextPrivacyMask.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextStringParagraphStyleTest/UIComponentTextTextStringParagraphStyle.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextSupportFontTest/UIComponentTextTextSupportFont.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTransparencyTest/UIComponentTextTransparency.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentNavModifierTest/UiComponentNavModifier.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0300.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0310.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0360.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0370.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0380.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/StatusManagerBelievable/StatusManagerBelievable0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree032.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree061.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree075.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree092.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree101.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree103.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree104.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree105.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree106.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree113.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree117.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage001.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage002.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage003.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage004.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage005.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage006.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage007.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage008.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage009.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage011.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage012.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage013.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage014.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage015.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage016.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage017.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage018.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle015.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle016.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle022.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle023.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText011.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText023.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeUserData/UIComponentAttributeUserData0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor001.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor002.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor003.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor004.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor006_1.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor006_2.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor006_3.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor007.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor008.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor009.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor011.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0430.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0440.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0450.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0460.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0470.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0890.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0300.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0310.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0360.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0370.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0380.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0390.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0400.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0410.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0420.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0430.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0440.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0450.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0460.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0470.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0480.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0490.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0500.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0510.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0520.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0530.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0540.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0550.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0560.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0570.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0600.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0640.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0360.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0460.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan001.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan002.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan004.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan005.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan007.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan008.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan009.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan011.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan012.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan013.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan014.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan015.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan016.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan017.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan019.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan021.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan022.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan023.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan024.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan0250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan027.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan028.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan0290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan032.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan033.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan034.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan035.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan036.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan037.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan038.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan039.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan041.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan042.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan043.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan044.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan045.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan046.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan047.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan048.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan049.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan051.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan052.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan053.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan054.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan055.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan056.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater001.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater002.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater003.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater004.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater005.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater006.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater007.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater008.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater009.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater011.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater012.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater013.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater014.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextImagePrivacySensitive/UIComponentTextImagePrivacySensitive001.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInput/UIComponentTextInput0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0300.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0390.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0400.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0410.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0420.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0430.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0480.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0490.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0500.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0510.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnhances/UIComponentTextTextAreaEnhances0900.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnhances/UIComponentTextTextAreaEnhances2500.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0016.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEvaSaveInputMethod/UIComponentTextTextAreaEvaSaveInputMethod0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEvaSaveInputMethod/UIComponentTextTextAreaEvaSaveInputMethod0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEvaSaveInputMethod/UIComponentTextTextAreaEvaSaveInputMethod0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterAction/UIComponentTextTextAreaInterAction0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterAction/UIComponentTextTextAreaInterAction0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterAction/UIComponentTextTextAreaInterAction0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0300.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0360.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0370.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0380.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0670.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0680.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0690.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0700.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0710.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0720.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0730.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0740.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface1020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaLayout/UIComponentTextTextAreaLayout0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaLayout/UIComponentTextTextAreaLayout0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaOnEditChange/UIComponentTextTextAreaOnEditChange0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaOnEditChange/UIComponentTextTextAreaOnEditChange0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaOnEditChange/UIComponentTextTextAreaOnEditChange0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaUxComsistency/UIComponentTextTextAreaUxComsistency0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable014.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable015.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable016.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable017.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable018.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable019.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable021.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable022.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable023.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable024.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable025.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/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput001.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput002.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput003.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput004.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle001.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle009.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle011.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle012.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle013.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle014.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle015.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle016.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle017.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle018.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle019.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle024.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle029.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle031.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle032.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle033.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle034.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle035.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle036.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle037.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt004.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt005.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt006.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt007.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextInterface/UIComponentTextTextInterface029.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextInterface/UIComponentTextTextInterface187.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextInterface/UIComponentTextTextInterface202.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress011.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress012.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress013.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee001.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee002.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee003.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee004.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee005.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee006.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee008.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee009.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextPrivacyMask/UIComponentTextTextPrivacyMask028.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle006.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle007.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle008.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle009.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle011.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle012.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle013.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle014.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle015.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle016.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle017.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle018.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle019.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle021.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle022.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle023.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle024.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle025.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle026.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle027.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle028.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle029.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle031.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle032.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle033.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle034.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle035.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle036.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle037.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle038.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle039.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle041.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle042.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle043.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle044.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle045.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle046.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle047.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle048.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle049.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle051.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle052.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle053.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0300.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0310.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTransparency/UIComponentTextTransparency003.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTransparency/UIComponentTextTransparency0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTransparency/UIComponentTextTransparency0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTransparency/UIComponentTextTransparency0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor204.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor205.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor206.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor207.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor208.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor209.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0300.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0310.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0360.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0370.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0380.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0400.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0410.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0420.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0430.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0440.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0460.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0490.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0500.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0510.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0610.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0620.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0660.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0670.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0710.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0720.ets create mode 100644 function/ui_compare_rh/uicompare/hvigor/hvigor-wrapper.js create mode 100644 function/ui_compare_rh/uicompare/oh-package-lock.json5 create mode 100644 function/ui_compare_rh/uicompare_tools/excel/Text.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIAttributesStateStylesInterfaceEditableTextThree.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIComponentAttributeImageTest.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIComponentAttributeStringModifyingStyle.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIComponentAttributeStringModifyingStyleText.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIComponentCreateColor.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIComponentScrollSwiperInterfacemix.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIComponentTextCommonCustomDrawingSpan.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIComponentTextCommonItscaAttributeUpdater.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIComponentTextImagePrivacySensitive.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIComponentTextInput0010.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextAreaActionTest.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextAreaEnterkeyTypeTest.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextAreaEvaSaveInputMethodTest.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextAreaInterActiveTest.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextAreaInterfaceTest.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextAreaLayoutTest.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextEditable.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextGestureStyle.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextImageSpanAlt.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextInterface.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextLongPress.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextMarquee.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextPrivacyMask.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextStringParagraphStyle.xlsx create mode 100644 function/ui_compare_rh/uicompare_tools/excel/UIComponentUISupportColor.xlsx diff --git a/function/ui_compare_rh/uicompare/build-profile.json5 b/function/ui_compare_rh/uicompare/build-profile.json5 index 25255c09..921a8d34 100644 --- a/function/ui_compare_rh/uicompare/build-profile.json5 +++ b/function/ui_compare_rh/uicompare/build-profile.json5 @@ -1,29 +1,26 @@ { - "app": { - "signingConfigs": [ - ], - "products": [ + app: { + signingConfigs: [], + products: [ { - "name": "default", - "signingConfig": "default", - "compileSdkVersion": 12, - "compatibleSdkVersion": 12, - "runtimeOS": "OpenHarmony" - } - ] + name: "default", + signingConfig: "default", + compileSdkVersion: 12, + compatibleSdkVersion: 12, + runtimeOS: "OpenHarmony", + }, + ], }, - "modules": [ + modules: [ { - "name": "entry", - "srcPath": "./entry", - "targets": [ + name: "entry", + srcPath: "./entry", + targets: [ { - "name": "default", - "applyToProducts": [ - "default" - ] - } - ] - } - ] -} \ No newline at end of file + name: "default", + applyToProducts: ["default"], + }, + ], + }, + ], +} diff --git a/function/ui_compare_rh/uicompare/entry/build-profile.json5 b/function/ui_compare_rh/uicompare/entry/build-profile.json5 index f8f03407..7d7bfd39 100644 --- a/function/ui_compare_rh/uicompare/entry/build-profile.json5 +++ b/function/ui_compare_rh/uicompare/entry/build-profile.json5 @@ -1,13 +1,13 @@ { - "apiType": 'stageMode', - "buildOption": { - }, - "targets": [ + apiType: "stageMode", + buildOption: {}, + targets: [ { - "name": "default" + name: "default", + runtimeOS: "OpenHarmony", }, { - "name": "ohosTest", - } - ] -} \ No newline at end of file + name: "ohosTest", + }, + ], +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/offIcon.png b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/offIcon.png new file mode 100644 index 0000000000000000000000000000000000000000..4cc3288583304500745654f3cb33b9c52c288d9b GIT binary patch literal 175 zcmeAS@N?(olHy`uVBq!ia0vp^T0pGA!3HG%pIo60q&N#aB8wRq_>O=u<5X=vX`rBB ziEBhjaDG}zd16s2LvUVZL1J-9YOMIVyFf`7PZ!6Kh}O5~4stRm3NUQ^{Of&X?!n^? z9GV%V|J`m3USxW4R)+5uwJ71Wo!4Bl(YafBWq4RzR#X`&1I=UbboFyt=akR{ E0JE+*egFUf literal 0 HcmV?d00001 diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/onIcon.png b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/onIcon.png new file mode 100644 index 0000000000000000000000000000000000000000..f13599666fa6479839a066be980ed0a92363d403 GIT binary patch literal 268 zcmeAS@N?(olHy`uVBq!ia0vp^Vn8gy!3HEdYt9+~Db50q$YKTtz9S&aI8~cZ8Yn1O z;u=vBoS#-wo>-L15S*7;kXT%j8Y_P8E>Lozr;B5VMeormfkG_`JkG*TcHKKvZ2o(( zb%5iHb!VQfcQ~!=(D_$@Yod;`$5j&sg_EmpL_GI&+LgL@$s8GhyG?8#rd$)0UTb^V zd8z&7tud(=6zi=1FEKy8MnZg=llcr~6JzOK?sC2CCH7S^A { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + Settings.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); + done(); + }) + + /* + * @tc.number : SUB_ACE_STATUSMANAGER_BELIEVABLE_0010 + * @tc.name : SUB_ACE_STATUSMANAGER_BELIEVABLE_0010 + */ + it('SUB_ACE_STATUSMANAGER_BELIEVABLE_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_STATUSMANAGER_BELIEVABLE_0010 start.`); + Settings.createWindow("testability/pages/StatusManagerBelievable/StatusManagerBelievable0010"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_STATUSMANAGER_BELIEVABLE_0010 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIAttributesStateStylesInterfaceEditableTextThreeTest/UIAttributesStateStylesInterfaceEditableTextThree.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIAttributesStateStylesInterfaceEditableTextThreeTest/UIAttributesStateStylesInterfaceEditableTextThree.test.ets new file mode 100644 index 00000000..e476882a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIAttributesStateStylesInterfaceEditableTextThreeTest/UIAttributesStateStylesInterfaceEditableTextThree.test.ets @@ -0,0 +1,370 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 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 { KeyCode } from '@kit.InputKit' + +export default function UIAttributesStateStylesInterfaceEditableTextThree() { + + describe('UIAttributesStateStylesInterfaceEditableTextThree', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + Settings.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); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0320 + * @tc.name : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0320 + * @tc.desc : Bind custom keyboard + */ + it('SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0320 start.`); + Settings.createWindow("testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree032"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(500); + let component = await driver.findComponent(ON.id('inputComponent')); + await Utils.sleep(500); + await component.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0320 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0610 + * @tc.name : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0610 + * @tc.desc : Bind custom keyboard + */ + it('SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0610', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0610 start.`); + Settings.createWindow("testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree061"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(500); + let component = await driver.findComponent(ON.id('textAreaComponent')); + await Utils.sleep(500); + await component.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0610 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0750_1 + * @tc.name : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0750_1 + * @tc.desc : Bind custom keyboard + */ + it('SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0750_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0750_1 start.`); + Settings.createWindow("testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree075"); + await Utils.sleep(1000); + let driver = Driver.create(); + await Utils.sleep(1000); + let component = await driver.findComponent(ON.id('searchComponent')); + await Utils.sleep(500); + await component.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0750_1 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0750_2 + * @tc.name : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0750_2 + * @tc.desc : Bind custom keyboard + */ + it('SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0750_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0750_2 start.`); + Settings.createWindow("testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree075"); + await Utils.sleep(1000); + let driver = Driver.create(); + await Utils.sleep(1000); + let component = await driver.findComponent(ON.id('searchComponent')); + let clearFocus = await driver.findComponent(ON.id('clearFocus')); + await Utils.sleep(500); + await component.click(); + await Utils.sleep(1000); + clearFocus.click(); + await Utils.sleep(500); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0750_2 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0900 + * @tc.name : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0900 + * @tc.desc : Bind custom keyboard + */ + it('SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0900', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0900 start.`); + Settings.createWindow("testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree090"); + await Utils.sleep(1000); + let driver = Driver.create(); + await Utils.sleep(1000); + let component = await driver.findComponent(ON.id('searchComponent')); + await Utils.sleep(500); + await component.click(); + await Utils.sleep(500); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0900 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0920 + * @tc.name : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0920 + * @tc.desc : Bind custom keyboard + */ + it('SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0920', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0920 start.`); + Settings.createWindow("testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree092"); + await Utils.sleep(1000); + let driver = Driver.create(); + await Utils.sleep(1000); + let component = await driver.findComponent(ON.id('searchComponent')); + await Utils.sleep(500); + await component.click(); + await Utils.sleep(500); + await driver.triggerKey(KeyCode.KEYCODE_1); + await Utils.sleep(500); + await driver.triggerKey(KeyCode.KEYCODE_2); + await Utils.sleep(500); + await driver.triggerKey(KeyCode.KEYCODE_2); + await Utils.sleep(500); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_0920 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1010 + * @tc.name : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1010 + * @tc.desc : Bind custom keyboard + */ + it('SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1010 start.`); + Settings.createWindow("testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree101"); + await Utils.sleep(1000); + let driver = Driver.create(); + await Utils.sleep(1000); + let component = await driver.findComponent(ON.id('richEditorComponent')); + await Utils.sleep(500); + await component.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1010 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1040 + * @tc.name : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1040 + * @tc.desc : Bind custom keyboard + */ + it('SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1040 start.`); + Settings.createWindow("testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree104"); + await Utils.sleep(1000); + let driver = Driver.create(); + await Utils.sleep(1000); + let component = await driver.findComponent(ON.id('richEditorComponent')); + await Utils.sleep(500); + component.click(); + await Utils.sleep(500); + await component.inputText('123456123456123456'); + await Utils.sleep(500); + await component.longClick(); + await Utils.sleep(1000); + let selectAll = await driver.findComponent(ON.text('全选')); + await selectAll?.click(); + await Utils.sleep(500); + let copy = await driver.findComponent(ON.text('复制')); + await copy?.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1040 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1050_1 + * @tc.name : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1050_1 + * @tc.desc : Bind custom keyboard + */ + it('SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1050_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1050_1 start.`); + Settings.createWindow("testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree105"); + await Utils.sleep(1000); + let driver = Driver.create(); + await Utils.sleep(1000); + let component = await driver.findComponent(ON.id('richEditorComponent')); + await Utils.sleep(500); + component.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1050_1 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1050_2 + * @tc.name : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1050_2 + * @tc.desc : Bind custom keyboard + */ + it('SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1050_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1050_2 start.`); + Settings.createWindow("testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree105"); + await Utils.sleep(1000); + let driver = Driver.create(); + await Utils.sleep(1000); + let component = await driver.findComponent(ON.id('richEditorComponent')); + let clearFocus = await driver.findComponent(ON.id('clearFocus')); + await Utils.sleep(500); + component.click(); + await Utils.sleep(500); + clearFocus.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1050_2 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1060 + * @tc.name : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1060 + * @tc.desc : Bind custom keyboard + */ + it('SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1060 start.`); + Settings.createWindow( + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/" + + "UIAttributesStateStylesInterfaceEditableTextThree106"); + await Utils.sleep(1000); + let driver = Driver.create(); + await Utils.sleep(1000); + let component = await driver.findComponent(ON.id('richEditorComponent')); + await Utils.sleep(500); + await component.longClick(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1060 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1130 + * @tc.name : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1130 + * @tc.desc : Bind custom keyboard + */ + it('SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1130 start.`); + Settings.createWindow( + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/" + + "UIAttributesStateStylesInterfaceEditableTextThree106"); + await Utils.sleep(1000); + let driver = Driver.create(); + await Utils.sleep(1000); + let component = await driver.findComponent(ON.id('richEditorComponent')); + await Utils.sleep(500); + await component.click(); + await Utils.sleep(1000); + + await driver.pressBack(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1130 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1170 + * @tc.name : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1170 + * @tc.desc : Bind custom keyboard + */ + it('SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1170 start.`); + Settings.createWindow("testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree117"); + await Utils.sleep(1000); + let driver = Driver.create(); + await Utils.sleep(1000); + let component = await driver.findComponent(ON.id('richEditorComponent')); + await Utils.sleep(500); + component.click(); + await Utils.sleep(1000); + let closeButton = await driver.findComponent(ON.id('closeButton')); + await Utils.sleep(1000); + closeButton.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1170 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1200 + * @tc.name : SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1200 + * @tc.desc : Bind custom keyboard + */ + it('SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1200 start.`); + Settings.createWindow("testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree120"); + await Utils.sleep(1000); + let driver = Driver.create(); + await Utils.sleep(1000); + let component = await driver.findComponent(ON.id('richEditorComponent')); + await Utils.sleep(500); + component.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_STATESTYLES_INTERFACE_EDITABLETEXTTHREE_1200 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeImageTest/UIComponentAttributeImage.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeImageTest/UIComponentAttributeImage.test.ets new file mode 100644 index 00000000..bba4274b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeImageTest/UIComponentAttributeImage.test.ets @@ -0,0 +1,360 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 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 UIComponentAttributeImage001() { + + describe('UIComponentAttributeImage001', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + + Settings.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); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_SPAN_BASELINEOFFSET_0010 + * @tc.name SUB_ACE_UI_COMPONENT_SPAN_BASELINEOFFSET_0010 + * @tc.desc Set Picture + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0010 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeImage/UIComponentAttributeImage001"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0010 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0020 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0020 + * @tc.desc Set image size + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0020 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeImage/UIComponentAttributeImage002"); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0020 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0030 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0030 + * @tc.desc Set image size + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0030 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeImage/UIComponentAttributeImage003"); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0030 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0040 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0040 + * @tc.desc Set the zoom type of the image + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0040 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeImage/UIComponentAttributeImage004"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0040 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0050 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0050 + * @tc.desc Set the outer margin + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0050 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeImage/UIComponentAttributeImage005"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0050 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0060 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0060 + * @tc.desc Set the outer margin + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0060 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeImage/UIComponentAttributeImage006"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0060 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0070 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0070 + * @tc.desc padding + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0070 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeImage/UIComponentAttributeImage007"); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0070 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0080 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0080 + * @tc.desc Display images as spaces + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0080 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeImage/UIComponentAttributeImage008"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0080 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0090 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0090 + * @tc.desc The character length of the image is 1 + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0090 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeImage/UIComponentAttributeImage009"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0090 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0100 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0100 + * @tc.desc Can display images + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0100 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeImage/UIComponentAttributeImage010"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0100 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0110 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0110 + * @tc.desc The image has been cleared + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0110 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeImage/UIComponentAttributeImage011"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let button = await driver.findComponent(ON.id("UIComponentAttributeImage011")); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0110 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0120 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0120 + * @tc.desc String removed + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0120 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeImage/UIComponentAttributeImage012"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let button = await driver.findComponent(ON.id("UIComponentAttributeImage012")); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0120 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0130 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0130 + * @tc.desc The image has been cleared + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0130 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeImage/UIComponentAttributeImage013"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let button = await driver.findComponent(ON.id("UIComponentAttributeImage013")); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0130 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0140 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0140 + * @tc.desc Clear the specified range style + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0140 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeImage/UIComponentAttributeImage014"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let button = await driver.findComponent(ON.id("UIComponentAttributeImage014")); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0140 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0150 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0150 + * @tc.desc Clear all styles + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0150 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeImage/UIComponentAttributeImage015"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let button = await driver.findComponent(ON.id("UIComponentAttributeImage015")); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0150 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0160 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0160 + * @tc.desc Replace the image + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0160 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeImage/UIComponentAttributeImage016"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let button = await driver.findComponent(ON.id("UIComponentAttributeImage016")); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0160 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0170 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0170 + * @tc.desc Insert picture + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0170 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeImage/UIComponentAttributeImage017"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let button = await driver.findComponent(ON.id("UIComponentAttributeImage017")); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0170 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0180 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0180 + * @tc.desc Insert image at the end + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0180 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeImage/UIComponentAttributeImage018"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let button = await driver.findComponent(ON.id("UIComponentAttributeImage018")); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_IMAGE_0180 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeStringModifyingStyleTest/UIComponentAttributeStringModifyingStyle.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeStringModifyingStyleTest/UIComponentAttributeStringModifyingStyle.test.ets new file mode 100644 index 00000000..6b9f6855 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeStringModifyingStyleTest/UIComponentAttributeStringModifyingStyle.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 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 UIComponentAttributeStringModifyingStyle() { + + describe('UIComponentAttributeStringModifyingStyle', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0150 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0150 + * @tc.desc Clear specified range and specify style + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0150 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle015"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let button = await driver.findComponent(ON.id("UIComponentAttributeStringModifyingStyle015")); + button.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0150 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0160 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0160 + * @tc.desc Clear specified range and specify style + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0160 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle016"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let button = await driver.findComponent(ON.id("UIComponentAttributeStringModifyingStyle016")); + button.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0160 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0220 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0220 + * @tc.desc Clear specified range and specify style + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0220 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle022"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let button = await driver.findComponent(ON.id("UIComponentAttributeStringModifyingStyle022")); + button.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0220 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0230 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0230 + * @tc.desc Clear all styles within the specified range + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0230 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle023"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let button = await driver.findComponent(ON.id("UIComponentAttributeStringModifyingStyle023")); + button.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0230 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0120 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0120 + * @tc.desc Clear all styles within the specified range + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0120 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle0120"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let insertButton = await driver.findComponent(ON.id("insert")); + insertButton.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_0120 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeStringModifyingStyleTextTest/UIComponentAttributeStringModifyingStyleText.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeStringModifyingStyleTextTest/UIComponentAttributeStringModifyingStyleText.test.ets new file mode 100644 index 00000000..8324d3bc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeStringModifyingStyleTextTest/UIComponentAttributeStringModifyingStyleText.test.ets @@ -0,0 +1,134 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 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 UIComponentAttributeStringModifyingStyleText() { + + describe('UIComponentAttributeStringModifyingStyleText', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_TEXT_0230 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_TEXT_0230 + * @tc.desc Set multiple insertions and character deletions + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_TEXT_0230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_TEXT_0230 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText023"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let insertButton = await driver.findComponent(ON.id("insert")); + let deleteButton = await driver.findComponent(ON.id("delete")); + insertButton.click(); + await Utils.sleep(2000); + deleteButton.click(); + await Utils.sleep(2000); + insertButton.click(); + await Utils.sleep(2000); + insertButton.click(); + await Utils.sleep(2000); + deleteButton.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_TEXT_0230 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_TEXT_0090 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_TEXT_0090 + * @tc.desc Set multiple insertions and character deletions + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_TEXT_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_TEXT_0090 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText0090"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let insertButton = await driver.findComponent(ON.id("insert")); + insertButton.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_TEXT_0090 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_TEXT_0100 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_TEXT_0100 + * @tc.desc Set multiple insertions and character deletions + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_TEXT_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_TEXT_0100 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText0100"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let insertButton = await driver.findComponent(ON.id("insert")); + insertButton.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_TEXT_0100 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_TEXT_0110 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_TEXT_0110 + * @tc.desc Set multiple insertions and character deletions + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_TEXT_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_TEXT_0110 start.`); + Settings.createWindow( + "testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText011" + ); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let insertButton = await driver.findComponent(ON.id("insert")); + let getString = await driver.findComponent(ON.id("getString")); + let getLength = await driver.findComponent(ON.id("getLength")); + let getStyles = await driver.findComponent(ON.id("getStyles")); + await insertButton.click(); + await Utils.sleep(2000); + await getString.click(); + await Utils.sleep(2000); + await getLength.click(); + await Utils.sleep(2000); + await getStyles.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_STRING_MODIFYING_STYLE_TEXT_0110 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeUserData/UIComponentAttributeUserData.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeUserData/UIComponentAttributeUserData.test.ets new file mode 100644 index 00000000..c4c9e3cb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeUserData/UIComponentAttributeUserData.test.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 { 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 '@kit.TestKit' + +export default function UIComponentAttributeUserData() { + + describe('UIComponentAttributeUserData', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + + Settings.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); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ATTRIBUTE_USERDATA_0030 + * @tc.name SUB_ACE_UI_COMPONENT_ATTRIBUTE_USERDATA_0030 + * @tc.desc ATSpan + */ + it('SUB_ACE_UI_COMPONENT_ATTRIBUTE_USERDATA_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_USERDATA_0030 start.`); + Settings.createWindow("testability/pages/UIComponentAttributeUserData/UIComponentAttributeUserData0030"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let button = await driver.findComponent(ON.id("getStlye")); + await button.click(); + await Utils.sleep(1000); + let button1 = await driver.findComponent(ON.id("getStlye1")); + await button1.click(); + await Utils.sleep(1000); + let button2 = await driver.findComponent(ON.id("getStlye2")); + await button2.click(); + await Utils.sleep(1000); + let button3 = await driver.findComponent(ON.id("getStlye3")); + await button3.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ATTRIBUTE_USERDATA_0030 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentCreateColorTest/UIComponentCreateColor.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentCreateColorTest/UIComponentCreateColor.test.ets new file mode 100644 index 00000000..af256c79 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentCreateColorTest/UIComponentCreateColor.test.ets @@ -0,0 +1,1289 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { Driver, ON, MouseButton } from '@kit.TestKit' +import { Component } from '@ohos.UiTest' +import { KeyCode } from '@kit.InputKit' + +export default function UIComponentCreateColor() { + + describe('UIComponentCreateColor', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0010_1 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0010_1 + * @tc.desc Set cursor color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0010_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0010_1 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor001"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('inputComponent')); + await textInput.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await textInput.longClick(); + await Utils.sleep(500); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_SELECTION_INTERFACE_0330 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0010_2 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0010_2 + * @tc.desc Set cursor color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0010_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0010_2 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor001"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('inputComponent')); + let redCaret = await driver.findComponent(ON.id("redCaret")); + await Utils.sleep(500); + await redCaret.click(); + await textInput.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await textInput.longClick(); + await Utils.sleep(500); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0010_2 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0010_3 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0010_3 + * @tc.desc Set cursor color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0010_3', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0010_3 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor001"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('inputComponent')); + let greenCaret = await driver.findComponent(ON.id("greenCaret")); + await Utils.sleep(500); + await greenCaret.click(); + await textInput.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await textInput.longClick(); + await Utils.sleep(500); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0010_3 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0020_1 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0020_1 + * @tc.desc Set background color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0020_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0020_1 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor002"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('inputComponent')); + await textInput.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await textInput.longClick(); + await Utils.sleep(500); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0020_1 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0020_2 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0020_2 + * @tc.desc Set background color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0020_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0020_2 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor002"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('inputComponent')); + let redBackground = await driver.findComponent(ON.id("redBackground")); + await Utils.sleep(500); + await redBackground.click(); + await textInput.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await textInput.longClick(); + await Utils.sleep(500); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0020_2 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0020_3 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0020_3 + * @tc.desc Set background color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0020_3', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0020_3 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor002"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('inputComponent')); + let greenBackground = await driver.findComponent(ON.id("greenBackground")); + await Utils.sleep(500); + await greenBackground.click(); + await textInput.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await textInput.longClick(); + await Utils.sleep(500); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0020_3 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0030 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0030 + * @tc.desc Set opacity + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0030 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor003"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('inputComponent')); + let caretColor = await driver.findComponent(ON.id("caretColor")); + let opacity = await driver.findComponent(ON.id("opacity")); + await Utils.sleep(500); + await caretColor.click(); + await Utils.sleep(500); + await opacity.click(); + await Utils.sleep(500); + await textInput.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await textInput.longClick(); + await Utils.sleep(500); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0030 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0040_1 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0040_1 + * @tc.desc Set textInput component style + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0040_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0040_1 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor004"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('inputComponent')); + await textInput.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await textInput.longClick(); + await Utils.sleep(500); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0040_1 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0040_2 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0020_2 + * @tc.desc Set textInput component style + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0040_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0040_2 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor004"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('inputComponent')); + let redBackground = await driver.findComponent(ON.id("redBackgroundColor")); + let redCaret = await driver.findComponent(ON.id("redCaret")); + await Utils.sleep(500); + await redBackground.click(); + await Utils.sleep(500); + await redCaret.click(); + await Utils.sleep(500); + await textInput.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await textInput.longClick(); + await Utils.sleep(500); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0040_2 end.`); + done(); + }) + + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0040_3 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0040_3 + * @tc.desc Set textInput component style + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0040_3', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0040_3 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor004"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('inputComponent')); + let greenBackgroundColor = await driver.findComponent(ON.id("greenBackgroundColor")); + let greenCaret = await driver.findComponent(ON.id("greenCaret")); + await Utils.sleep(500); + await greenBackgroundColor.click(); + await Utils.sleep(500); + await greenCaret.click(); + await Utils.sleep(500); + await textInput.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await textInput.longClick(); + await Utils.sleep(500); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0040_3 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0060_1 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0060_1 + * @tc.desc Switch input box type + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0060_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0060_1 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor006_1"); + await Utils.sleep(500); + let driver: Driver = Driver.create(); + let textInputFirst: Component = await driver.findComponent(ON.id('UIComponentCreateColor0060')); + let textInputSecond: Component = await driver.findComponent(ON.id('UIComponentCreateColor0061')); + let textInputThird: Component = await driver.findComponent(ON.id('UIComponentCreateColor0062')); + await Utils.sleep(1000); + await textInputFirst.inputText('abc123'); + await Utils.sleep(1000); + await textInputSecond.inputText('abc123'); + await Utils.sleep(1000); + await textInputThird.inputText('123'); + await Utils.sleep(1000); + await textInputFirst.longClick(); + await Utils.sleep(1000); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(1000); + await selectAll?.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0060_1 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0060_2 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0060_2 + * @tc.desc Switch input box type + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0060_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0060_2 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor006_2"); + await Utils.sleep(500); + let driver: Driver = Driver.create(); + let textInputFourth: Component = await driver.findComponent(ON.id('UIComponentCreateColor0063')); + let textInputFifth: Component = await driver.findComponent(ON.id('UIComponentCreateColor0064')); + let textInputSixth: Component = await driver.findComponent(ON.id('UIComponentCreateColor0065')); + let redCaret = await driver.findComponent(ON.id("redCaret")); + await Utils.sleep(500); + await redCaret.click(); + await Utils.sleep(1000); + await textInputFourth.inputText('123'); + await Utils.sleep(1000); + await textInputFifth.inputText('17825636325'); + await Utils.sleep(1000); + await textInputSixth.inputText('123'); + await Utils.sleep(1000); + await textInputFourth.longClick(); + await Utils.sleep(1000); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(1000); + await selectAll?.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0060_2 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0060_3 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0060_3 + * @tc.desc Switch input box type + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0060_3', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0060_3 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor006_3"); + await Utils.sleep(500); + let driver: Driver = Driver.create(); + let textInputSeventh: Component = await driver.findComponent(ON.id('UIComponentCreateColor0066')); + let textInputEighth: Component = await driver.findComponent(ON.id('UIComponentCreateColor0067')); + let textInputNinth: Component = await driver.findComponent(ON.id('UIComponentCreateColor0068')); + let greenCaret = await driver.findComponent(ON.id("greenCaret")); + await Utils.sleep(500); + await greenCaret.click(); + await Utils.sleep(500); + await textInputSeventh.inputText('123'); + await Utils.sleep(500); + await textInputEighth.inputText('1234566'); + await Utils.sleep(500); + await textInputNinth.inputText('123'); + await Utils.sleep(500); + await textInputSeventh.longClick(); + await Utils.sleep(500); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(500); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0060_3 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0070_1 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0070_1 + * @tc.desc Switch to inline mode + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0070_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0070_1 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor007"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('inputComponent')); + await Utils.sleep(500); + await textInput.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await textInput.longClick(); + await Utils.sleep(500); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0070_1 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0070_2 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0070_2 + * @tc.desc Switch to inline mode + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0070_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0070_2 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor007"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('inputComponent')); + let caretColor = await driver.findComponent(ON.id("redCaret")); + await Utils.sleep(500); + await caretColor.click(); + await Utils.sleep(500); + await textInput.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await textInput.longClick(); + await Utils.sleep(500); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0070_2 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0070_3 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0070_3 + * @tc.desc Switch to inline mode + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0070_3', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0070_3 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor007"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('inputComponent')); + let caretColor = await driver.findComponent(ON.id("greenCaret")); + await Utils.sleep(500); + await caretColor.click(); + await Utils.sleep(500); + await textInput.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await textInput.longClick(); + await Utils.sleep(500); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0070_3 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0080_1 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0080_1 + * @tc.desc Set caret color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0080_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0080_1 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor008"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textAreaComponent: Component = await driver.findComponent(ON.id('textAreaComponent')); + await Utils.sleep(500); + await textAreaComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await textAreaComponent.longClick(); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0080_1 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0080_2 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0080_2 + * @tc.desc Set caret color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0080_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0080_2 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor008"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textAreaComponent: Component = await driver.findComponent(ON.id('textAreaComponent')); + let caretColor = await driver.findComponent(ON.id("redCaret")); + await Utils.sleep(500); + await caretColor.click(); + await Utils.sleep(500); + await textAreaComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await textAreaComponent.longClick(); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0080_2 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0080_3 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0080_3 + * @tc.desc Set caret color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0080_3', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0080_3 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor008"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textAreaComponent: Component = await driver.findComponent(ON.id('textAreaComponent')); + let caretColor = await driver.findComponent(ON.id("greenCaret")); + await Utils.sleep(500); + await caretColor.click(); + await Utils.sleep(500); + await textAreaComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await textAreaComponent.longClick(); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0080_3 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0090 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0090 + * @tc.desc Set opacity + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0030 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor009"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textAreaComponent: Component = await driver.findComponent(ON.id('textAreaComponent')); + let caretColor = await driver.findComponent(ON.id("caretColor")); + let opacity = await driver.findComponent(ON.id("opacity")); + await Utils.sleep(500); + await caretColor.click(); + await Utils.sleep(500); + await opacity.click(); + await Utils.sleep(500); + await textAreaComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await textAreaComponent.longClick(); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0090 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0110_1 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0110_1 + * @tc.desc Switch to inline mode + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0110_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0030 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor011"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textAreaComponent: Component = await driver.findComponent(ON.id('textAreaComponent')); + await Utils.sleep(500); + await textAreaComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await textAreaComponent.longClick(); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0090 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0110_2 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0110_2 + * @tc.desc Switch to inline mode + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0110_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0030 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor011"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textAreaComponent: Component = await driver.findComponent(ON.id('textAreaComponent')); + let caretColor = await driver.findComponent(ON.id("redCaret")); + await Utils.sleep(500); + await caretColor.click(); + await Utils.sleep(500); + await Utils.sleep(500); + await textAreaComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await textAreaComponent.longClick(); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0110_2 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0110_3 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0110_3 + * @tc.desc Switch to inline mode + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0110_3', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0030 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor011"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textAreaComponent: Component = await driver.findComponent(ON.id('textAreaComponent')); + let caretColor = await driver.findComponent(ON.id("greenCaret")); + await Utils.sleep(500); + await caretColor.click(); + await Utils.sleep(500); + await Utils.sleep(500); + await textAreaComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await textAreaComponent.longClick(); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0110_3 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0120 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0120 + * @tc.desc Switch to inline mode + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0120 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor0120"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textAreaComponent: Component = await driver.findComponent(ON.id('textAreaComponent')); + await Utils.sleep(100); + let btn: Component = await driver.findComponent(ON.id('changeButton2')); + await Utils.sleep(100); + await btn.click(); + await Utils.sleep(500); + await textAreaComponent.longClick(); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0120 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0130_1 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0130_1 + * @tc.desc Set caret color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0130_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0130_1 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor0130"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let searchComponent: Component = await driver.findComponent(ON.id('searchComponent')); + await Utils.sleep(500); + await searchComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await searchComponent.longClick(); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0130_1 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0130_2 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0130_2 + * @tc.desc Set caret color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0130_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0130_2 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor0130"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let searchComponent: Component = await driver.findComponent(ON.id('searchComponent')); + let caretColor = await driver.findComponent(ON.id("redCaret")); + await Utils.sleep(500); + await caretColor.click(); + await Utils.sleep(500); + await searchComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await searchComponent.longClick(); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0130_2 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0130_3 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0130_3 + * @tc.desc Set caret color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0130_3', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0130_3 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor0130"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let searchComponent: Component = await driver.findComponent(ON.id('searchComponent')); + let caretColor = await driver.findComponent(ON.id("greenCaret")); + await Utils.sleep(500); + await caretColor.click(); + await Utils.sleep(500); + await searchComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await searchComponent.longClick(); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0130_3 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0140_1 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0140_1 + * @tc.desc Set caret color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0140_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0140_1 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor0140"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let searchComponent: Component = await driver.findComponent(ON.id('searchComponent')); + await Utils.sleep(500); + await searchComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await searchComponent.longClick(); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + let btn: Component = await driver.findComponent(ON.id('setTextSelection')); + await Utils.sleep(500); + await btn?.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0140_1 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0140_2 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0140_2 + * @tc.desc Set caret color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0140_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0140_2 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor0140"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let searchComponent: Component = await driver.findComponent(ON.id('searchComponent')); + let caretColor = await driver.findComponent(ON.id("redCaret")); + await Utils.sleep(500); + await caretColor.click(); + await Utils.sleep(500); + await searchComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await searchComponent.longClick(); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + let btn: Component = await driver.findComponent(ON.id('setTextSelection')); + await Utils.sleep(500); + await btn?.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0140_2 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0140_3 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0140_3 + * @tc.desc Set caret color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0140_3', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0140_3 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor0140"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let searchComponent: Component = await driver.findComponent(ON.id('searchComponent')); + let caretColor = await driver.findComponent(ON.id("greenCaret")); + await Utils.sleep(500); + await caretColor.click(); + await Utils.sleep(500); + await searchComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await searchComponent.longClick(); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + let btn: Component = await driver.findComponent(ON.id('setTextSelection')); + await Utils.sleep(500); + await btn?.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0140_3 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0150 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0150 + * @tc.desc Set caret color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0150 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor0150"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let searchComponent: Component = await driver.findComponent(ON.id('searchComponent')); + let caretColor = await driver.findComponent(ON.id("btnCaret")); + await Utils.sleep(500); + await caretColor.click(); + await Utils.sleep(500); + await searchComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await searchComponent.longClick(); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0150 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0160 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0160 + * @tc.desc Switch to inline mode + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0160 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor0160"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textAreaComponent: Component = await driver.findComponent(ON.id('textAreaComponent')); + await Utils.sleep(100); + let btn: Component = await driver.findComponent(ON.id('changeButton2')); + await Utils.sleep(100); + await btn.click(); + await Utils.sleep(500); + await textAreaComponent.longClick(); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0160 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0170_1 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0170_1 + * @tc.desc Set caret color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0170_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0170_1 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor0170"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let searchComponent: Component = await driver.findComponent(ON.id('searchComponent')); + await Utils.sleep(500); + let point = await searchComponent.getBoundsCenter(); + await Utils.sleep(500); + await driver.mouseClick({ + x: point.x, y: point.y + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(500); + await searchComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0170_1 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0170_2 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0170_2 + * @tc.desc Set caret color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0170_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0170_2 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor0170"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let searchComponent: Component = await driver.findComponent(ON.id('searchComponent')); + let caretColor = await driver.findComponent(ON.id("redCaret")); + await Utils.sleep(500); + await caretColor.click(); + await Utils.sleep(500); + let point = await searchComponent.getBoundsCenter(); + await Utils.sleep(500); + await driver.mouseClick({ + x: point.x, y: point.y + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(500); + await searchComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0170_2 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0170_3 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0170_3 + * @tc.desc Set caret color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0170_3', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0170_3 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor0170"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let searchComponent: Component = await driver.findComponent(ON.id('searchComponent')); + let caretColor = await driver.findComponent(ON.id("greenCaret")); + await Utils.sleep(500); + await caretColor.click(); + await Utils.sleep(500); + let point = await searchComponent.getBoundsCenter(); + await Utils.sleep(500); + await driver.mouseClick({ + x: point.x, y: point.y + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(500); + await searchComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0170_3 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0180_1 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0180_1 + * @tc.desc Set caret color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0180_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0180_1 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor0180"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let searchComponent: Component = await driver.findComponent(ON.id('searchComponent')); + await Utils.sleep(500); + let point = await searchComponent.getBoundsCenter(); + await Utils.sleep(500); + await driver.mouseClick({ + x: point.x, y: point.y + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(500); + await searchComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0180_1 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0180_2 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0180_2 + * @tc.desc Set caret color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0180_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0180_2 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor0180"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let searchComponent: Component = await driver.findComponent(ON.id('searchComponent')); + let caretColor = await driver.findComponent(ON.id("redCaret")); + await Utils.sleep(500); + await caretColor.click(); + await Utils.sleep(500); + let point = await searchComponent.getBoundsCenter(); + await Utils.sleep(500); + await driver.mouseClick({ + x: point.x, y: point.y + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(500); + await searchComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0180_2 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0180_3 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0180_3 + * @tc.desc Set caret color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0180_3', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0180_3 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor0180"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let searchComponent: Component = await driver.findComponent(ON.id('searchComponent')); + let caretColor = await driver.findComponent(ON.id("greenCaret")); + await Utils.sleep(500); + await caretColor.click(); + await Utils.sleep(500); + let point = await searchComponent.getBoundsCenter(); + await Utils.sleep(500); + await driver.mouseClick({ + x: point.x, y: point.y + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(500); + await searchComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(1000); + await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_A); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0180_3 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0200_1 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0200_1 + * @tc.desc Set caret color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0200_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0200_1 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor0200"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textAreaComponent: Component = await driver.findComponent(ON.id('textAreaComponent')); + await Utils.sleep(500); + await textAreaComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await textAreaComponent.longClick(); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0200_1 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0200_2 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0200_2 + * @tc.desc Set caret color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0200_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0200_2 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor0200"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textAreaComponent: Component = await driver.findComponent(ON.id('textAreaComponent')); + let caretColor = await driver.findComponent(ON.id("redCaret")); + await Utils.sleep(500); + await caretColor.click(); + await Utils.sleep(500); + await textAreaComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await textAreaComponent.longClick(); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0200_2 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0200_3 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0200_3 + * @tc.desc Set caret color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0200_3', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0200_3 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor0200"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textAreaComponent: Component = await driver.findComponent(ON.id('textAreaComponent')); + let caretColor = await driver.findComponent(ON.id("greenCaret")); + await Utils.sleep(500); + await caretColor.click(); + await Utils.sleep(500); + await textAreaComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await textAreaComponent.longClick(); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0200_3 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0210_1 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0210_1 + * @tc.desc Set caret color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0210_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0210_1 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor0210"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let searchComponent: Component = await driver.findComponent(ON.id('searchComponent')); + await Utils.sleep(500); + await searchComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await searchComponent.longClick(); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0210_1 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0210_2 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0210_2 + * @tc.desc Set caret color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0210_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0210_2 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor0210"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let searchComponent: Component = await driver.findComponent(ON.id('searchComponent')); + let caretColor = await driver.findComponent(ON.id("redCaret")); + await Utils.sleep(500); + await caretColor.click(); + await Utils.sleep(500); + await searchComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await searchComponent.longClick(); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0210_2 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_CREATE_COLOR_0210_3 + * @tc.name SUB_ACE_UI_COMPONENT_CREATE_COLOR_0210_3 + * @tc.desc Set caret color + */ + it('SUB_ACE_UI_COMPONENT_CREATE_COLOR_0210_3', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0210_3 start.`); + Settings.createWindow("testability/pages/UIComponentCreateColor/UIComponentCreateColor0210"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let searchComponent: Component = await driver.findComponent(ON.id('searchComponent')); + let caretColor = await driver.findComponent(ON.id("greenCaret")); + await Utils.sleep(500); + await caretColor.click(); + await Utils.sleep(500); + await searchComponent.inputText('testtesttesttesttesttesttesttesttest'); + await Utils.sleep(500); + await searchComponent.longClick(); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_CREATE_COLOR_0210_3 end.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentInputKeyboardAvoidModeTest/UIComponentInputKeyboardAvoidMode.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentInputKeyboardAvoidModeTest/UIComponentInputKeyboardAvoidMode.test.ets new file mode 100644 index 00000000..c0ccd784 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentInputKeyboardAvoidModeTest/UIComponentInputKeyboardAvoidMode.test.ets @@ -0,0 +1,383 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { Driver, Component, ON } from '@ohos.UiTest' +import { KeyCode } from '@kit.InputKit' + +export default function UIComponentInputKeyboardAvoidMode() { + + describe('UIComponentInputKeyboardAvoidMode', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + Settings.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); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0010 + * @tc.name : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0010 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0010 start.`); + Settings.createWindow("testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0010"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.id('UIComponentInputKeyboardAvoidMode0010_001')); + await button.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(5000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0010 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0020 + * @tc.name : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0020 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0020 start.`); + Settings.createWindow("testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0020"); + await Utils.sleep(1000); + const driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentInputKeyboardAvoidMode0020_001')); + await Utils.sleep(1000); + await button.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(5000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0020 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0030 + * @tc.name : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0030 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0030 start.`); + Settings.createWindow("testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0030"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button: Component = await driver.findComponent(ON.id('UIComponentInputKeyboardAvoidMode0030_001')); + let toggle: Component = await driver.findComponent(ON.id('UIComponentInputKeyboardAvoidMode0030_002')); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(1000); + await driver.pressBack(); + await Utils.sleep(1000); + await toggle.click(); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0020 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0040 + * @tc.name : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0040 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0040 start.`); + Settings.createWindow("testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0040"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let input: Component = await driver.findComponent(ON.id('UIComponentInputKeyboardAvoidMode0040_001')); + let button: Component = await driver.findComponent(ON.id('UIComponentInputKeyboardAvoidMode0040_002')); + await Utils.sleep(1000); + await input.click(); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0040 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0050 + * @tc.name : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0050 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0050 start.`); + Settings.createWindow("testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0050"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let input: Component = await driver.findComponent(ON.id('UIComponentInputKeyboardAvoidMode0050_001')); + let button: Component = await driver.findComponent(ON.id('UIComponentInputKeyboardAvoidMode0050_002')); + await Utils.sleep(1000); + await input.click(); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0050 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0060 + * @tc.name : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0060 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0060 start.`); + Settings.createWindow("testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0060"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let input: Component = await driver.findComponent(ON.id('UIComponentInputKeyboardAvoidMode0060_001')); + let button: Component = await driver.findComponent(ON.id('UIComponentInputKeyboardAvoidMode0060_002')); + await Utils.sleep(1000); + await input.click(); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0060 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0070 + * @tc.name : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0070 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0070 start.`); + Settings.createWindow("testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0070"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let input: Component = await driver.findComponent(ON.id('UIComponentInputKeyboardAvoidMode0070_001')); + let button: Component = await driver.findComponent(ON.id('UIComponentInputKeyboardAvoidMode0070_002')); + await Utils.sleep(1000); + await input.click(); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0070 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0080 + * @tc.name : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0080 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0080 start.`); + Settings.createWindow("testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0080"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let input: Component = await driver.findComponent(ON.id('UIComponentInputKeyboardAvoidMode0080_001')); + let button: Component = await driver.findComponent(ON.id('UIComponentInputKeyboardAvoidMode0080_002')); + await Utils.sleep(1000); + await input.click(); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0080 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0090 + * @tc.name : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0090 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0090 start.`); + Settings.createWindow("testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0090"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let input: Component = await driver.findComponent(ON.id('UIComponentInputKeyboardAvoidMode0090_001')); + await input.click(); + await Utils.sleep(1000); + Settings.changeOrientation(); + await Utils.sleep(1000); + Settings.changeOrientation(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0090 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0100 + * @tc.name : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0100 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0100 start.`); + Settings.createWindow("testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0100"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let input: Component = await driver.findComponent(ON.id('UIComponentInputKeyboardAvoidMode0100_001')); + let button: Component = await driver.findComponent(ON.id('UIComponentInputKeyboardAvoidMode0100_002')); + await Utils.sleep(1000); + await input.click(); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(1000); + Settings.changeOrientation(); + await Utils.sleep(1000); + Settings.changeOrientation(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0100 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0110 + * @tc.name : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0110 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0110 start.`); + Settings.createWindow("testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0110"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let input: Component = await driver.findComponent(ON.id('UIComponentInputKeyboardAvoidMode0110_001')); + await input.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0110 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0120 + * @tc.name : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0120 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0120 start.`); + Settings.createWindow("testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0120"); + await Utils.sleep(1000); + const driver = Driver.create(); + let input: Component = await driver.findComponent(ON.id('UIComponentInputKeyboardAvoidMode0120_001')); + await input.click(); + await Utils.sleep(1000); + await input.click(); + await input.click(); + await Utils.sleep(1000); + let selectAll = await driver.findComponent(ON.text('全选')) + await selectAll?.click(); + await Utils.sleep(1000); + let textArea: Component = await driver.findComponent(ON.id('UIComponentInputKeyboardAvoidMode0120_002')); + await input.dragTo(textArea); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0120 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0130 + * @tc.name : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0130 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0130 start.`); + Settings.createWindow("testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0130"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let input: Component = await driver.findComponent(ON.id('UIComponentInputKeyboardAvoidMode0130_001')); + await input.click(); + await Utils.sleep(1000); + let inputText: Component = await driver.findComponent(ON.id('UIComponentInputKeyboardAvoidMode0130_001')); + let point = await inputText.getBoundsCenter(); + await driver.swipe(point.x, point.y, point.x, point.y - 200, 1000); + await Utils.sleep(3000); + await inputText.click(); + await Utils.sleep(1000); + await driver.triggerKey(KeyCode.KEYCODE_A) + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0130 finish.`); + await Utils.sleep(2000); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0150 + * @tc.name : SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0150 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0150 start.`); + Settings.createWindow("testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0150"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let input: Component = await driver.findComponent(ON.id('UIComponentInputKeyboardAvoidMode0150_001')); + await input.click(); + await Utils.sleep(1000); + await driver.pressBack(); + await Utils.sleep(1000); + await input.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_INPUT_KEYBOARDAVOIDMODE_0150 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperInterfacemixTest/UIComponentScrollSwiperInterfacemix.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperInterfacemixTest/UIComponentScrollSwiperInterfacemix.test.ets new file mode 100644 index 00000000..733a9687 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperInterfacemixTest/UIComponentScrollSwiperInterfacemix.test.ets @@ -0,0 +1,344 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { Driver, MouseButton, ON, Component } from '@kit.TestKit' +import { uiAppearance } from '@kit.ArkUI' +import { KeyCode } from '@kit.InputKit' + +export default function UIComponentScrollSwiperInterfacemix() { + + describe('UIComponentScrollSwiperInterfacemix', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done() + }) + + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_0430', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_0430 start.`); + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { + }) + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0430") + await Utils.sleep(1000) + let driver: Driver = Driver.create() + + await driver.triggerKey(KeyCode.KEYCODE_TAB) + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_TAB) + await driver.triggerKey(KeyCode.KEYCODE_SPACE) + await driver.triggerKey(KeyCode.KEYCODE_ENTER) + focusControl.requestFocus('TextInput0430') + await driver.triggerKey(KeyCode.KEYCODE_DPAD_DOWN) + await driver.triggerKey(KeyCode.KEYCODE_DPAD_UP) + await driver.triggerKey(KeyCode.KEYCODE_DPAD_LEFT) + await driver.triggerKey(KeyCode.KEYCODE_DPAD_RIGHT) + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_0430 finish.`); + done() + }) + + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_0440', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_0440 start.`); + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { + }) + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0440") + await Utils.sleep(1000) + let driver: Driver = Driver.create() + + await driver.triggerKey(KeyCode.KEYCODE_TAB) + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_TAB) + await driver.triggerKey(KeyCode.KEYCODE_SPACE) + await driver.triggerKey(KeyCode.KEYCODE_ENTER) + focusControl.requestFocus('TextInput0440') + await driver.triggerKey(KeyCode.KEYCODE_DPAD_DOWN) + await driver.triggerKey(KeyCode.KEYCODE_DPAD_UP) + await driver.triggerKey(KeyCode.KEYCODE_DPAD_LEFT) + await driver.triggerKey(KeyCode.KEYCODE_DPAD_RIGHT) + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_0440 finish.`); + done() + }) + + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_0450', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_0450 start.`); + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { + }) + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0450") + await Utils.sleep(1000) + let driver: Driver = Driver.create() + + await driver.triggerKey(KeyCode.KEYCODE_TAB) + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_TAB) + await driver.triggerKey(KeyCode.KEYCODE_SPACE) + await driver.triggerKey(KeyCode.KEYCODE_ENTER) + focusControl.requestFocus('TextInput0450') + await driver.triggerKey(KeyCode.KEYCODE_DPAD_DOWN) + await driver.triggerKey(KeyCode.KEYCODE_DPAD_UP) + await driver.triggerKey(KeyCode.KEYCODE_DPAD_LEFT) + await driver.triggerKey(KeyCode.KEYCODE_DPAD_RIGHT) + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_0450 finish.`); + done() + }) + + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_0460', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_0460 start.`); + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { + }) + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0460") + await Utils.sleep(1000) + let driver: Driver = Driver.create() + + await driver.triggerKey(KeyCode.KEYCODE_TAB) + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_TAB) + await driver.triggerKey(KeyCode.KEYCODE_SPACE) + await driver.triggerKey(KeyCode.KEYCODE_ENTER) + focusControl.requestFocus('TextInput0460') + await driver.triggerKey(KeyCode.KEYCODE_DPAD_DOWN) + await driver.triggerKey(KeyCode.KEYCODE_DPAD_UP) + await driver.triggerKey(KeyCode.KEYCODE_DPAD_LEFT) + await driver.triggerKey(KeyCode.KEYCODE_DPAD_RIGHT) + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_0460 finish.`); + done() + }) + + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_0470', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_0470 start.`); + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { + }) + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0470") + await Utils.sleep(1000) + let driver: Driver = Driver.create() + + await driver.triggerKey(KeyCode.KEYCODE_TAB) + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_TAB) + await driver.triggerKey(KeyCode.KEYCODE_SPACE) + await driver.triggerKey(KeyCode.KEYCODE_ENTER) + focusControl.requestFocus('TextInput0470') + await driver.triggerKey(KeyCode.KEYCODE_DPAD_DOWN) + await driver.triggerKey(KeyCode.KEYCODE_DPAD_UP) + await driver.triggerKey(KeyCode.KEYCODE_DPAD_LEFT) + await driver.triggerKey(KeyCode.KEYCODE_DPAD_RIGHT) + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_0470 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_0890 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_0890 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_0890', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_0890 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0890"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('TextInput0890')); + await Utils.sleep(500); + await textInput.inputText('testtesttesawda'); + await Utils.sleep(500); + await textInput.longClick(); + await Utils.sleep(500); + let point = await textInput.getBoundsCenter(); + await Utils.sleep(500); + await driver.mouseClick({ + x: point.x + 320, y: point.y + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_0890 end.`); + done(); + }) + + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1120 start.`); + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { + }) + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1120") + await Utils.sleep(1000) + let driver: Driver = Driver.create() + await driver.triggerKey(KeyCode.KEYCODE_SPACE) + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1120 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1140 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1140 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1140 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1140"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('TextInput1140')); + await Utils.sleep(500); + await textInput.inputText('testtesttes'); + await Utils.sleep(500); + await driver.triggerCombineKeys(2047, 2099); + await Utils.sleep(500); + await driver.triggerKey(2070); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1140 end.`); + done(); + }) + + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1150 start.`); + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { + }) + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1150") + await Utils.sleep(1000) + let driver: Driver = Driver.create() + let textInputCom = await driver.findComponent(ON.id('TextInput1150')) + let textInputComBounds = await textInputCom.getBounds(); + await Utils.sleep(100) + await textInputCom.inputText("123") + await Utils.sleep(2000) + let textInputComBound = await textInputCom.getBoundsCenter(); + await Utils.sleep(2000) + await driver.click((textInputComBounds.right - 30), textInputComBound.y) + await Utils.sleep(2000) + await textInputCom.inputText("456") + await Utils.sleep(2000) + await driver.mouseClick({ + x: textInputComBounds.right - 30, y: textInputComBound.y + }, MouseButton.MOUSE_BUTTON_LEFT) + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1150 finish.`); + done() + }) + + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1160 start.`); + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { + }) + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1160") + await Utils.sleep(1000) + let driver: Driver = Driver.create() + let textInputCom = await driver.findComponent(ON.id('TextInput1160')) + let textInputComBounds = await textInputCom.getBounds() + await Utils.sleep(1000) + let textInputComBound = await textInputCom.getBoundsCenter(); + await Utils.sleep(2000) + await driver.click((textInputComBounds.right - 30), textInputComBound.y) + await Utils.sleep(1000) + await driver.mouseClick({ + x: textInputComBounds.right - 30, y: textInputComBound.y + }, MouseButton.MOUSE_BUTTON_LEFT) + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1160 finish.`); + done() + }) + + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1170 start.`); + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { + }) + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1170") + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1170 finish.`); + done() + }) + + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1180 start.`); + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { + }) + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1180") + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1180 finish.`); + done() + }) + + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1190 start.`); + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { + }) + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1190") + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1190 finish.`); + done() + }) + + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1200 start.`); + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { + }) + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1200") + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1200 finish.`); + done() + }) + + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1220 start.`); + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { + }) + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1220") + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACEMIX_1220 finish.`); + done() + }) + + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextAttributeStringConstructsTest/UIComponentTextAttributeStringConstructs.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextAttributeStringConstructsTest/UIComponentTextAttributeStringConstructs.test.ets new file mode 100644 index 00000000..95ebe0c7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextAttributeStringConstructsTest/UIComponentTextAttributeStringConstructs.test.ets @@ -0,0 +1,187 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { Driver, ON, Component } from '@kit.TestKit' + +export default function UIComponentTextAttributeStringConstructsTest() { + + describe('UIComponentTextAttributeStringConstructsTest', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + Settings.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); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0460 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0460 + * @tc.desc Drag and drop attribute string + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0460', 0, async (done: Function) => { + Logger.info('TEST', `SUB SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0460 start.`); + Settings.createWindow("testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0460") + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let text: Component = await driver.findComponent(ON.id('TextUIComponentTextAttributeStringConstructs0460')); + await text.longClick(); + await Utils.sleep(100); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll.click(); + await Utils.sleep(100); + let textPoint = await text.getBoundsCenter(); + await Utils.sleep(100); + let textArea: Component = + await driver.findComponent(ON.id('TextAreaUIComponentTextAttributeStringConstructs0460')); + await Utils.sleep(100); + let textAreaPoint = await textArea.getBoundsCenter(); + await Utils.sleep(100); + await driver.drag(textPoint.x, textPoint.y, textAreaPoint.x, textAreaPoint.y) + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0460 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0220 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0220 + * @tc.desc Drag and drop attribute string + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0220', 0, async (done: Function) => { + Logger.info('TEST', `SUB SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0220 start.`); + Settings.createWindow("testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0220") + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextAttributeStringConstructs0220')); + await btn.click(); + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0220 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0320 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0320 + * @tc.desc Drag and drop attribute string + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0320', 0, async (done: Function) => { + Logger.info('TEST', `SUB SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0320 start.`); + Settings.createWindow("testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0320") + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextAttributeStringConstructs0320')); + await btn.click(); + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0320 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0330 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0330 + * @tc.desc Drag and drop attribute string + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0330', 0, async (done: Function) => { + Logger.info('TEST', `SUB SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0330 start.`); + Settings.createWindow("testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0330") + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextAttributeStringConstructs0330')); + await btn.click(); + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0330 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0340 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0340 + * @tc.desc Drag and drop attribute string + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0340', 0, async (done: Function) => { + Logger.info('TEST', `SUB SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0340 start.`); + Settings.createWindow("testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0340") + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextAttributeStringConstructs0340')); + await btn.click(); + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0340 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0350 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0350 + * @tc.desc Drag and drop attribute string + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0350', 0, async (done: Function) => { + Logger.info('TEST', `SUB SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0350 start.`); + Settings.createWindow("testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0350") + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextAttributeStringConstructs0350')); + await btn.click(); + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0350 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0360 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0360 + * @tc.desc Drag and drop attribute string + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0360', 0, async (done: Function) => { + Logger.info('TEST', `SUB SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0360 start.`); + Settings.createWindow("testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0360") + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextAttributeStringConstructs0360')); + await btn.click(); + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_STRING_CONSTRUCTS_0360 finish.`); + done() + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextAttributeText/UIComponentTextAttribute.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextAttributeText/UIComponentTextAttribute.test.ets new file mode 100644 index 00000000..db5cd409 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextAttributeText/UIComponentTextAttribute.test.ets @@ -0,0 +1,1745 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { Component, Driver, ON } from '@ohos.UiTest'; +import Utils from '../model/Utils'; +import windowSnap from '../model/snapShot'; + +export default function UIComponentTextAttribute() { + + describe('UIComponentTextAttribute', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0010 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0010 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0010 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0010'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0010')); + await textInput.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0010 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0020 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0020 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0020 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0020'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0020')); + await textInput.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0020 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0030 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0030 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0030 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0030'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0030')); + await textInput.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0030 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0040 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0040 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0040 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0040'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0040')); + await textInput.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0040 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0050 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0050 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0050 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0050'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0050')); + await textInput.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0050 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0060 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0060 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0060 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0060'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0060')); + await textInput.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0060 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0080 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0080 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0080 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0080'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0080')); + await textInput.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0080 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0090 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0090 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0090 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0090'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0090')); + await textInput.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0090 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0100 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0100 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0100 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0100'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0100')); + await textInput.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0100 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0110 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0110 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0110 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0110'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0110')); + await textInput.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0110 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0120 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0120 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0120 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0120'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0120')); + await textInput.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0120 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0130 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0130 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0130 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0130'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0130')); + await textInput.click(); + await Utils.sleep(1000); + let tp1 = await driver.findComponent(ON.id('tp1')); + await tp1.click(); + await Utils.sleep(200); + let tp2 = await driver.findComponent(ON.id('tp2')); + await tp2.click(); + await Utils.sleep(200); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0130 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0140 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0140 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0140 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0140'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0140')); + await textInput.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0140 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0150 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0150 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0150 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0150'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0150')); + await textInput.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0150 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0160 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0160 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0160 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0160'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0160')); + await textInput.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0160 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0170 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0170 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0170 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0170'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0170')); + await textInput.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0170 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0180 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0180 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0180 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0180'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0180')); + await textInput.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(200); + let ch5 = await driver.findComponent(ON.id('ch5')); + await ch5.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0180 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0190 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0190 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0190 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0190'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0190')); + await textInput.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(200); + let ch5 = await driver.findComponent(ON.id('ch5')); + await ch5.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0190 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0200 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0200 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0200 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0200'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0200')); + await textInput.click(); + await Utils.sleep(1000); + let tp1 = await driver.findComponent(ON.id('tp1')); + await tp1.click(); + await Utils.sleep(200); + let tp2 = await driver.findComponent(ON.id('tp2')); + await tp2.click(); + await Utils.sleep(200); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(200); + let ch5 = await driver.findComponent(ON.id('ch5')); + await ch5.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0200 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0210 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0210 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0210 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0210'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0210')); + await textInput.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(200); + let ch5 = await driver.findComponent(ON.id('ch5')); + await ch5.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0210 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0220 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0220 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0220 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0220'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0220')); + await textInput.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(200); + let ch5 = await driver.findComponent(ON.id('ch5')); + await ch5.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0220 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0230 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0230 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0230 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0230'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0230')); + await textInput.click(); + await Utils.sleep(1000); + let addWidth = await driver.findComponent(ON.id('addWidth')); + await addWidth.click(); + await Utils.sleep(200); + let changeWidth = await driver.findComponent(ON.id('changeWidth')); + await changeWidth.click(); + await Utils.sleep(200); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0230 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0240 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0240 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0240 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0240'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0240')); + await textInput.click(); + await Utils.sleep(1000); + let addWidth = await driver.findComponent(ON.id('addWidth')); + await addWidth.click(); + await Utils.sleep(200); + let changeWidth = await driver.findComponent(ON.id('changeWidth')); + await changeWidth.click(); + await Utils.sleep(200); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0240 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0250 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0250 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0250 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0250'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0250')); + await textInput.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0250 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0260 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0260 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0260 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0260'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0260')); + await textInput.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0260 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0270 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0270 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0270 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0270'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0270')); + await textInput.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0270 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0280 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0280 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0280 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0280'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0280')); + await textInput.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0280 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0290 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0290 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0290 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0290'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0290')); + await textInput.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0290 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0300 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0300 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0300 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0300'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0300')); + await textInput.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0300 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0310 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0310 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0310 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0310'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0310')); + await textInput.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0310 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0320 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0320 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0320 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0320'); + await Utils.sleep(1000); + let textArea = await driver.findComponent(ON.id('UIComponentTextAttribute0320')); + await textArea.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0320 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0330 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0330 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0330 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0330'); + await Utils.sleep(1000); + let textArea = await driver.findComponent(ON.id('UIComponentTextAttribute0330')); + await textArea.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0330 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0340 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0340 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0340 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0340'); + await Utils.sleep(1000); + let textArea = await driver.findComponent(ON.id('UIComponentTextAttribute0340')); + await textArea.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(200); + let tp1 = await driver.findComponent(ON.id('tp1')); + await tp1.click(); + await Utils.sleep(200); + let tp2 = await driver.findComponent(ON.id('tp2')); + await tp2.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0340 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0350 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0350 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0350 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0350'); + await Utils.sleep(1000); + let textArea = await driver.findComponent(ON.id('UIComponentTextAttribute0350')); + await textArea.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0350 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0360 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0360 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0360 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0360'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0360')); + await textInput.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(200); + let ch5 = await driver.findComponent(ON.id('ch5')); + await ch5.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0360 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0370 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0370 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0370 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0370'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0370')); + await textInput.click(); + await Utils.sleep(1000); + let tp1 = await driver.findComponent(ON.id('tp1')); + await tp1.click(); + await Utils.sleep(200); + let tp2 = await driver.findComponent(ON.id('tp2')); + await tp2.click(); + await Utils.sleep(200); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(200); + let ch5 = await driver.findComponent(ON.id('ch5')); + await ch5.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0370 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0380 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0380 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0380 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0380'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0380')); + await textInput.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(200); + let ch5 = await driver.findComponent(ON.id('ch5')); + await ch5.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0380 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0390 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0390 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0390 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0390'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0390')); + await textInput.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(200); + let ch5 = await driver.findComponent(ON.id('ch5')); + await ch5.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0390 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0400 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0400 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0400', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0400 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0400'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0400')); + await textInput.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(200); + let ch5 = await driver.findComponent(ON.id('ch5')); + await ch5.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0400 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0410 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0410 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0410', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0410 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0410'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0410')); + await textInput.longClick(); + await Utils.sleep(1000); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await selectAll?.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(200); + let ch5 = await driver.findComponent(ON.id('ch5')); + await ch5.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0410 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0420 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0420 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0420', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0420 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0420'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0420')); + await textInput.click(); + await Utils.sleep(1000); + let select: Component = await driver.findComponent(ON.id('select')); + await select?.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0420 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0430 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0430 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0430', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0430 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0430'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0430')); + await textInput.longClick(); + await Utils.sleep(1000); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await selectAll?.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0430 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0440 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0440 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0440', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0440 start.`); + let driver = Driver.create(); + await Utils.sleep(500); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0440'); + await Utils.sleep(500); + let textArea = await driver.findComponent(ON.id('UIComponentTextAttribute0440_01')); + await textArea.longClick(); + await Utils.sleep(500); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await selectAll?.click(); + await Utils.sleep(100); + let textArea1 = await driver.findComponent(ON.id('UIComponentTextAttribute0440_02')); + await textArea1.longClick(); + await Utils.sleep(500); + let selectAll1: Component = await driver.findComponent(ON.text('全选')); + await selectAll1?.click(); + await Utils.sleep(100); + let textArea2 = await driver.findComponent(ON.id('UIComponentTextAttribute0440_03')); + await textArea2.longClick(); + await Utils.sleep(500); + let selectAll2: Component = await driver.findComponent(ON.text('全选')); + await selectAll2?.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0440 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0450 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0450 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0450', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0450 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0450'); + await Utils.sleep(1000); + let textArea = await driver.findComponent(ON.id('UIComponentTextAttribute0450')); + await textArea.click(); + await Utils.sleep(1000); + let change: Component = await driver.findComponent(ON.id('change')); + await change?.click(); + await Utils.sleep(1000); + await textArea.longClick(); + await Utils.sleep(1000); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await selectAll?.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0440 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0460 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0460 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0460', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0460 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0460'); + await Utils.sleep(1000); + let textArea = await driver.findComponent(ON.id('UIComponentTextAttribute0460')); + await textArea.click(); + await Utils.sleep(1000); + let change: Component = await driver.findComponent(ON.id('change')); + await change?.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0440 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0470 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0470 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0470', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0470 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0470'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0470 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0480 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0480 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0480', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0480 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0480'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0480 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0490 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0490 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0490', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0490 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0490'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0490 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0500 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0500 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0500', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0500 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0500'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0500')); + await textInput.longClick(); + await Utils.sleep(1000); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await selectAll?.click(); + await Utils.sleep(1000); + let ch1 = await driver.findComponent(ON.id('ch1')); + await ch1.click(); + await Utils.sleep(200); + let ch2 = await driver.findComponent(ON.id('ch2')); + await ch2.click(); + await Utils.sleep(200); + let ch3 = await driver.findComponent(ON.id('ch3')); + await ch3.click(); + await Utils.sleep(200); + let ch4 = await driver.findComponent(ON.id('ch4')); + await ch4.click(); + await Utils.sleep(200); + let ch5 = await driver.findComponent(ON.id('ch5')); + await ch5.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0500 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0510 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0510 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0510', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0510 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0510'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0510')); + await textInput.click(); + await Utils.sleep(1000); + let select: Component = await driver.findComponent(ON.id('select')); + await select?.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0510 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0520 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0520 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0520', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0520 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0520'); + await Utils.sleep(1000); + let textInput = await driver.findComponent(ON.id('UIComponentTextAttribute0520')); + await textInput.longClick(); + await Utils.sleep(1000); + let select: Component = await driver.findComponent(ON.text('全选')); + await select?.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0520 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0530 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0530 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0530', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0530 start.`); + let driver = Driver.create(); + await Utils.sleep(500); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0530'); + await Utils.sleep(500); + let textArea = await driver.findComponent(ON.id('UIComponentTextAttribute0530_01')); + await textArea.longClick(); + await Utils.sleep(500); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await selectAll?.click(); + await Utils.sleep(100); + let textArea1 = await driver.findComponent(ON.id('UIComponentTextAttribute0530_02')); + await textArea1.longClick(); + await Utils.sleep(500); + let selectAll1: Component = await driver.findComponent(ON.text('全选')); + await selectAll1?.click(); + await Utils.sleep(100); + let textArea2 = await driver.findComponent(ON.id('UIComponentTextAttribute0530_03')); + await textArea2.longClick(); + await Utils.sleep(500); + let selectAll2: Component = await driver.findComponent(ON.text('全选')); + await selectAll2?.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0530 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0540 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0540 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0540', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0540 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0540'); + await Utils.sleep(1000); + let search = await driver.findComponent(ON.id('UIComponentTextAttribute0540')); + await search.longClick(); + await Utils.sleep(1000); + let select: Component = await driver.findComponent(ON.text('全选')); + await select?.click(); + await Utils.sleep(1000); + let copy: Component = await driver.findComponent(ON.text('复制')); + await copy?.click(); + await Utils.sleep(1000); + let search01 = await driver.findComponent(ON.id('UIComponentTextAttribute0540_01')); + await search01.click(); + await Utils.sleep(1000); + await search01.click(); + await Utils.sleep(1000); + let paste: Component = await driver.findComponent(ON.text('粘贴')); + await paste?.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0540 end.`); + done(); + }) + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0550 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0550 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0550', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0550 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0550'); + await Utils.sleep(1000); + let search = await driver.findComponent(ON.id('UIComponentTextAttribute0550')); + await search.longClick(); + await Utils.sleep(1000); + let select: Component = await driver.findComponent(ON.text('全选')); + await select?.click(); + await Utils.sleep(1000); + let copy: Component = await driver.findComponent(ON.text('复制')); + await copy?.click(); + await Utils.sleep(1000); + let search01 = await driver.findComponent(ON.id('UIComponentTextAttribute0550_01')); + await search01.click(); + await Utils.sleep(1000); + await search01.click(); + await Utils.sleep(1000); + let paste: Component = await driver.findComponent(ON.text('粘贴')); + await paste?.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0550 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0560 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0560 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0560', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0560 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0560'); + await Utils.sleep(1000); + let search = await driver.findComponent(ON.id('UIComponentTextAttribute0560')); + await search.inputText('aaaaaaa'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0560 end.`); + done(); + }) + + /* +* @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0570 +* @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0570 +* @tc.desc text Attribute +*/ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0570', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0570 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0570'); + await Utils.sleep(1000); + let search = await driver.findComponent(ON.id('UIComponentTextAttribute0570')); + let change1: Component = await driver.findComponent(ON.id('change1')); + await change1?.click(); + await Utils.sleep(100); + let change2: Component = await driver.findComponent(ON.id('change2')); + await change2?.click(); + await Utils.sleep(100); + let change3: Component = await driver.findComponent(ON.id('change3')); + await change3?.click(); + await Utils.sleep(100); + await search.longClick(); + await Utils.sleep(1000); + let select: Component = await driver.findComponent(ON.text('全选')); + await select?.click(); + await Utils.sleep(100); + let copy: Component = await driver.findComponent(ON.text('复制')); + await copy?.click(); + await Utils.sleep(100); + let search01 = await driver.findComponent(ON.id('UIComponentTextAttribute0570_01')); + await search01.click(); + await Utils.sleep(100); + await search01.click(); + await Utils.sleep(100); + let paste: Component = await driver.findComponent(ON.text('粘贴')); + await paste?.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0570 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0640 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0640 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0640', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0640 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0640'); + await Utils.sleep(1000); + let search: Component = await driver.findComponent(ON.id('SearchUIComponentTextAttribute0640')); + await Utils.sleep(200); + await search.click(); + await Utils.sleep(1000); + await Utils.lockAndUnlock(driver); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0640 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0600 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0600 + * @tc.desc text Attribute + */ + it('SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0600', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0600 start.`); + let driver = Driver.create(); + await Utils.sleep(1000); + Settings.createWindow('testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0600'); + await Utils.sleep(1000); + let search: Component = await driver.findComponent(ON.id('SearchUIComponentTextAttribute0600')); + await Utils.sleep(200); + await search.longClick(); + await Utils.sleep(1000); + await driver.pressBack(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_ATTRIBUTE_0600 end.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonCopyOptionDraggableTest/UIComponentTextCommonCopyOptionDraggableTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonCopyOptionDraggableTest/UIComponentTextCommonCopyOptionDraggableTest.test.ets new file mode 100644 index 00000000..c61f5285 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonCopyOptionDraggableTest/UIComponentTextCommonCopyOptionDraggableTest.test.ets @@ -0,0 +1,1219 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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, Component, ON, MouseButton } from '@kit.TestKit'; + +export default function UIComponentTextCommonCopyOptionDraggableTest() { + + describe('UIComponentTextCommonCopyOptionDraggableTest', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0010_1 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0010_1 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0010_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0010_1 start.`); + Settings.createWindow('testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0010'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let text: Component = await driver.findComponent(ON.id('TextUIComponentTextCommonCopyOptionDraggable0010')); + await Utils.sleep(100); + let textPoint = await text.getBoundsCenter(); + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let textArea: Component = + await driver.findComponent(ON.id('TextAreaUIComponentTextCommonCopyOptionDraggable0010')); + await Utils.sleep(100); + let textAreaPoint = await textArea.getBoundsCenter(); + await Utils.sleep(100); + await driver.drag(textPoint.x, textPoint.y, textAreaPoint.x, textAreaPoint.y) + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let search: Component = await driver.findComponent(ON.id('SearchUIComponentTextCommonCopyOptionDraggable0010')); + await Utils.sleep(100); + let searchPoint = await search.getBoundsCenter(); + await Utils.sleep(100); + await driver.drag(textPoint.x, textPoint.y, searchPoint.x, searchPoint.y) + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let textInput: Component = + await driver.findComponent(ON.id('TextInputUIComponentTextCommonCopyOptionDraggable0010')); + await Utils.sleep(1000); + await text.dragTo(textInput) + await Utils.sleep(1500); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0010_1 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0010_2 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0010_2 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0010_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0010_2 start.`); + Settings.createWindow('testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0010'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextCommonCopyOptionDraggable0010')); + await Utils.sleep(100); + await btn.longClick(); + await Utils.sleep(100); + let text: Component = await driver.findComponent(ON.id('TextUIComponentTextCommonCopyOptionDraggable0010')); + await Utils.sleep(100); + let textPoint = await text.getBoundsCenter(); + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let textArea: Component = + await driver.findComponent(ON.id('TextAreaUIComponentTextCommonCopyOptionDraggable0010')); + await Utils.sleep(100); + let textAreaPoint = await textArea.getBoundsCenter(); + await Utils.sleep(100); + await driver.drag(textPoint.x, textPoint.y, textAreaPoint.x, textAreaPoint.y) + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let search: Component = await driver.findComponent(ON.id('SearchUIComponentTextCommonCopyOptionDraggable0010')); + await Utils.sleep(100); + let searchPoint = await search.getBoundsCenter(); + await Utils.sleep(100); + await driver.drag(textPoint.x, textPoint.y, searchPoint.x, searchPoint.y) + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let textInput: Component = + await driver.findComponent(ON.id('TextInputUIComponentTextCommonCopyOptionDraggable0010')); + await Utils.sleep(1000); + await text.dragTo(textInput) + await Utils.sleep(1500); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0010_2 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0020_1 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0020_1 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0020_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0020_1 start.`); + Settings.createWindow('testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0020'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let text: Component = await driver.findComponent(ON.id('TextUIComponentTextCommonCopyOptionDraggable0020')); + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll.click(); + await Utils.sleep(100); + let copy: Component = await driver.findComponent(ON.text('复制')); + await Utils.sleep(100); + await copy.click(); + await Utils.sleep(100); + let textArea: Component = + await driver.findComponent(ON.id('TextAreaUIComponentTextCommonCopyOptionDraggable0020')); + await Utils.sleep(100); + await textArea.click(); + await Utils.sleep(100); + await textArea.longClick(); + await Utils.sleep(1000); + let paste: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste.click(); + await Utils.sleep(100); + let search: Component = await driver.findComponent(ON.id('SearchUIComponentTextCommonCopyOptionDraggable0020')); + await Utils.sleep(100); + await search.click(); + await Utils.sleep(100); + await search.longClick(); + await Utils.sleep(1000); + let paste1: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste1.click(); + await Utils.sleep(100); + let textInput: Component = + await driver.findComponent(ON.id('TextInputUIComponentTextCommonCopyOptionDraggable0020')); + await Utils.sleep(100); + await textInput.click(); + await Utils.sleep(100); + await textInput.longClick(); + await Utils.sleep(1000); + let paste2: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste2.click(); + await Utils.sleep(1500); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0020_1 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0020_2 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0020_2 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0020_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0020_2 start.`); + Settings.createWindow('testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0020'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextCommonCopyOptionDraggable0020')); + await Utils.sleep(100); + await btn.longClick(); + await Utils.sleep(100); + let text: Component = await driver.findComponent(ON.id('TextUIComponentTextCommonCopyOptionDraggable0020')); + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll.click(); + await Utils.sleep(100); + let copy: Component = await driver.findComponent(ON.text('复制')); + await Utils.sleep(100); + await copy.click(); + await Utils.sleep(100); + let textArea: Component = + await driver.findComponent(ON.id('TextAreaUIComponentTextCommonCopyOptionDraggable0020')); + await Utils.sleep(100); + await textArea.click(); + await Utils.sleep(100); + await textArea.longClick(); + await Utils.sleep(1000); + let paste: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste.click(); + await Utils.sleep(100); + let search: Component = await driver.findComponent(ON.id('SearchUIComponentTextCommonCopyOptionDraggable0020')); + await Utils.sleep(100); + await search.click(); + await Utils.sleep(100); + await search.longClick(); + await Utils.sleep(1000); + let paste1: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste1.click(); + await Utils.sleep(100); + let textInput: Component = + await driver.findComponent(ON.id('TextInputUIComponentTextCommonCopyOptionDraggable0020')); + await Utils.sleep(100); + await textInput.click(); + await Utils.sleep(100); + await textInput.longClick(); + await Utils.sleep(1000); + let paste2: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste2.click(); + await Utils.sleep(1500); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0020_2 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0030 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0030 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0030 start.`); + Settings.createWindow('testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0030'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let text: Component = await driver.findComponent(ON.id('TextUIComponentTextCommonCopyOptionDraggable0030')); + await Utils.sleep(100); + let textPoint = await text.getBoundsCenter(); + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll.click(); + await Utils.sleep(100); + let textArea: Component = + await driver.findComponent(ON.id('TextAreaUIComponentTextCommonCopyOptionDraggable0030')); + await Utils.sleep(100); + let textAreaPoint = await textArea.getBoundsCenter(); + await Utils.sleep(100); + await driver.drag(textPoint.x, textPoint.y, textAreaPoint.x, textAreaPoint.y) + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let selectAll1: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll1.click(); + await Utils.sleep(100); + let search: Component = await driver.findComponent(ON.id('SearchUIComponentTextCommonCopyOptionDraggable0030')); + await Utils.sleep(100); + let searchPoint = await search.getBoundsCenter(); + await Utils.sleep(100); + await driver.drag(textPoint.x, textPoint.y, searchPoint.x, searchPoint.y) + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let selectAll2: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll2.click(); + await Utils.sleep(100); + let textInput: Component = + await driver.findComponent(ON.id('TextInputUIComponentTextCommonCopyOptionDraggable0030')); + await Utils.sleep(1000); + await text.dragTo(textInput) + await Utils.sleep(1500); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0030 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0040 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0040 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0040 start.`); + Settings.createWindow('testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0040'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let text: Component = await driver.findComponent(ON.id('TextUIComponentTextCommonCopyOptionDraggable0040')); + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll.click(); + await Utils.sleep(100); + let copy: Component = await driver.findComponent(ON.text('复制')); + await Utils.sleep(100); + await copy.click(); + await Utils.sleep(100); + let textArea: Component = + await driver.findComponent(ON.id('TextAreaUIComponentTextCommonCopyOptionDraggable0040')); + await Utils.sleep(100); + await textArea.click(); + await Utils.sleep(100); + await textArea.longClick(); + await Utils.sleep(1000); + let paste: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste.click(); + await Utils.sleep(100); + let search: Component = await driver.findComponent(ON.id('SearchUIComponentTextCommonCopyOptionDraggable0040')); + await Utils.sleep(100); + await search.click(); + await Utils.sleep(100); + await search.longClick(); + await Utils.sleep(1000); + let paste1: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste1.click(); + await Utils.sleep(100); + let textInput: Component = + await driver.findComponent(ON.id('TextInputUIComponentTextCommonCopyOptionDraggable0040')); + await Utils.sleep(100); + await textInput.click(); + await Utils.sleep(100); + await textInput.longClick(); + await Utils.sleep(1000); + let paste2: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste2.click(); + await Utils.sleep(1500); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0040 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0060 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0060 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0060 start.`); + Settings.createWindow('testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0060'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let text: Component = await driver.findComponent(ON.id('TextUIComponentTextCommonCopyOptionDraggable0060')); + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll.click(); + await Utils.sleep(100); + let copy: Component = await driver.findComponent(ON.text('复制')); + await Utils.sleep(100); + await copy.click(); + await Utils.sleep(100); + let textArea: Component = + await driver.findComponent(ON.id('TextAreaUIComponentTextCommonCopyOptionDraggable0060')); + await Utils.sleep(100); + await textArea.click(); + await Utils.sleep(100); + let textAreaPoint = await textArea.getBoundsCenter(); + await Utils.sleep(100); + await driver.mouseClick(textAreaPoint, MouseButton.MOUSE_BUTTON_RIGHT); + await Utils.sleep(100); + let paste: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste.click(); + await Utils.sleep(100); + let search: Component = await driver.findComponent(ON.id('SearchUIComponentTextCommonCopyOptionDraggable0060')); + await Utils.sleep(100); + await search.click(); + await Utils.sleep(100); + let searchPoint = await search.getBoundsCenter(); + await Utils.sleep(100); + await driver.mouseClick(searchPoint, MouseButton.MOUSE_BUTTON_RIGHT); + await Utils.sleep(1000); + let paste1: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste1.click(); + await Utils.sleep(100); + let textInput: Component = + await driver.findComponent(ON.id('TextInputUIComponentTextCommonCopyOptionDraggable0060')); + await Utils.sleep(100); + await textInput.click(); + await Utils.sleep(100); + let textInputPoint = await textInput.getBoundsCenter(); + await Utils.sleep(100); + await driver.mouseClick(textInputPoint, MouseButton.MOUSE_BUTTON_RIGHT); + await Utils.sleep(1000); + let paste2: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste2.click(); + await Utils.sleep(1500); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0060 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0070 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0070 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0070 start.`); + Settings.createWindow('testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0070'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextCommonCopyOptionDraggable0070')); + await Utils.sleep(100); + await btn.click(); + await Utils.sleep(100); + let text: Component = await driver.findComponent(ON.id('TextUIComponentTextCommonCopyOptionDraggable0070')); + await text.longClick(); + await Utils.sleep(100); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll.click(); + await Utils.sleep(100); + let textPoint = await text.getBoundsCenter(); + await Utils.sleep(100); + let textArea: Component = + await driver.findComponent(ON.id('TextAreaUIComponentTextCommonCopyOptionDraggable0070')); + await Utils.sleep(100); + let textAreaPoint = await textArea.getBoundsCenter(); + await Utils.sleep(100); + await driver.drag(textPoint.x, textPoint.y, textAreaPoint.x, textAreaPoint.y) + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let selectAll1: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll1.click(); + await Utils.sleep(100); + let search: Component = await driver.findComponent(ON.id('SearchUIComponentTextCommonCopyOptionDraggable0070')); + await Utils.sleep(100); + let searchPoint = await search.getBoundsCenter(); + await Utils.sleep(100); + await driver.drag(textPoint.x, textPoint.y, searchPoint.x, searchPoint.y) + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + await Utils.sleep(100); + let selectAll2: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll2.click(); + await Utils.sleep(100); + let textInput: Component = + await driver.findComponent(ON.id('TextInputUIComponentTextCommonCopyOptionDraggable0070')); + await Utils.sleep(1000); + await text.dragTo(textInput) + await Utils.sleep(1500); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0070 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0080 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0080 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0080 start.`); + Settings.createWindow('testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0080'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextCommonCopyOptionDraggable0080')); + await Utils.sleep(100); + await btn.click(); + await Utils.sleep(100); + let text: Component = await driver.findComponent(ON.id('TextUIComponentTextCommonCopyOptionDraggable0080')); + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll.click(); + await Utils.sleep(100); + let copy: Component = await driver.findComponent(ON.text('复制')); + await Utils.sleep(100); + await copy.click(); + await Utils.sleep(100); + let textArea: Component = + await driver.findComponent(ON.id('TextAreaUIComponentTextCommonCopyOptionDraggable0080')); + await Utils.sleep(100); + await textArea.click(); + await Utils.sleep(100); + await textArea.longClick(); + await Utils.sleep(1000); + let paste: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste.click(); + await Utils.sleep(100); + let search: Component = await driver.findComponent(ON.id('SearchUIComponentTextCommonCopyOptionDraggable0080')); + await Utils.sleep(100); + await search.click(); + await Utils.sleep(100); + await search.longClick(); + await Utils.sleep(1000); + let paste1: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste1.click(); + await Utils.sleep(100); + let textInput: Component = + await driver.findComponent(ON.id('TextInputUIComponentTextCommonCopyOptionDraggable0080')); + await Utils.sleep(100); + await textInput.click(); + await Utils.sleep(100); + await textInput.longClick(); + await Utils.sleep(1000); + let paste2: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste2.click(); + await Utils.sleep(1500); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0080 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0090 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0090 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0090 start.`); + Settings.createWindow('testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0090'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let text: Component = await driver.findComponent(ON.id('TextUIComponentTextCommonCopyOptionDraggable0090')); + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll.click(); + await Utils.sleep(100); + let copy: Component = await driver.findComponent(ON.text('复制')); + await Utils.sleep(100); + await copy.click(); + await Utils.sleep(100); + let textArea: Component = + await driver.findComponent(ON.id('TextAreaUIComponentTextCommonCopyOptionDraggable0090')); + await Utils.sleep(100); + await textArea.click(); + await Utils.sleep(100); + await textArea.longClick(); + await Utils.sleep(1000); + let paste: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste.click(); + await Utils.sleep(100); + let textInput: Component = + await driver.findComponent(ON.id('TextInputUIComponentTextCommonCopyOptionDraggable0090')); + await Utils.sleep(100); + await textInput.click(); + await Utils.sleep(100); + await textInput.longClick(); + await Utils.sleep(1000); + let paste2: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste2.click(); + await Utils.sleep(1500); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0090 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0100 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0100 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0100 start.`); + Settings.createWindow('testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0100'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let text: Component = await driver.findComponent(ON.id('TextUIComponentTextCommonCopyOptionDraggable0100')); + await text.longClick(); + await Utils.sleep(100); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll.click(); + await Utils.sleep(100); + let textPoint = await text.getBoundsCenter(); + await Utils.sleep(100); + let textArea: Component = + await driver.findComponent(ON.id('TextAreaUIComponentTextCommonCopyOptionDraggable0100')); + await Utils.sleep(100); + let textAreaPoint = await textArea.getBoundsCenter(); + await Utils.sleep(100); + await driver.drag(textPoint.x, textPoint.y, textAreaPoint.x, textAreaPoint.y) + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let selectAll1: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll1.click(); + await Utils.sleep(100); + let search: Component = await driver.findComponent(ON.id('SearchUIComponentTextCommonCopyOptionDraggable0100')); + await Utils.sleep(100); + let searchPoint = await search.getBoundsCenter(); + await Utils.sleep(100); + await driver.drag(textPoint.x, textPoint.y, searchPoint.x, searchPoint.y) + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let selectAll2: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll2.click(); + await Utils.sleep(100); + let textInput: Component = + await driver.findComponent(ON.id('TextInputUIComponentTextCommonCopyOptionDraggable0100')); + await Utils.sleep(1000); + await text.dragTo(textInput) + await Utils.sleep(1500); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0100 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0110 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0110 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0110 start.`); + Settings.createWindow('testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0110'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let text: Component = await driver.findComponent(ON.id('TextUIComponentTextCommonCopyOptionDraggable0110')); + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll.click(); + await Utils.sleep(100); + let copy: Component = await driver.findComponent(ON.text('复制')); + await Utils.sleep(100); + await copy.click(); + await Utils.sleep(100); + let textArea: Component = + await driver.findComponent(ON.id('TextAreaUIComponentTextCommonCopyOptionDraggable0110')); + await Utils.sleep(100); + await textArea.click(); + await Utils.sleep(100); + await textArea.longClick(); + await Utils.sleep(1000); + let paste: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste.click(); + await Utils.sleep(100); + let search: Component = await driver.findComponent(ON.id('SearchUIComponentTextCommonCopyOptionDraggable0110')); + await Utils.sleep(100); + await search.click(); + await Utils.sleep(100); + await search.longClick(); + await Utils.sleep(1000); + let paste1: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste1.click(); + await Utils.sleep(100); + let textInput: Component = + await driver.findComponent(ON.id('TextInputUIComponentTextCommonCopyOptionDraggable0110')); + await Utils.sleep(100); + await textInput.click(); + await Utils.sleep(100); + await textInput.longClick(); + await Utils.sleep(1000); + let paste2: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste2.click(); + await Utils.sleep(1500); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0110 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0120 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0120 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0120 start.`); + Settings.createWindow('testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0120'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let text: Component = await driver.findComponent(ON.id('TextUIComponentTextCommonCopyOptionDraggable0120')); + await text.longClick(); + await Utils.sleep(100); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll.click(); + await Utils.sleep(100); + let textPoint = await text.getBoundsCenter(); + await Utils.sleep(100); + let textArea: Component = + await driver.findComponent(ON.id('TextAreaUIComponentTextCommonCopyOptionDraggable0120')); + await Utils.sleep(100); + let textAreaPoint = await textArea.getBoundsCenter(); + await Utils.sleep(100); + await driver.drag(textPoint.x, textPoint.y, textAreaPoint.x, textAreaPoint.y) + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let selectAll1: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll1.click(); + await Utils.sleep(100); + let search: Component = await driver.findComponent(ON.id('SearchUIComponentTextCommonCopyOptionDraggable0120')); + await Utils.sleep(100); + let searchPoint = await search.getBoundsCenter(); + await Utils.sleep(100); + await driver.drag(textPoint.x, textPoint.y, searchPoint.x, searchPoint.y) + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let selectAll2: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll2.click(); + await Utils.sleep(100); + let textInput: Component = + await driver.findComponent(ON.id('TextInputUIComponentTextCommonCopyOptionDraggable0120')); + await Utils.sleep(1000); + await text.dragTo(textInput) + await Utils.sleep(1500); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0120 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0130 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0130 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0130 start.`); + Settings.createWindow('testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0130'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let text: Component = await driver.findComponent(ON.id('TextUIComponentTextCommonCopyOptionDraggable0130')); + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll.click(); + await Utils.sleep(100); + let copy: Component = await driver.findComponent(ON.text('复制')); + await Utils.sleep(100); + await copy.click(); + await Utils.sleep(100); + let textArea: Component = + await driver.findComponent(ON.id('TextAreaUIComponentTextCommonCopyOptionDraggable0130')); + await Utils.sleep(100); + await textArea.click(); + await Utils.sleep(100); + await textArea.longClick(); + await Utils.sleep(1000); + let paste: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste.click(); + await Utils.sleep(100); + let search: Component = await driver.findComponent(ON.id('SearchUIComponentTextCommonCopyOptionDraggable0130')); + await Utils.sleep(100); + await search.click(); + await Utils.sleep(100); + await search.longClick(); + await Utils.sleep(1000); + let paste1: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste1.click(); + await Utils.sleep(100); + let textInput: Component = + await driver.findComponent(ON.id('TextInputUIComponentTextCommonCopyOptionDraggable0130')); + await Utils.sleep(100); + await textInput.click(); + await Utils.sleep(100); + await textInput.longClick(); + await Utils.sleep(1000); + let paste2: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste2.click(); + await Utils.sleep(1500); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0130 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0140 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0140 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0140 start.`); + Settings.createWindow('testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0140'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let text: Component = await driver.findComponent(ON.id('TextUIComponentTextCommonCopyOptionDraggable0140')); + await text.longClick(); + await Utils.sleep(100); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll.click(); + await Utils.sleep(100); + let textPoint = await text.getBoundsCenter(); + await Utils.sleep(100); + let textArea: Component = + await driver.findComponent(ON.id('TextAreaUIComponentTextCommonCopyOptionDraggable0140')); + await Utils.sleep(100); + let textAreaPoint = await textArea.getBoundsCenter(); + await Utils.sleep(100); + await driver.drag(textPoint.x, textPoint.y, textAreaPoint.x, textAreaPoint.y) + await Utils.sleep(1500); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0140 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0150 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0150 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0150 start.`); + Settings.createWindow('testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0150'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let text: Component = await driver.findComponent(ON.id('TextUIComponentTextCommonCopyOptionDraggable0150')); + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll.click(); + await Utils.sleep(100); + let copy: Component = await driver.findComponent(ON.text('复制')); + await Utils.sleep(100); + await copy.click(); + await Utils.sleep(100); + let textArea: Component = + await driver.findComponent(ON.id('TextAreaUIComponentTextCommonCopyOptionDraggable0150')); + await Utils.sleep(100); + await textArea.click(); + await Utils.sleep(100); + await textArea.longClick(); + await Utils.sleep(1000); + let paste: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste.click(); + await Utils.sleep(100); + let search: Component = await driver.findComponent(ON.id('SearchUIComponentTextCommonCopyOptionDraggable0150')); + await Utils.sleep(100); + await search.click(); + await Utils.sleep(100); + await search.longClick(); + await Utils.sleep(1000); + let paste1: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste1.click(); + await Utils.sleep(100); + let textInput: Component = + await driver.findComponent(ON.id('TextInputUIComponentTextCommonCopyOptionDraggable0150')); + await Utils.sleep(100); + await textInput.click(); + await Utils.sleep(100); + await textInput.longClick(); + await Utils.sleep(1000); + let paste2: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste2.click(); + await Utils.sleep(1500); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0150 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0160 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0160 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0160 start.`); + Settings.createWindow('testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0160'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let text: Component = await driver.findComponent(ON.id('TextUIComponentTextCommonCopyOptionDraggable0160')); + await text.longClick(); + await Utils.sleep(100); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll.click(); + await Utils.sleep(100); + let textPoint = await text.getBoundsCenter(); + await Utils.sleep(100); + let textArea: Component = + await driver.findComponent(ON.id('TextAreaUIComponentTextCommonCopyOptionDraggable0160')); + await Utils.sleep(100); + let textAreaPoint = await textArea.getBoundsCenter(); + await Utils.sleep(100); + await driver.drag(textPoint.x, textPoint.y, textAreaPoint.x, textAreaPoint.y) + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let selectAll1: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll1.click(); + await Utils.sleep(100); + let search: Component = await driver.findComponent(ON.id('SearchUIComponentTextCommonCopyOptionDraggable0160')); + await Utils.sleep(100); + let searchPoint = await search.getBoundsCenter(); + await Utils.sleep(100); + await driver.drag(textPoint.x, textPoint.y, searchPoint.x, searchPoint.y) + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let selectAll2: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll2.click(); + await Utils.sleep(100); + let textInput: Component = + await driver.findComponent(ON.id('TextInputUIComponentTextCommonCopyOptionDraggable0160')); + await Utils.sleep(100); + await text.dragTo(textInput) + await Utils.sleep(100); + await textInput.doubleClick() + await Utils.sleep(100); + await textArea.longClick() + await Utils.sleep(100); + await textInput.longClick() + await Utils.sleep(100); + let btn: Component = + await driver.findComponent(ON.id('btnUIComponentTextCommonCopyOptionDraggable0160')); + await Utils.sleep(100); + await btn.click(); + await Utils.sleep(1500); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0160 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0170 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0170 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0170 start.`); + Settings.createWindow('testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0170'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let text: Component = await driver.findComponent(ON.id('TextUIComponentTextCommonCopyOptionDraggable0170')); + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll.click(); + await Utils.sleep(100); + let copy: Component = await driver.findComponent(ON.text('复制')); + await Utils.sleep(100); + await copy.click(); + await Utils.sleep(100); + let textArea: Component = + await driver.findComponent(ON.id('TextAreaUIComponentTextCommonCopyOptionDraggable0170')); + await Utils.sleep(100); + await textArea.click(); + await Utils.sleep(100); + await textArea.longClick(); + await Utils.sleep(1000); + let paste: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste.click(); + await Utils.sleep(100); + let search: Component = await driver.findComponent(ON.id('SearchUIComponentTextCommonCopyOptionDraggable0170')); + await Utils.sleep(100); + await search.click(); + await Utils.sleep(100); + await search.longClick(); + await Utils.sleep(1000); + let paste1: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste1.click(); + await Utils.sleep(100); + let textInput: Component = + await driver.findComponent(ON.id('TextInputUIComponentTextCommonCopyOptionDraggable0170')); + await Utils.sleep(100); + await textInput.click(); + await Utils.sleep(100); + await textInput.longClick(); + await Utils.sleep(1000); + let paste2: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste2.click(); + await Utils.sleep(100); + let btn: Component = + await driver.findComponent(ON.id('btnUIComponentTextCommonCopyOptionDraggable0170')); + await Utils.sleep(100); + await btn.click(); + await Utils.sleep(1500); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0170 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0050 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0050 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0050 start.`); + Settings.createWindow( + 'testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0050' + ); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + await Utils.sleep(100); + let text: Component = await driver.findComponent(ON.id('TextUIComponentTextCommonCopyOptionDraggable0050')); + await text.longClick(); + await Utils.sleep(100); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll.click(); + await Utils.sleep(100); + let textPoint = await text.getBoundsCenter(); + await Utils.sleep(100); + let textArea: Component = + await driver.findComponent(ON.id('TextAreaUIComponentTextCommonCopyOptionDraggable0050')); + await Utils.sleep(100); + let textAreaPoint = await textArea.getBoundsCenter(); + await Utils.sleep(100); + await driver.drag(textPoint.x, textPoint.y, textAreaPoint.x, textAreaPoint.y) + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let selectAll1: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll1.click(); + await Utils.sleep(100); + let search: Component = await driver.findComponent(ON.id('SearchUIComponentTextCommonCopyOptionDraggable0050')); + await Utils.sleep(100); + let searchPoint = await search.getBoundsCenter(); + await Utils.sleep(100); + await driver.drag(textPoint.x, textPoint.y, searchPoint.x, searchPoint.y) + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + await Utils.sleep(100); + let selectAll2: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll2.click(); + await Utils.sleep(100); + let textInput: Component = + await driver.findComponent(ON.id('TextInputUIComponentTextCommonCopyOptionDraggable0050')); + await Utils.sleep(1000); + await text.dragTo(textInput) + await Utils.sleep(1500); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0050 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0180 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0180 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0180_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0180_1 start.`); + Settings.createWindow( + 'testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0180' + ); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + await Utils.sleep(100); + let text: Component = await driver.findComponent(ON.id('TextUIComponentTextCommonCopyOptionDraggable0180')); + await text.longClick(); + await Utils.sleep(100); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll.click(); + await Utils.sleep(1000); + // 切换横屏 + Settings.changeOrientation(); + + await Utils.sleep(1000); + let textPoint = await text.getBoundsCenter(); + await Utils.sleep(100); + let textArea: Component = + await driver.findComponent(ON.id('TextAreaUIComponentTextCommonCopyOptionDraggable0180')); + await Utils.sleep(100); + let textAreaPoint = await textArea.getBoundsCenter(); + await Utils.sleep(100); + await driver.drag(textPoint.x, textPoint.y, textAreaPoint.x, textAreaPoint.y) + await Utils.sleep(1000); + // 切换竖屏 + Settings.changeOrientation(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0180_1 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0180 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0180 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0180_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0180_2 start.`); + Settings.createWindow( + 'testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0180' + ); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let text: Component = await driver.findComponent(ON.id('TextUIComponentTextCommonCopyOptionDraggable0180')); + await Utils.sleep(100); + await text.longClick(); + await Utils.sleep(100); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(100); + await selectAll.click(); + await Utils.sleep(100); + let copy: Component = await driver.findComponent(ON.text('复制')); + await Utils.sleep(100); + await copy.click(); + await Utils.sleep(100); + + // 切换横屏 + Settings.changeOrientation(); + + let search: Component = await driver.findComponent(ON.id('SearchUIComponentTextCommonCopyOptionDraggable0180')); + await Utils.sleep(100); + await search.click(); + await Utils.sleep(100); + let searchPoint = await search.getBoundsCenter(); + await Utils.sleep(100); + await driver.mouseClick(searchPoint, MouseButton.MOUSE_BUTTON_RIGHT); + await Utils.sleep(1000); + let paste1: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste1.click(); + await Utils.sleep(100); + // 切换竖屏 + Settings.changeOrientation(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_COPYOPTION_DRAGGABLE_0180_2 end.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan.test.ets new file mode 100644 index 00000000..4dc1e7c1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan.test.ets @@ -0,0 +1,1319 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { Driver, Component, ON } from '@kit.TestKit' + +export default function UIComponentTextCommonCustomDrawingSpan() { + + describe('UIComponentTextCommonCustomDrawingSpan', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + + Settings.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); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0010 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0010 + * @tc.desc Rewrite width + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0010 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan001"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let component = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan001")); + await Utils.sleep(2000); + component.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0010 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0020 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0020 + * @tc.desc Input Outliers + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0020 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan002"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let component = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan002")); + await Utils.sleep(1000); + await component.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0020 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0040 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0040 + * @tc.desc Rewrite height + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0040 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan004"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let component = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan004")); + await Utils.sleep(1000); + component.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0040 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0050 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0050 + * @tc.desc Input Outliers + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0050 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan005"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let component = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan005")); + await Utils.sleep(1000); + component.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0050 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0070 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0070 + * @tc.desc Draw content with graphic and text background colors + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0070 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan007"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0070 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0080 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0080 + * @tc.desc Draw content with text + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0080 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan008"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0080 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0090 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0090 + * @tc.desc Draw nothing + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0090 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan009"); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0090 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0120 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0120 + * @tc.desc Set text to bind SelectionMenu + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0120 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan012"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let component = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan012")); + await Utils.sleep(2000); + component.longClick(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0120 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0150 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0150 + * @tc.desc Call getString to obtain the Custom Span + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0150 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan015"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let component = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan015")); + await Utils.sleep(1000); + component.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0150 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0160 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0160 + * @tc.desc Obtain the length of CustomSpan + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0160 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan016"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let component = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan016")); + await Utils.sleep(1000); + component.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0160 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0200 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0200 + * @tc.desc Obtain the length of CustomSpan + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0200 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan020"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let removeButton = await driver.findComponent(ON.id("removeButton")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + removeButton.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0200 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0210 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0210 + * @tc.desc Obtain the length of CustomSpan + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0210 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan021"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let removeButton = await driver.findComponent(ON.id("removeButton")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + removeButton.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0210 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0220 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0220 + * @tc.desc Replace the selected Customs Span + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0220 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan022"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let button = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan022")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + button.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0220 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0230 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0230 + * @tc.desc Replace the selected Customs Span + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0230 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan023"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let button = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan023")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + button.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0230 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0270 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0270 + * @tc.desc Specify the new style for the specified type + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0270 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan027"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let button = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan027")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + button.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0270 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0280 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0280 + * @tc.desc Specify the new style for the specified type + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0280 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan028"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let button = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan028")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + button.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0280 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0320 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0320 + * @tc.desc Clear the specified range type style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0320 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan032"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let button = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan032")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + button.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0320 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0330 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0330 + * @tc.desc Clear the specified range type style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0330 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan033"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let button = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan033")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + button.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0330 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0340 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0340 + * @tc.desc Clear the specified range type style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0340 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan034"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let button = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan034")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + button.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0340 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0350 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0350 + * @tc.desc Clear the specified range type style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0350 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan035"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let button = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan035")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + button.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0350 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0360 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0360 + * @tc.desc Clear Content + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0360 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan036"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let removeButton = await driver.findComponent(ON.id("removeButton")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + removeButton.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0360 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0370 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0370 + * @tc.desc Continuous clearing + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0370 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan037"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let removeButton = await driver.findComponent(ON.id("removeButton")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + removeButton.click(); + await Utils.sleep(1000); + removeButton.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0370 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0380 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0380 + * @tc.desc Clear Content + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0380 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan038"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let removeButton = await driver.findComponent(ON.id("removeButton")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + removeButton.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0380 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0390 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0390 + * @tc.desc Clear Content + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0390 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan039"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let removeButton = await driver.findComponent(ON.id("removeButton")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + removeButton.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0390 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0400 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0400 + * @tc.desc Get length + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0400', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0400 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan040"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let removeButton = await driver.findComponent(ON.id("removeButton")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + removeButton.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0400 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0410 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0410 + * @tc.desc Clear Styles + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0410', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0410 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan041"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let clearButton = await driver.findComponent(ON.id("clearButton")); + await Utils.sleep(1000); + clearButton.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0410 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0420 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0420 + * @tc.desc Replace to the specified location + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0420', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0420 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan042"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let replaceButton = await driver.findComponent(ON.id("replaceButton")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + replaceButton.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0420 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0430 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0430 + * @tc.desc Replace to the specified location + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0430', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0430 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan043"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let replaceButton = await driver.findComponent(ON.id("replaceButton")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + replaceButton.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0430 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0440 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0440 + * @tc.desc Replace to the specified location + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0440', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0440 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan044"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let replaceButton = await driver.findComponent(ON.id("replaceButton")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + replaceButton.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0440 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0450 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0450 + * @tc.desc Replace to the specified location + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0450', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0450 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan045"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let replaceButton = await driver.findComponent(ON.id("replaceButton")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + replaceButton.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0450 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0460 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0460 + * @tc.desc Insert Content + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0460', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0450 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan046"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let insertButton = await driver.findComponent(ON.id("insertButton")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + insertButton.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0460 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0470 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0470 + * @tc.desc Insert Content + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0470', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0470 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan047"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let insertButton = await driver.findComponent(ON.id("insertButton")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + insertButton.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0470 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0480 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0480 + * @tc.desc Additional content + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0480', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0470 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan048"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let appendButton = await driver.findComponent(ON.id("appendButton")); + await Utils.sleep(1000); + appendButton.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0480 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0490 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0490 + * @tc.desc Long press on Custom Span + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0490', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0470 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan049"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let component = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan049")); + await Utils.sleep(1000); + await component.longClick(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0490 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0510 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0510 + * @tc.desc Set obscured + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0510', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0510 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan051"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let component = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan051")); + await Utils.sleep(1000); + await component.longClick(); + await Utils.sleep(1000); + await component.doubleClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0510 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0520 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0520 + * @tc.desc Set hidden and visible settings + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0520_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0520_1 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan052"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let button = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan052")); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0520_1 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0520 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0520 + * @tc.desc Set hidden and visible settings + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0520_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0520_2 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan052"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let button = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan052")); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(2000); + await button.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0520_2 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0530 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0530 + * @tc.desc Set disable control + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0530', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0530 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan053"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let button = await driver.findComponent(ON.id("enabledButton")); + let component = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan053")); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(2000); + await component.longClick(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0530 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0540 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0540 + * @tc.desc Set drag and drop + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0540', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0540 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan054"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + await Utils.sleep(500); + let component = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan054")); + let textArea = await driver.findComponent(ON.id('textArea')); + await Utils.sleep(1000); + await component.longClick(); + await Utils.sleep(1000); + await component.dragTo(textArea) + await Utils.sleep(500); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0540 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0550 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0550 + * @tc.desc Set padding + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0550', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0550 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan055"); + await Utils.sleep(2000) + let driver: Driver = Driver.create(); + let component = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan055")); + await Utils.sleep(1000); + await component.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0550 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0250 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0250 + * @tc.desc Specify the new style for the specified type + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0250 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan0250"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let button = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan0250")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + button.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0250 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0260 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0260 + * @tc.desc Specify the new style for the specified type + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0260 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan0250"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let button = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan0250")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + button.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0260 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0290 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0290 + * @tc.desc Specify the new style for the specified type + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0290 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan0290"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let button = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan0290")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + button.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0290 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0300 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0300 + * @tc.desc Specify the new style for the specified type + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0300 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan0290"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let button = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan0290")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + button.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0300 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0310 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0310 + * @tc.desc Specify the new style for the specified type + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0310 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan0290"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let button = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan0290")); + await Utils.sleep(1000); + startButton.click(); + await Utils.sleep(1000); + lengthButton.click(); + await Utils.sleep(1000); + button.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0310 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0100 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0100 + * @tc.desc Set text to bind SelectionMenu + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0100 start.`); + Settings.createWindow( + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan010" + ); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let component = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan010")); + await Utils.sleep(2000); + await component.longClick(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0100 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0110 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0110 + * @tc.desc Set text to bind SelectionMenu + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0110 start.`); + Settings.createWindow( + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan011" + ); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let component = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan011")); + await Utils.sleep(1000); + await component.longClick(); + let copy: Component = await driver.findComponent(ON.text('复制')); + await copy.click(); + await Utils.sleep(500); + let textArea: Component = + await driver.findComponent(ON.id('TextAreaUIComponentTextCommonCustomDrawingSpan011')); + await textArea.click(); + await textArea.longClick(); + let paste2: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste2.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0110 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0130 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0130 + * @tc.desc Set text to bind SelectionMenu + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0130 start.`); + Settings.createWindow( + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan013" + ); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let component = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan013_btn1")); + await Utils.sleep(2000); + await component.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0130 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0140 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0140 + * @tc.desc Set text to bind SelectionMenu + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0140 start.`); + Settings.createWindow( + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan014" + ); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let component1 = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan014_btn1")); + await Utils.sleep(1000); + await component1.click(); + + let component2 = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan014_btn2")); + await Utils.sleep(1000); + await component2.click(); + + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0140 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0170 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0170 + * @tc.desc Set text to bind SelectionMenu + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0170 start.`); + Settings.createWindow( + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan017" + ); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let component1 = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan017_btn1")); + await Utils.sleep(1000); + await component1.click(); + + let component2 = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan017_btn2")); + await Utils.sleep(1000); + await component2.click(); + + let component3 = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan017_btn3")); + await Utils.sleep(1000); + await component3.click(); + + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0170 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0190 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0190 + * @tc.desc Set text to bind SelectionMenu + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0190 start.`); + Settings.createWindow( + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan019" + ); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let component1 = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan019_btn1")); + await Utils.sleep(1000); + await component1.click(); + + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0170 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0240 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0240 + * @tc.desc Replace the selected Customs Span + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0240 start.`); + Settings.createWindow( + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan024" + ); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + let startButton = await driver.findComponent(ON.id("startButton")); + let lengthButton = await driver.findComponent(ON.id("length")); + let button = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan024")); + await Utils.sleep(1000); + await startButton.click(); + await Utils.sleep(1000); + await lengthButton.click(); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0240 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0500 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0500 + * @tc.desc Long press on Custom Span + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0500', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0500 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan050"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let component = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan050")); + let point = await component.getBoundsCenter(); + await Utils.sleep(1000); + for (let index = 0; index <2 ; index++) { + await driver.click(point.x,point.y); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0500 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0560 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0560 + * @tc.desc Set padding + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0560', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0560 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan056"); + await Utils.sleep(2000) + let driver: Driver = Driver.create(); + let component1 = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan056_1")); + await Utils.sleep(1000); + await component1.click(); + let component2 = await driver.findComponent(ON.id("UIComponentTextCommonCustomDrawingSpan056_2")); + await Utils.sleep(1000); + await component2.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_CUSTOM_DRAWINGSPAN_0560 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonItscaAttributeUpdaterTest/UIComponentTextCommonItscaAttributeUpdater.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonItscaAttributeUpdaterTest/UIComponentTextCommonItscaAttributeUpdater.test.ets new file mode 100644 index 00000000..bb625af5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonItscaAttributeUpdaterTest/UIComponentTextCommonItscaAttributeUpdater.test.ets @@ -0,0 +1,328 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 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 UIComponentTextCommonItscaAttributeUpdater() { + + describe('UIComponentTextCommonItscaAttributeUpdater', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + + Settings.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); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0010 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0010 + * @tc.desc Replace text component + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0010 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater001"); + let driver: Driver = Driver.create(); + let component = await driver.findComponent(ON.id("UIComponentTextCommonItscaAttributeUpdater001")); + await Utils.sleep(1000); + await component.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0010 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0020 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0020 + * @tc.desc Replace text component + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0020 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater002"); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let component = await driver.findComponent(ON.id("UIComponentTextCommonItscaAttributeUpdater002")); + await Utils.sleep(1000); + await component.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0020 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0030 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0030 + * @tc.desc Replace text component + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0030 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater003"); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let component = await driver.findComponent(ON.id("UIComponentTextCommonItscaAttributeUpdater003")); + await Utils.sleep(1000); + await component.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0030 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0040 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0040 + * @tc.desc Replace text component + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0040 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater004"); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let component = await driver.findComponent(ON.id("UIComponentTextCommonItscaAttributeUpdater004")); + await Utils.sleep(1000); + await component.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0040 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0050 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0050 + * @tc.desc Replace text component + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0050 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater005"); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let component = await driver.findComponent(ON.id("UIComponentTextCommonItscaAttributeUpdater005")); + component.click(); + await Utils.sleep(1000); + let changeBtn = await driver.findComponent(ON.id("change")); + changeBtn.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0050 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_ITSCAATTRIBUTEUPDATER_0130 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_ITSCAATTRIBUTEUPDATER_0130 + * @tc.desc AttributeUpdater替换Span类型 + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_ITSCAATTRIBUTEUPDATER_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_ITSCAATTRIBUTEUPDATER_0130 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater013"); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let component = await driver.findComponent(ON.id("UIComponentTextCommonItscaAttributeUpdater013_text")); + component.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_ITSCAATTRIBUTEUPDATER_0130 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0060 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0060 + * @tc.desc Replace text component + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0060 start.`); + Settings.createWindow( + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater006" + ); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let component = await driver.findComponent(ON.id("UIComponentTextCommonItscaAttributeUpdater006")); + await component.click(); + await Utils.sleep(1000); + let changeBtn = await driver.findComponent(ON.id("change")); + await changeBtn.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0060 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0070 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0070 + * @tc.desc Replace text component + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0070 start.`); + Settings.createWindow( + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater007" + ); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let changeBtn = await driver.findComponent(ON.id("change")); + await changeBtn.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0070 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0080 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0080 + * @tc.desc Replace text component + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0080 start.`); + Settings.createWindow( + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater008" + ); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let changeBtn = await driver.findComponent(ON.id("change")); + await changeBtn.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0080 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0090 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0090 + * @tc.desc Replace text component + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0090 start.`); + Settings.createWindow( + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater009" + ); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let changeBtn = await driver.findComponent(ON.id("change")); + await changeBtn.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0090 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0100 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0100 + * @tc.desc Replace text component + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0100 start.`); + Settings.createWindow( + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater010" + ); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let changeBtn = await driver.findComponent(ON.id("change")); + await changeBtn.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0100 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0110 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0110 + * @tc.desc Replace text component + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0110 start.`); + Settings.createWindow( + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater011" + ); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let changeBtn = await driver.findComponent(ON.id("change")); + await changeBtn.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0110 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0120 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0120 + * @tc.desc Replace text component + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0120 start.`); + Settings.createWindow( + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater012" + ); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let changeBtn = await driver.findComponent(ON.id("change")); + await changeBtn.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0120 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0140 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0140 + * @tc.desc Replace text component + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0140 start.`); + Settings.createWindow( + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater014" + ); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let changeBtn1 = await driver.findComponent(ON.id("change1")); + await changeBtn1.click(); + await Utils.sleep(1000); + let changeBtn2 = await driver.findComponent(ON.id("change2")); + await changeBtn2.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMON_ITSCAATTRIBUTEUPDATER_0140 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextHyperlinkInteractionTest/UIComponentTextHyperlinkInteraction.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextHyperlinkInteractionTest/UIComponentTextHyperlinkInteraction.test.ets new file mode 100644 index 00000000..4e90b20f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextHyperlinkInteractionTest/UIComponentTextHyperlinkInteraction.test.ets @@ -0,0 +1,128 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { Driver, Component, ON, MouseButton } from '@ohos.UiTest' +import { KeyCode } from '@kit.InputKit'; + +export default function UIComponentTextHyperlinkInteraction() { + + describe('UIComponentTextHyperlinkInteraction', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + Settings.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); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_HYPERLINK_INTERACTION_0030 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_HYPERLINK_INTERACTION_0030 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_HYPERLINK_INTERACTION_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_HYPERLINK_INTERACTION_0030 start.`); + Settings.createWindow("testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0030"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button : Component = await driver.findComponent(ON.id('UIComponentTextHyperlinkInteraction0030_001')); + let point = await button.getBoundsCenter(); + await driver.mouseClick({x: point.x, y: point.y}, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(4000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_HYPERLINK_INTERACTION_0030 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_HYPERLINK_INTERACTION_0040 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_HYPERLINK_INTERACTION_0040 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_HYPERLINK_INTERACTION_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_HYPERLINK_INTERACTION_0040 start.`); + Settings.createWindow("testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0040"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button : Component = await driver.findComponent(ON.id('UIComponentTextHyperlinkInteraction0040_001')); + let point = await button.getBoundsCenter(); + await driver.mouseMoveTo({x: point.x, y: point.y}); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_HYPERLINK_INTERACTION_0040 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_HYPERLINK_INTERACTION_0080 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_HYPERLINK_INTERACTION_0080 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_HYPERLINK_INTERACTION_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_HYPERLINK_INTERACTION_0080 start.`); + Settings.createWindow("testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0080"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button : Component = await driver.findComponent(ON.id('UIComponentTextHyperlinkInteraction0080_001')); + await driver.triggerKey(KeyCode.KEYCODE_TAB); + await Utils.sleep(1000); + let point = await button.getBoundsCenter(); + await driver.mouseMoveTo({x: point.x, y: point.y}); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_HYPERLINK_INTERACTION_0080 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_HYPERLINK_INTERACTION_0090 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_HYPERLINK_INTERACTION_0090 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_HYPERLINK_INTERACTION_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_HYPERLINK_INTERACTION_0090 start.`); + Settings.createWindow("testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0090"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button : Component = await driver.findComponent(ON.id('UIComponentTextHyperlinkInteraction0090_001')); + let point = await button.getBoundsCenter(); + await driver.mouseMoveTo({x: point.x, y: point.y - 3}); + await Utils.sleep(2); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_HYPERLINK_INTERACTION_0090 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextImagePrivacySensitiveTest/UIComponentTextImagePrivacySensitive.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextImagePrivacySensitiveTest/UIComponentTextImagePrivacySensitive.test.ets new file mode 100644 index 00000000..63d6039a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextImagePrivacySensitiveTest/UIComponentTextImagePrivacySensitive.test.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. + */ +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'; + +export default function UIComponentTextImagePrivacySensitive() { + + describe('UIComponentTextImagePrivacySensitive', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_IMAGE_PRIVACYSENSITIVE_0010 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_IMAGE_PRIVACYSENSITIVE_0010 + * @tc.desc Set privacySensitive + */ + it('SUB_ACE_UI_COMPONENT_TEXT_IMAGE_PRIVACYSENSITIVE_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_IMAGE_PRIVACYSENSITIVE_0010 start.`); + Settings.createWindow('testability/pages/UIComponentTextImagePrivacySensitive/UIComponentTextImagePrivacySensitive001'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_IMAGE_PRIVACYSENSITIVE_0010 end.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInlineTest/UIComponentTextInline.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInlineTest/UIComponentTextInline.test.ets new file mode 100644 index 00000000..9e18c2a4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInlineTest/UIComponentTextInline.test.ets @@ -0,0 +1,413 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { Driver, Component, ON, MouseButton } from '@ohos.UiTest' +import { KeyCode } from '@kit.InputKit'; + +export default function UIComponentTextInline() { + + describe('UIComponentTextInline', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + Settings.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); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0010 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0010 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_INLINE_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0010 start.`); + Settings.createWindow("testability/pages/UIComponentTextInline/UIComponentTextInline0010"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button : Component = await driver.findComponent(ON.id('UIComponentTextInline0010_001')); + await button.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0010 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0020 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0020 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_INLINE_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0020 start.`); + Settings.createWindow("testability/pages/UIComponentTextInline/UIComponentTextInline0020"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button : Component = await driver.findComponent(ON.id('UIComponentTextInline0020_001')); + await button.click(); + await Utils.sleep(1000); + await driver.pressBack(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0020 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0030 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0030 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_INLINE_0030_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0030_1 start.`); + Settings.createWindow("testability/pages/UIComponentTextInline/UIComponentTextInline0030"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let input : Component = await driver.findComponent(ON.id('UIComponentTextInline0030_001')); + let button : Component = await driver.findComponent(ON.id('UIComponentTextInline0030_002')); + await input.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + await driver.pressBack(); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(1000); + await input.click(); + await Utils.sleep(1000); + await driver.pressBack(); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(1000); + await input.click(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0030_1 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0030 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0030 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_INLINE_0030_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0030_2 start.`); + Settings.createWindow("testability/pages/UIComponentTextInline/UIComponentTextInline0030"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let input : Component = await driver.findComponent(ON.id('UIComponentTextInline0030_001')); + let button : Component = await driver.findComponent(ON.id('UIComponentTextInline0030_002')); + await input.click(); + await Utils.sleep(1000); + await driver.pressBack(); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(1000); + await input.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + await driver.pressBack(); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(1000); + await input.click(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0030_2 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0030 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0030 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_INLINE_0030_3', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0030_3 start.`); + Settings.createWindow("testability/pages/UIComponentTextInline/UIComponentTextInline0030"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let input : Component = await driver.findComponent(ON.id('UIComponentTextInline0030_001')); + let button : Component = await driver.findComponent(ON.id('UIComponentTextInline0030_002')); + await input.click(); + await Utils.sleep(1000); + await driver.pressBack(); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(1000); + await input.click(); + await Utils.sleep(1000); + await driver.pressBack(); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(1000); + await input.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0030_3 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0060 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0060 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_INLINE_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0060 start.`); + Settings.createWindow("testability/pages/UIComponentTextInline/UIComponentTextInline0060"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button : Component = await driver.findComponent(ON.id('UIComponentTextInline0060_001')); + await button.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0060 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0070 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0070 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_INLINE_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0070 start.`); + Settings.createWindow("testability/pages/UIComponentTextInline/UIComponentTextInline0070"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button : Component = await driver.findComponent(ON.id('UIComponentTextInline0070_001')); + await button.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0070 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0080 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0080 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_INLINE_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0080 start.`); + Settings.createWindow("testability/pages/UIComponentTextInline/UIComponentTextInline0080"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button : Component = await driver.findComponent(ON.id('UIComponentTextInline0080_001')); + await button.click(); + await Utils.sleep(1000); + await driver.pressBack(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0080 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0090 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0090 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_INLINE_0090_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0090_1 start.`); + Settings.createWindow("testability/pages/UIComponentTextInline/UIComponentTextInline0090"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let input : Component = await driver.findComponent(ON.id('UIComponentTextInline0090_001')); + let button : Component = await driver.findComponent(ON.id('UIComponentTextInline0090_002')); + await input.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + await driver.pressBack(); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(1000); + await input.click(); + await Utils.sleep(1000); + await driver.pressBack(); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(1000); + await input.click(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0090_1 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0090 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0090 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_INLINE_0090_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0090_2 start.`); + Settings.createWindow("testability/pages/UIComponentTextInline/UIComponentTextInline0090"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let input : Component = await driver.findComponent(ON.id('UIComponentTextInline0090_001')); + let button : Component = await driver.findComponent(ON.id('UIComponentTextInline0090_002')); + await input.click(); + await Utils.sleep(1000); + await driver.pressBack(); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(1000); + await input.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + await driver.pressBack(); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(1000); + await input.click(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0090_2 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0090 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0090 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_INLINE_0090_3', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0090_3 start.`); + Settings.createWindow("testability/pages/UIComponentTextInline/UIComponentTextInline0090"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let input : Component = await driver.findComponent(ON.id('UIComponentTextInline0090_001')); + let button : Component = await driver.findComponent(ON.id('UIComponentTextInline0090_002')); + await input.click(); + await Utils.sleep(1000); + await driver.pressBack(); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(1000); + await input.click(); + await Utils.sleep(1000); + await driver.pressBack(); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(1000); + await input.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0090_3 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0120 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0120 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_INLINE_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0120 start.`); + Settings.createWindow("testability/pages/UIComponentTextInline/UIComponentTextInline0120"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button : Component = await driver.findComponent(ON.id('UIComponentTextInline0120_001')); + await button.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0120 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0130 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0130 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_INLINE_0130_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0130_1 start.`); + Settings.createWindow("testability/pages/UIComponentTextInline/UIComponentTextInline0130"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button : Component = await driver.findComponent(ON.id('UIComponentTextInline0130_001')); + await button.click(); + await Utils.sleep(1000); + Settings.changeOrientation(); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Settings.changeOrientation(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0130_1 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0130 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_INLINE_0130 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_INLINE_0130_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0130_2 start.`); + Settings.createWindow("testability/pages/UIComponentTextInline/UIComponentTextInline0130"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button : Component = await driver.findComponent(ON.id('UIComponentTextInline0130_001')); + await button.click(); + await Utils.sleep(1000); + Settings.changeOrientation(); + await Utils.sleep(1000); + Settings.changeOrientation(); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_INLINE_0130_2 finish.`); + done(); + }) + + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInputNumberDecimalTest/UIComponentTextInputNumberDecimalTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInputNumberDecimalTest/UIComponentTextInputNumberDecimalTest.test.ets new file mode 100644 index 00000000..be6d6b9b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInputNumberDecimalTest/UIComponentTextInputNumberDecimalTest.test.ets @@ -0,0 +1,273 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { Component, Driver, ON } from '@ohos.UiTest'; +import Utils from '../model/Utils'; +import windowSnap from '../model/snapShot'; + +export default function UIComponentTextInputNumberDecimalTest() { + + describe('UIComponentTextInputNumberDecimalTest', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done(); + }) + /* + * @tc.number SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0010 + * @tc.name SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0010 + * @tc.desc + */ + it('SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0010 start.`); + Settings.createWindow('testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0010'); + let driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('TextInputUIComponentTextInputNumberDecimal0010')); + await Utils.sleep(500); + await textInput.inputText('123456'); + await Utils.sleep(500); + let textInput1: Component = await driver.findComponent(ON.id('TextInputUIComponentTextInputNumberDecimal0010_1')); + await Utils.sleep(500); + await textInput1.inputText('123.456'); + await Utils.sleep(1000); + let textInput2: Component = await driver.findComponent(ON.id('TextInputUIComponentTextInputNumberDecimal0010_2')); + await Utils.sleep(500); + await textInput2.inputText('123456.'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0010 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0020 + * @tc.name SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0020 + * @tc.desc + */ + it('SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0020 start.`); + Settings.createWindow('testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0020'); + let driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('TextInputUIComponentTextInputNumberDecimal0020')); + await Utils.sleep(500); + await textInput.inputText('123.456'); + await Utils.sleep(500); + await driver.triggerKey(2044); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0020 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0030 + * @tc.name SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0030 + * @tc.desc + */ + it('SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0030 start.`); + Settings.createWindow('testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0030'); + let driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('TextInputUIComponentTextInputNumberDecimal0030')); + await Utils.sleep(500); + await textInput.inputText('123.5.6'); + await Utils.sleep(500); + await driver.triggerKey(2044); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0030 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0040 + * @tc.name SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0040 + * @tc.desc + */ + it('SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0040 start.`); + Settings.createWindow('testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0040'); + let driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('TextInputUIComponentTextInputNumberDecimal0040')); + await Utils.sleep(500); + await textInput.inputText('aaaa123.5.6'); + await Utils.sleep(500); + await driver.triggerKey(2044); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0040 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0050 + * @tc.name SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0050 + * @tc.desc + */ + it('SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0050 start.`); + Settings.createWindow('testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0050'); + let driver = Driver.create(); + let textInput1: Component = await driver.findComponent(ON.id('TextInputUIComponentTextInputNumberDecimal0050_1')); + await Utils.sleep(500); + await textInput1.inputText('123.5.6'); + await Utils.sleep(500); + await textInput1.longClick(); + await Utils.sleep(500); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll.click(); + await Utils.sleep(500); + let copy: Component = await driver.findComponent(ON.text('复制')); + await Utils.sleep(500); + await copy.click(); + await Utils.sleep(500); + let textInput: Component = await driver.findComponent(ON.id('TextInputUIComponentTextInputNumberDecimal0050')); + await Utils.sleep(500); + await textInput.doubleClick(); + await Utils.sleep(500); + let paste: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(500); + await paste.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0050 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0060 + * @tc.name SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0060 + * @tc.desc + */ + it('SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0060 start.`); + Settings.createWindow('testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0060'); + let driver = Driver.create(); + let textInput1: Component = await driver.findComponent(ON.id('TextInputUIComponentTextInputNumberDecimal0060_1')); + await Utils.sleep(500); + await textInput1.inputText('123.5.6'); + await Utils.sleep(500); + let textInput: Component = await driver.findComponent(ON.id('TextInputUIComponentTextInputNumberDecimal0060')); + await Utils.sleep(500); + await textInput.inputText('dadada123@.da1'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0060 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0070 + * @tc.name SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0070 + * @tc.desc + */ + it('SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0070 start.`); + Settings.createWindow('testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0070'); + let driver = Driver.create(); + let textInput1: Component = await driver.findComponent(ON.id('TextInputUIComponentTextInputNumberDecimal0070_1')); + await Utils.sleep(500); + await textInput1.inputText('123.5.6'); + await Utils.sleep(500); + let textInput2: Component = await driver.findComponent(ON.id('TextInputUIComponentTextInputNumberDecimal0070_2')); + await Utils.sleep(500); + await textInput2.inputText('dadada123@.da1'); + await Utils.sleep(500); + let textInput3: Component = await driver.findComponent(ON.id('TextInputUIComponentTextInputNumberDecimal0070_3')); + await Utils.sleep(500); + await textInput3.inputText('dadada123@.da1'); + await Utils.sleep(500); + let textInput4: Component = await driver.findComponent(ON.id('TextInputUIComponentTextInputNumberDecimal0070_4')); + await Utils.sleep(500); + await textInput4.inputText('dadada123@.da1'); + await Utils.sleep(500); + let textInput5: Component = await driver.findComponent(ON.id('TextInputUIComponentTextInputNumberDecimal0070_5')); + await Utils.sleep(500); + await textInput5.inputText('dadada123@.da1'); + await Utils.sleep(500); + let textInput6: Component = await driver.findComponent(ON.id('TextInputUIComponentTextInputNumberDecimal0070_6')); + await Utils.sleep(500); + await textInput6.inputText('dadada123@.da1'); + await Utils.sleep(500); + let textInput7: Component = await driver.findComponent(ON.id('TextInputUIComponentTextInputNumberDecimal0070_7')); + await Utils.sleep(500); + await textInput7.inputText('dadada123@.da1'); + await Utils.sleep(500); + let textInput8: Component = await driver.findComponent(ON.id('TextInputUIComponentTextInputNumberDecimal0070_8')); + await Utils.sleep(500); + await textInput8.inputText('dadada123@.da1'); + await Utils.sleep(500); + let textInput9: Component = await driver.findComponent(ON.id('TextInputUIComponentTextInputNumberDecimal0070_9')); + await Utils.sleep(500); + await textInput9.inputText('dadada123@.da1'); + await Utils.sleep(500); + let textInput10: Component = await driver.findComponent(ON.id('TextInputUIComponentTextInputNumberDecimal0070_10')); + await Utils.sleep(500); + await textInput10.inputText('dadada123@.da1'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0070 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0080 + * @tc.name SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0080 + * @tc.desc + */ + it('SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0080 start.`); + Settings.createWindow('testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0080'); + let driver = Driver.create(); + await Utils.sleep(500); + let textInput: Component = await driver.findComponent(ON.id('TextInputUIComponentTextInputNumberDecimal0080')); + await Utils.sleep(500); + await textInput.inputText('123abc'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0080 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0100 + * @tc.name SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0100 + * @tc.desc + */ + it('SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0100 start.`); + Settings.createWindow('testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0100'); + let driver = Driver.create(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_NUMBER_DECIMAL_0100 end.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInputSecurityKeyboardScrollTest/UIComponentTextInputSecurityKeyboardScrollTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInputSecurityKeyboardScrollTest/UIComponentTextInputSecurityKeyboardScrollTest.test.ets new file mode 100644 index 00000000..7a115f2a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInputSecurityKeyboardScrollTest/UIComponentTextInputSecurityKeyboardScrollTest.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 { afterEach, describe, it } from '@ohos/hypium'; +import Logger from '../model/Logger'; +import Settings from '../model/Settings'; +import { Component, Driver, MouseButton, ON } from '@ohos.UiTest'; +import Utils from '../model/Utils'; +import windowSnap from '../model/snapShot'; + +export default function UIComponentTextInputSecurityKeyboardScrollTest() { + + describe('UIComponentTextInputSecurityKeyboardScrollTest', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done(); + }) + /* + * @tc.number SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0010 + * @tc.name SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0010 + * @tc.desc + */ + it('SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0010 start.`); + Settings.createWindow('testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0010'); + let driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('UIComponentTextInputSecurityKeyboardScroll0010')); + await Utils.sleep(500); + await textInput.inputText('adawdawd1213'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0010 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0020 + * @tc.name SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0020 + * @tc.desc + */ + it('SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0020 start.`); + Settings.createWindow('testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0020'); + let driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('UIComponentTextInputSecurityKeyboardScroll0020')); + await Utils.sleep(500); + await textInput.inputText('adawdawd1213'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0020 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0030 + * @tc.name SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0030 + * @tc.desc + */ + it('SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0030 start.`); + Settings.createWindow('testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0030'); + let driver = Driver.create(); + await Utils.sleep(500); + let textInput: Component = await driver.findComponent(ON.id('UIComponentTextInputSecurityKeyboardScroll0030')); + await Utils.sleep(500); + await textInput.inputText('adawdawd1213'); + await Utils.sleep(500); + let textInput1: Component = await driver.findComponent(ON.id('UIComponentTextInputSecurityKeyboardScroll0030_1')); + await Utils.sleep(500); + await textInput1.inputText('adawdawd1213'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0030 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0050 + * @tc.name SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0040 + * @tc.desc + */ + it('SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0040 start.`); + Settings.createWindow('testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0040'); + let driver = Driver.create(); + await Utils.sleep(500); + let textInput: Component = await driver.findComponent(ON.id('UIComponentTextInputSecurityKeyboardScroll0040')); + await Utils.sleep(500); + await textInput.inputText('adawdawd1213'); + await Utils.sleep(500); + let textInput1: Component = await driver.findComponent(ON.id('UIComponentTextInputSecurityKeyboardScroll0040_1')); + await Utils.sleep(500); + await textInput1.inputText('adawdawd1213'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0040 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0050 + * @tc.name SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0050 + * @tc.desc + */ + it('SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0050 start.`); + Settings.createWindow('testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0050'); + let driver = Driver.create(); + await Utils.sleep(500); + let textInput: Component = await driver.findComponent(ON.id('UIComponentTextInputSecurityKeyboardScroll0050')); + await Utils.sleep(500); + await textInput.inputText('adawdawd1213'); + await Utils.sleep(500); + let textInput1: Component = await driver.findComponent(ON.id('UIComponentTextInputSecurityKeyboardScroll0050_1')); + await Utils.sleep(500); + await textInput1.inputText('adawdawd1213'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0050 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0060 + * @tc.name SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0060 + * @tc.desc + */ + it('SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0060 start.`); + Settings.createWindow('testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0060'); + let driver = Driver.create(); + await Utils.sleep(500); + let textInput: Component = await driver.findComponent(ON.id('UIComponentTextInputSecurityKeyboardScroll0060')); + await Utils.sleep(500); + await textInput.inputText('adawdawd1213'); + await Utils.sleep(500); + let textInput1: Component = await driver.findComponent(ON.id('UIComponentTextInputSecurityKeyboardScroll0060_1')); + await Utils.sleep(500); + await textInput1.inputText('adawdawd1213'); + await Utils.sleep(500); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextInputSecurityKeyboardScroll0060')); + await Utils.sleep(500); + await btn.click(); + await Utils.sleep(500); + await textInput1.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0060 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0070 + * @tc.name SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0070 + * @tc.desc + */ + it('SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0070 start.`); + Settings.createWindow('testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0070'); + let driver = Driver.create(); + await Utils.sleep(500); + let textInput: Component = await driver.findComponent(ON.id('UIComponentTextInputSecurityKeyboardScroll0070')); + await Utils.sleep(500); + await textInput.inputText('adawdawd1213'); + await Utils.sleep(500); + await textInput.longClick(); + await Utils.sleep(500); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll.click(); + await Utils.sleep(500); + let copy: Component = await driver.findComponent(ON.text('复制')); + await Utils.sleep(500); + await copy.click(); + await Utils.sleep(500); + let textInput1: Component = await driver.findComponent(ON.id('UIComponentTextInputSecurityKeyboardScroll0070_1')); + await Utils.sleep(500); + await textInput1.longClick(); + await Utils.sleep(500); + let paste: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(500); + await paste.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0070 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0080 + * @tc.name SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0080 + * @tc.desc + */ + it('SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0080 start.`); + Settings.createWindow('testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0080'); + let driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('UIComponentTextInputSecurityKeyboardScroll0080')); + await Utils.sleep(500); + await textInput.inputText('adad123'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0080 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0090 + * @tc.name SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0090 + * @tc.desc + */ + it('SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0090 start.`); + Settings.createWindow('testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0090'); + let driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('UIComponentTextInputSecurityKeyboardScroll0090')); + await Utils.sleep(500); + await textInput.inputText('12345678915151515'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0090 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0100 + * @tc.name SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0100 + * @tc.desc + */ + it('SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0100 start.`); + Settings.createWindow('testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0100'); + let driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('UIComponentTextInputSecurityKeyboardScroll0100')); + await Utils.sleep(500); + await textInput.inputText('1234512345123451234512'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0100 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0110 + * @tc.name SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0110 + * @tc.desc + */ + it('SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0110 start.`); + Settings.createWindow('testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0110'); + let driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('UIComponentTextInputSecurityKeyboardScroll0110')); + await Utils.sleep(500); + await textInput.inputText('1234512345123451234512'); + await Utils.sleep(500); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextInputSecurityKeyboardScroll0110')); + await Utils.sleep(500); + await btn.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0110 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0120 + * @tc.name SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0120 + * @tc.desc + */ + it('SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0120 start.`); + Settings.createWindow('testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0120'); + let driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('UIComponentTextInputSecurityKeyboardScroll0120')); + await Utils.sleep(500); + await textInput.inputText('1234512345123451234512123456456456654664646464646466'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0120 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0130 + * @tc.name SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0130 + * @tc.desc + */ + it('SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0130 start.`); + Settings.createWindow('testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0130'); + let driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('UIComponentTextInputSecurityKeyboardScroll0130')); + await Utils.sleep(500); + await textInput.inputText('1234566'); + await Utils.sleep(500); + let point = await textInput.getBoundsCenter(); + await Utils.sleep(500); + await driver.mouseClick({ + x: point.x + 320, y: point.y + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0130 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0140 + * @tc.name SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0140 + * @tc.desc + */ + it('SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0140 start.`); + Settings.createWindow('testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0140'); + let driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('UIComponentTextInputSecurityKeyboardScroll0140')); + await Utils.sleep(500); + await textInput.inputText('1234566'); + await Utils.sleep(500); + await driver.triggerKey(2055) + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0140 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0150 + * @tc.name SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0150 + * @tc.desc + */ + it('SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0150 start.`); + Settings.createWindow('testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0150'); + let driver = Driver.create(); + let textInput: Component = await driver.findComponent(ON.id('UIComponentTextInputSecurityKeyboardScroll0150')); + await Utils.sleep(500); + await textInput.inputText('1234566'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_TEXTINPUT_SECURITY_KEYBOARD_SCROLL_0150 end.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInputTest/UIComponentTextInput.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInputTest/UIComponentTextInput.test.ets new file mode 100644 index 00000000..45824b4a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInputTest/UIComponentTextInput.test.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 { 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 '@kit.TestKit' +import { uiAppearance } from '@kit.ArkUI' + +export default function UIComponentTextInput0010() { + + describe('UIComponentTextInput0010', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done() + }) + + it('SUB_ACE_ANALYSE_UI_COMPONENT_TEXTINPUT_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_ANALYSE_UI_COMPONENT_TEXTINPUT_0010 start.`); + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK, () => { + }) + Settings.createWindow("testability/pages/UIComponentTextInput/UIComponentTextInput0010") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + await Utils.sleep(1000) + let ButtonCom2 = await driver.findComponent(ON.id('button2')) + await Utils.sleep(1000) + await ButtonCom2.click() + await Utils.sleep(2000) + windowSnap.snapShot() + await Utils.sleep(2000) + let ButtonCom1 = await driver.findComponent(ON.id('button1')) + await Utils.sleep(1000) + await ButtonCom1.click() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0010 finish.`); + done() + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextReverseAnalysisTest/UIComponentTextReverseAnalysis.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextReverseAnalysisTest/UIComponentTextReverseAnalysis.test.ets new file mode 100644 index 00000000..abcbe0ac --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextReverseAnalysisTest/UIComponentTextReverseAnalysis.test.ets @@ -0,0 +1,313 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { Driver, Component, ON, MouseButton } from '@ohos.UiTest' +import { KeyCode } from '@kit.InputKit'; + +export default function UIComponentTextReverseAnalysis() { + + describe('UIComponentTextReverseAnalysis', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + Settings.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); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0200 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0200 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0200 start.`); + Settings.createWindow("testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0200"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button : Component = await driver.findComponent(ON.id('insert')); + await button.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0200 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0300 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0300 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0300 start.`); + Settings.createWindow("testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0300"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button : Component = await driver.findComponent(ON.id('UIComponentTextReverseAnalysis0300_001')); + await button.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0300 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0350 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0350 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0350 start.`); + Settings.createWindow("testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0350"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button : Component = await driver.findComponent(ON.id('UIComponentTextReverseAnalysis0350_001')); + let point = await button.getBoundsCenter(); + await driver.mouseMoveTo({x: point.x, y: point.y}); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0350 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0480 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0480 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0480', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0480 start.`); + Settings.createWindow("testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0480"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button : Component = await driver.findComponent(ON.id('UIComponentTextReverseAnalysis0480_001')); + await button.click(); + await Utils.sleep(2000); + await button.inputText('text'); + await Utils.sleep(1000); + await driver.triggerKey(KeyCode.KEYCODE_TAB); + await Utils.sleep(1000); + await driver.triggerKey(KeyCode.KEYCODE_ENTER); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0480 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0490 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0490 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0490', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0490 start.`); + Settings.createWindow("testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0490"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button : Component = await driver.findComponent(ON.id('UIComponentTextReverseAnalysis0490_001')); + await button.click(); + await Utils.sleep(2000); + await button.inputText('text'); + await Utils.sleep(1000); + await driver.triggerKey(KeyCode.KEYCODE_TAB); + await Utils.sleep(1000); + await driver.triggerKey(KeyCode.KEYCODE_ENTER); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0490 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0500 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0500 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0500', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0500 start.`); + Settings.createWindow("testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0500"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button : Component = await driver.findComponent(ON.id('UIComponentTextReverseAnalysis0500_001')); + await button.click(); + await Utils.sleep(2000); + await driver.triggerKey(KeyCode.KEYCODE_TAB); + await Utils.sleep(1000); + await driver.triggerKey(KeyCode.KEYCODE_ENTER); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0500 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0510 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0510 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0510', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0510 start.`); + Settings.createWindow("testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0510"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button : Component = await driver.findComponent(ON.id('UIComponentTextReverseAnalysis0510_001')); + await button.click(); + await Utils.sleep(2000); + await driver.triggerKey(KeyCode.KEYCODE_TAB); + await Utils.sleep(1000); + await driver.triggerKey(KeyCode.KEYCODE_TAB); + await Utils.sleep(1000); + await driver.triggerKey(KeyCode.KEYCODE_ENTER); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0510 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0390 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0390 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0390 start.`); + Settings.createWindow("testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0390"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + await Utils.homeAndBack(driver); + await Utils.sleep(1000); + let button : Component = await driver.findComponent(ON.id('UIComponentTextReverseAnalysis0390_001')); + await button.click(); + await Utils.sleep(1000); + await button.longClick(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0390 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0420 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0420 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0420', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0420 start.`); + Settings.createWindow("testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0420"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + await Utils.homeAndBack(driver); + await Utils.sleep(1000); + let button : Component = await driver.findComponent(ON.id('UIComponentTextReverseAnalysis0420_001')); + await button.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0420 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0430 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0430 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0430', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0430 start.`); + Settings.createWindow("testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0430"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + await Utils.homeAndBack(driver); + await Utils.sleep(1000); + let button : Component = await driver.findComponent(ON.id('UIComponentTextReverseAnalysis0430_001')); + await button.longClick(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0430 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0400 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0400 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0400', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0400 start.`); + Settings.createWindow("testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0400"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button : Component = await driver.findComponent(ON.id('UIComponentTextReverseAnalysis0400_001')); + await button.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0400 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0410 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0410 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0410', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0410 start.`); + Settings.createWindow("testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0410"); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let button : Component = await driver.findComponent(ON.id('UIComponentTextReverseAnalysis0410_001')); + await button.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_REVERSEANALYSIS_0410 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaActionTest/UIComponentTextTextAreaActionTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaActionTest/UIComponentTextTextAreaActionTest.test.ets new file mode 100644 index 00000000..52966015 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaActionTest/UIComponentTextTextAreaActionTest.test.ets @@ -0,0 +1,296 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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, Component, ON } from '@kit.TestKit'; +import { KeyCode } from '@kit.InputKit'; + +export default function UIComponentTextTextAreaActionTest() { + + describe('UIComponentTextTextAreaActionTest', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0010 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0010 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0010 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0010'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaAction0010')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(100); + await textArea.longClick(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0010 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0020 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0020 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0020 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0020'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaAction0020')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaa'); + await Utils.sleep(100); + await driver.triggerKey(2054); + await Utils.sleep(100); + await driver.triggerKey(2054); + await Utils.sleep(100); + let point = await textArea.getBoundsCenter(); + await Utils.sleep(100); + await driver.longClick(point.x,point.y - 20); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0020 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0030 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0030 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0030 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0030'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaAction0030')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(100); + await textArea.longClick() + await Utils.sleep(100); + await driver.pressBack(); + await Utils.sleep(100); + await driver.pressBack(); + await Utils.sleep(100); + await driver.pressBack(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0030 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0040 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0040 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0040 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0040'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaAction0040')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(100); + await driver.triggerKey(2054); + await Utils.sleep(100); + let textArea1: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaAction0040_1')); + await Utils.sleep(100); + await textArea1.click(); + await Utils.sleep(100); + await textArea.click() + await Utils.sleep(100); + await driver.triggerKey(2040) + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0040 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0080 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0080 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0080 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0080'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaAction0080')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(100); + await textArea.longClick(); + await Utils.sleep(100); + let copy: Component = await driver.findComponent(ON.text('复制')); + await Utils.sleep(100); + await copy.click(); + await Utils.sleep(100); + await textArea.click(); + await Utils.sleep(100); + let paste: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(100); + await paste.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0080 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0090 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0090 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0090 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0090'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaAction0090')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(100); + await driver.triggerKey(2054); + await Utils.sleep(100); + await driver.triggerKey(2040) + await Utils.sleep(2000); + await driver.triggerKey(2014); + await Utils.sleep(100); + await driver.triggerKey(2014); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0090 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0100 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0100 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0100 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0100'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaAction0100')); + await Utils.sleep(100); + await textArea.doubleClick(); + await Utils.sleep(100); + let textArea1: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaAction0100_1')); + await Utils.sleep(100); + await textArea1.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0100 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0070 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0070 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0070 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0070'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaAction0070')); + await Utils.sleep(100); + await textArea.longClick(); + await driver.triggerKey(KeyCode.KEYCODE_H); + await driver.triggerKey(KeyCode.KEYCODE_E); + await driver.triggerKey(KeyCode.KEYCODE_L); + await driver.triggerKey(KeyCode.KEYCODE_L); + await driver.triggerKey(KeyCode.KEYCODE_O); + await Utils.sleep(100); + await textArea.longClick(); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll?.click(); + let point = await textArea.getBounds(); + await driver.click(point.left + 200, point.bottom + 100); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0070 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0110 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0110 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0110 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0110'); + await Utils.sleep(1000); + let driver: Driver = Driver.create(); + await driver.delayMs(1000); + let textArea: Component = await driver.findComponent(ON.id('TextTextAreaAction0110')); + let text: Component = await driver.findComponent(ON.id('TextTextAreaAction0110_1')); + await Utils.sleep(1000); + await textArea.inputText('textArea:测试getTextContentLineCount'); + await Utils.sleep(1000); + await driver.triggerKey(KeyCode.KEYCODE_ENTER); + await Utils.sleep(200); + await driver.triggerKey(KeyCode.KEYCODE_ENTER); + await Utils.sleep(200); + await driver.triggerKey(KeyCode.KEYCODE_ENTER); + await Utils.sleep(1000); + await text.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ACTION_0110 end.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaEnhancesTest/UIComponentTextTextAreaEnhancesTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaEnhancesTest/UIComponentTextTextAreaEnhancesTest.test.ets new file mode 100644 index 00000000..8fb79de0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaEnhancesTest/UIComponentTextTextAreaEnhancesTest.test.ets @@ -0,0 +1,89 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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, Component, ON } from '@kit.TestKit'; + +export default function UIComponentTextTextAreaEnhancesTest() { + + describe('UIComponentTextTextAreaEnhancesTest', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTARE_ENHANCES_0900 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTARE_ENHANCES_0900 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTARE_ENHANCES_0900', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTARE_ENHANCES_0900 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaEnhances/UIComponentTextTextAreaEnhances0900'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaEnhances0900')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' + + 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' + + 'aaaaaaaaaaaaaaaaaa'); + await Utils.sleep(100); + await textArea.longClick(); + await Utils.sleep(1500); + windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTARE_ENHANCES_0900 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTARE_ENHANCES_2500 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTARE_ENHANCES_2500 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTARE_ENHANCES_2500', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTARE_ENHANCES_2500 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaEnhances/UIComponentTextTextAreaEnhances2500'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaEnhances2500')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' + + 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' + + 'aaaaaaaaaaaaaaaaaa'); + await Utils.sleep(100); + await textArea.longClick(); + await Utils.sleep(1500); + windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTARE_ENHANCES_2500 end.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaEnterkeyTypeTest/UIComponentTextTextAreaEnterkeyTypeTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaEnterkeyTypeTest/UIComponentTextTextAreaEnterkeyTypeTest.test.ets new file mode 100644 index 00000000..f4a6efde --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaEnterkeyTypeTest/UIComponentTextTextAreaEnterkeyTypeTest.test.ets @@ -0,0 +1,424 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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, Component, ON } from '@kit.TestKit'; + +export default function UIComponentTextTextAreaEnterkeyTypeTest() { + + describe('UIComponentTextTextAreaEnterkeyTypeTest', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done() + }) + + /* + * @tc.number SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0010 + * @tc.name SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0010 + * @tc.desc + */ + it('SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0010 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0010'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaEnterkeyType0010')); + await Utils.sleep(100); + await btn.click(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaEnterkeyType0010')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0010 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0016 + * @tc.name SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0016 + * @tc.desc + */ + it('SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0016', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0016 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0016'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaEnterkeyType0016')); + await Utils.sleep(100); + await btn.click(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaEnterkeyType0016')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0016 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0020 + * @tc.name SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0020 + * @tc.desc + */ + it('SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0020 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0020'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaEnterkeyType0020')); + await Utils.sleep(100); + await btn.click(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaEnterkeyType0020')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0020 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0030 + * @tc.name SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0030 + * @tc.desc + */ + it('SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0030 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0030'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaEnterkeyType0030')); + await Utils.sleep(100); + await btn.click(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaEnterkeyType0030')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0030 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0040 + * @tc.name SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0040 + * @tc.desc + */ + it('SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0040 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0040'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaEnterkeyType0040')); + await Utils.sleep(100); + await btn.click(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaEnterkeyType0040')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0040 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0050 + * @tc.name SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0050 + * @tc.desc + */ + it('SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0050 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0050'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaEnterkeyType0050')); + await Utils.sleep(100); + await btn.click(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaEnterkeyType0050')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0050 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0060 + * @tc.name SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0060 + * @tc.desc + */ + it('SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0060 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0060'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaEnterkeyType0060')); + await Utils.sleep(100); + await btn.click(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaEnterkeyType0060')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0060 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0080 + * @tc.name SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0080 + * @tc.desc + */ + it('SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0080 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0080'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaEnterkeyType0080')); + await Utils.sleep(100); + await btn.click(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaEnterkeyType0080')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0080 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0090 + * @tc.name SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0090 + * @tc.desc + */ + it('SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0090 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0090'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaEnterkeyType0090')); + await Utils.sleep(100); + await btn.click(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaEnterkeyType0090')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(100); + await driver.triggerKey(2054); + await Utils.sleep(100); + let btn1: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaEnterkeyType0090_1')); + await Utils.sleep(100); + await btn1.click(); + await Utils.sleep(100); + await textArea.click(); + await Utils.sleep(100); + await driver.triggerKey(2054); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0090 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0100 + * @tc.name SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0100 + * @tc.desc + */ + it('SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0100 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0100'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaEnterkeyType0100')); + await Utils.sleep(100); + await btn.click(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaEnterkeyType0100')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(100); + await driver.triggerKey(2054); + await Utils.sleep(100); + let btn1: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaEnterkeyType0100_1')); + await Utils.sleep(100); + await btn1.click(); + await Utils.sleep(100); + await textArea.click(); + await Utils.sleep(100); + await driver.triggerKey(2054); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0100 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0110 + * @tc.name SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0110 + * @tc.desc + */ + it('SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0110 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0110'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaEnterkeyType0110')); + await Utils.sleep(100); + await btn.click(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaEnterkeyType0110')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(100); + await driver.triggerKey(2054); + await Utils.sleep(100); + let btn1: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaEnterkeyType0110_1')); + await Utils.sleep(100); + await btn1.click(); + await Utils.sleep(100); + await textArea.click(); + await Utils.sleep(100); + await driver.triggerKey(2054); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0110 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0120 + * @tc.name SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0120 + * @tc.desc + */ + it('SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0120 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0120'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaEnterkeyType0120')); + await Utils.sleep(100); + await btn.click(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaEnterkeyType0120')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(100); + await driver.triggerKey(2054); + await Utils.sleep(100); + let btn1: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaEnterkeyType0120_1')); + await Utils.sleep(100); + await btn1.click(); + await Utils.sleep(100); + await textArea.click(); + await Utils.sleep(100); + await driver.triggerKey(2054); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0120 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0130 + * @tc.name SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0130 + * @tc.desc + */ + it('SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0130 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0130'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaEnterkeyType0130')); + await Utils.sleep(100); + await btn.click(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaEnterkeyType0130')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(100); + await driver.triggerKey(2054); + await Utils.sleep(100); + let btn1: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaEnterkeyType0130_1')); + await Utils.sleep(100); + await btn1.click(); + await Utils.sleep(100); + await textArea.click(); + await Utils.sleep(100); + await driver.triggerKey(2054); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0130 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0140 + * @tc.name SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0140 + * @tc.desc + */ + it('SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0140 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0140'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaEnterkeyType0140')); + await Utils.sleep(100); + await btn.click(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaEnterkeyType0140')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(100); + await driver.triggerKey(2054); + await Utils.sleep(100); + let btn1: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaEnterkeyType0140_1')); + await Utils.sleep(100); + await btn1.click(); + await Utils.sleep(100); + await textArea.click(); + await Utils.sleep(100); + await driver.triggerKey(2054); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_0OMPONENT_TEXT_TEXTAREA_ENTERKEYTYPE_0140 end.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaEvaSaveInputMethodTest/UIComponentTextTextAreaEvaSaveInputMethodTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaEvaSaveInputMethodTest/UIComponentTextTextAreaEvaSaveInputMethodTest.test.ets new file mode 100644 index 00000000..8c85fc55 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaEvaSaveInputMethodTest/UIComponentTextTextAreaEvaSaveInputMethodTest.test.ets @@ -0,0 +1,124 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' + +import { Driver, Component, ON, MouseButton, DisplayRotation } from '@ohos.UiTest' + +export default function UIComponentTextTextAreaEvaSaveInputMethodTest() { + + describe('UIComponentTextTextAreaEvaSaveInputMethodTest', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + Settings.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); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_EVASIVEINPUTMETHOD_0130 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_EVASIVEINPUTMETHOD_0130 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_EVASIVEINPUTMETHOD_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_EVASIVEINPUTMETHOD_0130 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaEvaSaveInputMethod/UIComponentTextTextAreaEvaSaveInputMethod0130"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaEvaSaveInputMethod0130')); + await Utils.sleep(100); + let point = await textArea.getBoundsCenter(); + await Utils.sleep(100); + await driver.mouseClick({ + x: point.x, y: point.y + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(500); + await Settings.changeOrientation(); + await Utils.sleep(200); + await driver.mouseClick({ + x: point.x, y: point.y + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(500); + await Settings.changeOrientation(); + await Utils.sleep(200); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_EVASIVEINPUTMETHOD_0130 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_EVASIVEINPUTMETHOD_0140 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_EVASIVEINPUTMETHOD_0140 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_EVASIVEINPUTMETHOD_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_EVASIVEINPUTMETHOD_0140 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaEvaSaveInputMethod/UIComponentTextTextAreaEvaSaveInputMethod0140"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaEvaSaveInputMethod0140')); + await Utils.sleep(500); + let point = await textArea.getBoundsCenter(); + await Utils.sleep(500); + await driver.mouseClick({ + x: point.x, y: point.y + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_EVASIVEINPUTMETHOD_0140 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_EVASIVEINPUTMETHOD_0150 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_EVASIVEINPUTMETHOD_0150 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_EVASIVEINPUTMETHOD_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_EVASIVEINPUTMETHOD_0150 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaEvaSaveInputMethod/UIComponentTextTextAreaEvaSaveInputMethod0150"); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaEvaSaveInputMethod0150')); + await Utils.sleep(500); + let point = await textArea.getBoundsCenter(); + await Utils.sleep(500); + await Settings.changeOrientation(); + await Utils.sleep(200); + await driver.mouseClick({ + x: point.x, y: point.y + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + await Settings.changeOrientation(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_EVASIVEINPUTMETHOD_0150 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaInterActionTest/UIComponentTextTextAreaInterActionTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaInterActionTest/UIComponentTextTextAreaInterActionTest.test.ets new file mode 100644 index 00000000..12c34193 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaInterActionTest/UIComponentTextTextAreaInterActionTest.test.ets @@ -0,0 +1,121 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' + +import { Driver, Component, ON, MouseButton } from '@ohos.UiTest' + +export default function UIComponentTextTextAreaInterActionTest() { + + describe('UIComponentTextTextAreaInterActionTest', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + Settings.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); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERACTION_0010 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERACTION_0010 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERACTION_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERACTION_0010 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaInterAction/UIComponentTextTextAreaInterAction0010"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterAction0010')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(1000); + await textArea.longClick(); + await Utils.sleep(500); + let point = await textArea.getBoundsCenter(); + await Utils.sleep(1000); + await driver.drag(point.x + 300, point.y, point.x - 20, point.y) + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERACTION_0010 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERACTION_0030 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERACTION_0030 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERACTION_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERACTION_0030 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaInterAction/UIComponentTextTextAreaInterAction0030"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterAction0030')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(1000); + await textArea.longClick(); + await Utils.sleep(500); + let copy: Component = await driver.findComponent(ON.text('剪切')); + await Utils.sleep(200); + await copy.click(); + await Utils.sleep(200); + await driver.triggerCombineKeys(2072, 2014); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERACTION_0030 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERACTION_0040 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERACTION_0040 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERACTION_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERACTION_0040 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaInterAction/UIComponentTextTextAreaInterAction0040"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterAction0040')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(1000); + let point = await textArea.getBoundsCenter(); + await Utils.sleep(1000); + await driver.mouseDrag({ + x: point.x + 300, y: point.y, + }, { + x: point.x - 20, y: point.y + }) + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERACTION_0040 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaInterActiveTest/UIComponentTextTextAreaInterActiveTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaInterActiveTest/UIComponentTextTextAreaInterActiveTest.test.ets new file mode 100644 index 00000000..ac1804be --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaInterActiveTest/UIComponentTextTextAreaInterActiveTest.test.ets @@ -0,0 +1,355 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' + +import { Driver, Component, ON, MouseButton } from '@ohos.UiTest' + +export default function UIComponentTextTextAreaInterActiveTest() { + + describe('UIComponentTextTextAreaInterActiveTest', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + Settings.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); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0010 + * @tc.name : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0010 + * @tc.desc : + */ + it('SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0010 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0010"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterActive0010')); + await Utils.sleep(100); + await textArea.inputText('123ab?_!A123'); + await Utils.sleep(1000); + let point = await textArea.getBoundsCenter(); + await Utils.sleep(1000); + await driver.click(point.x, point.y + 100) + await Utils.sleep(1000); + await textArea.doubleClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0010 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0020 + * @tc.name : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0020 + * @tc.desc : + */ + it('SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0020 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0020"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterActive0020')); + await Utils.sleep(100); + await textArea.inputText('123ab?_!A123'); + await Utils.sleep(100); + await driver.triggerKey(2014) + await Utils.sleep(100); + await textArea.doubleClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0020 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0030 + * @tc.name : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0030 + * @tc.desc : + */ + it('SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0030 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0030"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterActive0030')); + await Utils.sleep(100); + await textArea.inputText('123ab?_!A123aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') + await Utils.sleep(100); + await textArea.doubleClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0030 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0040 + * @tc.name : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0040 + * @tc.desc : + */ + it('SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0040 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0040"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterActive0040')); + await Utils.sleep(100); + await textArea.inputText('123ab?_!A123aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') + await Utils.sleep(100); + await textArea.doubleClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0040 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0050 + * @tc.name : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0050 + * @tc.desc : + */ + it('SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0050 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0050"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterActive0050')); + await Utils.sleep(100); + await textArea.inputText('123ab?_!A123aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') + await Utils.sleep(100); + await textArea.doubleClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0050 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0060 + * @tc.name : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0060 + * @tc.desc : + */ + it('SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0060 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0060"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterActive0060')); + await Utils.sleep(100); + await textArea.inputText('123ab?_!A123') + await Utils.sleep(100); + let btn: Component = await driver.findComponent(ON.id('btnTextAreaUIComponentTextTextAreaInterActive0060')); + await Utils.sleep(100); + await btn.click(); + await Utils.sleep(100); + await textArea.doubleClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0060 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0070 + * @tc.name : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0070 + * @tc.desc : + */ + it('SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0070 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0070"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterActive0070')); + await Utils.sleep(100); + await textArea.longClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0070 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0300 + * @tc.name : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0300 + * @tc.desc : + */ + it('SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0300 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0300"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterActive0300')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' + + 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' + + 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0300 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0320 + * @tc.name : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0320 + * @tc.desc : + */ + it('SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0320 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0320"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterActive0320')); + await Utils.sleep(100); + await textArea.inputText('aaaaaa'); + await Utils.sleep(100); + await driver.triggerCombineKeys(2047, 2099); + await Utils.sleep(1001); + await driver.triggerKey(2070); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0320 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0330 + * @tc.name : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0330 + * @tc.desc : + */ + it('SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0330 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0330"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterActive0330')); + await Utils.sleep(100); + await textArea.inputText('aahello worldaaaa'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0330 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0340 + * @tc.name : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0340 + * @tc.desc : + */ + it('SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0340 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0340"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterActive0340')); + await Utils.sleep(100); + await textArea.inputText('aahellodaaaa'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0340 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0350 + * @tc.name : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0350 + * @tc.desc : + */ + it('SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0350 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0350"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterActive0350')); + await Utils.sleep(100); + await textArea.inputText('aahe大家好llo worldaaaa'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0350 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0360 + * @tc.name : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0360 + * @tc.desc : + */ + it('SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0360 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0360"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterActive0360')); + await Utils.sleep(100); + await textArea.inputText('aahe大家好大家好dllo worldaaaa'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0360 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0370 + * @tc.name : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0370 + * @tc.desc : + */ + it('SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0370 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0370"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterActive0370')); + await Utils.sleep(100); + await textArea.inputText('abc_ABC@#*/?llo world'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0370 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0380 + * @tc.name : SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0380 + * @tc.desc : + */ + it('SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0380 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0380"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterActive0380')); + await Utils.sleep(100); + await textArea.inputText('大家好_helloadada'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CONPONENT_TEXT_TEXTAREA_INTERACTIVE_0380 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaInterfaceTest/UIComponentTextTextAreaInterfaceTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaInterfaceTest/UIComponentTextTextAreaInterfaceTest.test.ets new file mode 100644 index 00000000..d1128345 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaInterfaceTest/UIComponentTextTextAreaInterfaceTest.test.ets @@ -0,0 +1,185 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { Component, Driver, ON } from '@ohos.UiTest'; +import Utils from '../model/Utils'; +import windowSnap from '../model/snapShot'; + +export default function UIComponentTextTextAreaInterfaceTest() { + + describe('UIComponentTextTextAreaInterfaceTest', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0670 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0670 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0670', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0670 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0670'); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterface0670')); + await Utils.sleep(100); + await textArea.inputText('大家好_helloadada'); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0670 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0680 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0680 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0680', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0680 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0680'); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterface0680')); + await Utils.sleep(100); + await textArea.inputText('大家好_helloadada'); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0680 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0690 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0690 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0690', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0690 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0690'); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterface0690')); + await Utils.sleep(100); + await textArea.inputText('大家好_helloadada'); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0690 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0700 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0700 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0700', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0700 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0700'); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterface0700')); + await Utils.sleep(100); + await textArea.inputText('大家好_helloadada'); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0700 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0710 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0710 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0710', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0710 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0710'); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterface0710')); + await Utils.sleep(100); + await textArea.inputText('大家好_helloadada'); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0710 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0720 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0720 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0720', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0720 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0720'); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterface0720')); + await Utils.sleep(100); + await textArea.inputText('大家好_helloadada'); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0720 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0730 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0730 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0730', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0730 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0730'); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterface0730')); + await Utils.sleep(100); + await textArea.inputText('大家好_helloadada'); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0730 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0740 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0740 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0740', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0740 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0740'); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterface0740')); + await Utils.sleep(100); + await textArea.inputText('大家好_helloadada'); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_0740 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_1020 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_1020 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_1020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_1020 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface1020'); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaInterface1020')); + await Utils.sleep(100); + await textArea.inputText('大家好_helloadada'); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_INTERFACE_1020 end.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaLayoutTest/UIComponentTextTextAreaLayoutTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaLayoutTest/UIComponentTextTextAreaLayoutTest.test.ets new file mode 100644 index 00000000..e75b6f1d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaLayoutTest/UIComponentTextTextAreaLayoutTest.test.ets @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { Component, Driver, ON } from '@ohos.UiTest'; +import Utils from '../model/Utils'; +import windowSnap from '../model/snapShot'; + +export default function UIComponentTextTextAreaLayoutTest() { + + describe('UIComponentTextTextAreaLayoutTest', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_LAYOUT_0010 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_LAYOUT_0010 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_LAYOUT_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_LAYOUT_0010 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaLayout/UIComponentTextTextAreaLayout0010'); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaLayout0010')); + await Utils.sleep(100); + await textArea.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_LAYOUT_0010 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_LAYOUT_0020 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_LAYOUT_0020 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_LAYOUT_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_LAYOUT_0020 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaLayout/UIComponentTextTextAreaLayout0020'); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaLayout0020')); + await Utils.sleep(100); + await textArea.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_LAYOUT_0020 end.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaOnEditChangeTest/UIComponentTextTextAreaOnEditChangeTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaOnEditChangeTest/UIComponentTextTextAreaOnEditChangeTest.test.ets new file mode 100644 index 00000000..1a971bca --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaOnEditChangeTest/UIComponentTextTextAreaOnEditChangeTest.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 { 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, Component, ON } from '@kit.TestKit'; +import { uiAppearance } from '@kit.ArkUI' + +export default function UIComponentTextTextAreaOnEditChangeTest() { + + describe('UIComponentTextTextAreaOnEditChangeTest', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + Settings.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); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ONEDITCHANGE_0100 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ONEDITCHANGE_0100 + * @tc.desc : Text component dynamically switches theme modes + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ONEDITCHANGE_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ONEDITCHANGE_0100 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaOnEditChange/UIComponentTextTextAreaOnEditChange0100"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let textArea = await driver.findComponent(ON.id('UIComponentTextTextAreaOnEditChange0100_textArea')); + await Utils.sleep(1000); + await textArea.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ONEDITCHANGE_0100 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ONEDITCHANGE_0090 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ONEDITCHANGE_0090 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ONEDITCHANGE_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ONEDITCHANGE_0090 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaOnEditChange/UIComponentTextTextAreaOnEditChange0090'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let text: Component = await driver.findComponent(ON.id('TextAreaOnEditChange0090')); + let textArea: Component = await driver.findComponent(ON.id('TextAreaOnEditChange0090_1')); + await Utils.sleep(1000); + await text.dragTo(textArea); + await Utils.sleep(1000); + await text.dragTo(textArea); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ONEDITCHANGE_0090 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ONEDITCHANGE_0130 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ONEDITCHANGE_0130 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ONEDITCHANGE_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ONEDITCHANGE_0130 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaOnEditChange/UIComponentTextTextAreaOnEditChange0130'); + await Utils.sleep(100); + let driver: Driver = Driver.create(); + await driver.delayMs(100); + let textArea1: Component = await driver.findComponent(ON.id('TextAreaOnEditChange0130_1')); + let textArea2: Component = await driver.findComponent(ON.id('TextAreaOnEditChange0130_2')); + await Utils.sleep(1000); + await textArea1.dragTo(textArea2); + await Utils.sleep(1000); + await textArea1.dragTo(textArea2); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_ONEDITCHANGE_0130 end.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaSelectionTest/UIComponentTextTextAreaSelectionTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaSelectionTest/UIComponentTextTextAreaSelectionTest.test.ets new file mode 100644 index 00000000..24d1c7c6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaSelectionTest/UIComponentTextTextAreaSelectionTest.test.ets @@ -0,0 +1,505 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' + +import { Driver, Component, ON, MouseButton } from '@ohos.UiTest' + +export default function UIComponentTextTextAreaSelectionTest() { + + describe('UIComponentTextTextAreaSelectionTest', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + Settings.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); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0020 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0020 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0020 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0020"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaSelection0020')); + await Utils.sleep(1000); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') + await Utils.sleep(1000); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaSelection0020')); + await Utils.sleep(500); + await btn.click() + await Utils.sleep(500); + let point = await textArea.getBoundsCenter(); + await Utils.sleep(500); + await driver.mouseClick({ + x: point.x, y: point.y + }, MouseButton.MOUSE_BUTTON_RIGHT); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0020 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0030 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0030 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0030 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0030"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaSelection0030')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' + + 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') + await Utils.sleep(500); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaSelection0030')); + await Utils.sleep(500); + await btn.click() + await Utils.sleep(500); + let point = await textArea.getBoundsCenter(); + await Utils.sleep(500); + await driver.mouseClick({ + x: point.x, y: point.y + }, MouseButton.MOUSE_BUTTON_RIGHT); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0030 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0040 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0040 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0040 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0040"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaSelection0040')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaa') + await Utils.sleep(500); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaSelection0040')); + await Utils.sleep(500); + await btn.click() + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0040 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0050 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0050 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0050 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0050"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaSelection0050')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaa'); + await Utils.sleep(500); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaSelection0050')); + await Utils.sleep(500); + await btn.click(); + await Utils.sleep(500); + await driver.triggerKey(2055); + await Utils.sleep(100); + await textArea.inputText('bbbbbbbbbbbbbbbbbb'); + await Utils.sleep(500); + await btn.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0050 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0060 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0060 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0060 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0060"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaSelection0060')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaa'); + await Utils.sleep(500); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaSelection0060')); + await Utils.sleep(500); + await btn.click(); + await Utils.sleep(500); + let textArea1: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaSelection0060_1')); + await Utils.sleep(500); + await textArea1.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0060 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0070 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0070 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0070 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0070"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaSelection0070')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaa') + await Utils.sleep(500); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaSelection0070')); + await Utils.sleep(500); + await btn.click() + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0070 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0090_1 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0090_1 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0090_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0090_1 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0090"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaSelection0090')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaa') + await Utils.sleep(500); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaSelection0090_1')); + await Utils.sleep(500); + await btn.click() + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0090_1 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0090_2 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0090_2 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0090_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0090_2 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0090"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaSelection0090')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaa') + await Utils.sleep(500); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaSelection0090_2')); + await Utils.sleep(500); + await btn.click() + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0090_2 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0090_3 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0090_3 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0090_3', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0090_3 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0090"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaSelection0090')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaa') + await Utils.sleep(500); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaSelection0090_3')); + await Utils.sleep(500); + await btn.click() + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0090_3 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0090_4 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0090_4 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0090_4', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0090_4 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0090"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaSelection0090')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaa') + await Utils.sleep(500); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaSelection0090_4')); + await Utils.sleep(500); + await btn.click() + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0090_4 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0100 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0100 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0100 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0100"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaSelection0100')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaa') + await Utils.sleep(500); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaSelection0100')); + await Utils.sleep(500); + await btn.click() + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0100 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0110 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0110 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0110 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0110"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaSelection0110')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaa') + await Utils.sleep(500); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaSelection0110')); + await Utils.sleep(500); + await btn.click() + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0110 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0120 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0120 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0120 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0120"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaSelection0120')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaaaaa') + await Utils.sleep(500); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaSelection0120')); + await Utils.sleep(500); + await btn.click() + await Utils.sleep(500); + let btn1: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaSelection0120_1')); + await Utils.sleep(500); + await btn1.click() + await Utils.sleep(500); + await btn.click() + await Utils.sleep(500); + await btn1.click() + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0120 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0130 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0130 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0130 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0130"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaSelection0130')); + await Utils.sleep(100); + await textArea.inputText('aaaaa'); + await Utils.sleep(500); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaSelection0130')); + await Utils.sleep(500); + await btn.click(); + await Utils.sleep(500); + await textArea.longClick(); + await Utils.sleep(500); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll.click(); + await Utils.sleep(500); + let cut: Component = await driver.findComponent(ON.text('剪切')); + await Utils.sleep(500); + await cut.click(); + await Utils.sleep(500); + await textArea.longClick(); + await Utils.sleep(500); + let paste: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(500); + await paste.click(); + await Utils.sleep(500); + await btn.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0130 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0140 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0140 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0140 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0140"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaSelection0140')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaa') + await Utils.sleep(500); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaSelection0140')); + await Utils.sleep(500); + await btn.click() + await Utils.sleep(500); + let point = await textArea.getBoundsCenter(); + await Utils.sleep(500); + await driver.mouseClick({ + x: point.x + 200, y: point.y + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0140 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0150 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0150 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0150 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0150"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaSelection0150')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaa') + await Utils.sleep(500); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaSelection0150')); + await Utils.sleep(500); + await btn.click() + await Utils.sleep(500); + await textArea.longClick(); + await Utils.sleep(500); + let selectAll: Component = await driver.findComponent(ON.text('全选')); + await Utils.sleep(500); + await selectAll.click(); + await Utils.sleep(500); + let copy: Component = await driver.findComponent(ON.text('复制')); + await Utils.sleep(500); + await copy.click(); + await Utils.sleep(500); + await textArea.longClick(); + await Utils.sleep(500); + let paste: Component = await driver.findComponent(ON.text('粘贴')); + await Utils.sleep(500); + await paste.click(); + await Utils.sleep(500); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0150 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0160 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0160 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0160 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0160"); + await Utils.sleep(500); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaSelection0160')); + await Utils.sleep(100); + await textArea.inputText('aaaaaaaaa') + await Utils.sleep(500); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaSelection0160')); + await Utils.sleep(500); + await btn.click() + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_SELECTION_0160 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaUxComsistencyTest/UIComponentTextTextAreaUxComsistencyTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaUxComsistencyTest/UIComponentTextTextAreaUxComsistencyTest.test.ets new file mode 100644 index 00000000..42d1ba19 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaUxComsistencyTest/UIComponentTextTextAreaUxComsistencyTest.test.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 { afterEach, describe, it } from '@ohos/hypium'; +import Logger from '../model/Logger'; +import Settings from '../model/Settings'; +import { Component, Driver, ON } from '@ohos.UiTest'; +import Utils from '../model/Utils'; +import windowSnap from '../model/snapShot'; + +export default function UIComponentTextTextAreaUxComsistencyTest() { + + describe('UIComponentTextTextAreaUxComsistencyTest', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_UXCONSISTENCY_0060 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_UXCONSISTENCY_0060 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_UXCONSISTENCY_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_UXCONSISTENCY_0060 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextAreaUxComsistency/UIComponentTextTextAreaUxComsistency0060'); + let driver = Driver.create(); + let textArea: Component = await driver.findComponent(ON.id('TextAreaUIComponentTextTextAreaUxComsistency0060')); + await Utils.sleep(500); + await textArea.inputText('aaaaaaaaa'); + await Utils.sleep(1000); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextAreaUxComsistency0060')); + await Utils.sleep(500); + await btn.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTAREA_UXCONSISTENCY_0060 end.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextEditableTest/UIComponentTextTextEditable.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextEditableTest/UIComponentTextTextEditable.test.ets new file mode 100644 index 00000000..6de381a2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextEditableTest/UIComponentTextTextEditable.test.ets @@ -0,0 +1,291 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { Component, Driver, ON } from '@ohos.UiTest'; +import Utils from '../model/Utils'; +import windowSnap from '../model/snapShot'; + +export default function UIComponentTextTextEditable() { + + describe('UIComponentTextTextEditable', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0140 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0140 + * @tc.desc Add test span + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0140 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable014'); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0140 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0150 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0150 + * @tc.desc Add test span + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0150 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable015'); + let driver: Driver = Driver.create(); + let add: Component = await driver.findComponent(ON.id('add')); + await Utils.sleep(1000); + add.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0150 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0160 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0160 + * @tc.desc Add image span + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0160 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable016'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0160 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0170 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0170 + * @tc.desc Add image span + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0170 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable017'); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let add: Component = await driver.findComponent(ON.id('add')); + await Utils.sleep(1000); + add.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0170 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0180 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0180 + * @tc.desc Delete spans + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0180 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable018'); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let deleteButton: Component = await driver.findComponent(ON.id('deleteButton')); + await Utils.sleep(1000); + deleteButton.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0180 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0190 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0190 + * @tc.desc Delete spans + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0190 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable019'); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let deleteButton: Component = await driver.findComponent(ON.id('deleteButton')); + await Utils.sleep(1000); + deleteButton.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0190 end.`); + done(); + }) + + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0200 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0200 + * @tc.desc Delete spans + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0200 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable020'); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let deleteButton: Component = await driver.findComponent(ON.id('deleteButton')); + await Utils.sleep(1000); + deleteButton.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0200 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0210 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0210 + * @tc.desc Delete spans + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0210 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable021'); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let deleteButton: Component = await driver.findComponent(ON.id('deleteButton')); + await Utils.sleep(1000); + deleteButton.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0210 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0220 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0220 + * @tc.desc Update span style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0220 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable022'); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let updateButton: Component = await driver.findComponent(ON.id('updateButton')); + await Utils.sleep(1000); + updateButton.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0220 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0230 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0230 + * @tc.desc Update span style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0230 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable023'); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let updateButton: Component = await driver.findComponent(ON.id('updateButton')); + await Utils.sleep(1000); + updateButton.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0230 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0240 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0240 + * @tc.desc Update span style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0240 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable024'); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let updateButton: Component = await driver.findComponent(ON.id('updateButton')); + await Utils.sleep(1000); + updateButton.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0240 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0250 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0250 + * @tc.desc Update span style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0250 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable025'); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let updateButton: Component = await driver.findComponent(ON.id('updateButton')); + await Utils.sleep(1000); + updateButton.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0250 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0260 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0260 + * @tc.desc Update span style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0260 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable026'); + let driver: Driver = Driver.create(); + await Utils.sleep(1000); + let updateButton: Component = await driver.findComponent(ON.id('updateButton')); + await Utils.sleep(1000); + updateButton.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EDITABLE_0260 end.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextEvasiveInputMethodTest/UIComponentTextTextEvasiveInputMethod.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextEvasiveInputMethodTest/UIComponentTextTextEvasiveInputMethod.test.ets new file mode 100644 index 00000000..6de05990 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextEvasiveInputMethodTest/UIComponentTextTextEvasiveInputMethod.test.ets @@ -0,0 +1,137 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { Component, Driver, MouseButton, ON } from '@ohos.UiTest'; +import Utils from '../model/Utils'; +import windowSnap from '../model/snapShot'; + +export default function UIComponentTextTextEvasiveInputMethod() { + + describe('UIComponentTextTextEvasiveInputMethod', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_EVASIVEINPUTMETHOD_0010 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_EVASIVEINPUTMETHOD_0010 + * @tc.desc 输入框底部贴近弹窗屏幕中部均分线 + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_EVASIVEINPUTMETHOD_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EVASIVEINPUTMETHOD_0010 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput001'); + const driver = Driver.create(); + await Utils.sleep(1000) + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextEvasiveInput001_button')); + await Utils.sleep(1000); + await component.click(); + await Utils.sleep(1000); + let input: Component = await driver.findComponent(ON.id('UIComponentTextTextEvasiveInput001_input')); + await Utils.sleep(1000); + await input.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EVASIVEINPUTMETHOD_0010 end.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_EVASIVEINPUTMETHOD_0020 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_EVASIVEINPUTMETHOD_0020 + * @tc.desc 输入框位于靠近弹窗底部 + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_EVASIVEINPUTMETHOD_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EVASIVEINPUTMETHOD_0020 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput002'); + const driver = Driver.create(); + await Utils.sleep(1000) + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextEvasiveInput002_button')); + await Utils.sleep(1000); + await component.click(); + await Utils.sleep(1000); + let input: Component = await driver.findComponent(ON.id('UIComponentTextTextEvasiveInput002_input')); + await Utils.sleep(1000); + await input.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EVASIVEINPUTMETHOD_0020 end.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_EVASIVEINPUTMETHOD_0030 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_EVASIVEINPUTMETHOD_0030 + * @tc.desc 输入框位于屏幕中部均分线偏下位置 + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_EVASIVEINPUTMETHOD_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EVASIVEINPUTMETHOD_0030 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput003'); + const driver = Driver.create(); + await Utils.sleep(1000) + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextEvasiveInput003_button')); + await Utils.sleep(1000); + await component.click(); + await Utils.sleep(1000); + let input: Component = await driver.findComponent(ON.id('UIComponentTextTextEvasiveInput003_input')); + await Utils.sleep(1000); + await input.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EVASIVEINPUTMETHOD_0030 end.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_EVASIVEINPUTMETHOD_0040 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_EVASIVEINPUTMETHOD_0040 + * @tc.desc 输入框位于屏幕靠近中部均分线位置 + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_EVASIVEINPUTMETHOD_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EVASIVEINPUTMETHOD_0040 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput004'); + const driver = Driver.create(); + await Utils.sleep(1000) + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextEvasiveInput004_button')); + await Utils.sleep(1000); + await component.click(); + await Utils.sleep(1000); + let input: Component = await driver.findComponent(ON.id('UIComponentTextTextEvasiveInput004_input')); + await Utils.sleep(1000); + await input.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_EVASIVEINPUTMETHOD_0040 end.`); + done(); + }) + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextGestureStyleTest/UIComponentTextTextGestureStyle.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextGestureStyleTest/UIComponentTextTextGestureStyle.test.ets new file mode 100644 index 00000000..802fd199 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextGestureStyleTest/UIComponentTextTextGestureStyle.test.ets @@ -0,0 +1,1014 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { Component, Driver, MouseButton, ON } from '@ohos.UiTest'; +import Utils from '../model/Utils'; +import windowSnap from '../model/snapShot'; + +export default function UIComponentTextTextGestureStyle() { + + describe('UIComponentTextTextGestureStyle', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0010 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0010 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COIPONENT_TEXT_TEXT_GESTURESTYLE_0010 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle001'); + const driver = Driver.create(); + await Utils.sleep(1000); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle001')); + await Utils.sleep(1000); + let pointButtonCenter = await component.getBoundsCenter(); + await driver.click(pointButtonCenter.x, pointButtonCenter.y); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0010 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0020 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0020 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COIPONENT_TEXT_TEXT_GESTURESTYLE_0020 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0020'); + const driver = Driver.create(); + await Utils.sleep(1000); + let text: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle0020')); + await Utils.sleep(1000); + let pointButtonCenter = await text.getBoundsCenter(); + await driver.click(pointButtonCenter.x, pointButtonCenter.y); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0020 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0030 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0030 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COIPONENT_TEXT_TEXT_GESTURESTYLE_0030 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0030'); + const driver = Driver.create(); + await Utils.sleep(1000); + let text: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle0030')); + await Utils.sleep(1000); + let pointButtonCenter = await text.getBoundsCenter(); + await driver.click(pointButtonCenter.x + 50, pointButtonCenter.y); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0030 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0040 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0040 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COIPONENT_TEXT_TEXT_GESTURESTYLE_0040 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0040'); + const driver = Driver.create(); + await Utils.sleep(1000); + let text: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle0040')); + await Utils.sleep(1000); + let pointButtonCenter = await text.getBoundsCenter(); + await driver.mouseClick({ + x: pointButtonCenter.x + 50, + y: pointButtonCenter.y, + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0040 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0050 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0050 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COIPONENT_TEXT_TEXT_GESTURESTYLE_0050 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0050'); + const driver = Driver.create(); + await Utils.sleep(1000); + let text: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle0050')); + await Utils.sleep(1000); + let pointButtonCenter = await text.getBoundsCenter(); + await driver.mouseLongClick({ + x: pointButtonCenter.x, + y: pointButtonCenter.y, + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0050 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0060 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0060 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COIPONENT_TEXT_TEXT_GESTURESTYLE_0060 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0060'); + const driver = Driver.create(); + await Utils.sleep(1000); + let text: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle0060')); + await Utils.sleep(1000); + let pointButtonCenter = await text.getBoundsCenter(); + await driver.mouseLongClick({ + x: pointButtonCenter.x + 50, + y: pointButtonCenter.y, + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0060 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0070 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0070 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COIPONENT_TEXT_TEXT_GESTURESTYLE_0070 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0070'); + const driver = Driver.create(); + await Utils.sleep(1000); + let text: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle0070')); + await Utils.sleep(1000); + let pointButtonCenter = await text.getBoundsCenter(); + await driver.mouseLongClick({ + x: pointButtonCenter.x + 50, + y: pointButtonCenter.y, + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0070 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0080 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0080 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COIPONENT_TEXT_TEXT_GESTURESTYLE_0080 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0080'); + const driver = Driver.create(); + await Utils.sleep(1000); + let text: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle0080')); + await Utils.sleep(1000); + let pointButtonCenter = await text.getBoundsCenter(); + await driver.mouseLongClick({ + x: pointButtonCenter.x + 50, + y: pointButtonCenter.y, + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0080 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0230 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0230 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COIPONENT_TEXT_TEXT_GESTURESTYLE_0230 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0230'); + const driver = Driver.create(); + await Utils.sleep(1000); + let text: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle0230')); + await Utils.sleep(1000); + let pointButtonCenter = await text.getBoundsCenter(); + await driver.mouseClick({ + x: pointButtonCenter.x + 50, + y: pointButtonCenter.y, + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(1000); + await driver.mouseLongClick({ + x: pointButtonCenter.x, + y: pointButtonCenter.y, + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0230 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0260_1 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0260_1 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0260_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0260_1 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0260'); + const driver = Driver.create(); + await Utils.sleep(1000); + let text: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle0260')); + await Utils.sleep(1000); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextGestureStyle0260_1')); + await Utils.sleep(100); + await btn.click(); + await Utils.sleep(100); + let pointButtonCenter = await text.getBoundsCenter(); + await driver.mouseLongClick({ + x: pointButtonCenter.x - 20, + y: pointButtonCenter.y, + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(1000); + await driver.mouseClick({ + x: pointButtonCenter.x, + y: pointButtonCenter.y, + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0260_1 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0260_2 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0260_2 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0260_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0260_2 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0260'); + const driver = Driver.create(); + await Utils.sleep(1000); + let text: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle0260')); + await Utils.sleep(1000); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextGestureStyle0260_2')); + await Utils.sleep(100); + await btn.click(); + await Utils.sleep(100); + let pointButtonCenter = await text.getBoundsCenter(); + await driver.mouseLongClick({ + x: pointButtonCenter.x - 20, + y: pointButtonCenter.y, + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(1000); + await driver.mouseClick({ + x: pointButtonCenter.x, + y: pointButtonCenter.y, + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0260_2 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0260_3 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0260_3 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0260_3', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0260_3 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0260'); + const driver = Driver.create(); + await Utils.sleep(1000); + let text: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle0260')); + await Utils.sleep(1000); + let btn: Component = await driver.findComponent(ON.id('btnUIComponentTextTextGestureStyle0260_3')); + await Utils.sleep(100); + await btn.click(); + await Utils.sleep(100); + let pointButtonCenter = await text.getBoundsCenter(); + await driver.mouseLongClick({ + x: pointButtonCenter.x - 20, + y: pointButtonCenter.y, + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(1000); + await driver.mouseClick({ + x: pointButtonCenter.x, + y: pointButtonCenter.y, + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0260_3 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0270 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0270 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COIPONENT_TEXT_TEXT_GESTURESTYLE_0270 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0270'); + const driver = Driver.create(); + await Utils.sleep(1000); + let text: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle0270')); + await Utils.sleep(1000); + let pointButtonCenter = await text.getBoundsCenter(); + await driver.mouseLongClick({ + x: pointButtonCenter.x - 20, + y: pointButtonCenter.y, + }, MouseButton.MOUSE_BUTTON_RIGHT); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0270 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0280 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0280 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COIPONENT_TEXT_TEXT_GESTURESTYLE_0280 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0280'); + const driver = Driver.create(); + await Utils.sleep(1000); + let text: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle0280')); + await Utils.sleep(1000); + let pointButtonCenter = await text.getBoundsCenter(); + await driver.mouseLongClick({ + x: pointButtonCenter.x - 20, + y: pointButtonCenter.y, + }, MouseButton.MOUSE_BUTTON_RIGHT); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0280 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0090 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0090 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COIPONENT_TEXT_TEXT_GESTURESTYLE_0090 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle009'); + const driver = Driver.create(); + await Utils.sleep(1000); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle009')); + await Utils.sleep(1000); + await component.longClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0090 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0100 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0100 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0100 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle010'); + const driver = Driver.create(); + await Utils.sleep(1000); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle010')); + await Utils.sleep(1000); + await component.longClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0100 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0110 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0110 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0110 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle011'); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0110 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0120 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0120 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0120 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle012'); + const driver = Driver.create(); + await Utils.sleep(1000); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle012')); + await Utils.sleep(1000); + await component.longClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0120 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0130 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0130 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0130 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle013'); + const driver = Driver.create(); + await Utils.sleep(1000) + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle013')); + await Utils.sleep(1000); + component.click(); + await Utils.sleep(1000); + component.doubleClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0130 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0140 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0140 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0140 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle014'); + const driver = Driver.create(); + await Utils.sleep(1000) + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle014')); + await Utils.sleep(1000); + await component.click(); + await component.longClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0140 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0160 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0160 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0160 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle016'); + const driver = Driver.create(); + await Utils.sleep(1000) + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle016')); + await Utils.sleep(1000); + await component.click(); + await component.longClick(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0160 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0170 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0170 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0170 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle017'); + const driver = Driver.create(); + await Utils.sleep(1000); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle017')); + let updateAttribute: Component = await driver.findComponent(ON.id('updateAttribute')); + await Utils.sleep(1000); + updateAttribute.click(); + await Utils.sleep(1000); + await component.click(); + await component.longClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0170 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0180 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0180 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0180_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0180_1 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle018'); + await Utils.sleep(500); + const driver = Driver.create(); + await Utils.sleep(1000); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle018')); + let updateAttribute: Component = await driver.findComponent(ON.id('updateAttribute')); + await Utils.sleep(500); + await component.longClick(); + await Utils.sleep(500); + updateAttribute.click(); + await Utils.sleep(500); + windowSnap.snapShot(); + await Utils.sleep(500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0180_1 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0180 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0180 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0180_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0180_2 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle018'); + await Utils.sleep(500); + const driver = Driver.create(); + await Utils.sleep(1000); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle018')); + await Utils.sleep(500); + await component.longClick(); + await Utils.sleep(500); + windowSnap.snapShot(); + await Utils.sleep(500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0180_2 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0180 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0180 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0180_3', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0180_3 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle018'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0180_3 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0180 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0180 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0180_4', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0180_4 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle018'); + await Utils.sleep(500); + const driver = Driver.create(); + await Utils.sleep(1000); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle018')); + let updateAttribute: Component = await driver.findComponent(ON.id('updateAttribute')); + await Utils.sleep(500); + await component.longClick(); + await Utils.sleep(500); + updateAttribute.click(); + await Utils.sleep(500); + updateAttribute.click(); + await Utils.sleep(500); + await component.click(); + await Utils.sleep(500); + windowSnap.snapShot(); + await Utils.sleep(500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0180_4 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0190 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0190 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0190_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0190_1 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle019'); + const driver = Driver.create(); + await Utils.sleep(1000); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle019')); + let updateAttribute: Component = await driver.findComponent(ON.id('updateAttribute')); + await Utils.sleep(1000); + updateAttribute.click(); + await Utils.sleep(1000); + await component.click(); + await Utils.sleep(1000); + await component.longClick(); + await Utils.sleep(500); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0190_1 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0190 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0190 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0190_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0190_2 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle019'); + const driver = Driver.create(); + await Utils.sleep(1000); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle019')); + let updateAttribute: Component = await driver.findComponent(ON.id('updateAttribute')); + await Utils.sleep(1000); + updateAttribute.click(); + await Utils.sleep(1000); + await component.click(); + await Utils.sleep(500); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0190_2 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0200 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0200 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0200 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle020'); + const driver = Driver.create(); + await Utils.sleep(1000); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle020')); + await Utils.sleep(1000); + await component.click(); + await Utils.sleep(1000); + await component.longClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0200 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0210 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0210 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0210 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0210'); + const driver = Driver.create(); + await Utils.sleep(1000); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle0210')); + await Utils.sleep(1000); + let point = await component.getBoundsCenter() + await Utils.sleep(1000); + await driver.click(point.x - 100, point.y); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0210 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0220 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0220 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0220 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0220'); + const driver = Driver.create(); + await Utils.sleep(1000); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle0220')); + await Utils.sleep(1000); + let point = await component.getBoundsCenter() + await Utils.sleep(1000); + await driver.click(point.x, point.y); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0220 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0250 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0250 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0250 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0250'); + const driver = Driver.create(); + await Utils.sleep(1000); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle0250')); + await Utils.sleep(1000); + let point = await component.getBoundsCenter() + await Utils.sleep(1000); + await driver.click(point.x, point.y); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0250 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0310 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0310 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0310 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle031'); + const driver = Driver.create(); + await Utils.sleep(1000); + let equals: Component = await driver.findComponent(ON.id('equals')); + await Utils.sleep(1000); + equals.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0310 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0330 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0330 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0330 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle033'); + const driver = Driver.create(); + await Utils.sleep(1000); + let replaceStyle: Component = await driver.findComponent(ON.id('replaceStyle')); + await Utils.sleep(1000); + replaceStyle.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0330 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0340 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0340 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0340 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle034'); + const driver = Driver.create(); + await Utils.sleep(1000); + let replaceStyle: Component = await driver.findComponent(ON.id('setStyle')); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle034')); + await Utils.sleep(1000); + replaceStyle.click(); + await Utils.sleep(1000); + await component.longClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0340 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0350 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0350 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0350 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle035'); + const driver = Driver.create(); + await Utils.sleep(1000); + let removeStyle: Component = await driver.findComponent(ON.id('removeStyle')); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle035')); + await Utils.sleep(1000); + removeStyle.click(); + await Utils.sleep(1000); + await component.longClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0350 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0360 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0360 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0360 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle036'); + const driver = Driver.create(); + await Utils.sleep(1000); + let removeStyles: Component = await driver.findComponent(ON.id('removeStyles')); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle036')); + await Utils.sleep(1000); + removeStyles.click(); + await Utils.sleep(1000); + await component.longClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0360 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0370 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0370 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0370 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle037'); + const driver = Driver.create(); + await Utils.sleep(1000); + let insertString: Component = await driver.findComponent(ON.id('insertString')); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle037')); + await Utils.sleep(1000); + insertString.click(); + await Utils.sleep(1000); + await component.longClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0370 end.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0150 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0150 + * @tc.desc Set click gesture + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0150 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle015'); + const driver = Driver.create(); + await Utils.sleep(1000) + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle015')); + await Utils.sleep(1000); + await component.click(); + await component.longClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0150 end.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0240 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0240 + * @tc.desc focusable=false + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0240 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle024'); + const driver = Driver.create(); + await Utils.sleep(1000); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle024')); + let changeButton: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle024_button')); + await Utils.sleep(1000); + await changeButton.click(); + await Utils.sleep(1000); + let rect = await component.getBounds(); + await driver.click(rect.left + 5, rect.top + 5) + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0240 end.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0290 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0290 + * @tc.desc esubStyledstring获取属性字符串的子字符串 + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0290 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle029'); + const driver = Driver.create(); + await Utils.sleep(1000); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle029')); + await Utils.sleep(1000); + let rect = await component.getBounds(); + await driver.click(rect.left + 5, rect.top + 5) + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0290 end.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0300 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0300 + * @tc.desc esubStyledstring获取属性字符串的子字符串 + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0300 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle030'); + const driver = Driver.create(); + await Utils.sleep(1000); + let changeButton: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle030_button')); + await Utils.sleep(1000); + await changeButton.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0300 end.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0320 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0320 + * @tc.desc esubStyledstring获取属性字符串的子字符串 + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0320 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle032'); + const driver = Driver.create(); + await Utils.sleep(1000); + let changeButton: Component = await driver.findComponent(ON.id('UIComponentTextTextGestureStyle032_button')); + await Utils.sleep(1000); + await changeButton.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_GESTURESTYLE_0320 end.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextImageSpanAltTest/UIComponentTextTextImageSpanAlt.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextImageSpanAltTest/UIComponentTextTextImageSpanAlt.test.ets new file mode 100644 index 00000000..12fac1e5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextImageSpanAltTest/UIComponentTextTextImageSpanAlt.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 { 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' + +export default function UIComponentTextTextImageSpanAlt() { + + describe('UIComponentTextTextImageSpanAlt', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_IMAGESPAN_ALT_0040 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_IMAGESPAN_ALT_0040 + * @tc.desc test imageSpan alt + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_IMAGESPAN_ALT_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_IMAGESPAN_ALT_0040 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt004"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_IMAGESPAN_ALT_0040 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_IMAGESPAN_ALT_0050 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_IMAGESPAN_ALT_0050 + * @tc.desc test imageSpan alt + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_IMAGESPAN_ALT_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_IMAGESPAN_ALT_0050 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt005"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_IMAGESPAN_ALT_0050 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_IMAGESPAN_ALT_0060 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_IMAGESPAN_ALT_0060 + * @tc.desc test imageSpan alt + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_IMAGESPAN_ALT_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_IMAGESPAN_ALT_0060 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt006"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_IMAGESPAN_ALT_0060 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_IMAGESPAN_ALT_0070 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_IMAGESPAN_ALT_0070 + * @tc.desc test imageSpan alt + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_IMAGESPAN_ALT_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_IMAGESPAN_ALT_0070 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt007"); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_IMAGESPAN_ALT_0070 finish.`); + done(); + }) + }) + +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextInterfaceTest/UIComponentTextTextInterface.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextInterfaceTest/UIComponentTextTextInterface.test.ets new file mode 100644 index 00000000..fbe6dd51 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextInterfaceTest/UIComponentTextTextInterface.test.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 { afterEach, describe, it } from '@ohos/hypium'; +import Logger from '../model/Logger'; +import Settings from '../model/Settings'; +import { Component, Driver, ON } from '@ohos.UiTest'; +import Utils from '../model/Utils'; +import windowSnap from '../model/snapShot'; + +export default function UIComponentTextTextInterface() { + + describe('UIComponentTextTextInterface', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_INTERFACE_0290 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_INTERFACE_0290 + * @tc.desc Resource type parameter + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_INTERFACE_0290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_INTERFACE_0290 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextInterface/UIComponentTextTextInterface029'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_INTERFACE_0290 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_INTERFACE_1870 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_INTERFACE_1870 + * @tc.desc Resource type parameter + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_INTERFACE_1870', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_INTERFACE_1870 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextInterface/UIComponentTextTextInterface187'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_INTERFACE_1870 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_INTERFACE_2020 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_INTERFACE_2020 + * @tc.desc Set fontWeight undefined + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_INTERFACE_2020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_INTERFACE_2020 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextInterface/UIComponentTextTextInterface202'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_INTERFACE_2020 end.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextLongPressTest/UIComponentTextTextLongPress.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextLongPressTest/UIComponentTextTextLongPress.test.ets new file mode 100644 index 00000000..d4e09f4d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextLongPressTest/UIComponentTextTextLongPress.test.ets @@ -0,0 +1,126 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { Component, Driver, ON } from '@ohos.UiTest'; +import Utils from '../model/Utils'; +import windowSnap from '../model/snapShot'; + +export default function UIComponentTextTextLongPress() { + + describe('UIComponentTextTextLongPress', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_LONGPRESS_0100 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_LONGPRESS_0100 + * @tc.desc Test long press + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_LONGPRESS_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_LONGPRESS_0100 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress010'); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextLongPress010')); + await Utils.sleep(1000); + await component.longClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_LONGPRESS_0100 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_LONGPRESS_0110 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_LONGPRESS_0110 + * @tc.desc Test long press + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_LONGPRESS_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_LONGPRESS_0110 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress011'); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextLongPress011')); + await Utils.sleep(1000); + await component.longClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_LONGPRESS_0110 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_LONGPRESS_0120 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_LONGPRESS_0120 + * @tc.desc Test long press + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_LONGPRESS_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_LONGPRESS_0120 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress012'); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextLongPress012')); + await Utils.sleep(1000); + await component.longClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_LONGPRESS_0120 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_LONGPRESS_0130 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_LONGPRESS_0130 + * @tc.desc Test long press + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_LONGPRESS_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_LONGPRESS_0130 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress013'); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextLongPress013')); + await Utils.sleep(1000); + await component.longClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_LONGPRESS_0130 end.`); + done(); + }) + + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextMarqueeTest/UIComponentTextTextMarquee.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextMarqueeTest/UIComponentTextTextMarquee.test.ets new file mode 100644 index 00000000..9e9b36a1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextMarqueeTest/UIComponentTextTextMarquee.test.ets @@ -0,0 +1,85 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { Component, Driver, ON } from '@ohos.UiTest'; + +export default function UIComponentTextTextMarquee() { + + describe('UIComponentTextTextMarquee', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_MARQUEE_0020 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_MARQUEE_0020 + * @tc.desc Set the textOverflow of the Text component + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_MARQUEE_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_MARQUEE_0020 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee002'); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let setOverflow: Component = await driver.findComponent(ON.id('setOverflow')); + await Utils.sleep(1000); + setOverflow.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_MARQUEE_0020 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_MARQUEE_0050 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_MARQUEE_0050 + * @tc.desc Set the textOverflow of the Text component + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_MARQUEE_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_MARQUEE_0050 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee005'); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let setOverflow: Component = await driver.findComponent(ON.id('setOverflow')); + let setTextAlign: Component = await driver.findComponent(ON.id('setTextAlign')); + await Utils.sleep(1000); + setOverflow.click(); + await Utils.sleep(1000); + setTextAlign.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_MARQUEE_0050 end.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextPrivacyMaskTest/UIComponentTextTextPrivacyMask.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextPrivacyMaskTest/UIComponentTextTextPrivacyMask.test.ets new file mode 100644 index 00000000..c5071267 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextPrivacyMaskTest/UIComponentTextTextPrivacyMask.test.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 { 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 { Component, Driver, ON } from '@ohos.UiTest'; + +export default function UIComponentTextTextPrivacyMask() { + + describe('UIComponentTextTextPrivacyMask', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXT_PRIVACYMASK_0280 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXT_PRIVACYMASK_0280 + * @tc.desc Test copy and paste + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_PRIVACYMASK_0280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_PRIVACYMASK_0280 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextPrivacyMask/UIComponentTextTextPrivacyMask028'); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextPrivacyMask028')); + await Utils.sleep(1000); + await component.longClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_PRIVACYMASK_0280 end.`); + done(); + }) + + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextStringParagraphStyleTest/UIComponentTextTextStringParagraphStyle.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextStringParagraphStyleTest/UIComponentTextTextStringParagraphStyle.test.ets new file mode 100644 index 00000000..5bfd8a18 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextStringParagraphStyleTest/UIComponentTextTextStringParagraphStyle.test.ets @@ -0,0 +1,817 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { Component, Driver, ON } from '@ohos.UiTest'; + +export default function UIComponentTextTextStringParagraphStyle() { + + describe('UIComponentTextTextStringParagraphStyle', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.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); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0060 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0060 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0060 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle006'); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextStringParagraphStyle006')); + await Utils.sleep(1000); + await component.longClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0060 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0070 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0070 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0070 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle007'); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextStringParagraphStyle007')); + await Utils.sleep(1000); + await component.longClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0070 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0080 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0080 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0080 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle008'); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let component: Component = await driver.findComponent(ON.id('UIComponentTextTextStringParagraphStyle008')); + await Utils.sleep(1000); + await component.longClick(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0080 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0090 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0090 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0090 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle009'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0090 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0100 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0100 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0100 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle010'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0100 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0110 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0110 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0110 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle011'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0110 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0120 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0120 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0120 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle012'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0120 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0130 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0130 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0130 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle013'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0130 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0140 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0140 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0140 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle014'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0140 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0150 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0150 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0150 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle015'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0150 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0160 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0160 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0160 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle016'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0160 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0170 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0170 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0170 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle017'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0170 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0180 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0180 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0180 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle018'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0180 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0190 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0190 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0190 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle019'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0190 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0200 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0200 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0200 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle020'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0200 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0210 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0210 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0210 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle021'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0210 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0220 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0220 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0220 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle022'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0220 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0230 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0230 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0230 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle023'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0230 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0240 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0240 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0240 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle024'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0240 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0250 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0250 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0250 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle025'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0250 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0260 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0260 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0260 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle026'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0260 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0270 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0270 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0270 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle027'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0270 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0280 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0280 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0280 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle028'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0280 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0290 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0290 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0290 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle029'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0290 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0300 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0300 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0300 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle030'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0300 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0310 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0310 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0310 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle031'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0310 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0320 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0320 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0320 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle032'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0320 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0330 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0330 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0320 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle033'); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let changeSize: Component = await driver.findComponent(ON.id('changeSize')); + await Utils.sleep(1000); + changeSize.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0330 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0340 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0340 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0340 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle034'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0340 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0350 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0350 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0350 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle035'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0350 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0360 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0360 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0360 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle036'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0360 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0370 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0370 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0370 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle037'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0370 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0380 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0380 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0380 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle038'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0380 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0390 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0390 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0390 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle039'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0390 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0400 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0400 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0400', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0400 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle040'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0400 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0410 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0410 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0410', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0410 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle041'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0410 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0420 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0420 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0420', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0420 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle042'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0420 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0430 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0430 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0430', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0430 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle043'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0430 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0440 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0440 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0440', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0440 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle044'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0440 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0450 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0450 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0450', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0450 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle045'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0450 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0460 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0460 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0460', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0460 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle046'); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0460 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0470 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0470 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0470', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0470 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle047'); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0470 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0480 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0480 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0480', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0480 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle048'); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let getStyles: Component = await driver.findComponent(ON.id('getStyles')); + await Utils.sleep(1000); + await getStyles.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0480 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0490 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0490 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0490', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0490 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle049'); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let getStyles: Component = await driver.findComponent(ON.id('getStyles')); + await Utils.sleep(1000); + await getStyles.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0490 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0500 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0500 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0500', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0500 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle050'); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let getStyles: Component = await driver.findComponent(ON.id('getStyles')); + await Utils.sleep(1000); + await getStyles.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0500 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0510 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0510 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0510', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0510 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle051'); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let getStyles: Component = await driver.findComponent(ON.id('getStyles')); + await Utils.sleep(1000); + await getStyles.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0510 end.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0520 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0520 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0520', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0520 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle052'); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let getStyles: Component = await driver.findComponent(ON.id('getStyles')); + await Utils.sleep(1000); + await getStyles.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0520 end.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0530 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0530 + * @tc.desc Set paragraph style + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0530', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0530 start.`); + Settings.createWindow('testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle053'); + await Utils.sleep(1000); + const driver = Driver.create(); + await Utils.sleep(1000); + let getStyles: Component = await driver.findComponent(ON.id('getStyles')); + await Utils.sleep(1000); + await getStyles.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXTSTRING_PARAGRAPHSTYLE_0530 end.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextSupportFontTest/UIComponentTextTextSupportFont.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextSupportFontTest/UIComponentTextTextSupportFont.test.ets new file mode 100644 index 00000000..411e2f6b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextSupportFontTest/UIComponentTextTextSupportFont.test.ets @@ -0,0 +1,315 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' + +import { Driver } from '@ohos.UiTest' + +export default function UIComponentTextTextSupportFont() { + + describe('UIComponentTextTextSupportFont', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + Settings.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); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0010 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0010 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0010 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0030"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0010 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0170 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0170 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0170 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0170"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0170 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0180 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0180 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0180 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0180"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0180 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0190 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0190 + * @tc.desc : + */ + + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0190 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0190"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0190 finish.`) + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0200 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0200 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0200 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0200"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0200 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0210 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0210 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0210 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0210"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0210 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0220 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0220 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0220 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0220"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0220 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0230 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0230 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0230 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0230"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0230 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0240 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0240 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0240 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0240"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0240 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0250 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0250 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0250 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0250"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0250 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0260 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0260 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0260 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0260"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0260 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0270 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0270 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0270 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0270"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0270 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0280 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0280 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0280 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0280"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0280 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0290 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0290 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0290 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0290"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0290 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0300 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0300 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0300 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0300"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0300 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0310 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0310 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0310 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0310"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0310 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0320 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0320 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0320 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0320"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0320 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0330 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0330 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0330 start.`); + Settings.createWindow("testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0330"); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_TEXT_SUPPORTFONT_0330 finish.`); + done(); + }) + + + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTransparencyTest/UIComponentTextTransparency.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTransparencyTest/UIComponentTextTransparency.test.ets new file mode 100644 index 00000000..8d604a24 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTransparencyTest/UIComponentTextTransparency.test.ets @@ -0,0 +1,115 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' + +import { Driver } from '@ohos.UiTest' + +export default function UIComponentTextTransparency() { + + describe('UIComponentTextTransparency', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + Settings.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); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TRANSPARENCY_0030 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TRANSPARENCY_0030 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TRANSPARENCY_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENTT_TEXT_TRANSPARENCY_0030 start.`); + Settings.createWindow("testability/pages/UIComponentTextTransparency/UIComponentTextTransparency003"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + await driver.drag(100, 100, 200, 200, 400) + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENTT_TEXT_TRANSPARENCY_0030 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TRANSPARENCY_0040 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TRANSPARENCY_0040 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TRANSPARENCY_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENTT_TEXT_TRANSPARENCY_0040 start.`); + Settings.createWindow("testability/pages/UIComponentTextTransparency/UIComponentTextTransparency0040"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + await driver.drag(100, 100, 200, 200, 400) + await Utils.sleep(100); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENTT_TEXT_TRANSPARENCY_0040 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TRANSPARENCY_0050 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TRANSPARENCY_0050 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TRANSPARENCY_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENTT_TEXT_TRANSPARENCY_0050 start.`); + Settings.createWindow("testability/pages/UIComponentTextTransparency/UIComponentTextTransparency0050"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + await driver.drag(100, 100, 200, 200, 400) + await Utils.sleep(500); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENTT_TEXT_TRANSPARENCY_0050 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_COMPONENT_TEXT_TRANSPARENCY_0060 + * @tc.name : SUB_ACE_UI_COMPONENT_TEXT_TRANSPARENCY_0060 + * @tc.desc : + */ + it('SUB_ACE_UI_COMPONENT_TEXT_TRANSPARENCY_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENTT_TEXT_TRANSPARENCY_0060 start.`); + Settings.createWindow("testability/pages/UIComponentTextTransparency/UIComponentTextTransparency0060"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + await driver.drag(100, 100, 200, 200, 400) + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENTT_TEXT_TRANSPARENCY_0060 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..0aa41b4b 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 @@ -40,7 +40,20 @@ import { Driver ,ON } from '@ohos.UiTest' export default function UIComponentUISupportColor() { describe('UIComponentUISupportColor', () => { - + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + Settings.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); + done(); + }) /* * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1010 diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement.test.ets new file mode 100644 index 00000000..123a5d5a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement.test.ets @@ -0,0 +1,1574 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 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 { KeyCode } from '@kit.InputKit' + +export default function UICustomTextShortCutKeyReplacement() { + + describe('UICustomTextShortCutKeyReplacement', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + Settings.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); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0150 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0150 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0150 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0150"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT,KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0150 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0160 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0160 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0160 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0160"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + for (let index = 0; index <= 3; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0160 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0170 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0170 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0170 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0170"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + for (let index = 0; index <= 20; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0170 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0180 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0180 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0180 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0180"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeText = await driver.findComponent(ON.id('changeText')); + await changeText.click(); + await Utils.sleep(1000); + for (let index = 0; index <= 10; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_LEFT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0180 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0190 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0190 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0190 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0190"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeText = await driver.findComponent(ON.id('changeText')); + await changeText.click(); + await Utils.sleep(1000); + for (let index = 0; index <= 10; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_LEFT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0190 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0200 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0200 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0200 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0200"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeText = await driver.findComponent(ON.id('changeText')); + await changeText.click(); + await Utils.sleep(1000); + for (let index = 0; index <= 10; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_LEFT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0200 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0210 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0210 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0210 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0210"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeText = await driver.findComponent(ON.id('changeText')); + await changeText.click(); + await Utils.sleep(1000); + for (let index = 0; index <= 10; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_LEFT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0210 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0220 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0220 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0220 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0220"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeText = await driver.findComponent(ON.id('changeText')); + await changeText.click(); + await Utils.sleep(1000); + for (let index = 0; index <= 10; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_LEFT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0220 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0230 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0230 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0230 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0230"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeText = await driver.findComponent(ON.id('changeText')); + await changeText.click(); + await Utils.sleep(1000); + for (let index = 0; index <= 20; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_LEFT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0230 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0240 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0240 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0240 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0240"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeText = await driver.findComponent(ON.id('changeText')); + await changeText.click(); + await Utils.sleep(1000); + for (let index = 0; index <= 20; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0240 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0250 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0250 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0250 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0250"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeText = await driver.findComponent(ON.id('changeText')); + await changeText.click(); + await Utils.sleep(1000); + for (let index = 0; index <= 20; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_LEFT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0250 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0260 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0260 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0260 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0260"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeText = await driver.findComponent(ON.id('changeText')); + await changeText.click(); + await Utils.sleep(1000); + for (let index = 0; index <= 20; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0260 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0270 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0270 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0270 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0270"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeText = await driver.findComponent(ON.id('changeText')); + await changeText.click(); + await Utils.sleep(1000); + for (let index = 0; index <= 20; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_LEFT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0270 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0280 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0280 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0280 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0280"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeText = await driver.findComponent(ON.id('changeText')); + await changeText.click(); + await Utils.sleep(1000); + for (let index = 0; index <= 20; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0280 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0290 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0290 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0300 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0300"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeText = await driver.findComponent(ON.id('changeText')); + await changeText.click(); + await Utils.sleep(1000); + for (let index = 0; index <= 20; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0300 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0310 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0310 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0310 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0310"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeText = await driver.findComponent(ON.id('changeText')); + await changeText.click(); + await Utils.sleep(1000); + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0310 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0320 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0320 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0320 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0320"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeText = await driver.findComponent(ON.id('changeText')); + await changeText.click(); + await Utils.sleep(1000); + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_LEFT); + await Utils.sleep(100); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0320 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0330 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0330 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0330 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0330"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeText = await driver.findComponent(ON.id('changeText')); + await changeText.click(); + await Utils.sleep(1000); + for (let index = 0; index <= 20; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0330 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0340 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0340 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0340 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0340"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeText = await driver.findComponent(ON.id('changeText')); + await changeText.click(); + await Utils.sleep(1000); + for (let index = 0; index <= 20; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0340 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0350 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0350 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0350 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0350"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeText = await driver.findComponent(ON.id('changeText')); + await changeText.click(); + await Utils.sleep(1000); + for (let index = 0; index <= 20; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0350 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0360 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0360 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0360 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0360"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeText = await driver.findComponent(ON.id('changeText')); + await changeText.click(); + await Utils.sleep(1000); + for (let index = 0; index <= 20; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0360 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0370 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0370 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0370 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0370"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeText = await driver.findComponent(ON.id('changeText')); + await changeText.click(); + await Utils.sleep(1000); + for (let index = 0; index <= 20; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0370 finish.`); + done(); + }) + + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0380 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0380 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0380 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0380"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeText = await driver.findComponent(ON.id('changeText')); + await changeText.click(); + await Utils.sleep(1000); + for (let index = 0; index <= 20; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0380 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0400 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0400 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0400 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0410"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let btn1 = await driver.findComponent(ON.id('TextShortCutKey_btn1')); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + for (let index = 0; index < 5; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0400 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0400 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0400 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0400', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0400 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0400"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let btn1 = await driver.findComponent(ON.id('TextShortCutKey_btn1')); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + for (let index = 0; index < 10; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0400 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0410 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0410 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0410', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0410 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0410"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let btn1 = await driver.findComponent(ON.id('TextShortCutKey_btn1')); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0410 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0420 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0420 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0420', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0420 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0420"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let btn1 = await driver.findComponent(ON.id('TextShortCutKey_btn1')); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + for (let index = 0; index < 2; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0420 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0430 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0430 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0430', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0430 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0430"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let btn1 = await driver.findComponent(ON.id('TextShortCutKey_btn1')); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + for (let index = 0; index < 8; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0430 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0440 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0440 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0440', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0440 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0440"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let btn = await driver.findComponent(ON.id('TextShortCutKey_btn3')); + let btn1 = await driver.findComponent(ON.id('TextShortCutKey_btn1')); + await Utils.sleep(1000); + await btn.click(); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_UP); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0440 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0450 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0450 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0450', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0450 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0460"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let btn = await driver.findComponent(ON.id('TextShortCutKey_btn1')); + await Utils.sleep(1000); + await btn.click(); + await Utils.sleep(1000); + for (let index = 0; index < 3; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_UP); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0450 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0460 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0460 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0460', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0460 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0460"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let btn = await driver.findComponent(ON.id('TextShortCutKey_btn1')); + await Utils.sleep(1000); + await btn.click(); + await Utils.sleep(1000); + for (let index = 0; index < 5; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_UP); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0460 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0470 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0470 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0470', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0470 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0490"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let btn = await driver.findComponent(ON.id('TextShortCutKey_btn1')); + let btn3 = await driver.findComponent(ON.id('TextShortCutKey_btn3')); + await Utils.sleep(1000); + btn3.click(); + await Utils.sleep(1000); + btn.click(); + await Utils.sleep(1000); + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_DOWN); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0470 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0480 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0480 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0480', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0480 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0490"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn = await driver.findComponent(ON.id('TextShortCutKey_btn1')); + await Utils.sleep(1000); + await btn.click(); + await Utils.sleep(1000); + for (let index = 0; index < 3; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_DOWN); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0480 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0490 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0490 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0490', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0490 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0490"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn = await driver.findComponent(ON.id('TextShortCutKey_btn1')); + await Utils.sleep(1000); + await btn.click(); + await Utils.sleep(1000); + for (let index = 0; index < 5; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_DOWN); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0490 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0500 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0500 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0500', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0500 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0500"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + await Utils.sleep(1000); + for (let index = 0; index < 10; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0500 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0510 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0510 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0510', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0510 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0510"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let btn = await driver.findComponent(ON.id('TextShortCutKey_btn4')); + let rich = await driver.findComponent(ON.id('TextShortCutKey_4')); + await Utils.sleep(1000); + await btn.click(); + await Utils.sleep(1000); + for (let index = 0; index < 10; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(1000); + await rich.click(); + await Utils.sleep(1000); + await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0510 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0520 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0520 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0520', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0520 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0610"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let btn = await driver.findComponent(ON.id('TextShortCutKey_btn4')); + await Utils.sleep(1000); + await btn.click(); + await Utils.sleep(1000); + for (let index = 0; index < 10; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0520 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0550 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0550 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0550', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0550 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0610"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let btn = await driver.findComponent(ON.id('TextShortCutKey_btn3')); + await Utils.sleep(1000); + await btn.click(); + await Utils.sleep(1000); + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_DOWN); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0550 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0560 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0560 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0560', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0560 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0710"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let textInput = await driver.findComponent(ON.id('TextShortCutKey_2')); + await Utils.sleep(1000); + await text.dragTo(textInput); + await Utils.sleep(1000); + for (let index = 0; index < 5; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(1000); + await text.dragTo(textInput); + await Utils.sleep(1000); + await text.longClick(); + await Utils.sleep(1000); + await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_C); + await Utils.sleep(1000); + await textInput.click(); + await Utils.sleep(1000); + await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0560 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0570 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0570 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0570', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0570 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0610"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let btn = await driver.findComponent(ON.id('TextShortCutKey_btn2')); + let textInput = await driver.findComponent(ON.id('TextShortCutKey_2')); + let textInput2 = await driver.findComponent(ON.id('TextShortCutKey_3')); + await Utils.sleep(1000); + await btn.click(); + await Utils.sleep(1000); + await text.dragTo(textInput); + await Utils.sleep(1000); + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_DOWN); + await Utils.sleep(1000); + await text.dragTo(textInput); + await Utils.sleep(1000); + await text.longClick(); + await Utils.sleep(1000); + await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_C); + await Utils.sleep(1000); + await textInput2.click(); + await Utils.sleep(1000); + await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0570 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0590 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0590 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0590', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0590 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0610"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let btn = await driver.findComponent(ON.id('TextShortCutKey_btn1')); + await Utils.sleep(1000); + await text.longClick(); + await Utils.sleep(1000); + for (let index = 0; index < 5; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(1000); + await btn.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0590 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0610 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0610 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0610', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0610 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0610"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + await Utils.sleep(1000); + await text.longClick(); + await Utils.sleep(1000); + for (let index = 0; index < 5; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0610 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0620_1 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0620_1 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0620_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0620_1 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0620"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let btn1 = await driver.findComponent(ON.id('TextShortCutKey_btn8')); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + for (let index = 0; index < 5; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0620_1 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0620_2 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0620_2 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0620_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0620_2 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0620"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let btn1 = await driver.findComponent(ON.id('TextShortCutKey_btn9')); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + for (let index = 0; index < 5; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0620_2 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0620_2 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0620_2 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0620_3', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0620_2 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0620"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let btn1 = await driver.findComponent(ON.id('TextShortCutKey_btn1')); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + for (let index = 0; index < 5; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0620_2 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0630_1 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0630_1 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0630_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0630_1 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0660"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let rich = await driver.findComponent(ON.id('TextShortCutKey_3')); + let btn1 = await driver.findComponent(ON.id('TextShortCutKey_btn6')); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + for (let index = 0; index < 5; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(1000); + let copy = await driver.findComponent(ON.text('复制')); + await copy.click(); + await Utils.sleep(1000); + await rich.click(); + await Utils.sleep(1000); + await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0630_1 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0630_2 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0630_2 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0630_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0630_1 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0660"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn1 = await driver.findComponent(ON.id('TextShortCutKey_btn7')); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + for (let index = 0; index < 5; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0630_1 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0640_1 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0640_1 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0640_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0640_1 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0660"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let btn1 = await driver.findComponent(ON.id('TextShortCutKey_btn6')); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + for (let index = 0; index < 5; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0640_1 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0640_2 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0640_2 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0640_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0640_2 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0660"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let btn1 = await driver.findComponent(ON.id('TextShortCutKey_btn7')); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + for (let index = 0; index < 5; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0640_2 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0650_1 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0650_1 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0650_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0650_1 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0660"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let btn1 = await driver.findComponent(ON.id('TextShortCutKey_btn4')); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + for (let index = 0; index < 5; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0650_1 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0650_2 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0650_2 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0650_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0650_2 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0660"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let btn1 = await driver.findComponent(ON.id('TextShortCutKey_btn5')); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + for (let index = 0; index < 5; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0650_2 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0660_1 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0660_1 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0660_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0660_1 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0660"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let btn1 = await driver.findComponent(ON.id('TextShortCutKey_btn1')); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + for (let index = 0; index < 5; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0660_1 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0660_2 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0660_2 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0660_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0660_2 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0660"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let btn1 = await driver.findComponent(ON.id('TextShortCutKey_btn2')); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + for (let index = 0; index < 5; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0660_2 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0660_3 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0660_3 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0660_3', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0660_3 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0660"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let btn1 = await driver.findComponent(ON.id('TextShortCutKey_btn3')); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + for (let index = 0; index < 5; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0660_3 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0670 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0670 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0670', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0670 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0670"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + for (let index = 0; index < 5; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0670 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0680 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0680 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0680', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0680 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0710"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let textInput = await driver.findComponent(ON.id('TextShortCutKey_2')); + await Utils.sleep(1000); + await text.longClick(); + await Utils.sleep(1000); + await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_C); + await Utils.sleep(1000); + await textInput.click(); + await Utils.sleep(1000); + await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0680 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0690 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0690 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0690', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0700 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0710"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + await Utils.sleep(1000); + for (let index = 0; index < 5; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + let point = await text.getBoundsCenter(); + await driver.longClick(point.x, point.y); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0690 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0700 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0700 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0700', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0700 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0710"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + await Utils.sleep(1000); + for (let index = 0; index < 5; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(1000); + let point = await text.getBoundsCenter(); + await driver.click(point.x, point.y); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0700 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0710 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0710 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0710', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0710 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0710"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + let textInput = await driver.findComponent(ON.id('TextShortCutKey_2')); + await Utils.sleep(1000); + await text.dragTo(textInput); + await Utils.sleep(1000); + for (let index = 0; index < 5; index++) { + await driver.triggerCombineKeys(KeyCode.KEYCODE_SHIFT_LEFT, KeyCode.KEYCODE_DPAD_RIGHT); + await Utils.sleep(100); + } + await Utils.sleep(1000); + await text.dragTo(textInput); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0710 finish.`); + done(); + }) + /* + * @tc.number : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0720 + * @tc.name : SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0720 + * @tc.desc : Text + */ + it('SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0720', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0720 start.`); + Settings.createWindow("testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0720"); + await Utils.sleep(500); + let driver = Driver.create(); + await Utils.sleep(1000); + let text = await driver.findComponent(ON.id('TextShortCutKey_1')); + await Utils.sleep(1000); + let point = await text.getBoundsCenter(); + for (let index = 0; index < 2; index++) { + await driver.click(point.x, point.y); + await Utils.sleep(100); + } + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_CUSTOM_TEXT_SHORTCUT_KEY_0720 finish.`); + done(); + }) + + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentNavModifierTest/UiComponentNavModifier.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentNavModifierTest/UiComponentNavModifier.test.ets new file mode 100644 index 00000000..12e9b46a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentNavModifierTest/UiComponentNavModifier.test.ets @@ -0,0 +1,484 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { Component, Driver, ON } from '@ohos.UiTest' + +export default function UIComponentNavModifier() { + + describe('UIComponentNavModifier', () => { + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0460 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0460 + * @tc.desc 1、添加Tabs组件 + 2、分割线设置为0xFF0000 + */ + it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0460', 0, async (done: Function) => { + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0460 start.`); + Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier046") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0460 finish.`); + done() + }) + + + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0530 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0530 + * @tc.desc 1、添加Tabs组件 + 2、设置endMargin(-10) + */ + it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0530', 0, async (done: Function) => { + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0530 start.`); + Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier053") + await Utils.sleep(1000) + let driver: Driver = Driver.create(); + await driver.delayMs(1000) + let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier053_001')); + await Utils.sleep(1000) + await button1.click() + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0530 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0560 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0560 + * @tc.desc 1、添加Tabs组件 + 2、设置endMargin(-10) + */ + it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0560', 0, async (done: Function) => { + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0560 start.`); + Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier056") + await Utils.sleep(1000) + let driver: Driver = Driver.create(); + await driver.delayMs(1000) + let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier056_001')); + await Utils.sleep(1000) + await button1.click() + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0560 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0580 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0580 + * @tc.desc 1、添加Tabs组件 + 2、设置endMargin(-10) + */ + it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0580', 0, async (done: Function) => { + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0580 start.`); + Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier058") + await Utils.sleep(1000) + let driver: Driver = Driver.create(); + await driver.delayMs(1000) + let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier058_001')); + await Utils.sleep(1000) + await button1.click() + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0580 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0830 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0830 + * @tc.desc 1、添加Tabs组件 + 2、barWidth设置为Resource + */ + it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0830', 0, async (done: Function) => { + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0830 start.`); + Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier083") + await Utils.sleep(1000) + let driver: Driver = Driver.create(); + await driver.delayMs(1000) + let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier083_001')); + await Utils.sleep(1000) + await button1.click() + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0830 finish.`); + done() + }) + + + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0480 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0480 + * @tc.desc 1、添加Tabs组件 + 2、分割线设置为0xffc0cb + */ + it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0480', 0, async (done: Function) => { + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0480 start.`); + Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier048") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0480 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0450 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0450 + * @tc.desc 1、添加Tabs组件 + 2、分割线设置为Color.Blue + */ + it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0450', 0, async (done: Function) => { + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0450 start.`); + Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier045") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0450 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0410 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0410 + * @tc.desc 1、添加Tabs组件 + 2、strokeWidth设置为string类型 + */ + it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0410', 0, async (done: Function) => { + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0410 start.`); + Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier041") + await Utils.sleep(1000) + let driver: Driver = Driver.create(); + await driver.delayMs(1000) + let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier041_001')); + await Utils.sleep(1000) + await button1.click() + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0410 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0440 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0440 + * @tc.desc 1、添加Tabs组件 + 2、strokeWidth设置为Resource类 + */ + it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0440', 0, async (done: Function) => { + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0440 start.`); + Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier044") + await Utils.sleep(1000) + let driver: Driver = Driver.create(); + await driver.delayMs(1000) + let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier044_001')); + await Utils.sleep(1000) + await button1.click() + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0440 finish.`); + done() + }) + + /* +* @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0430 +* @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0430 +* @tc.desc 1、添加Tabs组件 + 2、分割线设置为Color.Blue +*/ + it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0430', 0, async (done: Function) => { + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0430 start.`); + Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier043") + await Utils.sleep(1000) + let driver: Driver = Driver.create(); + await driver.delayMs(1000) + let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier043_001')); + await Utils.sleep(1000) + await button1.click() + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0430 finish.`); + done() + }) + + + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0600 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0600 + * @tc.desc 1、添加Tabs组件 + 2、fadingEdge设置为false + */ + it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0600', 0, async (done: Function) => { + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0600 start.`); + Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier060") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0600 finish.`); + done() + }) + + + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0650 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0650 + * @tc.desc 1、添加Tabs组件 + 2、背景色设置为’#ffffff’ + */ + it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0650', 0, async (done: Function) => { + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0650 start.`); + Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier065") + await Utils.sleep(1000) + let driver: Driver = Driver.create(); + await driver.delayMs(1000) + let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier065_001')); + await Utils.sleep(1000) + await button1.click() + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0650 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0630 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0630 + * @tc.desc 1、添加Tabs组件 + 2、背景色设置为’#ffffff’ + */ + it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0630', 0, async (done: Function) => { + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0630 start.`); + Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier063") + await Utils.sleep(1000) + let driver: Driver = Driver.create(); + await driver.delayMs(1000) + let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier063_001')); + await Utils.sleep(1000) + await button1.click() + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0630 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0660 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0660 + * @tc.desc 1、添加Tabs组件 + 2、背景色设置为’#ffffff’ +*/ + it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0660', 0, async (done: Function) => { + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0660 start.`); + Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier066") + await Utils.sleep(1000) + let driver: Driver = Driver.create(); + await driver.delayMs(1000) + let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier066_001')); + await Utils.sleep(1000) + await button1.click() + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0660 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0810 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0810 + * @tc.desc 1、添加Tabs组件 + 2、设置barWidth为'100% + */ + it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0810', 0, async (done: Function) => { + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0810 start.`); + Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0810") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(2000) + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0810 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0770 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0770 + * @tc.desc 1、添加Tabs组件 + 2、设置barWidth为负值 +*/ + it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0770', 0, async (done: Function) => { + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0770 start.`); + Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0770") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(2000) + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0770 finish.`); + done() + }) + + /* +* @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0860 +* @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0860 +* @tc.desc 1、添加Tabs组件 + 2、设置barHeight为250 +*/ + it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0860', 0, async (done: Function) => { + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0860 start.`); + Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0860") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(2000) + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0860 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0840 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0840 + * @tc.desc 1、添加Tabs组件 + 2、设置barHeight为小于0的数 + */ + it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0840', 0, async (done: Function) => { + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0840 start.`); + Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0840") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(2000) + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0840 finish.`); + done() + }) + + + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0900 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0900 + * @tc.desc 1、添加Tabs组件 + 2、设置animationDuration设置为小于0 + */ + it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0900', 0, async (done: Function) => { + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0900 start.`); + Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0900") + await Utils.sleep(1000) + let driver: Driver = Driver.create(); + await driver.delayMs(1000) + let button1: Component = await driver.findComponent(ON.id('blue')); + await Utils.sleep(1000) + await button1.click() + await Utils.sleep(1000) + let button2: Component = await driver.findComponent(ON.id('green')); + await Utils.sleep(1000) + await button2.click() + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(2000) + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0900 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0920 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0920 + * @tc.desc 1、添加Tabs组件 + 2、设置animationDuration设置为百分比 +*/ + it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0920', 0, async (done: Function) => { + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0920 start.`); + Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0920") + await Utils.sleep(1000) + let driver: Driver = Driver.create(); + await driver.delayMs(1000) + let button1: Component = await driver.findComponent(ON.id('blue')); + await Utils.sleep(1000) + await button1.click() + await Utils.sleep(1000) + let button2: Component = await driver.findComponent(ON.id('green')); + await Utils.sleep(1000) + await button2.click() + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(2000) + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0920 finish.`); + done() + }) + + /* +* @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0370 +* @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0370 +* @tc.desc 1、添加Tabs组件 + 2、barGridAlign设置为gutter +*/ + it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0370', 0, async (done: Function) => { + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0370 start.`); + Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0370") + await Utils.sleep(1000) + let driver: Driver = Driver.create(); + await driver.delayMs(1000) + let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier0370_001')); + await Utils.sleep(1000) + await button1.click() + await Utils.sleep(1000) + let button2: Component = await driver.findComponent(ON.id('UIComponentNavModifier0370_002')); + await Utils.sleep(1000) + await button2.click() + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(2000) + Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0370 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0380 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0380 + * @tc.desc barGridAlign设置为sm + */ + it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0380 start.`); + Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0380") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0380 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0130 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0130 + * @tc.desc barGridAlign设置为lg + */ + it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0400', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0400 start.`); + Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0400") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0400 finish.`); + done() + }) + }) +} 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..07d1bbd8 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 @@ -36,14 +36,14 @@ async function sleep(time: number): Promise { } class Settings { - isPhone: boolean = true; + 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 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) { 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..a72ee624 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 @@ -14,6 +14,9 @@ */ import {Driver , ON} from '@ohos.UiTest' +import { BusinessError, screenLock } from '@kit.BasicServicesKit'; +import Settings from './Settings'; +import { KeyCode } from '@kit.InputKit'; export default class Utils { @@ -39,6 +42,45 @@ export default class Utils { } + /** + * The app breathes and then lights up the screen + * + * @param driver + */ + static async lockAndUnlock(driver: Driver) { + await screenLock.lock((err: BusinessError, data: Boolean) => { + if (err) { + console.error(`Failed to lock the screen, Code: ${err.code}, message: ${err.message}`); + return; + } + console.info(`Succeeded in locking the screen. result: ${data}`); + }); + await Utils.sleep(2000); + await screenLock.unlock((err: BusinessError) => { + if (err) { + console.error(`Failed to unlock the screen, Code: ${err.code}, message: ${err.message}`); + return; + } + console.info(`Succeeded unlocking the screen.`); + }); + await driver.drag(100, 900, 100, 1, 1000); + } + + /** + * The application switches to the desktop and back to the application + * + * @param driver + */ + static async homeAndBack(driver: Driver) { + let currentWindow = await Settings.windowClass; + if (currentWindow) { + await currentWindow.hide(); + await driver.triggerKey(KeyCode.KEYCODE_HOME); + await Utils.sleep(2000); + await currentWindow.showWindow(); + } + } + } 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..aecaf9f7 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 @@ -59,13 +59,28 @@ 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/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0150.ets new file mode 100644 index 00000000..1e0a8891 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0150.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 UICustomTextShortCutKeyReplacement0150 { + @State msg: string = 'HH测试223% U测72试#'; + @State start: number = 0 + @State end: number = 0 + build() { + Text(this.msg) + .width('100%') + .height(60) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0160.ets new file mode 100644 index 00000000..6b3297dd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0160.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 UICustomTextShortCutKeyReplacement0160 { + @State msg: string = 'HH测试223% U测72试#'; + @State start: number = 0 + @State end: number = 3 + build() { + Column() { + Text(this.msg) + .width('100%') + .height(60) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=1) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0170.ets new file mode 100644 index 00000000..02ff1187 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0170.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 UICustomTextShortCutKeyReplacement0170 { + @State msg: string = 'HH测试223% U测72试# 1/2 @&*ئاھ چوڭ \uD83D\uDE00'; + @State start: number = 0 + @State end: number = 3 + build() { + Column() { + Text(this.msg) + .width('100%') + .height(60) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=1) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0180.ets new file mode 100644 index 00000000..1d4b70bc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0180.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 UICustomTextShortCutKeyReplacement0180 { + @State msg: string = '测试数据12ZXC'; + @State start: number = 0 + @State end: number = 3 + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试XXX2!'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(1) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=-1) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0190.ets new file mode 100644 index 00000000..32498311 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0190.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 UICustomTextShortCutKeyReplacement0190 { + @State msg: string = '测试数据12ZXC'; + @State start: number = 0 + @State end: number = 3 + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(1) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0200.ets new file mode 100644 index 00000000..d663a25d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0200.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 UICustomTextShortCutKeyReplacement0200 { + @State msg: string = '测试数据12ZXC'; + @State start: number = 0 + @State end: number = 3 + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(1) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0210.ets new file mode 100644 index 00000000..5545ddb2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0210.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 UICustomTextShortCutKeyReplacement0210 { + @State msg: string = '测试数据12ZXC'; + @State start: number = 0 + @State end: number = 3 + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(1) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0220.ets new file mode 100644 index 00000000..6713c6bd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0220.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 UICustomTextShortCutKeyReplacement0220 { + @State msg: string = '测试数据12ZXC'; + @State start: number = 0 + @State end: number = 3 + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(1) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0230.ets new file mode 100644 index 00000000..0ddf46fe --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0230.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 UICustomTextShortCutKeyReplacement0230 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0 + @State end: number = 3 + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0240.ets new file mode 100644 index 00000000..6faa6563 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0240.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 UICustomTextShortCutKeyReplacement0240 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0 + @State end: number = 3 + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0250.ets new file mode 100644 index 00000000..72d300fe --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0250.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 UICustomTextShortCutKeyReplacement0250 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 10; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0260.ets new file mode 100644 index 00000000..2ae850c6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0260.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 UICustomTextShortCutKeyReplacement0260 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 10; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0270.ets new file mode 100644 index 00000000..8f6eaac8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0270.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 UICustomTextShortCutKeyReplacement0270 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 3; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0280.ets new file mode 100644 index 00000000..319067ee --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0280.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 UICustomTextShortCutKeyReplacement0280 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 3; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0300.ets new file mode 100644 index 00000000..2b8a66b1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0300.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 UICustomTextShortCutKeyReplacement0300 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 3; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0310.ets new file mode 100644 index 00000000..ae4ce884 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0310.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 UICustomTextShortCutKeyReplacement0310 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 3; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0320.ets new file mode 100644 index 00000000..d998c5ff --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0320.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 UICustomTextShortCutKeyReplacement0320 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 3; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0330.ets new file mode 100644 index 00000000..5bbc5d85 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0330.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 UICustomTextShortCutKeyReplacement0330 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 3; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0340.ets new file mode 100644 index 00000000..eaf5dd10 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0340.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 UICustomTextShortCutKeyReplacement0340 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 3; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0350.ets new file mode 100644 index 00000000..851d4d63 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0350.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 UICustomTextShortCutKeyReplacement0350 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 3; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0360.ets new file mode 100644 index 00000000..0c71867c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0360.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 UICustomTextShortCutKeyReplacement0360 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 3; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0370.ets new file mode 100644 index 00000000..bfd428d2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0370.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 UICustomTextShortCutKeyReplacement0370 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 3; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0380.ets new file mode 100644 index 00000000..e147dbce --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0380.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 UICustomTextShortCutKeyReplacement0380 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 3; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/Index.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/Index.ets index 0e4b0390..c5801165 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/Index.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/Index.ets @@ -13,6 +13,42 @@ * limitations under the License. */ +import hilog from '@ohos.hilog'; + +@Entry +@Component +struct Index { + aboutToAppear() { + hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility index aboutToAppear'); + } + @State message: string = 'Hello World' + + build() { + Row() { + Column() { + Text(this.message) + .fontSize(50) + .fontWeight(FontWeight.Bold) + Button() { + Text('next page') + .fontSize(20) + .fontWeight(FontWeight.Bold) + } + .type(ButtonType.Capsule) + .margin({ + top: 20 + }) + .backgroundColor('#0D9FFB') + .width('35%') + .height('5%') + .onClick(()=>{ + }) + } + .width('100%') + } + .height('100%') + } + } @Entry @Component struct Index { @@ -29,4 +65,4 @@ struct Index { } .height('100%') } -} \ No newline at end of file +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/StatusManagerBelievable/StatusManagerBelievable0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/StatusManagerBelievable/StatusManagerBelievable0010.ets new file mode 100644 index 00000000..df83f487 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/StatusManagerBelievable/StatusManagerBelievable0010.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. + */ + +@Builder +function MyBuilder(value: string, size: number) { + Column() { + Text(value) + .fontSize(size) + }.backgroundColor(Color.Gray) +} + +let globalBuilder: WrappedBuilder<[string, number]> = wrapBuilder(MyBuilder); + +@Entry +@Component +struct StatusManagerBelievable0010 { + @State message: string = 'Test wrapBuilder'; + + build() { + Row() { + Column() { + globalBuilder.builder(this.message, 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/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree032.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree032.ets new file mode 100644 index 00000000..4687a38f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree032.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. + */ + +@Entry +@Component +struct UIAttributesStateStylesInterfaceEditableTextThree032 { + controller: TextInputController = new TextInputController() + @State inputValue: string = "" + + @Builder CustomKeyboardBuilder() { + 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 + "") + .width(110).onClick(() => { + this.inputValue += item + }) + } + }) + }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) + }.backgroundColor(Color.Gray) + } + + build() { + Column() { + TextInput({ controller: this.controller, text: this.inputValue }) + .id('inputComponent') + .customKeyboard(this.CustomKeyboardBuilder()).margin(10).border({ width: 1 }).height('48vp') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree061.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree061.ets new file mode 100644 index 00000000..7062775b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree061.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 UIAttributesStateStylesInterfaceEditableTextThree061 { + controller: TextAreaController = new TextAreaController(); + @State inputValue: string = ""; + + @Builder CustomKeyboardBuilder() { + 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 + "") + .width(110).onClick(() => { + this.inputValue += item + }) + } + }) + }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) + }.backgroundColor(Color.Gray) + } + + build() { + Column() { + TextArea({ controller: this.controller, text: this.inputValue}) + .id('textAreaComponent') + .customKeyboard(this.CustomKeyboardBuilder()).margin(10).border({ width: 1 }) + .height(200) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree075.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree075.ets new file mode 100644 index 00000000..79532946 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree075.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 UIAttributesStateStylesInterfaceEditableTextThree075 { + controller: SearchController = new SearchController() + @State inputValue: string = ""; + @State isEditChange: string = ''; + + @Builder + CustomKeyboardBuilder() { + 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 + "") + .width(110).onClick(() => { + this.inputValue += item + }) + } + }) + }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) + }.backgroundColor(Color.Gray) + } + + build() { + Column() { + Search({ controller: this.controller, value: this.inputValue }) + .id('searchComponent') + .customKeyboard(this.CustomKeyboardBuilder()) + .margin(10) + .border({ width: 1 }) + .onEditChange((bool) => { + this.isEditChange = 'textInputOne onEditChange:' + bool + }) + .focusable(true) + + Text(this.isEditChange) + .margin({ bottom: 20 }) + + Button('clearFocus') + .id('clearFocus') + .width(200) + .height(50) + .fontColor(Color.White) + .backgroundColor(Color.Blue) + .onClick(() => { + this.getUIContext().getFocusController().clearFocus() + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree090.ets new file mode 100644 index 00000000..b91278d6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree090.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 UIAttributesStateStylesInterfaceEditableTextThree090 { + controller: SearchController = new SearchController() + @State inputValue: string = ""; + + @Builder + CustomKeyboardBuilder() { + 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 + "") + .width(110).onClick(() => { + this.inputValue += item + }) + } + }) + }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) + }.backgroundColor(Color.Gray) + } + + build() { + Column() { + Search({ controller: this.controller, value: this.inputValue }) + .id('searchComponent') + .customKeyboard(this.CustomKeyboardBuilder()) + .margin(10) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree092.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree092.ets new file mode 100644 index 00000000..e78de7b9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree092.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 UIAttributesStateStylesInterfaceEditableTextThree092 { + controller: SearchController = new SearchController(); + @State inputValue: string = ""; + + @Builder + CustomKeyboardBuilder() { + 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 + "") + .width(110).onClick(() => { + this.inputValue += item + }) + } + }) + }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) + }.backgroundColor(Color.Gray) + } + + build() { + Column() { + Search({ controller: this.controller, value: this.inputValue }) + .id('searchComponent') + .customKeyboard(this.CustomKeyboardBuilder()) + .margin(10) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree101.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree101.ets new file mode 100644 index 00000000..e935b316 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree101.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 UIAttributesStateStylesInterfaceEditableTextThree101 { + controller: RichEditorController = new RichEditorController(); + options: RichEditorOptions = { controller: this.controller }; + @State inputValue: string = ""; + + @Builder + CustomKeyboardBuilder() { + 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 + "") + .width(110).onClick(() => { + this.inputValue += item + }) + } + }) + }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) + }.backgroundColor(Color.Gray) + } + + build() { + Column() { + RichEditor(this.options) + .customKeyboard(this.CustomKeyboardBuilder()) + .id('richEditorComponent') + .enableKeyboardOnFocus(true) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree103.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree103.ets new file mode 100644 index 00000000..b1bd79ff --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree103.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 UIAttributesStateStylesInterfaceEditableTextThree103 { + controller: RichEditorController = new RichEditorController(); + options: RichEditorOptions = { controller: this.controller }; + @State inputValue: string = ""; + + @Builder + CustomKeyboardBuilder() { + 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 + "") + .width(110).onClick(() => { + this.inputValue += item + }) + } + }) + }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) + }.backgroundColor(Color.Gray) + } + + build() { + Column() { + RichEditor(this.options) + .customKeyboard(this.CustomKeyboardBuilder()) + .id('richEditorComponent') + .enableKeyboardOnFocus(true) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree104.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree104.ets new file mode 100644 index 00000000..024e905e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree104.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 } from '@kit.ArkUI'; + +@Entry +@Component +struct UIAttributesStateStylesInterfaceEditableTextThree104 { + controller: RichEditorController = new RichEditorController(); + options: RichEditorOptions = { controller: this.controller }; + @State inputValue: string = ""; + + @Builder + CustomKeyboardBuilder() { + 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 + "") + .width(110).onClick(() => { + this.inputValue += item + }) + } + }) + }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) + }.backgroundColor(Color.Gray) + } + + build() { + Column() { + RichEditor(this.options) + .customKeyboard(this.CustomKeyboardBuilder()) + .id('richEditorComponent') + .enableKeyboardOnFocus(true) + .copyOptions(CopyOptions.LocalDevice) + .onCopy((event:CopyEvent) => { + promptAction.showToast({ message: 'onCopy功能生效' }) + }) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree105.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree105.ets new file mode 100644 index 00000000..17749925 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree105.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIAttributesStateStylesInterfaceEditableTextThree105 { + controller: RichEditorController = new RichEditorController(); + options: RichEditorOptions = { controller: this.controller }; + @State inputValue: string = ""; + + @Builder + CustomKeyboardBuilder() { + 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 + "") + .width(110).onClick(() => { + this.inputValue += item + }) + } + }) + }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) + }.backgroundColor(Color.Gray) + } + + build() { + Column() { + RichEditor(this.options) + .customKeyboard(this.CustomKeyboardBuilder()) + .id('richEditorComponent') + .onEditingChange((isEditing: boolean) => { + promptAction.showToast({ message: "Current Editing Status:" + isEditing }) + }) + .border({ width: 1 }) + .margin({ bottom: 20 }) + + Button('clearFocus') + .id('clearFocus') + .width(200) + .height(50) + .fontColor(Color.White) + .backgroundColor(Color.Blue) + .onClick(() => { + this.getUIContext().getFocusController().clearFocus(); + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree106.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree106.ets new file mode 100644 index 00000000..465356d3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree106.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIAttributesStateStylesInterfaceEditableTextThree106 { + controller: RichEditorController = new RichEditorController(); + options: RichEditorOptions = { controller: this.controller }; + @State inputValue: string = ''; + + @Builder + CustomKeyboardBuilder() { + 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 + '') + .width(110).onClick(() => { + this.inputValue += item + }) + } + }) + }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) + }.backgroundColor(Color.Gray) + } + + build() { + Column() { + RichEditor(this.options) + .customKeyboard(this.CustomKeyboardBuilder()) + .id('richEditorComponent') + .onEditingChange((isEditing: boolean) => { + promptAction.showToast({ message: 'Current Editing Status:' + isEditing }) + }) + .border({ width: 1 }) + .margin({ bottom: 20 }) + + Button('clearFocus') + .id('clearFocus') + .width(200) + .height(50) + .fontColor(Color.White) + .backgroundColor(Color.Blue) + .onClick(() => { + this.getUIContext().getFocusController().clearFocus(); + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree113.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree113.ets new file mode 100644 index 00000000..dc35e2e2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree113.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'; + +@Entry +@Component +struct UIAttributesStateStylesInterfaceEditableTextThree113 { + controller: RichEditorController = new RichEditorController(); + options: RichEditorOptions = { controller: this.controller }; + @State inputValue: string = ""; + + @Builder + CustomKeyboardBuilder() { + 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 + "") + .width(110).onClick(() => { + this.inputValue += item + }) + } + }) + }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) + }.backgroundColor(Color.Gray) + } + + build() { + Column() { + RichEditor(this.options) + .customKeyboard(this.CustomKeyboardBuilder()) + .id('richEditorComponent') + .border({ width: 1 }) + .margin({ bottom: 20 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree117.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree117.ets new file mode 100644 index 00000000..aa85ec1e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree117.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 UIAttributesStateStylesInterfaceEditableTextThree117 { + controller: RichEditorController = new RichEditorController(); + options: RichEditorOptions = { controller: this.controller }; + @State inputValue: string = ""; + + @Builder + CustomKeyboardBuilder() { + Column() { + Button('x') + .id('closeButton') + .onClick(() => { + this.controller.stopEditing() + }) + Grid() { + ForEach([1, 2, 3, 4, 5, 6, 7, 8, 9, '*', 0, '#'], (item: number | string) => { + GridItem() { + Button(item + "") + .width(110).onClick(() => { + this.inputValue += item + }) + } + }) + }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) + }.backgroundColor(Color.Gray) + } + + build() { + Column() { + RichEditor(this.options) + .customKeyboard(this.CustomKeyboardBuilder()) + .id('richEditorComponent') + .border({ width: 1 }) + .margin({ bottom: 20 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree120.ets new file mode 100644 index 00000000..caeede1f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree120.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 UIAttributesStateStylesInterfaceEditableTextThree120 { + controller: RichEditorController = new RichEditorController(); + options: RichEditorOptions = { controller: this.controller }; + @State inputValue: string = ""; + + @Builder + CustomKeyboardBuilder() { + Column() { + Button('x') + .id('closeButton') + .onClick(() => { + this.controller.stopEditing() + }) + Grid() { + ForEach([1, 2, 3, 4, 5, 6, 7, 8, 9, '*', 0, '#'], (item: number | string) => { + GridItem() { + Button(item + "") + .width(110).onClick(() => { + this.inputValue += item + }) + } + }) + }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) + }.backgroundColor(Color.Gray) + } + + build() { + Column() { + RichEditor(this.options) + .customKeyboard(this.CustomKeyboardBuilder()) + .id('richEditorComponent') + .border({ width: 1 }) + .margin({ bottom: 20 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage001.ets new file mode 100644 index 00000000..963fc13f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage001.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 { image } from '@kit.ImageKit'; + +@Entry +@Component +struct UIComponentAttributeImage001 { + controller: TextController = new TextController(); + imagePixelMap: image.PixelMap | undefined = undefined; + styleString: StyledString | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + if (this.imagePixelMap !== undefined) { + this.styleString = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 100, height: 100 }, + })); + this.controller.setStyledString(this.styleString) + } + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.controller }) { + } + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage002.ets new file mode 100644 index 00000000..b2cdba76 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage002.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. + */ +import { image } from '@kit.ImageKit'; + + +@Entry +@Component +struct UIComponentAttributeImage002 { + controller1: TextController = new TextController(); + controller2: TextController = new TextController(); + controller3: TextController = new TextController(); + controller4: TextController = new TextController(); + imagePixelMap: image.PixelMap | undefined = undefined; + styleString1: StyledString | undefined = undefined; + styleString2: StyledString | undefined = undefined; + styleString3: StyledString | undefined = undefined; + styleString4: StyledString | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + if (this.imagePixelMap !== undefined) { + this.styleString1 = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: '10px', height: '10px' }, + })); + this.controller1.setStyledString(this.styleString1); + + this.styleString2 = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: '10vp', height: '10vp' }, + })); + this.controller2.setStyledString(this.styleString2); + + this.styleString3 = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: '10lpx', height: '10lpx' }, + })); + this.controller3.setStyledString(this.styleString3); + + this.styleString4 = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: '10%', height: '10%' }, + })); + this.controller4.setStyledString(this.styleString4); + } + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.controller1 }) + .margin({ bottom: 10 }) + Text(undefined, { controller: this.controller2 }) + .margin({ bottom: 10 }) + Text(undefined, { controller: this.controller3 }) + .margin({ bottom: 10 }) + Text(undefined, { controller: this.controller4 }) + .margin({ bottom: 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/UIComponentAttributeImage/UIComponentAttributeImage003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage003.ets new file mode 100644 index 00000000..b98eafc1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage003.ets @@ -0,0 +1,117 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 '@kit.ImageKit'; + +@Entry +@Component +struct UIComponentAttributeImage003 { + controller1: TextController = new TextController(); + controller2: TextController = new TextController(); + controller3: TextController = new TextController(); + controller4: TextController = new TextController(); + controller5: TextController = new TextController(); + imagePixelMap: image.PixelMap | undefined = undefined; + styleString1: MutableStyledString | undefined = undefined; + styleString2: MutableStyledString | undefined = undefined; + styleString3: MutableStyledString | undefined = undefined; + styleString4: MutableStyledString | undefined = undefined; + styleString5: MutableStyledString | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + if (this.imagePixelMap !== undefined) { + let paragraphStyledStr: MutableStyledString = new MutableStyledString("这是一个文本信息"); + this.styleString1 = new MutableStyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 100, height: 100 }, + verticalAlign: ImageSpanAlignment.TOP, + })) + this.styleString1.appendStyledString(paragraphStyledStr); + this.controller1.setStyledString(this.styleString1); + + this.styleString2 = new MutableStyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 100, height: 100 }, + verticalAlign: ImageSpanAlignment.CENTER, + })) + this.styleString2.appendStyledString(paragraphStyledStr); + this.controller2.setStyledString(this.styleString2); + + this.styleString3 = new MutableStyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 100, height: 100 }, + verticalAlign: ImageSpanAlignment.BOTTOM, + })) + this.styleString3.appendStyledString(paragraphStyledStr); + this.controller3.setStyledString(this.styleString3); + + this.styleString4 = new MutableStyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 100, height: 100 }, + verticalAlign: ImageSpanAlignment.BASELINE, + })) + this.styleString4.appendStyledString(paragraphStyledStr); + this.controller4.setStyledString(this.styleString4); + + this.styleString5 = new MutableStyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 100, height: 100 }, + verticalAlign: undefined, + })) + this.styleString5.appendStyledString(paragraphStyledStr); + this.controller5.setStyledString(this.styleString5); + } + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.controller1 }) { + } + .margin({ bottom: 10 }) + + Text(undefined, { controller: this.controller2 }) { + } + .margin({ bottom: 10 }) + + Text(undefined, { controller: this.controller3 }) { + } + .margin({ bottom: 10 }) + + Text(undefined, { controller: this.controller4 }) { + } + .margin({ bottom: 10 }) + + Text(undefined, { controller: this.controller5 }) { + } + .margin({ bottom: 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/UIComponentAttributeImage/UIComponentAttributeImage004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage004.ets new file mode 100644 index 00000000..ae7be008 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage004.ets @@ -0,0 +1,126 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 '@kit.ImageKit'; + +@Entry +@Component +struct UIComponentAttributeImage004 { + controller1: TextController = new TextController(); + controller2: TextController = new TextController(); + controller3: TextController = new TextController(); + controller4: TextController = new TextController(); + controller5: TextController = new TextController(); + controller6: TextController = new TextController(); + imagePixelMap: image.PixelMap | undefined = undefined; + styleString1: StyledString | undefined = undefined; + styleString2: StyledString | undefined = undefined; + styleString3: StyledString | undefined = undefined; + styleString4: StyledString | undefined = undefined; + styleString5: StyledString | undefined = undefined; + styleString6: StyledString | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + if (this.imagePixelMap !== undefined) { + this.styleString1 = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 200, height: 200 }, + objectFit: ImageFit.Contain + })); + this.controller1.setStyledString(this.styleString1); + + this.styleString2 = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 200, height: 200 }, + objectFit: ImageFit.Cover + })); + this.controller2.setStyledString(this.styleString2); + + this.styleString3 = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 200, height: 200 }, + objectFit: ImageFit.Auto + })); + this.controller3.setStyledString(this.styleString3); + + this.styleString4 = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 200, height: 200 }, + objectFit: ImageFit.Fill + })); + this.controller4.setStyledString(this.styleString4); + + this.styleString5 = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 200, height: 200 }, + objectFit: ImageFit.ScaleDown + })); + this.controller5.setStyledString(this.styleString5); + + this.styleString6 = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 200, height: 200 }, + objectFit: ImageFit.None + })); + this.controller6.setStyledString(this.styleString6); + } + } + + build() { + Row() { + Column() { + Row() { + Text(undefined, { controller: this.controller1 }) + .margin({ right: 10, bottom: 10 }) + .border({ width: 1, color: Color.Red }) + Text(undefined, { controller: this.controller2 }) + .margin({ bottom: 10 }) + .border({ width: 1, color: Color.Red }) + } + + Row() { + Text(undefined, { controller: this.controller3 }) + .margin({ right: 10, bottom: 10 }) + .border({ width: 1, color: Color.Red }) + Text(undefined, { controller: this.controller4 }) + .margin({ bottom: 10 }) + .border({ width: 1, color: Color.Red }) + } + + Row() { + Text(undefined, { controller: this.controller5 }) + .margin({ right: 10, bottom: 10 }) + .border({ width: 1, color: Color.Red }) + Text(undefined, { controller: this.controller6 }) + .margin({ bottom: 10 }) + .border({ width: 1, color: Color.Red }) + } + } + } + + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage005.ets new file mode 100644 index 00000000..89a49261 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage005.ets @@ -0,0 +1,160 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 '@kit.ImageKit'; +import { LengthUnit } from '@kit.ArkUI'; + + +@Entry +@Component +struct UIComponentAttributeImage005 { + controller1: TextController = new TextController(); + controller2: TextController = new TextController(); + controller3: TextController = new TextController(); + controller4: TextController = new TextController(); + controller5: TextController = new TextController(); + controller6: TextController = new TextController(); + imagePixelMap: image.PixelMap | undefined = undefined; + styleString1: StyledString | undefined = undefined; + styleString2: StyledString | undefined = undefined; + styleString3: StyledString | undefined = undefined; + styleString4: StyledString | undefined = undefined; + styleString5: StyledString | undefined = undefined; + styleString6: StyledString | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + if (this.imagePixelMap !== undefined) { + this.styleString1 = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 200, height: 200 }, + layoutStyle: { + margin: { + value: 10, + unit: LengthUnit.PX + } + } + })); + this.controller1.setStyledString(this.styleString1); + + this.styleString2 = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 200, height: 200 }, + layoutStyle: { + margin: { + value: 10, + unit: LengthUnit.VP + } + } + })); + this.controller2.setStyledString(this.styleString2); + + this.styleString3 = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 200, height: 200 }, + layoutStyle: { + margin: { + value: 10, + unit: LengthUnit.FP + } + } + })); + this.controller3.setStyledString(this.styleString3); + + this.styleString4 = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 200, height: 200 }, + layoutStyle: { + margin: { + value: 10, + unit: LengthUnit.LPX + } + } + })); + this.controller4.setStyledString(this.styleString4); + + this.styleString5 = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 200, height: 200 }, + layoutStyle: { + margin: { + value: 10, + unit: LengthUnit.PERCENT + } + } + })); + this.controller5.setStyledString(this.styleString5); + + this.styleString6 = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 200, height: 200 }, + layoutStyle: { + margin: { + right: '10abc', + left: '10abc', + top: '10abc', + bottom: '10abc' + } + } + })); + this.controller6.setStyledString(this.styleString6); + } + } + + build() { + Row() { + Column() { + Row() { + Text(undefined, { controller: this.controller1 }) + .margin({ right: 10, bottom: 10 }) + .border({ width: 1, color: Color.Red }) + Text(undefined, { controller: this.controller2 }) + .margin({ bottom: 10 }) + .border({ width: 1, color: Color.Red }) + } + + Row() { + Text(undefined, { controller: this.controller3 }) + .margin({ right: 10, bottom: 10 }) + .border({ width: 1, color: Color.Red }) + Text(undefined, { controller: this.controller4 }) + .margin({ bottom: 10 }) + .border({ width: 1, color: Color.Red }) + } + + Row() { + Text(undefined, { controller: this.controller5 }) + .margin({ right: 10, bottom: 10 }) + .border({ width: 1, color: Color.Red }) + Text(undefined, { controller: this.controller6 }) + .margin({ bottom: 10 }) + .border({ width: 1, color: Color.Red }) + } + } + } + + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage006.ets new file mode 100644 index 00000000..91a12873 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage006.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 { image } from '@kit.ImageKit'; + +@Entry +@Component +struct UIComponentAttributeImage006 { + controller: TextController = new TextController(); + imagePixelMap: image.PixelMap | undefined = undefined; + styleString: StyledString | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + if (this.imagePixelMap !== undefined) { + this.styleString = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 100, height: 100 }, + layoutStyle: { + margin: { + bottom: '20vp', + top: '10vp', + left: '10vp', + right: '20vp' + } + } + })); + this.controller.setStyledString(this.styleString) + } + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .border({ width: 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/UIComponentAttributeImage/UIComponentAttributeImage007.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage007.ets new file mode 100644 index 00000000..2c7d19c2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage007.ets @@ -0,0 +1,159 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 '@kit.ImageKit'; +import { LengthUnit } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentAttributeImage007 { + controller1: TextController = new TextController(); + controller2: TextController = new TextController(); + controller3: TextController = new TextController(); + controller4: TextController = new TextController(); + controller5: TextController = new TextController(); + controller6: TextController = new TextController(); + imagePixelMap: image.PixelMap | undefined = undefined; + styleString1: StyledString | undefined = undefined; + styleString2: StyledString | undefined = undefined; + styleString3: StyledString | undefined = undefined; + styleString4: StyledString | undefined = undefined; + styleString5: StyledString | undefined = undefined; + styleString6: StyledString | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + if (this.imagePixelMap !== undefined) { + this.styleString1 = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 200, height: 200 }, + layoutStyle: { + padding: { + value: 10, + unit: LengthUnit.PX + } + } + })); + this.controller1.setStyledString(this.styleString1); + + this.styleString2 = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 200, height: 200 }, + layoutStyle: { + padding: { + value: 10, + unit: LengthUnit.VP + } + } + })); + this.controller2.setStyledString(this.styleString2); + + this.styleString3 = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 200, height: 200 }, + layoutStyle: { + padding: { + value: 10, + unit: LengthUnit.FP + } + } + })); + this.controller3.setStyledString(this.styleString3); + + this.styleString4 = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 200, height: 200 }, + layoutStyle: { + padding: { + value: 10, + unit: LengthUnit.LPX + } + } + })); + this.controller4.setStyledString(this.styleString4); + + this.styleString5 = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 200, height: 200 }, + layoutStyle: { + padding: { + value: 10, + unit: LengthUnit.PERCENT + } + } + })); + this.controller5.setStyledString(this.styleString5); + + this.styleString6 = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 200, height: 200 }, + layoutStyle: { + padding: { + left: '10abc', + right: '10abc', + bottom: '10abc', + top: '10abc' + } + } + })); + this.controller6.setStyledString(this.styleString6); + } + } + + build() { + Row() { + Column() { + Row() { + Text(undefined, { controller: this.controller1 }) + .margin({ right: 10, bottom: 10 }) + .border({ width: 1, color: Color.Red }) + Text(undefined, { controller: this.controller2 }) + .margin({ bottom: 10 }) + .border({ width: 1, color: Color.Red }) + } + + Row() { + Text(undefined, { controller: this.controller3 }) + .margin({ right: 10, bottom: 10 }) + .border({ width: 1, color: Color.Red }) + Text(undefined, { controller: this.controller4 }) + .margin({ bottom: 10 }) + .border({ width: 1, color: Color.Red }) + } + + Row() { + Text(undefined, { controller: this.controller5 }) + .margin({ right: 10, bottom: 10 }) + .border({ width: 1, color: Color.Red }) + Text(undefined, { controller: this.controller6 }) + .margin({ bottom: 10 }) + .border({ width: 1, color: Color.Red }) + } + } + } + + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage008.ets new file mode 100644 index 00000000..32035af4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage008.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 { image } from '@kit.ImageKit'; + +@Entry +@Component +struct UIComponentAttributeImage008 { + @State controller: TextController = new TextController(); + imagePixelMap: image.PixelMap | undefined = undefined; + styleString: StyledString | undefined = undefined; + @State stringValue: string = ''; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + if (this.imagePixelMap !== undefined) { + this.styleString = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 100, height: 100 }, + })); + this.controller.setStyledString(this.styleString); + this.stringValue = 'String value:' + this.styleString.getString(); + } + } + + build() { + Row() { + Column() { + Text(this.stringValue).fontSize(26).fontColor(Color.Red); + Text(undefined, { controller: this.controller }) { + } + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage009.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage009.ets new file mode 100644 index 00000000..4710d6c7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage009.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 { image } from '@kit.ImageKit'; + +@Entry +@Component +struct UIComponentAttributeImage009 { + controller: TextController = new TextController(); + imagePixelMap: image.PixelMap | undefined = undefined; + styleString: StyledString | undefined = undefined; + @State lengthValue: number = 0; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + if (this.imagePixelMap !== undefined) { + this.styleString = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 100, height: 100 }, + })); + this.controller.setStyledString(this.styleString); + this.lengthValue = this.styleString.length; + } + } + + build() { + Row() { + Column() { + Text('Length:' + this.lengthValue).fontSize(26).fontColor(Color.Red) + Text(undefined, { controller: this.controller }) { + } + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage010.ets new file mode 100644 index 00000000..b2eef476 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage010.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 { image } from '@kit.ImageKit'; + +@Entry +@Component +struct UIComponentAttributeImage010 { + controller: TextController = new TextController(); + controller2: TextController = new TextController(); + imagePixelMap: image.PixelMap | undefined = undefined; + styleString: StyledString | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + if (this.imagePixelMap !== undefined) { + this.styleString = new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 100, height: 100 }, + })); + this.controller.setStyledString(this.styleString); + let styleString2 = this.styleString.subStyledString(0, 1); + this.controller2.setStyledString(styleString2); + } + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.controller2 }) { + } + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage011.ets new file mode 100644 index 00000000..1bb255e6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage011.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 { image } from '@kit.ImageKit'; + +@Entry +@Component +struct UIComponentAttributeImage011 { + controller: TextController = new TextController(); + imagePixelMap: image.PixelMap | undefined = undefined; + styleString: MutableStyledString | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + if (this.imagePixelMap !== undefined) { + this.styleString = new MutableStyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 100, height: 100 }, + })); + this.controller.setStyledString(this.styleString); + } + } + + build() { + Row() { + Column() { + Button('Remove picture') + .id('UIComponentAttributeImage011') + .margin({ bottom: 20 }) + .onClick(() => { + if (this.styleString) { + this.styleString.removeString(0, 1); + this.controller.setStyledString(this.styleString); + } + }) + Text(undefined, { controller: this.controller }) { + } + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage012.ets new file mode 100644 index 00000000..1a4cff00 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage012.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 { image } from '@kit.ImageKit'; + +@Entry +@Component +struct UIComponentAttributeImage012 { + controller: TextController = new TextController(); + imagePixelMap: image.PixelMap | undefined = undefined; + styleString: MutableStyledString | undefined = undefined; + fontStyleAttr1: TextStyle = new TextStyle({ fontColor: Color.Blue }); + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + if (this.imagePixelMap !== undefined) { + this.styleString = new MutableStyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 100, height: 100 }, + })); + this.styleString.insertString(0,'hello') + this.controller.setStyledString(this.styleString); + } + } + + build() { + Row() { + Column() { + Button('Remove string') + .id('UIComponentAttributeImage012') + .margin({ bottom: 20 }) + .onClick(() => { + if (this.styleString) { + this.styleString.removeString(0, 5); + this.controller.setStyledString(this.styleString); + } + }) + Text(undefined, { controller: this.controller }) { + } + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage013.ets new file mode 100644 index 00000000..d5ec15f5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage013.ets @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 '@kit.ImageKit'; + +@Entry +@Component +struct UIComponentAttributeImage013 { + controller: TextController = new TextController(); + imagePixelMap: image.PixelMap | undefined = undefined; + styleString: MutableStyledString | undefined = undefined; + fontStyleAttr1: TextStyle = new TextStyle({ fontColor: Color.Blue }); + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + if (this.imagePixelMap !== undefined) { + this.styleString = new MutableStyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 100, height: 100 }, + })); + this.styleString.insertString(1, "hello world"); + this.controller.setStyledString(this.styleString); + } + } + + build() { + Row() { + Column() { + Button('Replace style') + .id('UIComponentAttributeImage013') + .margin({ bottom: 20 }) + .onClick(() => { + if (this.styleString) { + this.styleString.replaceStyle({ + start: 0, + length: 1, + styledKey: StyledStringKey.IMAGE, + styledValue: new ImageAttachment({ + value: null, + size: { width: 100, height: 100 }, + }) + }); + + this.controller.setStyledString(this.styleString); + } + }) + Text(undefined, { controller: this.controller }) { + } + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage014.ets new file mode 100644 index 00000000..e84ec103 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage014.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 { image } from '@kit.ImageKit'; + +@Entry +@Component +struct UIComponentAttributeImage014 { + controller: TextController = new TextController(); + imagePixelMap: image.PixelMap | undefined = undefined; + styleString: MutableStyledString | undefined = undefined; + fontStyleAttr1: TextStyle = new TextStyle({ fontColor: Color.Blue }); + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + if (this.imagePixelMap !== undefined) { + this.styleString = new MutableStyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 100, height: 100 }, + })); + this.styleString.insertString(1, "hello"); + this.controller.setStyledString(this.styleString); + } + } + + build() { + Row() { + Column() { + Button('Replace style') + .id('UIComponentAttributeImage014') + .margin({ bottom: 20 }) + .onClick(() => { + if (this.styleString) { + let replace = new StyledString(''); + this.styleString.replaceStyledString(0, this.styleString.length, replace); + this.controller.setStyledString(this.styleString); + } + }) + Text(undefined, { controller: this.controller }) { + } + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage015.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage015.ets new file mode 100644 index 00000000..7f0f59bb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage015.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 { image } from '@kit.ImageKit'; + +@Entry +@Component +struct UIComponentAttributeImage015 { + controller: TextController = new TextController(); + imagePixelMap: image.PixelMap | undefined = undefined; + styleString: MutableStyledString | undefined = undefined; + fontStyleAttr1: TextStyle = new TextStyle({ fontColor: Color.Blue }); + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + if (this.imagePixelMap !== undefined) { + this.styleString = new MutableStyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 100, height: 100 }, + })); + this.styleString.insertString(1, "hello"); + this.styleString.replaceStyle({ + start: 1, + length: 5, + styledKey: StyledStringKey.FONT, + styledValue: this.fontStyleAttr1 + }); + this.controller.setStyledString(this.styleString); + } + } + + build() { + Row() { + Column() { + Button('clearStyles') + .id('UIComponentAttributeImage015') + .margin({ bottom: 20 }) + .onClick(() => { + if (this.styleString) { + this.styleString.clearStyles(); + this.controller.setStyledString(this.styleString); + } + }) + Text(undefined, { controller: this.controller }) { + } + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage016.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage016.ets new file mode 100644 index 00000000..c3375222 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage016.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 { image } from '@kit.ImageKit'; + +@Entry +@Component +struct UIComponentAttributeImage016 { + controller: TextController = new TextController(); + imagePixelMap: image.PixelMap | undefined = undefined; + replaceImagePixelMap: image.PixelMap | undefined = undefined; + styleString: MutableStyledString | undefined = undefined; + fontStyleAttr1: TextStyle = new TextStyle({ fontColor: Color.Blue }); + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + this.replaceImagePixelMap = await this.getPixmapFromMedia($r('app.media.img')).then(); + if (this.imagePixelMap !== undefined) { + this.styleString = new MutableStyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 100, height: 100 }, + })); + this.styleString.insertString(1, "hello"); + this.controller.setStyledString(this.styleString); + } + } + + build() { + Row() { + Column() { + Button('Replace image') + .id('UIComponentAttributeImage016') + .margin({ bottom: 20 }) + .onClick(() => { + if (this.styleString && this.replaceImagePixelMap) { + let replace = new MutableStyledString(new ImageAttachment({ + value: this.replaceImagePixelMap, + size: { width: 100, height: 100 }, + })); + + this.styleString.replaceStyledString(0, 6, replace); + + this.controller.setStyledString(this.styleString); + } + }) + Text(undefined, { controller: this.controller }) { + } + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage017.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage017.ets new file mode 100644 index 00000000..53024753 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage017.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 { image } from '@kit.ImageKit'; + +@Entry +@Component +struct UIComponentAttributeImage017 { + controller: TextController = new TextController(); + imagePixelMap: image.PixelMap | undefined = undefined; + insertImagePixelMap: image.PixelMap | undefined = undefined; + styleString: MutableStyledString | undefined = undefined; + fontStyleAttr1: TextStyle = new TextStyle({ fontColor: Color.Blue }); + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + this.insertImagePixelMap = await this.getPixmapFromMedia($r('app.media.img')).then(); + if (this.imagePixelMap !== undefined) { + this.styleString = new MutableStyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 100, height: 100 }, + })); + this.styleString.insertString(1, "hello"); + this.controller.setStyledString(this.styleString); + } + } + + build() { + Row() { + Column() { + Button('insert image') + .id('UIComponentAttributeImage017') + .margin({ bottom: 20 }) + .onClick(() => { + if (this.styleString && this.insertImagePixelMap) { + let insert = new MutableStyledString(new ImageAttachment({ + value: this.insertImagePixelMap, + size: { width: 100, height: 100 }, + })); + this.styleString.insertStyledString(1, insert); + this.controller.setStyledString(this.styleString); + } + }) + Text(undefined, { controller: this.controller }) { + } + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage018.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage018.ets new file mode 100644 index 00000000..0551e5fa --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeImage/UIComponentAttributeImage018.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 { image } from '@kit.ImageKit'; + +@Entry +@Component +struct UIComponentAttributeImage018 { + controller: TextController = new TextController(); + imagePixelMap: image.PixelMap | undefined = undefined; + insertImagePixelMap: image.PixelMap | undefined = undefined; + styleString: MutableStyledString | undefined = undefined; + fontStyleAttr1: TextStyle = new TextStyle({ fontColor: Color.Blue }); + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + this.insertImagePixelMap = await this.getPixmapFromMedia($r('app.media.img')).then(); + if (this.imagePixelMap !== undefined) { + this.styleString = new MutableStyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 100, height: 100 }, + })); + this.styleString.insertString(1, "hello"); + this.controller.setStyledString(this.styleString); + } + } + + build() { + Row() { + Column() { + Button('append image') + .id('UIComponentAttributeImage018') + .margin({ bottom: 20 }) + .onClick(() => { + if (this.styleString && this.insertImagePixelMap) { + let insert = new MutableStyledString(new ImageAttachment({ + value: this.insertImagePixelMap, + size: { width: 100, height: 100 }, + })); + this.styleString.appendStyledString(insert); + this.controller.setStyledString(this.styleString); + } + }) + Text(undefined, { controller: this.controller }) { + } + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle0120.ets new file mode 100644 index 00000000..bfcb79bf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle0120.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. + */ + +@Entry +@Component +struct UIComponentAttributeStringModifyingStyle0120 { + controller: TextController = new TextController(); + mutableStyledString: MutableStyledString = new MutableStyledString('这是一段测试文字', [{ + start: 0, + length: 4, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Blue, }), + }, { + start: 4, + length: 4, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Red, }), + }]); + @State msg: string = ''; + + async onPageShow() { + this.controller.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Button('SetStlye') + .id('insert') + .margin({ bottom: 20 }) + .onClick(() => { + try { + this.mutableStyledString.setStyle({start:0, length:-1, styledKey:StyledStringKey.FONT, styledValue: new TextStyle({ fontColor: Color.Green })}); + } catch (err) { + this.msg = err.code; + } + }) + + Text(undefined, { controller: this.controller }) { + } + Text('错误码:' + this.msg) + .fontSize(20) + .fontColor(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/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle015.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle015.ets new file mode 100644 index 00000000..c66e75fd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle015.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 UIComponentAttributeStringModifyingStyle015 { + controller: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('这是一段测试文字', [{ + start: 0, + length: 4, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Blue }) + }, { + start: 4, + length: 4, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Red }) + }]); + this.controller.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Button('remove Style') + .id('UIComponentAttributeStringModifyingStyle015') + .margin({ bottom: 20 }) + .onClick(() => { + if (this.mutableStyledString) { + this.mutableStyledString.removeStyle(2, 4, StyledStringKey.FONT); + this.controller.setStyledString(this.mutableStyledString); + } + }) + Text(undefined, { controller: this.controller }) { + } + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle016.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle016.ets new file mode 100644 index 00000000..2b0364a5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle016.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 UIComponentAttributeStringModifyingStyle016 { + controller: TextController = new TextController(); + controller1: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + styleString1: MutableStyledString | undefined = undefined; + getStyle: Array = []; + + async onPageShow() { + this.styleString = new MutableStyledString('这是一段测试文字', [{ + start: 0, + length: 4, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Blue }) + }, { + start: 4, + length: 4, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Red }) + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Row() { + Column() { + Button('get Style') + .id('UIComponentAttributeStringModifyingStyle016') + .margin({ bottom: 20 }) + .onClick(() => { + if (this.styleString) { + this.styleString.removeStyle(0, 4, StyledStringKey.FONT); + this.controller.setStyledString(this.styleString); + this.getStyle = this.styleString.getStyles(0, 8, StyledStringKey.FONT) + this.styleString1 = new MutableStyledString('这是获取的返回样式', this.getStyle); + this.controller.setStyledString(this.styleString); + this.controller1.setStyledString(this.styleString1); + } + }) + Text(undefined, { controller: this.controller }) { + } + + Text(undefined, { controller: this.controller1 }) { + } + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle022.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle022.ets new file mode 100644 index 00000000..ec5d1920 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle022.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 UIComponentAttributeStringModifyingStyle022 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + + async onPageShow() { + this.styleString = new MutableStyledString('这是一段测试文字', [{ + start: 0, + length: 4, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Blue }) + }, { + start: 4, + length: 4, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Red }) + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Row() { + Column() { + Button('Clear specified style') + .id('UIComponentAttributeStringModifyingStyle022') + .margin({ bottom: 20 }) + .onClick(() => { + if (this.styleString) { + this.styleString.removeStyles(2, 4); + this.controller.setStyledString(this.styleString); + } + }) + Text(undefined, { controller: this.controller }) { + } + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle023.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle023.ets new file mode 100644 index 00000000..a3dceb68 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle023.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 UIComponentAttributeStringModifyingStyle023 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + @State styles: string| undefined = undefined; + getStyle: Array = []; + + async onPageShow() { + this.styleString = new MutableStyledString('这是一段测试文字', [{ + start: 0, + length: 4, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Blue }) + }, { + start: 4, + length: 4, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Red }) + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Row() { + Column() { + Button('Remove styles then get styles') + .id('UIComponentAttributeStringModifyingStyle023') + .margin({ bottom: 20 }) + .onClick(() => { + if (this.styleString) { + this.styleString.removeStyles(0, 8); + this.controller.setStyledString(this.styleString); + this.getStyle = this.styleString.getStyles(0, 8, StyledStringKey.FONT); + this.styles = '清除样式后获取到的样式:' + JSON.stringify(this.getStyle); + } + }) + Text(undefined, { controller: this.controller }) { + } + + Text(this.styles) { + } + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText0090.ets new file mode 100644 index 00000000..797dc66c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText0090.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 UIComponentAttributeStringModifyingStyleText0090 { + controller: TextController = new TextController(); + mutableStyledString: MutableStyledString = new MutableStyledString('这是一段测试文字', [{ + start: 0, + length: 4, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Blue, }), + }, { + start: 4, + length: 4, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Red, }), + }]); + @State msg: string = ''; + + async onPageShow() { + this.controller.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Button('Insert string') + .id('insert') + .margin({ bottom: 20 }) + .onClick(() => { + try { + let mutableStyledString = new MutableStyledString('输入框', [{ + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Green }) + }]); + this.mutableStyledString.insertStyledString(-1, mutableStyledString); + } catch (err) { + this.msg = err.code; + } + }) + + Text(undefined, { controller: this.controller }) { + } + Text('错误码:' + this.msg) + .fontSize(20) + .fontColor(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/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText0100.ets new file mode 100644 index 00000000..01e4c80c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText0100.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 UIComponentAttributeStringModifyingStyleText0100 { + controller: TextController = new TextController(); + mutableStyledString: MutableStyledString = new MutableStyledString('这是一段测试文字', [{ + start: 0, + length: 4, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Blue, }), + }, { + start: 4, + length: 4, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Red, }), + }]); + @State msg: string = ''; + + async onPageShow() { + this.controller.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Button('Insert string') + .id('insert') + .margin({ bottom: 20 }) + .onClick(() => { + try { + let mutableStyledString = new MutableStyledString('输入框', [{ + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Green }) + }]); + this.mutableStyledString.insertStyledString(10, mutableStyledString); + } catch (err) { + this.msg = err.code; + } + }) + + Text(undefined, { controller: this.controller }) { + } + Text('错误码:' + this.msg) + .fontSize(20) + .fontColor(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/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText011.ets new file mode 100644 index 00000000..54b8f256 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText011.ets @@ -0,0 +1,99 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { JSON } from '@kit.ArkTS'; + +@Entry +@Component +struct UIComponentAttributeStringModifyingStyleText011 { + controller: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + @State text1: string = ''; + @State text2: string = ''; + @State text3: string = ''; + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('这是一段测试文字', [ + { + start: 0, + length: 4, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Blue }) + }, + { + start: 4, + length: 4, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Red }) + } + ]); + this.controller.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Button('Insert string') + .id('insert') + .margin({ bottom: 20 }) + .onClick(() => { + if (this.mutableStyledString) { + this.mutableStyledString.insertStyledString(4, new StyledString('输入框', [{ + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Green }) + }])) + this.controller.setStyledString(this.mutableStyledString); + } + }) + + Button('getString') + .id('getString') + .margin({ bottom: 20 }) + .onClick(() => { + if (this.mutableStyledString) { + this.text1 = this.mutableStyledString.getString(); + } + }) + + Button('getLength') + .id('getLength') + .margin({ bottom: 20 }) + .onClick(() => { + if (this.mutableStyledString) { + this.text2 = this.mutableStyledString.length + ''; + } + }) + + Button('getStyles') + .id('getStyles') + .margin({ bottom: 20 }) + .onClick(() => { + if (this.mutableStyledString) { + this.text3 = JSON.stringify(this.mutableStyledString.getStyles(0, 11, StyledStringKey.FONT)); + console.log('StyleText011:: ' + JSON.stringify(new TextStyle({ fontColor: Color.Red }))); + } + }) + + Text(undefined, { controller: this.controller }) { + } + + Text(this.text1).fontSize(24) + Text(this.text2).fontSize(24).margin(10) + Text(this.text3).fontSize(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/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText023.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText023.ets new file mode 100644 index 00000000..bc40e1b8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText023.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 UIComponentAttributeStringModifyingStyleText023 { + controller: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('这是一段测试文字', [{ + start: 0, + length: 8, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Blue }) + }]); + this.controller.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Button('Insert string') + .id('insert') + .margin({ bottom: 20 }) + .onClick(() => { + if (this.mutableStyledString) { + this.mutableStyledString.insertString(0, "1"); + this.controller.setStyledString(this.mutableStyledString); + } + }) + + Button('remove string') + .id('delete') + .margin({ bottom: 20 }) + .onClick(() => { + if (this.mutableStyledString) { + this.mutableStyledString.removeString(0, 1); + this.controller.setStyledString(this.mutableStyledString); + } + }) + + Text(undefined, { controller: this.controller }) { + } + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeUserData/UIComponentAttributeUserData0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeUserData/UIComponentAttributeUserData0030.ets new file mode 100644 index 00000000..73ec85b7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentAttributeUserData/UIComponentAttributeUserData0030.ets @@ -0,0 +1,112 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT 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 AtSpan extends UserDataSpan { + constructor(name: string, age: number) { + super() + this.name = name + this.age = age + } + + private name: string + private age: number +} + +@Entry +@Component +struct UIComponentAttributeUserData0030 { + controller: TextController = new TextController(); + styledString3: MutableStyledString = new MutableStyledString('styledString3', [{ + start: 0, + length: 2, + styledKey: StyledStringKey.USER_DATA, + styledValue: new AtSpan('hello', 30), + }]); + @State msg: string = ''; + @State msg1: string = ''; + @State msg2: string = ''; + @State msg3: string = ''; + + async onPageShow() { + this.controller.setStyledString(this.styledString3); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.controller }) { + } + + Row() { + Button('getStlye') + .id('getStlye') + .margin({ bottom: 20 }) + .onClick(() => { + try { + this.styledString3.getStyles(10, 7); + } catch (err) { + this.msg = err.code; + } + }) + Button('getStlye1') + .id('getStlye1') + .margin({ bottom: 20 }) + .onClick(() => { + try { + this.msg1 = JSON.stringify(this.styledString3.getStyles(0, 2)); + } catch (err) { + this.msg = err.code; + } + }) + Button('getStlye2') + .id('getStlye2') + .margin({ bottom: 20 }) + .onClick(() => { + try { + this.msg2 = JSON.stringify(this.styledString3.getStyles(2, 2)); + } catch (err) { + this.msg = err.code; + } + }) + } + + Button('getStlye3') + .id('getStlye3') + .margin({ bottom: 20 }) + .onClick(() => { + try { + this.msg3 = JSON.stringify(this.styledString3.getStyles(0, 12)); + } catch (err) { + this.msg = err.code; + } + }) + + Text(this.msg1) + .fontSize(20) + .fontColor(Color.Red) + Text(this.msg2) + .fontSize(20) + .fontColor(Color.Red) + Text(this.msg3) + .fontSize(20) + .fontColor(Color.Red) + Text('错误码:' + this.msg) + .fontSize(20) + .fontColor(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/UIComponentCreateColor/UIComponentCreateColor001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor001.ets new file mode 100644 index 00000000..b07e37e6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor001.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 UIComponentCreateColor001 { + controller: TextInputController = new TextInputController(); + @State inputValue: string = ""; + @State caretColor: ResourceColor = Color.Blue; + + build() { + Column() { + Button('Change the caret color to red') + .id('redCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = Color.Red; + }) + + Button('Change the caret color to green') + .id('greenCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = Color.Green; + }) + + TextInput({ controller: this.controller, text: this.inputValue }) + .id('inputComponent') + .margin(10) + .border({ width: 1 }) + .height('48vp') + .caretColor(this.caretColor) + .copyOption(CopyOptions.LocalDevice) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor002.ets new file mode 100644 index 00000000..8990f393 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor002.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 UIComponentCreateColor002 { + controller: TextInputController = new TextInputController(); + @State inputValue: string = ""; + @State selectedBackgroundColor: ResourceColor = Color.Blue; + + build() { + Column() { + Button('Change the selected background color to red') + .id('redBackground') + .margin({ bottom: 20 }) + .onClick(() => { + this.selectedBackgroundColor = Color.Red; + }) + + Button('Change the selected background color to green') + .id('greenBackground') + .margin({ bottom: 20 }) + .onClick(() => { + this.selectedBackgroundColor = Color.Green; + }) + + TextInput({ controller: this.controller, text: this.inputValue }) + .id('inputComponent') + .margin(10) + .border({ width: 1 }) + .height('48vp') + .selectedBackgroundColor(this.selectedBackgroundColor) + .copyOption(CopyOptions.LocalDevice) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor003.ets new file mode 100644 index 00000000..ba29dada --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor003.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 UIComponentCreateColor003 { + controller: TextInputController = new TextInputController(); + @State inputValue: string = ""; + @State caretColor: ResourceColor = Color.Blue; + @State opacityNumber: number = 1; + + build() { + Column() { + Button('caretColor') + .id('caretColor') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = " rgba(255,0,0,0.5)"; + }) + + Button('opacity') + .id('opacity') + .margin({ bottom: 20 }) + .onClick(() => { + this.opacityNumber = 0.2; + }) + + TextInput({ controller: this.controller, text: this.inputValue }) + .id('inputComponent') + .margin(10) + .border({ width: 1 }) + .height('48vp') + .opacity(this.opacityNumber) + .caretColor(this.caretColor) + .copyOption(CopyOptions.LocalDevice) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor004.ets new file mode 100644 index 00000000..3ca21384 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor004.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 UIComponentCreateColor004 { + controller: TextInputController = new TextInputController(); + @State inputValue: string = ""; + @State caretColor: ResourceColor = Color.Blue; + @State selectedBackgroundColor: ResourceColor = Color.Blue; + + build() { + Column() { + Button('Set caretColor to red') + .id('redCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = Color.Red; + }) + + Button('Set caretColor to green') + .id('greenCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = Color.Green; + }) + + Button('Set selectedBackgroundColor to red') + .id('redBackgroundColor') + .margin({ bottom: 20 }) + .onClick(() => { + this.selectedBackgroundColor = Color.Red; + }) + + Button('Set selectedBackgroundColor to green') + .id('greenBackgroundColor') + .margin({ bottom: 20 }) + .onClick(() => { + this.selectedBackgroundColor = Color.Green; + }) + + TextInput({ controller: this.controller, text: this.inputValue }) + .id('inputComponent') + .margin(10) + .border({ width: 1 }) + .height('48vp') + .caretColor(this.caretColor) + .selectedBackgroundColor(this.selectedBackgroundColor) + .copyOption(CopyOptions.LocalDevice) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor006_1.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor006_1.ets new file mode 100644 index 00000000..12c1bfae --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor006_1.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 UIComponentCreateColor006_1 { + controller: TextInputController = new TextInputController(); + @State inputValue: string = ""; + @State caretColor: ResourceColor = Color.Blue; + + build() { + Column() { + Row() { + Text('Normal') + TextInput({ controller: this.controller, text: this.inputValue }) + .id('UIComponentCreateColor0060') + .margin(5) + .border({ width: 1 }) + .height('35vp') + .caretColor(this.caretColor) + .copyOption(CopyOptions.LocalDevice) + .type(InputType.Normal) + } + + Row() { + Text('Password') + TextInput({ controller: this.controller, text: this.inputValue }) + .id('UIComponentCreateColor0061') + .margin(5) + .border({ width: 1 }) + .height('35vp') + .caretColor(this.caretColor) + .copyOption(CopyOptions.LocalDevice) + .type(InputType.Password) + } + + Row() { + Text('Email') + TextInput({ controller: this.controller, text: this.inputValue }) + .id('UIComponentCreateColor0062') + .margin(5) + .border({ width: 1 }) + .height('35vp') + .caretColor(this.caretColor) + .copyOption(CopyOptions.LocalDevice) + .type(InputType.Email) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor006_2.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor006_2.ets new file mode 100644 index 00000000..cf02e28b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor006_2.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 UIComponentCreateColor006_2 { + controller: TextInputController = new TextInputController(); + @State inputValue: string = ""; + @State caretColor: ResourceColor = Color.Blue; + + build() { + Column() { + Button('Set caretColor to red') + .id('redCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = Color.Red; + }) + + Row() { + Text('Number') + TextInput({ controller: this.controller, text: this.inputValue }) + .id('UIComponentCreateColor0063') + .margin(5) + .border({ width: 1 }) + .height('35vp') + .caretColor(this.caretColor) + .copyOption(CopyOptions.LocalDevice) + .type(InputType.Number) + } + + Row() { + Text('PhoneNumber') + TextInput({ controller: this.controller, text: this.inputValue }) + .id('UIComponentCreateColor0064') + .margin(5) + .border({ width: 1 }) + .height('35vp') + .caretColor(this.caretColor) + .copyOption(CopyOptions.LocalDevice) + .type(InputType.PhoneNumber) + } + + Row() { + Text('USER_NAME') + TextInput({ controller: this.controller, text: this.inputValue }) + .id('UIComponentCreateColor0065') + .margin(5) + .border({ width: 1 }) + .height('35vp') + .caretColor(this.caretColor) + .copyOption(CopyOptions.LocalDevice) + .type(InputType.USER_NAME) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor006_3.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor006_3.ets new file mode 100644 index 00000000..fafc203f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor006_3.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. + */ + +@Entry +@Component +struct UIComponentCreateColor006_3 { + controller: TextInputController = new TextInputController(); + @State inputValue: string = ""; + @State caretColor: ResourceColor = Color.Blue; + + build() { + Column() { + Button('Set caretColor to green') + .id('greenCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = Color.Green; + }) + + Row() { + Text('NEW_PASSWORD') + TextInput({ controller: this.controller, text: this.inputValue }) + .id('UIComponentCreateColor0066') + .margin(5) + .border({ width: 1 }) + .height('35vp') + .caretColor(this.caretColor) + .copyOption(CopyOptions.LocalDevice) + .type(InputType.NEW_PASSWORD) + } + + Row() { + Text('NUMBER_PASSWORD') + TextInput({ controller: this.controller, text: this.inputValue }) + .id('UIComponentCreateColor0067') + .margin(5) + .border({ width: 1 }) + .height('35vp') + .caretColor(this.caretColor) + .copyOption(CopyOptions.LocalDevice) + .type(InputType.NUMBER_PASSWORD) + } + + Row() { + Text('NUMBER_DECIMAL') + TextInput({ controller: this.controller, text: this.inputValue }) + .id('UIComponentCreateColor0068') + .margin(5) + .border({ width: 1 }) + .height('35vp') + .caretColor(this.caretColor) + .copyOption(CopyOptions.LocalDevice) + .type(InputType.NUMBER_DECIMAL) + } + + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor007.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor007.ets new file mode 100644 index 00000000..6b00a34f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor007.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 UIComponentCreateColor007 { + controller: TextInputController = new TextInputController(); + @State inputValue: string = ""; + @State caretColor: ResourceColor = Color.Blue; + + build() { + Column() { + Button('Change the caret color to red') + .id('redCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = Color.Red; + }) + + Button('Change the caret color to green') + .id('greenCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = Color.Green; + }) + + TextInput({ controller: this.controller, text: this.inputValue }) + .id('inputComponent') + .margin(10) + .border({ width: 1 }) + .height('48vp') + .style(TextContentStyle.INLINE) + .caretColor(this.caretColor) + .copyOption(CopyOptions.LocalDevice) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor008.ets new file mode 100644 index 00000000..dbd9e114 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor008.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 UIComponentCreateColor008 { + controller: TextAreaController = new TextAreaController(); + @State inputValue: string = ""; + @State caretColor: ResourceColor = Color.Blue; + + build() { + Column() { + Button('Change the caret color to red') + .id('redCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = Color.Red; + }) + + Button('Change the caret color to green') + .id('greenCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = Color.Green; + }) + + TextArea({ controller: this.controller, text: this.inputValue}) + .id('textAreaComponent') + .caretColor(this.caretColor) + .height(200) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor009.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor009.ets new file mode 100644 index 00000000..4564984b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor009.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 UIComponentCreateColor009 { + controller: TextAreaController = new TextAreaController(); + @State inputValue: string = ""; + @State caretColor: ResourceColor = Color.Blue; + @State opacityNumber: number = 1; + + build() { + Column() { + Button('caretColor') + .id('caretColor') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = " rgba(255,0,0,0.5)"; + }) + + Button('opacity') + .id('opacity') + .margin({ bottom: 20 }) + .onClick(() => { + this.opacityNumber = 0.2; + }) + + TextArea({ controller: this.controller, text: this.inputValue}) + .id('textAreaComponent') + .caretColor(this.caretColor) + .height(200) + .opacity(this.opacityNumber) + .copyOption(CopyOptions.LocalDevice) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor011.ets new file mode 100644 index 00000000..67450e6f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor011.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 UIComponentCreateColor011 { + controller: TextAreaController = new TextAreaController(); + @State inputValue: string = ""; + @State caretColor: ResourceColor = Color.Blue; + @State opacityNumber: number = 1; + + build() { + Column() { + Button('Change the caret color to red') + .id('redCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = Color.Red; + }) + + Button('Change the caret color to green') + .id('greenCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = Color.Green; + }) + + TextArea({ controller: this.controller, text: this.inputValue }) + .id('textAreaComponent') + .caretColor(this.caretColor) + .height(200) + .opacity(this.opacityNumber) + .copyOption(CopyOptions.LocalDevice) + .style(TextContentStyle.INLINE) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0120.ets new file mode 100644 index 00000000..77d0abf8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0120.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 UIComponentCreateColor0120 { + controller: TextAreaController = new TextAreaController(); + @State inputValue: string = "123333445454545451212"; + @State typeNormal: TextAreaType = TextAreaType.NORMAL; + + build() { + Column() { + TextArea({ controller: this.controller, text: this.inputValue }) + .id('textAreaComponent') + .type(this.typeNormal) + .width('50%') + .height(50) + .margin(2) + Button('切换输入框类型为email') + .id('changeButton1') + .margin(2) + .onClick(() => { + this.typeNormal = TextAreaType.EMAIL; + }) + Button('切换输入框类型为NUMBER') + .id('changeButton2') + .margin(2) + .onClick(() => { + this.typeNormal = TextAreaType.NUMBER; + }) + Button('切换输入框类型为PHONE_NUMBER') + .id('changeButton3') + .margin(2) + .onClick(() => { + this.typeNormal = TextAreaType.PHONE_NUMBER; + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0130.ets new file mode 100644 index 00000000..98116839 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0130.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 UIComponentCreateColor0130 { + controller: SearchController = new SearchController(); + @State inputValue: string = ""; + @State caretColor: ResourceColor = Color.Blue; + + build() { + Column() { + Button('Change the caret color to red') + .id('redCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = Color.Red; + }) + + Button('Change the caret color to green') + .id('greenCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = Color.Green; + }) + + Search({ controller: this.controller, value: this.inputValue }) + .id('searchComponent') + .caretStyle({ + width: '1.5vp', + color: this.caretColor + }) + .height(200) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0140.ets new file mode 100644 index 00000000..8ef19d38 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0140.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 UIComponentCreateColor0140 { + controller: SearchController = new SearchController(); + @State inputValue: string = ""; + @State caretColor: ResourceColor = Color.Blue; + + build() { + Column() { + Button('Change the caret color to red') + .id('redCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = Color.Red; + }) + + Button('Change the caret color to green') + .id('greenCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = Color.Green; + }) + Button('setTextSelection') + .id('setTextSelection') + .margin({ bottom: 20 }) + .onClick(() => { + this.controller.setTextSelection(0, 5); + }) + + Search({ controller: this.controller, value: this.inputValue }) + .id('searchComponent') + .caretStyle({ + width: '1.5vp', + color: this.caretColor + }) + .height(200) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0150.ets new file mode 100644 index 00000000..51f0a64b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0150.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 UIComponentCreateColor0150 { + controller: SearchController = new SearchController(); + @State inputValue: string = ""; + @State caretColor: ResourceColor = Color.Blue; + + build() { + Column() { + Button('Change the caret color to rgba(255,0,0,0.5)') + .id('btnCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = 'rgba(255,0,0,0.5)'; + }) + Search({ controller: this.controller, value: this.inputValue }) + .id('searchComponent') + .caretStyle({ + width: '1.5vp', + color: this.caretColor + }) + .opacity(0.2) + .height(200) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0160.ets new file mode 100644 index 00000000..234ae91c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0160.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 UIComponentCreateColor0160 { + controller: SearchController = new SearchController(); + @State inputValue: string = "123333445454545451212"; + @State typeNormal: SearchType = SearchType.NORMAL; + + build() { + Column() { + Search({ controller: this.controller, value: this.inputValue }) + .id('textAreaComponent') + .type(this.typeNormal) + .width('50%') + .height(50) + .margin(2) + Button('切换输入框类型为email') + .id('changeButton1') + .margin(2) + .onClick(() => { + this.typeNormal = SearchType.EMAIL; + }) + Button('切换输入框类型为NUMBER') + .id('changeButton2') + .margin(2) + .onClick(() => { + this.typeNormal = SearchType.NUMBER; + }) + Button('切换输入框类型为PHONE_NUMBER') + .id('changeButton3') + .margin(2) + .onClick(() => { + this.typeNormal = SearchType.PHONE_NUMBER; + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0170.ets new file mode 100644 index 00000000..6f5e9c45 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0170.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 UIComponentCreateColor0170 { + controller: SearchController = new SearchController(); + @State inputValue: string = ""; + @State caretColor: ResourceColor = Color.Blue; + + build() { + Column() { + Button('Change the caret color to red') + .id('redCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = Color.Red; + }) + + Button('Change the caret color to green') + .id('greenCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = Color.Green; + }) + + Search({ controller: this.controller, value: this.inputValue }) + .id('searchComponent') + .caretStyle({ + width: '1.5vp', + color: this.caretColor + }) + .height(200) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0180.ets new file mode 100644 index 00000000..f69004fa --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0180.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 UIComponentCreateColor0180 { + controller: SearchController = new SearchController(); + @State inputValue: string = ''; + @State caretColor: ResourceColor = Color.Blue; + + build() { + Column() { + Button('Change the caret color to red') + .id('redCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = Color.Red; + }) + + Button('Change the caret color to green') + .id('greenCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = Color.Green; + }) + + Search({ controller: this.controller, value: this.inputValue }) + .id('searchComponent') + .caretStyle({ + width: '5vp', + color: this.caretColor + }) + .height(200) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0200.ets new file mode 100644 index 00000000..b5c72f22 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0200.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 UIComponentCreateColor0200 { + controller: TextAreaController = new TextAreaController(); + @State inputValue: string = ""; + @State caretColor: ResourceColor = Color.Blue; + + build() { + Column() { + Button('Change the caret color to red') + .id('redCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = Color.Red; + }) + + Button('Change the caret color to green') + .id('greenCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = Color.Green; + }) + + TextArea({ controller: this.controller, text: this.inputValue }) + .id('textAreaComponent') + .caretStyle({ + width: '1.5vp', + color: this.caretColor + }) + .selectedBackgroundColor(this.caretColor) + .height(200) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0210.ets new file mode 100644 index 00000000..746dc4e9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentCreateColor/UIComponentCreateColor0210.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 UIComponentCreateColor0210 { + controller: SearchController = new SearchController(); + @State inputValue: string = ""; + @State caretColor: ResourceColor = Color.Blue; + + build() { + Column() { + Button('Change the caret color to red') + .id('redCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = Color.Red; + }) + + Button('Change the caret color to green') + .id('greenCaret') + .margin({ bottom: 20 }) + .onClick(() => { + this.caretColor = Color.Green; + }) + + Search({ controller: this.controller, value: this.inputValue }) + .id('searchComponent') + .caretStyle({ + width: '1.5vp', + color: this.caretColor + }) + .selectedBackgroundColor(this.caretColor) + .height(200) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0010.ets new file mode 100644 index 00000000..bfe0d4b4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0010.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 { KeyboardAvoidMode } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentInputKeyboardAvoidMode0010 { + onPageShow(): void { + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.OFFSET_WITH_CARET / KeyboardAvoidMode.RESIZE_WITH_CARET); + } + + build() { + Column() { + TextInput() + .width('20%') + .margin({ + top:500 + }) + TextArea() + .width('20%') + .id('UIComponentInputKeyboardAvoidMode0010_001') + } + .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/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0020.ets new file mode 100644 index 00000000..1382762a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0020.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 { KeyboardAvoidMode } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentInputKeyboardAvoidMode0020 { + onPageShow(): void { + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.OFFSET_WITH_CARET / KeyboardAvoidMode.RESIZE_WITH_CARET); + } + + build() { + Column() { + TextInput() + .width('20%') + .style(TextInputStyle.Inline) + .margin({ + top:500 + }) + TextArea() + .width('20%') + .style(TextContentStyle.INLINE) + .id('UIComponentInputKeyboardAvoidMode0020_001') + } + .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/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0030.ets new file mode 100644 index 00000000..de81dab5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0030.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 { KeyboardAvoidMode } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentInputKeyboardAvoidMode0030 { + @State inputMode: TextInputStyle = TextInputStyle.Inline; + @State areaMode: TextContentStyle = TextContentStyle.INLINE; + + onPageShow(): void { + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.OFFSET_WITH_CARET / KeyboardAvoidMode.RESIZE_WITH_CARET); + } + + build() { + Column() { + Button('切换') + .id('UIComponentInputKeyboardAvoidMode0030_002') + .onClick(() => { + this.inputMode = this.inputMode == TextInputStyle.Inline ? TextInputStyle.Default : TextInputStyle.Inline; + this.areaMode = this.areaMode == TextContentStyle.INLINE ? TextContentStyle.DEFAULT : TextContentStyle.INLINE; + }) + .margin({ + top: 500 + }) + TextInput() + .width('20%') + .style(this.inputMode) + TextArea() + .width('20%') + .style(this.areaMode) + .id('UIComponentInputKeyboardAvoidMode0030_001') + } + .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/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0040.ets new file mode 100644 index 00000000..f6f833b4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0040.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. + */ +import { KeyboardAvoidMode } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentInputKeyboardAvoidMode0040 { + controller: TextInputController = new TextInputController() + + onPageShow(): void { + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.OFFSET_WITH_CARET / KeyboardAvoidMode.RESIZE_WITH_CARET); + } + + build() { + Column() { + Button('button') + .id('UIComponentInputKeyboardAvoidMode0040_002') + .onClick(() => { + this.controller.caretPosition(1); + }) + .margin({ + top: 500 + }) + TextInput({ text: 'text', controller: this.controller }) + .id('UIComponentInputKeyboardAvoidMode0040_001') + .width('20%') + TextArea() + .width('20%') + Search() + } + .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/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0050.ets new file mode 100644 index 00000000..5fada81f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0050.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. + */ +import { KeyboardAvoidMode } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentInputKeyboardAvoidMode0050 { + @State sizeText: number = 15; + onPageShow(): void { + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.OFFSET_WITH_CARET / KeyboardAvoidMode.RESIZE_WITH_CARET); + } + + build() { + Column() { + Button('button') + .id('UIComponentInputKeyboardAvoidMode0050_002') + .onClick(()=>{ + this.sizeText = 30; + }) + .margin({ + top:500 + }) + TextInput() + .width('20%') + TextArea({text: '这是一段测试中文断行的文字'}) + .width('20%') + .id('UIComponentInputKeyboardAvoidMode0050_001') + .fontSize(this.sizeText) + Search() + } + .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/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0060.ets new file mode 100644 index 00000000..d426f0d5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0060.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 { KeyboardAvoidMode } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentInputKeyboardAvoidMode0060 { + @State letterSpacing: number = 0; + + onPageShow(): void { + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.OFFSET_WITH_CARET / KeyboardAvoidMode.RESIZE_WITH_CARET); + } + + build() { + Column() { + Button('button') + .id('UIComponentInputKeyboardAvoidMode0060_002') + .onClick(() => { + this.letterSpacing = 25; + }) + .margin({ + top: 500 + }) + TextInput() + .width('20%') + TextArea({ text: '这是一段测试中文断行的文字' }) + .width('20%') + .id('UIComponentInputKeyboardAvoidMode0060_001') + .letterSpacing(this.letterSpacing) + Search() + } + .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/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0070.ets new file mode 100644 index 00000000..f4eec967 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0070.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 { KeyboardAvoidMode } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentInputKeyboardAvoidMode0070 { + @State inputWidth: number = 200; + onPageShow(): void { + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.OFFSET_WITH_CARET / KeyboardAvoidMode.RESIZE_WITH_CARET); + } + + build() { + Column() { + Button('button') + .id('UIComponentInputKeyboardAvoidMode0070_002') + .onClick(()=>{ + this.inputWidth = 100; + }) + .margin({ + top:500 + }) + TextInput() + .width('20%') + TextArea({text: '这是一段测试中文断行的文字'}) + .width(this.inputWidth) + .id('UIComponentInputKeyboardAvoidMode0070_001') + Search() + } + .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/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0080.ets new file mode 100644 index 00000000..3c0288b6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0080.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 { KeyboardAvoidMode } from '@kit.ArkUI'; +import TestAbility from '../../TestAbility'; + +@Entry +@Component +struct UIComponentInputKeyboardAvoidMode0080 { + @State alignment: TextAlign = TextAlign.Center; + + onPageShow(): void { + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.OFFSET_WITH_CARET / KeyboardAvoidMode.RESIZE_WITH_CARET); + } + + build() { + Column() { + Button('button') + .id('UIComponentInputKeyboardAvoidMode0080_002') + .onClick(() => { + this.alignment = TextAlign.End; + }) + .margin({ + top: 500 + }) + TextInput() + .width('20%') + TextArea({ text: '测试文字' }) + .width('40%') + .id('UIComponentInputKeyboardAvoidMode0080_001') + .textAlign(this.alignment) + Search() + } + .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/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0090.ets new file mode 100644 index 00000000..2e845e0f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0090.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 { KeyboardAvoidMode } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentInputKeyboardAvoidMode0090 { + onPageShow(): void { + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.OFFSET_WITH_CARET / KeyboardAvoidMode.RESIZE_WITH_CARET); + } + + build() { + Column() { + Scroll(){ + TextArea() + .width('20%') + .id('UIComponentInputKeyboardAvoidMode0090_001') + } + .margin({ + top:500 + }) + } + .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/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0100.ets new file mode 100644 index 00000000..3b4e8e0c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0100.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 { KeyboardAvoidMode } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentInputKeyboardAvoidMode0100 { + onPageShow(): void { + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.OFFSET_WITH_CARET); + } + + build() { + Column() { + Button() + .id('UIComponentInputKeyboardAvoidMode0100_002') + .onClick(() => { + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.RESIZE_WITH_CARET); + }) + .margin({ + top: 500 + }) + TextInput() + .width('20%') + TextArea({ text: '这是一段测试中文断行的文字' }) + .width('40%') + .id('UIComponentInputKeyboardAvoidMode0100_001') + Search() + } + .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/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0110.ets new file mode 100644 index 00000000..77fe8ff7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0110.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 { KeyboardAvoidMode } from '@kit.ArkUI'; +import TestAbility from '../../TestAbility'; + +@Entry +@Component +struct UIComponentInputKeyboardAvoidMode0110 { + @State alignment: TextAlign = TextAlign.Center; + + onPageShow(): void { + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.OFFSET_WITH_CARET / KeyboardAvoidMode.RESIZE_WITH_CARET); + } + + build() { + Column() { + TextInput() + .margin({ + top: 500 + }) + .width('20%') + TextArea({ text: '这是一段测试中文断行的文字' }) + .width('40%') + .id('UIComponentInputKeyboardAvoidMode0110_001') + .textAlign(this.alignment) + Search() + } + .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/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0120.ets new file mode 100644 index 00000000..abb03524 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0120.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 { KeyboardAvoidMode } from '@kit.ArkUI'; +import TestAbility from '../../TestAbility'; + +@Entry +@Component +struct UIComponentInputKeyboardAvoidMode0120 { + + onPageShow(): void { + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.OFFSET_WITH_CARET / KeyboardAvoidMode.RESIZE_WITH_CARET); + } + + build() { + Column() { + TextInput() + .id('UIComponentInputKeyboardAvoidMode0120_002') + .width('30%') + .height('30%') + .draggable(true) + .margin({ + top: 200 + }) + TextArea({ text: '这是一段测试中文断行的文字' }) + .width('20%') + .id('UIComponentInputKeyboardAvoidMode0120_001') + .draggable(true) + Search() + } + .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/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0130.ets new file mode 100644 index 00000000..8df2dfc8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0130.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 { KeyboardAvoidMode } from '@kit.ArkUI'; +import TestAbility from '../../TestAbility'; + +@Entry +@Component +struct UIComponentInputKeyboardAvoidMode0130 { + @State alignment: TextAlign = TextAlign.Center; + + onPageShow(): void { + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.OFFSET_WITH_CARET / KeyboardAvoidMode.RESIZE_WITH_CARET); + } + + build() { + Column() { + TextInput() + .margin({ + top: 500 + }) + .width('20%') + TextArea({ text: '这是一段测试中文断行的文字,这是一段测试中文断行的文字' }) + .width('20%') + .height(75) + .id('UIComponentInputKeyboardAvoidMode0130_001') + .textAlign(this.alignment) + Search() + } + .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/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0150.ets new file mode 100644 index 00000000..9a5660ef --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0150.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 { KeyboardAvoidMode } from '@kit.ArkUI'; +import TestAbility from '../../TestAbility'; + +@Entry +@Component +struct UIComponentInputKeyboardAvoidMode0150 { + @State alignment: TextAlign = TextAlign.Center; + + onPageShow(): void { + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.OFFSET_WITH_CARET / KeyboardAvoidMode.RESIZE_WITH_CARET); + } + + build() { + Column() { + TextInput() + .margin({ + top: 500 + }) + .width('20%') + TextArea({ text: '这是一段测试中文断行的文字,这是一段测试中文断行的文字' }) + .width('20%') + .height(75) + .id('UIComponentInputKeyboardAvoidMode0150_001') + .textAlign(this.alignment) + Search() + } + .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/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0430.ets new file mode 100644 index 00000000..eaf43b5c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0430.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 UIComponentScrollSwiperInterfacemix0430 { + @State oneTextInputColor: Color = Color.Gray; + + build() { + Row() { + Column() { + TextInput({ placeholder: 'enter your password...' }) + .type(InputType.Password) + .id('TextInput0430') + .width(350) + .height(80) + .passwordIcon({ onIconSrc: "offIcon.png", offIconSrc: "onIcon.png" }) + .backgroundColor(this.oneTextInputColor) + .defaultFocus(true) + .onFocus(() => { + this.oneTextInputColor = Color.Green; + }) + .onBlur(() => { + this.oneTextInputColor = Color.Gray; + }) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0440.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0440.ets new file mode 100644 index 00000000..779b6e44 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0440.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 UIComponentScrollSwiperInterfacemix0440 { + @State TextInputColor: Color = Color.Gray; + + build() { + Row() { + Column() { + TextInput({ placeholder: 'enter your password...' }) + .type(InputType.NUMBER_PASSWORD) + .id('TextInput0440') + .width(350) + .height(80) + .passwordIcon({ onIconSrc: "offIcon.png", offIconSrc: "onIcon.png" }) + .backgroundColor(this.TextInputColor) + .defaultFocus(true) + .onFocus(() => { + this.TextInputColor = Color.Green; + }) + .onBlur(() => { + this.TextInputColor = Color.Gray; + }) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0450.ets new file mode 100644 index 00000000..354326c2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0450.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 { uiAppearance } from '@kit.ArkUI' + + +@Entry +@Component +struct UIComponentScrollSwiperInterfacemix0450 { + @State TextInputColor: Color = Color.Gray; + + build() { + Row() { + Column() { + TextInput({ placeholder: 'enter your password...' }) + .type(InputType.SCREEN_LOCK_PASSWORD) + .id('TextInput0450') + .width(350) + .height(80) + .passwordIcon({ onIconSrc: "offIcon.png", offIconSrc: "onIcon.png" }) + .backgroundColor(this.TextInputColor) + .defaultFocus(true) + .onFocus(() => { + this.TextInputColor = Color.Green; + }) + .onBlur(() => { + this.TextInputColor = Color.Gray; + }) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0460.ets new file mode 100644 index 00000000..e8a43c33 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0460.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 UIComponentScrollSwiperInterfacemix0460 { + @State TextInputColor: Color = Color.Gray; + + build() { + Row() { + Column() { + TextInput({ placeholder: 'enter your password...' }) + .type(InputType.NEW_PASSWORD) + .id('TextInput0460') + .width(350) + .height(80) + .passwordIcon({ onIconSrc: "offIcon.png", offIconSrc: "onIcon.png" }) + .backgroundColor(this.TextInputColor) + .defaultFocus(true) + .onFocus(() => { + this.TextInputColor = Color.Green; + }) + .onBlur(() => { + this.TextInputColor = Color.Gray; + }) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0470.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0470.ets new file mode 100644 index 00000000..7bf6863c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0470.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 UIComponentScrollSwiperInterfacemix0470 { + @State TextInputColor: Color = Color.Gray; + + build() { + Row() { + Column() { + TextInput({ placeholder: 'enter your password...' }) + .id('TextInput0470') + .cancelButton({ + style: CancelButtonStyle.CONSTANT, + icon: { + size: 45, + src: "offIcon.png", + color: Color.Blue + } + }) + .width(350) + .height(80) + .passwordIcon({ onIconSrc: "offIcon.png", offIconSrc: "onIcon.png" }) + .backgroundColor(this.TextInputColor) + .defaultFocus(true) + .onFocus(() => { + this.TextInputColor = Color.Green; + }) + .onBlur(() => { + this.TextInputColor = Color.Gray; + }) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0890.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0890.ets new file mode 100644 index 00000000..e8d17b99 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0890.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 UIComponentScrollSwiperInterfacemix0890 { + + build() { + Row() { + Column() { + TextInput() + .id('TextInput0890') + .width(500) + .cancelButton({ + style: CancelButtonStyle.CONSTANT + }) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1120.ets new file mode 100644 index 00000000..4bcb11b7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1120.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 UIComponentScrollSwiperInterfacemix1120 { + @State message: string = + '12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890' + + build() { + Row() { + Column() { + TextInput({ text: this.message }) + .width(380) + .height(300) + .id('textinput1120') + .maxLength(110) + .showCounter(true, { thresholdPercentage: 100, highlightBorder: true }) + .defaultFocus(true) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1140.ets new file mode 100644 index 00000000..fb6e3461 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1140.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 UIComponentScrollSwiperInterfacemix1140 { + + build() { + Row() { + Column() { + TextInput({ placeholder: 'enter your password...' }) + .id('TextInput1140') + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1150.ets new file mode 100644 index 00000000..7f63de0c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1150.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 UIComponentScrollSwiperInterfacemix1150 { + @State TextInputColor: Color = Color.Gray; + + build() { + Row() { + Column() { + TextInput() + .width(380) + .height(60) + .id('TextInput1150') + .defaultFocus(true) + .backgroundColor(this.TextInputColor) + .onFocus(() => { + this.TextInputColor = Color.Green; + }) + .onBlur(() => { + this.TextInputColor = Color.Gray; + }) + .cancelButton({ + style: CancelButtonStyle.CONSTANT, + icon: { + size: 45, + src: "icon.png", + color: Color.Blue + } + }) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1160.ets new file mode 100644 index 00000000..b3c5ba2e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1160.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 UIComponentScrollSwiperInterfacemix1160 { + @State TextInputColor: Color = Color.Gray; + + build() { + Row() { + Column() { + TextInput() + .width(380) + .height(60) + .id('TextInput1160') + .defaultFocus(false) + .backgroundColor(this.TextInputColor) + .focusable(false) + .onFocus(() => { + this.TextInputColor = Color.Green; + }) + .onBlur(() => { + this.TextInputColor = Color.Gray; + }) + .cancelButton({ + style: CancelButtonStyle.CONSTANT, + icon: { + size: 45, + src: "icon.png", + color: Color.Blue + } + }) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1170.ets new file mode 100644 index 00000000..c8556515 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1170.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 UIComponentScrollSwiperInterfacemix1170 { + @State message: string = 'Hello' + + build() { + Row() { + Column() { + TextInput({ text: 'hello word drow olleh' }) + .type(InputType.Normal) + .width(380) + .height(60) + .inputFilter('hello word') + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1180.ets new file mode 100644 index 00000000..1776d70a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1180.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 { uiAppearance } from '@kit.ArkUI' + + +@Entry +@Component +struct UIComponentScrollSwiperInterfacemix1180 { + @State message: string = 'Hello' + + build() { + Row() { + Column() { + TextInput({ text: 'hello word drow olleh' }) + .type(InputType.Normal) + .width(380) + .height(60) + .inputFilter('hello') + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1190.ets new file mode 100644 index 00000000..7a9b38df --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1190.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 UIComponentScrollSwiperInterfacemix1190 { + @State message: string = 'Hello' + + build() { + Row() { + Column() { + TextInput({ text: 'hello word 大家好 大家 drow olleh' }) + .type(InputType.Normal) + .width(380) + .height(60) + .inputFilter('大家好') + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1200.ets new file mode 100644 index 00000000..ecfa5ae0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1200.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 UIComponentScrollSwiperInterfacemix1200 { + @State message: string = 'Hello' + + build() { + Row() { + Column() { + TextInput({ text: '大家好 大家好 你好' }) + .type(InputType.Normal) + .width(380) + .height(60) + .inputFilter('大家好') + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1220.ets new file mode 100644 index 00000000..7a5fa08a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1220.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 UIComponentScrollSwiperInterfacemix1220 { + @State message: string = 'Hello' + + build() { + Row() { + Column() { + TextInput({ text: '大家好_hello, 大家 drow olleh' }) + .type(InputType.Normal) + .width(380) + .height(60) + .inputFilter('大家好_hello') + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0010.ets new file mode 100644 index 00000000..25a9c689 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0010.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 UIComponentTextAttribute0010 { + build() { + Column() { + TextInput({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.' + }) + .style(TextInputStyle.Inline) + .maxLines(2) + .textOverflow(TextOverflow.None) + .width('100%') + .id('UIComponentTextAttribute0010') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0020.ets new file mode 100644 index 00000000..5edb4a0e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0020.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 UIComponentTextAttribute0020 { + build() { + Column() { + TextInput({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.' + }) + .style(TextInputStyle.Inline) + .maxLines(2) + .textOverflow(TextOverflow.Clip) + .width('100%') + .id('UIComponentTextAttribute0020') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0030.ets new file mode 100644 index 00000000..b15403b1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0030.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 UIComponentTextAttribute0030 { + build() { + Column() { + TextInput({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.' + }) + .style(TextInputStyle.Inline) + .maxLines(2) + .textOverflow(TextOverflow.Ellipsis) + .width('100%') + .id('UIComponentTextAttribute0030') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0040.ets new file mode 100644 index 00000000..fb12537f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0040.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 UIComponentTextAttribute0040 { + build() { + Column() { + TextInput({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.' + }) + .style(TextInputStyle.Inline) + .maxLines(2) + .textOverflow(TextOverflow.MARQUEE) + .width('100%') + .id('UIComponentTextAttribute0040') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0050.ets new file mode 100644 index 00000000..107b486c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0050.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 UIComponentTextAttribute0050 { + build() { + Column() { + TextInput({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.' + }) + .style(TextInputStyle.Inline) + .maxLines(2) + .textOverflow(undefined) + .width('100%') + .id('UIComponentTextAttribute0050') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0060.ets new file mode 100644 index 00000000..0db88cdc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0060.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 UIComponentTextAttribute0060 { + build() { + Column() { + TextInput({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.' + }) + .style(TextInputStyle.Inline) + .maxLines(2) + .textOverflow(null) + .width('100%') + .id('UIComponentTextAttribute0060') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0080.ets new file mode 100644 index 00000000..9336460e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0080.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. + */ + +@Entry +@Component +struct UIComponentTextAttribute0080 { + @State overFlow : TextOverflow = TextOverflow.None; + build() { + Column() { + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Clip; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Ellipsis; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.MARQUEE; + }) + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.None; + }) + TextInput({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.' + }) + .style(TextInputStyle.Inline) + .maxLines(2) + .textOverflow(this.overFlow) + .width('100%') + .id('UIComponentTextAttribute0080') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0090.ets new file mode 100644 index 00000000..8d5fff0b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0090.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. + */ + +@Entry +@Component +struct UIComponentTextAttribute0090 { + @State overFlow : TextOverflow = TextOverflow.None; + build() { + Column() { + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Clip; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Ellipsis; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.MARQUEE; + }) + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.None; + }) + TextInput({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.' + }) + .style(TextInputStyle.Default) + .maxLines(2) + .textOverflow(this.overFlow) + .width('100%') + .id('UIComponentTextAttribute0090') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0100.ets new file mode 100644 index 00000000..9f16d39e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0100.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. + */ + +@Entry +@Component +struct UIComponentTextAttribute0100 { + @State overFlow : TextOverflow = TextOverflow.None; + build() { + Column() { + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Clip; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Ellipsis; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.MARQUEE; + }) + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.None; + }) + TextInput({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.' + }) + .style(TextInputStyle.Inline) + .maxLines(2) + .wordBreak(WordBreak.NORMAL) + .textOverflow(this.overFlow) + .id('UIComponentTextAttribute0100') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0110.ets new file mode 100644 index 00000000..16c0e07e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0110.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. + */ + +@Entry +@Component +struct UIComponentTextAttribute0110 { + @State overFlow : TextOverflow = TextOverflow.None; + build() { + Column() { + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Clip; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Ellipsis; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.MARQUEE; + }) + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.None; + }) + TextInput({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.' + }) + .style(TextInputStyle.Default) + .maxLines(2) + .wordBreak(WordBreak.BREAK_ALL) + .textOverflow(this.overFlow) + .id('UIComponentTextAttribute0110') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0120.ets new file mode 100644 index 00000000..9a3058e0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0120.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. + */ + +@Entry +@Component +struct UIComponentTextAttribute0120 { + @State overFlow : TextOverflow = TextOverflow.None; + build() { + Column() { + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Clip; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Ellipsis; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.MARQUEE; + }) + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.None; + }) + TextInput({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.' + }) + .style(TextInputStyle.Inline) + .maxLines(2) + .wordBreak(WordBreak.BREAK_WORD) + .textOverflow(this.overFlow) + .id('UIComponentTextAttribute0120') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0130.ets new file mode 100644 index 00000000..a5dab207 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0130.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. + */ + +@Entry +@Component +struct UIComponentTextAttribute0130 { + @State overFlow : TextOverflow = TextOverflow.None; + @State type : InputType = InputType.Normal; + build() { + Column() { + Button('tp1') + .id('tp1') + .width(100) + .height(60) + .onClick(()=>{ + this.type = InputType.Number; + }) + Button('tp2') + .id('tp2') + .width(100) + .height(60) + .onClick(()=>{ + this.type = InputType.NUMBER_DECIMAL; + }) + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Clip; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Ellipsis; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.MARQUEE; + }) + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.None; + }) + TextInput({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.' + }) + .type(this.type) + .maxLines(2) + .wordBreak(WordBreak.BREAK_WORD) + .textOverflow(this.overFlow) + .id('UIComponentTextAttribute0130') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0140.ets new file mode 100644 index 00000000..c9ecd188 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0140.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. + */ + +@Entry +@Component +struct UIComponentTextAttribute0140 { + @State overFlow : TextOverflow = TextOverflow.None; + build() { + Column() { + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Clip; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.None + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.MARQUEE; + }) + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Ellipsis; + }) + TextInput({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.' + }) + .style(TextInputStyle.Inline) + .maxLines(2) + .textOverflow(this.overFlow) + .id('UIComponentTextAttribute0140') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0150.ets new file mode 100644 index 00000000..c12dd303 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0150.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 UIComponentTextAttribute0150 { + @State overFlow : TextOverflow = TextOverflow.None; + build() { + Column() { + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Clip; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.None + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.MARQUEE; + }) + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Ellipsis; + }) + TextInput({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu' + }) + .style(TextInputStyle.Inline) + .textOverflow(this.overFlow) + .id('UIComponentTextAttribute0150') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0160.ets new file mode 100644 index 00000000..c21c328b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0160.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 UIComponentTextAttribute0160 { + @State overFlow : TextOverflow = TextOverflow.None; + build() { + Column() { + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Clip; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.None + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.MARQUEE; + }) + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Ellipsis; + }) + TextInput({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.koauauotamateaturipukakapikimaungahoronukupo' + }) + .style(TextInputStyle.Inline) + .textOverflow(this.overFlow) + .id('UIComponentTextAttribute0160') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0170.ets new file mode 100644 index 00000000..f3ad0254 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0170.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. + */ + +@Entry +@Component +struct UIComponentTextAttribute0170 { + @State overFlow : TextOverflow = TextOverflow.None; + build() { + Column() { + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Clip; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.None + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.MARQUEE; + }) + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Ellipsis; + }) + TextInput({ + placeholder: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.akoauauotamateaturipukakapikimaungahoronukupokaiwhenuaki' + }) + .style(TextInputStyle.Inline) + .maxLines(2) + .textOverflow(this.overFlow) + .id('UIComponentTextAttribute0170') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0180.ets new file mode 100644 index 00000000..e9c30b6a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0180.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 UIComponentTextAttribute0180 { + @State textIndent : Dimension = 0.1; + + build() { + Column() { + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = -10; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = 10; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = '15vp'; + }) + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = '15px'; + }) + Button('ch5') + .id('ch5') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = '50%'; + }) + TextInput({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.akoauauotamateaturipukakapikimaungahoronukupokaiwhenuaki' + }) + .textIndent(this.textIndent) + .id('UIComponentTextAttribute0180') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0190.ets new file mode 100644 index 00000000..fb0decff --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0190.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 UIComponentTextAttribute0190 { + @State textIndent : Dimension = 0.1; + + build() { + Column() { + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = -10; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = 10; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = '15vp'; + }) + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = '15px'; + }) + Button('ch5') + .id('ch5') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = '50%'; + }) + TextInput({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.akoauauotamateaturipukakapikimaungahoronukupokaiwhenuaki' + }) + .textIndent(this.textIndent) + .style(TextInputStyle.Inline) + .id('UIComponentTextAttribute0190') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0200.ets new file mode 100644 index 00000000..9ad11b0a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0200.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. + */ + +@Entry +@Component +struct UIComponentTextAttribute0200 { + @State textIndent: Dimension = 0.1; + @State type: InputType = InputType.Normal; + + build() { + Column() { + Row() { + Button('tp1') + .id('tp1') + .width(100) + .height(60) + .onClick(() => { + this.type = InputType.Number; + }) + Button('tp2') + .id('tp2') + .width(100) + .height(60) + .onClick(() => { + this.type = InputType.NUMBER_DECIMAL; + }) + }.width('100%') + + Row() { + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = -10; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = 10; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = '15vp'; + }) + }.width('100%') + + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = '15px'; + }) + Button('ch5') + .id('ch5') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = '50%'; + }) + TextInput({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.akoauauotamateaturipukakapikimaungahoronukupokaiwhenuaki' + }) + .type(this.type) + .textIndent(this.textIndent) + .style(TextInputStyle.Inline) + .id('UIComponentTextAttribute0200') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0210.ets new file mode 100644 index 00000000..ddcf3b72 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0210.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. + */ + +@Entry +@Component +struct UIComponentTextAttribute0210 { + @State textIndent: Dimension = 0.1; + @State type: InputType = InputType.Normal; + + build() { + Column() { + Row() { + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = -10; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = 10; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = '15vp'; + }) + }.width('100%') + + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = '15px'; + }) + Button('ch5') + .id('ch5') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = '50%'; + }) + TextInput({ + placeholder: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.akoauauotamateaturipukakapikimaungahoronukupokaiwhenuaki' + }) + .type(this.type) + .textIndent(this.textIndent) + .style(TextInputStyle.Inline) + .id('UIComponentTextAttribute0210') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0220.ets new file mode 100644 index 00000000..dab278d9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0220.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 UIComponentTextAttribute0220 { + @State textIndent: Dimension = 0.1; + @State type: InputType = InputType.Normal; + + build() { + Column() { + Row() { + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = -10; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = 10; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = '15vp'; + }) + }.width('100%') + + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = '15px'; + }) + Button('ch5') + .id('ch5') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = '50%'; + }) + TextInput({ + text: '' + }) + .type(this.type) + .padding({ top: 0, left: 5, bottom: 10}) + .textIndent(this.textIndent) + .style(TextInputStyle.Inline) + .id('UIComponentTextAttribute0220') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0230.ets new file mode 100644 index 00000000..17dac1ae --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0230.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. + */ + +@Entry +@Component +struct UIComponentTextAttribute0230 { + @State overFlow : TextOverflow = TextOverflow.None; + @State textWidth : number = 200; + build() { + Column() { + Row(){ + Button('addWidth') + .id('addWidth') + .width(100) + .height(60) + .onClick(()=>{ + this.textWidth = 300; + }) + Button('changeWidth') + .id('changeWidth') + .width(100) + .height(60) + .onClick(()=>{ + this.textWidth = 100; + }) + } + Row(){ + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Clip; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Ellipsis; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.MARQUEE; + }) + } + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.None; + }) + TextInput({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoau.' + }) + .style(TextInputStyle.Inline) + .maxLines(2) + .width(this.textWidth) + .textOverflow(this.overFlow) + .id('UIComponentTextAttribute0230') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0240.ets new file mode 100644 index 00000000..f6ec1774 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0240.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. + */ + +@Entry +@Component +struct UIComponentTextAttribute0240 { + @State overFlow : TextOverflow = TextOverflow.None; + @State letter : number = 10; + build() { + Column() { + Row(){ + Button('addWidth') + .id('addWidth') + .width(100) + .height(60) + .onClick(()=>{ + this.letter = 20; + }) + Button('changeWidth') + .id('changeWidth') + .width(100) + .height(60) + .onClick(()=>{ + this.letter = 5; + }) + } + Row(){ + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Clip; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Ellipsis; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.MARQUEE; + }) + } + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.None; + }) + TextInput({ + text: 'This is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text Taumatawhakatangihangakoau.' + }) + .style(TextInputStyle.Inline) + .maxLines(2) + .letterSpacing(this.letter) + .textOverflow(this.overFlow) + .id('UIComponentTextAttribute0240') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0250.ets new file mode 100644 index 00000000..f1a21342 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0250.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 UIComponentTextAttribute0250 { + @State overFlow : TextOverflow = TextOverflow.None; + build() { + Column() { + Row(){ + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Clip; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Ellipsis; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.MARQUEE; + }) + } + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.None; + }) + TextInput({ + text: 'This is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text Taumatawhakatangihangakoau.' + }) + .style(TextInputStyle.Inline) + .maxLines(2) + .clip(false) + .textOverflow(this.overFlow) + .id('UIComponentTextAttribute0250') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0260.ets new file mode 100644 index 00000000..31643902 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0260.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 UIComponentTextAttribute0260 { + @State overFlow : TextOverflow = TextOverflow.None; + build() { + Column() { + Row(){ + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Clip; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.None; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.MARQUEE; + }) + } + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Ellipsis; + }) + TextInput({ + text: 'This is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text Taumatawhakatangihangakoau.'+'\n'+'我爱你中国' + + }) + .style(TextInputStyle.Inline) + .maxLines(2) + .textOverflow(this.overFlow) + .id('UIComponentTextAttribute0260') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0270.ets new file mode 100644 index 00000000..2fa167c1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0270.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. + */ + +@Entry +@Component +struct UIComponentTextAttribute0270 { + @State overFlow : TextOverflow = TextOverflow.None; + build() { + Column() { + Row(){ + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Clip; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Ellipsis; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.MARQUEE; + }) + } + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.None; + }) + TextInput({ + text: 'This is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text Taumatawhakatangihangakoau.'+'\n'+'我爱你中国' + + }) + .style(TextInputStyle.Inline) + .textOverflow(this.overFlow) + .id('UIComponentTextAttribute0270') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0280.ets new file mode 100644 index 00000000..99e4f54a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0280.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 UIComponentTextAttribute0280 { + @State overFlow : TextOverflow = TextOverflow.None; + build() { + Column() { + Row(){ + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Clip; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.None; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.MARQUEE; + }) + } + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Ellipsis; + }) + TextInput({ + text: 'This is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text Taumatawhakatangihangakoau.'+'\n'+'我爱你中国' + + }) + .style(TextInputStyle.Inline) + .textOverflow(this.overFlow) + .maxLines(2) + .id('UIComponentTextAttribute0280') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0290.ets new file mode 100644 index 00000000..84e2c35c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0290.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. + */ + +@Entry +@Component +struct UIComponentTextAttribute0290 { + @State overFlow : TextOverflow = TextOverflow.None; + build() { + Column() { + Row(){ + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Clip; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.None; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.MARQUEE; + }) + } + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Ellipsis; + }) + TextInput({ + text: 'This is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauThiset wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThi is set wordBreak to WordBreak text Taumatawhakatangihangakoau.'+'\n'+'我爱你中国' + + }) + .style(TextInputStyle.Inline) + .textOverflow(this.overFlow) + .id('UIComponentTextAttribute0290') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0300.ets new file mode 100644 index 00000000..3d7c6c19 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0300.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 UIComponentTextAttribute0300 { + @State overFlow : TextOverflow = TextOverflow.None; + controller: TextInputController = new TextInputController() + build() { + Column() { + Row(){ + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Clip; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.None; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.MARQUEE; + }) + } + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Ellipsis; + this.controller.stopEditing(); + }) + TextInput({controller: this.controller, + text: 'This is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauThiset wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThi is set wordBreak to WordBreak text Taumatawhakatangihangakoau.'+'\n'+'我爱你中国' + + }) + .style(TextInputStyle.Inline) + .textOverflow(this.overFlow) + .maxLines(2) + .id('UIComponentTextAttribute0300') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0310.ets new file mode 100644 index 00000000..c9cc454d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0310.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 UIComponentTextAttribute0310 { + @State overFlow : TextOverflow = TextOverflow.None; + controller: TextInputController = new TextInputController() + build() { + Column() { + Row(){ + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Clip; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.None; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.MARQUEE; + }) + } + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Ellipsis; + }) + TextInput({controller: this.controller, + text: 'This is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauThiset wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThi is set wordBreak to WordBreak text Taumatawhakatangihangakoau.'+'\n'+'我爱你中国' + + }) + .style(TextInputStyle.Inline) + .textOverflow(this.overFlow) + .maxLines(2) + .wordBreak(WordBreak.NORMAL) + .id('UIComponentTextAttribute0310') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0320.ets new file mode 100644 index 00000000..cf94e8db --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0320.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 UIComponentTextAttribute0320 { + @State overFlow : TextOverflow = TextOverflow.None; + build() { + Column() { + Row(){ + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Clip; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.None; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.MARQUEE; + }) + } + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Ellipsis; + }) + TextArea({ + text: 'This is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauThiset wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThi is set wordBreak to WordBreak text Taumatawhakatangihangakoau.'+'\n'+'我爱你中国' + + }) + .textOverflow(this.overFlow) + .maxLines(2) + .style(TextContentStyle.INLINE) + .wordBreak(WordBreak.BREAK_ALL) + .id('UIComponentTextAttribute0320') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0330.ets new file mode 100644 index 00000000..064a7232 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0330.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 UIComponentTextAttribute0330 { + @State overFlow : TextOverflow = TextOverflow.None; + build() { + Column() { + Row(){ + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Clip; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.None; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.MARQUEE; + }) + } + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.overFlow = TextOverflow.Ellipsis; + }) + TextArea({ + text: 'This is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauThiset wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThi is set wordBreak to WordBreak text Taumatawhakatangihangakoau.'+'\n'+'我爱你中国' + + }) + .textOverflow(this.overFlow) + .maxLines(2) + .style(TextContentStyle.INLINE) + .wordBreak(WordBreak.BREAK_WORD) + .id('UIComponentTextAttribute0330') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0340.ets new file mode 100644 index 00000000..0ede6868 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0340.ets @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentTextAttribute0340 { + @State overFlow: TextOverflow = TextOverflow.None; + @State type: InputType = InputType.Email; + + build() { + Column() { + Row() { + Button('tp1') + .id('tp1') + .width(100) + .height(60) + .onClick(() => { + this.type = InputType.Number; + }) + Button('tp2') + .id('tp2') + .width(100) + .height(60) + .onClick(() => { + this.type = InputType.NUMBER_DECIMAL; + }) + } + + Row() { + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(() => { + this.overFlow = TextOverflow.Clip; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(() => { + this.overFlow = TextOverflow.None; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(() => { + this.overFlow = TextOverflow.MARQUEE; + }) + } + + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(() => { + this.overFlow = TextOverflow.Ellipsis; + }) + TextArea({ + text: '18091823333This is set wordBreak to18091823333@163.com WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauThiset wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThi is set wordBreak to WordBreak text Taumatawhakatangihangakoau.' + + '\n' + '我爱你中国' + + }) + .textOverflow(this.overFlow) + .style(TextContentStyle.INLINE) + .maxLines(2) + .id('UIComponentTextAttribute0340') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0350.ets new file mode 100644 index 00000000..d9c46a8f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0350.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 UIComponentTextAttribute0350 { + @State overFlow: TextOverflow = TextOverflow.None; + + build() { + Column() { + Row() { + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(() => { + this.overFlow = TextOverflow.Clip; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(() => { + this.overFlow = TextOverflow.None; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(() => { + this.overFlow = TextOverflow.MARQUEE; + }) + } + + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(() => { + this.overFlow = TextOverflow.Ellipsis; + }) + TextArea({ + placeholder: '18091823333This issetwordBreakto18091823333@163.comWordBreaktextTaumatawhakatangihangakoauThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauThiset wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThiet wordBreak to WordBreak text TaumatawhakatangihangakoauThi is set wordBreak to WordBreak text Taumatawhakatangihangakoau.' + }) + .textOverflow(this.overFlow) + .style(TextContentStyle.INLINE) + .maxLines(2) + .id('UIComponentTextAttribute0350') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0360.ets new file mode 100644 index 00000000..7bad3c2b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0360.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 UIComponentTextAttribute0360 { + @State textIndent : Dimension = 0.1; + + build() { + Column() { + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = -10; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = 10; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = '15vp'; + }) + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = '15px'; + }) + Button('ch5') + .id('ch5') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = '50%'; + }) + TextArea({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.akoauauotamateaturipukakapikimaungahoronukupokaiwhenuaki' + }) + .textIndent(this.textIndent) + .id('UIComponentTextAttribute0360') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0370.ets new file mode 100644 index 00000000..d6997e9f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0370.ets @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentTextAttribute0370 { + @State textIndent: Dimension = 0.1; + @State type: InputType = InputType.Normal; + + build() { + Column() { + Row() { + Button('tp1') + .id('tp1') + .width(100) + .height(60) + .onClick(() => { + this.type = InputType.Number; + }) + Button('tp2') + .id('tp2') + .width(100) + .height(60) + .onClick(() => { + this.type = InputType.NUMBER_DECIMAL; + }) + }.width('100%') + + Row() { + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = -10; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = 10; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = '15vp'; + }) + }.width('100%') + + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = '15px'; + }) + Button('ch5') + .id('ch5') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = '50%'; + }) + TextInput({ + text: 'This18091823333 is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.akoauauotamateaturipukakapikimaungahoronukupokaiwhenuaki' + }) + .type(this.type) + .textIndent(this.textIndent) + .id('UIComponentTextAttribute0370') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0380.ets new file mode 100644 index 00000000..3bdb23c3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0380.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 UIComponentTextAttribute0380 { + @State textIndent : Dimension = 0.1; + + build() { + Column() { + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = -10; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = 10; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = '15vp'; + }) + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = '15px'; + }) + Button('ch5') + .id('ch5') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = '50%'; + }) + TextArea({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.akoauauotamateaturipukakapikimaungahoronukupokaiwhenuaki' + }) + .style(TextContentStyle.INLINE) + .textIndent(this.textIndent) + .id('UIComponentTextAttribute0380') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0390.ets new file mode 100644 index 00000000..a3d42b75 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0390.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 UIComponentTextAttribute0390 { + @State textIndent : Dimension = 0.1; + + build() { + Column() { + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = -10; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = 10; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = '15vp'; + }) + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = '15px'; + }) + Button('ch5') + .id('ch5') + .width(100) + .height(60) + .onClick(()=>{ + this.textIndent = '50%'; + }) + TextArea({ + placeholder: 'ThisissetwordBreaktoWordBreaktextTaumatawhakatangiha' + }) + .textIndent(this.textIndent) + .id('UIComponentTextAttribute0390') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0400.ets new file mode 100644 index 00000000..b1286156 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0400.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 UIComponentTextAttribute0400 { + @State textIndent: Dimension = 0.1; + + build() { + Column() { + Row() { + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = -10; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = 10; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = '15vp'; + }) + }.width('100%') + + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = '15px'; + }) + Button('ch5') + .id('ch5') + .width(100) + .height(60) + .onClick(() => { + this.textIndent = '50%'; + }) + TextArea({ + text: '' + }) + .padding({ top: 0, left: 5, bottom: 10}) + .textIndent(this.textIndent) + .id('UIComponentTextAttribute0400') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0410.ets new file mode 100644 index 00000000..25d663a0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0410.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 UIComponentTextAttribute0410 { + @State seColor: Color | string = Color.Green; + + build() { + Column() { + Row() { + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(() => { + this.seColor = '0xfff00'; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(() => { + this.seColor = '#FFb6c1'; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(() => { + this.seColor = -12; + }) + }.width('100%') + + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(() => { + this.seColor = getContext().resourceManager.getColorSync($r('app.color.colorRed')); + }) + Button('ch5') + .id('ch5') + .width(100) + .height(60) + .onClick(() => { + this.seColor = 'null'; + }) + TextArea({ + text: 'abcde' + }) + .selectedBackgroundColor(this.seColor) + .id('UIComponentTextAttribute0410') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0420.ets new file mode 100644 index 00000000..2f3d8303 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0420.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 UIComponentTextAttribute0420 { + controller: TextAreaController = new TextAreaController() + build() { + Column() { + Button('select') + .id('select') + .width(100) + .height(60) + .onClick(()=>{ + this.controller.setTextSelection(0,5); + }) + TextArea({controller: this.controller, + text: 'abcde' + }) + .selectedBackgroundColor(Color.Green) + .id('UIComponentTextAttribute0420') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0430.ets new file mode 100644 index 00000000..f9d7716a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0430.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 UIComponentTextAttribute0430 { + + build() { + Column() { + TextArea({ + text: 'abcde' + }) + .selectedBackgroundColor(Color.Green) + .caretColor(Color.Red) + .id('UIComponentTextAttribute0430') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0440.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0440.ets new file mode 100644 index 00000000..1c4879c1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0440.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 UIComponentTextAttribute0440 { + + build() { + Column() { + TextArea({ + text: 'abcde' + }) + .selectedBackgroundColor(Color.Green) + .caretColor(Color.Red) + .type(TextAreaType.NORMAL) + .id('UIComponentTextAttribute0440_01') + TextArea({ + text: '123456,18091823333' + }) + .selectedBackgroundColor(Color.Green) + .caretColor(Color.Red) + .type(TextAreaType.NUMBER | TextAreaType.PHONE_NUMBER) + .id('UIComponentTextAttribute0440_02') + TextArea({ + text: '18091823333@163.com' + }) + .selectedBackgroundColor(Color.Green) + .caretColor(Color.Red) + .type(TextAreaType.EMAIL) + .id('UIComponentTextAttribute0440_03') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0450.ets new file mode 100644 index 00000000..f7bb8d84 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0450.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 UIComponentTextAttribute0450 { + @State style: TextContentStyle = TextContentStyle.DEFAULT; + + build() { + Column() { + Button('change') + .id('change') + .width(100) + .height(60) + .onClick(()=>{ + this.style = TextContentStyle.INLINE; + }) + TextArea({ + text: 'abcde' + }) + .selectedBackgroundColor(Color.Green) + .caretColor(Color.Red) + .style(this.style) + .id('UIComponentTextAttribute0450') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0460.ets new file mode 100644 index 00000000..32c26c06 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0460.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 UIComponentTextAttribute0460 { + @State style: TextContentStyle = TextContentStyle.DEFAULT; + @State caretStyle: string | number = '10vp'; + + build() { + Column() { + Button('change') + .id('change') + .width(100) + .height(60) + .onClick(() => { + if (this.caretStyle = '10vp') { + this.caretStyle = '50px' + } else { + this.caretStyle = 16 + } + }) + TextArea({ + text: 'abcde' + }) + .caretStyle({ + width: this.caretStyle + }) + .id('UIComponentTextAttribute0460') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0470.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0470.ets new file mode 100644 index 00000000..c50f543d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0470.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. + */ + +@Entry +@Component +struct UIComponentTextAttribute0470 { + build() { + Column() { + Search({ + value: 'abcdeThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu' + }) + .textIndent(0.1) + Search({ + value: 'abcdeThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu' + }) + .textIndent(-10) + Search({ + value: 'abcdeThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu' + }) + .textIndent(10) + Search({ + value: 'abcdeThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu' + }) + .textIndent('15vp') + Search({ + value: 'abcdeThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu' + }) + .textIndent('15px') + Search({ + value: 'abcdeThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu' + }) + .textIndent('50%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0480.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0480.ets new file mode 100644 index 00000000..82670c3f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0480.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. + */ + +@Entry +@Component +struct UIComponentTextAttribute0480 { + build() { + Column() { + Search({ + placeholder: 'abcdeThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu' + }) + .textIndent(0.1) + Search({ + placeholder: 'abcdeThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu' + }) + .textIndent(-10) + Search({ + placeholder: 'abcdeThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu' + }) + .textIndent(10) + Search({ + placeholder: 'abcdeThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu' + }) + .textIndent('15vp') + Search({ + placeholder: 'abcdeThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu' + }) + .textIndent('15px') + Search({ + placeholder: 'abcdeThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu' + }) + .textIndent('50%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0490.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0490.ets new file mode 100644 index 00000000..cce99822 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0490.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 UIComponentTextAttribute0490 { + build() { + Column() { + Search({ + value: 'abcdeThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu' + }) + .textIndent(0.1) + .padding({top:0,left:5,right:10}) + Search({ + value: 'abcdeThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu' + }) + .textIndent(-10) + .padding({top:0,left:5,right:10}) + Search({ + value: 'abcdeThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu' + }) + .textIndent(10) + .padding({top:0,left:5,right:10}) + Search({ + value: 'abcdeThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu' + }) + .textIndent('15vp') + .padding({top:0,left:5,right:10}) + Search({ + value: 'abcdeThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu' + }) + .textIndent('15px') + .padding({top:0,left:5,right:10}) + Search({ + value: 'abcdeThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text TaumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahuThis is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu' + }) + .textIndent('50%') + .padding({top:0,left:5,right:10}) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0500.ets new file mode 100644 index 00000000..c09d1fcb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0500.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 UIComponentTextAttribute0500 { + @State seColor: Color | string = Color.Green; + + build() { + Column() { + Row() { + Button('ch1') + .id('ch1') + .width(100) + .height(60) + .onClick(() => { + this.seColor = '0xfff00'; + }) + Button('ch2') + .id('ch2') + .width(100) + .height(60) + .onClick(() => { + this.seColor = '#FFb6c1'; + }) + Button('ch3') + .id('ch3') + .width(100) + .height(60) + .onClick(() => { + this.seColor = -12; + }) + }.width('100%') + + Button('ch4') + .id('ch4') + .width(100) + .height(60) + .onClick(() => { + this.seColor = getContext().resourceManager.getColorSync($r('app.color.colorRed')); + }) + Button('ch5') + .id('ch5') + .width(100) + .height(60) + .onClick(() => { + this.seColor = 'null'; + }) + Search({ + value: 'abcde' + }) + .selectedBackgroundColor(this.seColor) + .id('UIComponentTextAttribute0500') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0510.ets new file mode 100644 index 00000000..3183ece9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0510.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 UIComponentTextAttribute0510 { + controller: TextAreaController = new TextAreaController() + build() { + Column() { + Button('select') + .id('select') + .width(100) + .height(60) + .onClick(()=>{ + this.controller.setTextSelection(0,5); + }) + Search({controller: this.controller, + value: 'abcde' + }) + .selectedBackgroundColor(Color.Green) + .id('UIComponentTextAttribute0510') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0520.ets new file mode 100644 index 00000000..c6300b5d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0520.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 UIComponentTextAttribute0520 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + Search({ + controller: this.controller, + value: 'abcde' + }) + .selectedBackgroundColor(Color.Green) + .id('UIComponentTextAttribute0520') + .caretStyle({ + color: Color.Red + }) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0530.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0530.ets new file mode 100644 index 00000000..a5aac7f9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0530.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 UIComponentTextAttribute0530 { + + build() { + Column() { + Search({ + value: 'abcde' + }) + .selectedBackgroundColor(Color.Green) + .caretStyle({ + color: Color.Red + }) + .type(SearchType.NORMAL) + .id('UIComponentTextAttribute0530_01') + Search({ + value: '123456,18091823333' + }) + .selectedBackgroundColor(Color.Green) + .caretStyle({ + color: Color.Red + }) + .type(SearchType.NUMBER | SearchType.PHONE_NUMBER) + .id('UIComponentTextAttribute0530_02') + Search({ + value: '18091823333@163.com' + }) + .selectedBackgroundColor(Color.Green) + .caretStyle({ + color: Color.Red + }) + .type(SearchType.EMAIL) + .id('UIComponentTextAttribute0530_03') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0540.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0540.ets new file mode 100644 index 00000000..14bd054e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0540.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 UIComponentTextAttribute0540 { + + build() { + Column() { + Search({ + value: 'abcde123中国' + }) + .id('UIComponentTextAttribute0540') + Search({ + value: 'axc' + }) + .id('UIComponentTextAttribute0540_01') + .inputFilter('[a-z]', (val) => { + console.error('TextArea example : ' + val); + }) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0550.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0550.ets new file mode 100644 index 00000000..50b57c33 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0550.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 UIComponentTextAttribute0550 { + + build() { + Column() { + Search({ + value: 'abcde456中国' + }) + .id('UIComponentTextAttribute0550') + Search({ + value: '123' + }) + .id('UIComponentTextAttribute0550_01') + .inputFilter('[0-9]', (val) => { + console.error('TextArea example : ' + val); + }) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0560.ets new file mode 100644 index 00000000..74c6f805 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0560.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 UIComponentTextAttribute0560 { + build() { + Column() { + Search() + .selectedBackgroundColor(Color.Green) + .id('UIComponentTextAttribute0560') + .inputFilter(null, (error) => { + console.log(JSON.stringify(error)) + }) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0570.ets new file mode 100644 index 00000000..088f77bf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0570.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 UIComponentTextAttribute0570 { + @State type: SearchType = SearchType.NORMAL; + + build() { + Column() { + Button('change1') + .id('change1') + .width(100) + .height(60) + .onClick(() => { + this.type = SearchType.EMAIL; + }) + Button('change2') + .id('change2') + .width(100) + .height(60) + .onClick(() => { + this.type = SearchType.NUMBER; + }) + Button('change3') + .id('change3') + .width(100) + .height(60) + .onClick(() => { + this.type = SearchType.PHONE_NUMBER; + }) + Search({ + value: '18710810407,10.32' + }) + .id('UIComponentTextAttribute0570') + Search({ + value: '123.12' + }) + .id('UIComponentTextAttribute0570_01') + .type(this.type) + .inputFilter('[0,9]', (val) => { + console.error('TextArea example : ' + val); + }) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0600.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0600.ets new file mode 100644 index 00000000..69fa4a7b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0600.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 UIComponentTextAttribute0600 { + @State text: string = ''; + + build() { + Column() { + Search() + .id('SearchUIComponentTextAttribute0600') + .width('100%') + .onEditChange((info) => { + this.text = JSON.stringify(info) + }) + Text(this.text) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0640.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0640.ets new file mode 100644 index 00000000..4c090144 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0640.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 UIComponentTextAttribute0640 { + @State text: string = ''; + + build() { + Column() { + Search() + .id('SearchUIComponentTextAttribute0640') + .width('100%') + .onEditChange((info) => { + this.text = JSON.stringify(info) + }) + Text(this.text) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0220.ets new file mode 100644 index 00000000..81a2717c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0220.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 UIComponentTextAttributeStringConstructs0220 { + @State errorMessage: string = ''; + controller: TextController = new TextController(); + StyledString: StyledString = new StyledString("这是一段测试文字", [{ + start: 0, + length: 8, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Blue }) + }]) + + async onPageShow() { + this.controller.setStyledString(this.StyledString) + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) + .id('TextUIComponentTextAttributeStringConstructs0220') + .copyOption(CopyOptions.InApp) + .draggable(true) + Button('getStyles') + .id('btnUIComponentTextAttributeStringConstructs0220') + .onClick(() => { + try { + let styles = this.StyledString.getStyles(4, 6, StyledStringKey.FONT); + if (styles.length == 2) { + for (let i = 0; i < styles.length; i++) { + console.info('StyledString style object start:' + styles[i].start) + console.info('StyledString style object length:' + styles[i].length) + console.info('StyledString style object key:' + styles[i].styledKey) + } + } + } catch (e) { + this.errorMessage = JSON.stringify(e); + } + }) + Text(this.errorMessage) + .fontSize(30) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0320.ets new file mode 100644 index 00000000..2b22dde8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0320.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 UIComponentTextAttributeStringConstructs0320 { + @State errorMessage: string = ''; + controller: TextController = new TextController(); + StyledString: StyledString = new StyledString("这是一段测试文字", [{ + start: 0, + length: 8, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Blue }) + }]) + + async onPageShow() { + this.controller.setStyledString(this.StyledString) + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) + .id('TextUIComponentTextAttributeStringConstructs0320') + .copyOption(CopyOptions.InApp) + .draggable(true) + Button('getStyles') + .id('btnUIComponentTextAttributeStringConstructs0320') + .onClick(() => { + try { + let styles = this.StyledString.subStyledString(-1, 3); + if (styles.length == 2) { + for (let i = 0; i < styles.length; i++) { + console.info('StyledString style object start:' + styles[i].start) + console.info('StyledString style object length:' + styles[i].length) + console.info('StyledString style object key:' + styles[i].styledKey) + } + } + } catch (e) { + this.errorMessage = JSON.stringify(e); + } + }) + Text(this.errorMessage) + .fontSize(30) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0330.ets new file mode 100644 index 00000000..f3ebf377 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0330.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 UIComponentTextAttributeStringConstructs0330 { + @State errorMessage: string = ''; + controller: TextController = new TextController(); + StyledString: StyledString = new StyledString("这是一段测试文字", [{ + start: 0, + length: 8, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Blue }) + }]) + + async onPageShow() { + this.controller.setStyledString(this.StyledString) + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) + .id('TextUIComponentTextAttributeStringConstructs0330') + .copyOption(CopyOptions.InApp) + .draggable(true) + Button('getStyles') + .id('btnUIComponentTextAttributeStringConstructs0330') + .onClick(() => { + try { + let styles = this.StyledString.subStyledString(20, 3); + if (styles.length == 2) { + for (let i = 0; i < styles.length; i++) { + console.info('StyledString style object start:' + styles[i].start) + console.info('StyledString style object length:' + styles[i].length) + console.info('StyledString style object key:' + styles[i].styledKey) + } + } + } catch (e) { + this.errorMessage = JSON.stringify(e); + } + }) + Text(this.errorMessage) + .fontSize(30) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0340.ets new file mode 100644 index 00000000..b26ca5b9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0340.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 UIComponentTextAttributeStringConstructs0340 { + @State errorMessage: string = ''; + controller: TextController = new TextController(); + StyledString: StyledString = new StyledString("这是一段测试文字", [{ + start: 0, + length: 8, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Blue }) + }]) + + async onPageShow() { + this.controller.setStyledString(this.StyledString) + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) + .id('TextUIComponentTextAttributeStringConstructs0340') + .copyOption(CopyOptions.InApp) + .draggable(true) + Button('getStyles') + .id('btnUIComponentTextAttributeStringConstructs0340') + .onClick(() => { + try { + let styles = this.StyledString.subStyledString(0, -3); + if (styles.length == 2) { + for (let i = 0; i < styles.length; i++) { + console.info('StyledString style object start:' + styles[i].start) + console.info('StyledString style object length:' + styles[i].length) + console.info('StyledString style object key:' + styles[i].styledKey) + } + } + } catch (e) { + this.errorMessage = JSON.stringify(e); + } + }) + Text(this.errorMessage) + .fontSize(30) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0350.ets new file mode 100644 index 00000000..653659e0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0350.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 UIComponentTextAttributeStringConstructs0350 { + @State errorMessage: string = ''; + controller: TextController = new TextController(); + StyledString: StyledString = new StyledString("这是一段测试文字", [{ + start: 0, + length: 8, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Blue }) + }]) + + async onPageShow() { + this.controller.setStyledString(this.StyledString) + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) + .id('TextUIComponentTextAttributeStringConstructs0350') + .copyOption(CopyOptions.InApp) + .draggable(true) + Button('getStyles') + .id('btnUIComponentTextAttributeStringConstructs0350') + .onClick(() => { + try { + let styles = this.StyledString.subStyledString(0, 10); + if (styles.length == 2) { + for (let i = 0; i < styles.length; i++) { + console.info('StyledString style object start:' + styles[i].start) + console.info('StyledString style object length:' + styles[i].length) + console.info('StyledString style object key:' + styles[i].styledKey) + } + } + } catch (e) { + this.errorMessage = JSON.stringify(e); + } + }) + Text(this.errorMessage) + .fontSize(30) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0360.ets new file mode 100644 index 00000000..5fbf56ed --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0360.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 UIComponentTextAttributeStringConstructs0360 { + @State errorMessage: string = ''; + controller: TextController = new TextController(); + StyledString: StyledString = new StyledString("这是一段测试文字", [{ + start: 0, + length: 8, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Blue }) + }]) + + async onPageShow() { + this.controller.setStyledString(this.StyledString) + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) + .id('TextUIComponentTextAttributeStringConstructs0360') + .copyOption(CopyOptions.InApp) + .draggable(true) + Button('getStyles') + .id('btnUIComponentTextAttributeStringConstructs0360') + .onClick(() => { + try { + let styles = this.StyledString.subStyledString(6, 4); + if (styles.length == 2) { + for (let i = 0; i < styles.length; i++) { + console.info('StyledString style object start:' + styles[i].start) + console.info('StyledString style object length:' + styles[i].length) + console.info('StyledString style object key:' + styles[i].styledKey) + } + } + } catch (e) { + this.errorMessage = JSON.stringify(e); + } + }) + Text(this.errorMessage) + .fontSize(30) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0460.ets new file mode 100644 index 00000000..5f72d762 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0460.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 UIComponentTextAttributeStringConstructs0460 { + controller: TextController = new TextController(); + StyledString: StyledString = new StyledString("这是一段测试文字", [{ + start: 0, + length: 8, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Red }) + }]) + + async onPageShow() { + this.controller.setStyledString(this.StyledString) + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) + .id('TextUIComponentTextAttributeStringConstructs0460') + .copyOption(CopyOptions.InApp) + .draggable(true) + TextArea() + .id('TextAreaUIComponentTextAttributeStringConstructs0460') + .copyOption(CopyOptions.InApp) + .draggable(true) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0010.ets new file mode 100644 index 00000000..8b05bef6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0010.ets @@ -0,0 +1,158 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { drawing } from '@kit.ArkGraphics2D' +import { image } from '@kit.ImageKit' +import { LengthMetrics } from '@kit.ArkUI' + +class MyCustomSpan extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 160; + word: string = "drawing"; + height: number = 10; +} + +@Entry +@Component +struct UIComponentTextCommonCopyOptionDraggable0010 { + @State widthSize: string = ''; + @State heightSize: string = ''; + textController: TextController = new TextController(); + customSpan: MyCustomSpan = new MyCustomSpan("Hello", 80, 10); + mutableStyledString: MutableStyledString = new MutableStyledString(this.customSpan); + imagePixelMap: image.PixelMap | undefined = undefined; + isPageShow: boolean = true; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap({ + desiredPixelFormat: image.PixelMapFormat.RGBA_8888, + desiredSize: { width: 50, height: 50 } + }); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + if (!this.isPageShow) { + return + } + this.isPageShow = false; + this.mutableStyledString.appendStyledString(new StyledString(this.customSpan)) + this.mutableStyledString.appendStyledString(new StyledString("aaaaaaaaaaaaaaaaaaaaaaaa" + + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [{ + start: 0, + length: 5, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Green, fontSize: LengthMetrics.px(50) }) + }])) + this.textController.setStyledString(this.mutableStyledString) + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.icon')).then() + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('TextUIComponentTextCommonCopyOptionDraggable0010') + .copyOption(CopyOptions.InApp) + .draggable(true) + .width(this.widthSize) + .height(this.heightSize) + Search() + .id('SearchUIComponentTextCommonCopyOptionDraggable0010') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .width(this.widthSize) + .height(this.heightSize) + TextArea() + .id('TextAreaUIComponentTextCommonCopyOptionDraggable0010') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .width(this.widthSize) + .height(this.heightSize) + TextInput() + .id('TextInputUIComponentTextCommonCopyOptionDraggable0010') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .width(this.widthSize) + .height(this.heightSize) + Button('设置组件宽高') + .id('btnUIComponentTextCommonCopyOptionDraggable0010') + .onClick(() => { + this.widthSize = '60%'; + this.heightSize = '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/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0020.ets new file mode 100644 index 00000000..57cc0967 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0020.ets @@ -0,0 +1,159 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { drawing } from '@kit.ArkGraphics2D' +import { image } from '@kit.ImageKit' +import { LengthMetrics } from '@kit.ArkUI' +import { KeyboardAvoidMode } from '@kit.ArkUI'; +class MyCustomSpan extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 160; + word: string = "drawing"; + height: number = 10; +} + +@Entry +@Component +struct UIComponentTextCommonCopyOptionDraggable0020 { + @State widthSize: string = ''; + @State heightSize: string = ''; + textController: TextController = new TextController(); + customSpan: MyCustomSpan = new MyCustomSpan("Hello", 80, 10); + mutableStyledString: MutableStyledString = new MutableStyledString(this.customSpan); + imagePixelMap: image.PixelMap | undefined = undefined; + isPageShow: boolean = true; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap({ + desiredPixelFormat: image.PixelMapFormat.RGBA_8888, + desiredSize: { width: 50, height: 50 } + }); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + if (!this.isPageShow) { + return + } + this.isPageShow = false; + this.mutableStyledString.appendStyledString(new StyledString(this.customSpan)) + this.mutableStyledString.appendStyledString(new StyledString("aaaaaaaaaaaaaaaaaaaaaaaa" + + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [{ + start: 0, + length: 5, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Green, fontSize: LengthMetrics.px(50) }) + }])) + this.textController.setStyledString(this.mutableStyledString) + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.icon')).then(); + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.RESIZE); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('TextUIComponentTextCommonCopyOptionDraggable0020') + .copyOption(CopyOptions.InApp) + .draggable(true) + .width(this.widthSize) + .height(this.heightSize) + Search() + .id('SearchUIComponentTextCommonCopyOptionDraggable0020') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .width(this.widthSize) + .height(this.heightSize) + TextArea() + .id('TextAreaUIComponentTextCommonCopyOptionDraggable0020') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .width(this.widthSize) + .height(this.heightSize) + TextInput() + .id('TextInputUIComponentTextCommonCopyOptionDraggable0020') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .width(this.widthSize) + .height(this.heightSize) + Button('设置组件宽高') + .id('btnUIComponentTextCommonCopyOptionDraggable0020') + .onClick(() => { + this.widthSize = '60%'; + this.heightSize = '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/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0030.ets new file mode 100644 index 00000000..b9802787 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0030.ets @@ -0,0 +1,135 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { drawing } from '@kit.ArkGraphics2D' +import { image } from '@kit.ImageKit' +import { LengthMetrics } from '@kit.ArkUI' +import { KeyboardAvoidMode } from '@kit.ArkUI'; +class MyCustomSpan extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 160; + word: string = "drawing"; + height: number = 10; +} + +@Entry +@Component +struct UIComponentTextCommonCopyOptionDraggable0030 { + textController: TextController = new TextController(); + customSpan: MyCustomSpan = new MyCustomSpan("Hello", 80, 10); + mutableStyledString: MutableStyledString = new MutableStyledString(this.customSpan); + imagePixelMap: image.PixelMap | undefined = undefined; + isPageShow: boolean = true; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap({ + desiredPixelFormat: image.PixelMapFormat.RGBA_8888, + desiredSize: { width: 50, height: 50 } + }); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + if (!this.isPageShow) { + return + } + this.isPageShow = false; + this.mutableStyledString.appendStyledString(new StyledString(this.customSpan)) + this.textController.setStyledString(this.mutableStyledString) + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.icon')).then(); + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.RESIZE); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('TextUIComponentTextCommonCopyOptionDraggable0030') + .copyOption(CopyOptions.InApp) + .draggable(true) + Search() + .id('SearchUIComponentTextCommonCopyOptionDraggable0030') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + TextArea() + .id('TextAreaUIComponentTextCommonCopyOptionDraggable0030') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + TextInput() + .id('TextInputUIComponentTextCommonCopyOptionDraggable0030') + .copyOption(CopyOptions.InApp) + .draggable(true) + .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/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0040.ets new file mode 100644 index 00000000..3b806222 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0040.ets @@ -0,0 +1,135 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { drawing } from '@kit.ArkGraphics2D' +import { image } from '@kit.ImageKit' +import { LengthMetrics } from '@kit.ArkUI' +import { KeyboardAvoidMode } from '@kit.ArkUI'; +class MyCustomSpan extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 160; + word: string = "drawing"; + height: number = 10; +} + +@Entry +@Component +struct UIComponentTextCommonCopyOptionDraggable0040 { + textController: TextController = new TextController(); + customSpan: MyCustomSpan = new MyCustomSpan("Hello", 80, 10); + mutableStyledString: MutableStyledString = new MutableStyledString(this.customSpan); + imagePixelMap: image.PixelMap | undefined = undefined; + isPageShow: boolean = true; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap({ + desiredPixelFormat: image.PixelMapFormat.RGBA_8888, + desiredSize: { width: 50, height: 50 } + }); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + if (!this.isPageShow) { + return + } + this.isPageShow = false; + this.mutableStyledString.appendStyledString(new StyledString(this.customSpan)) + this.textController.setStyledString(this.mutableStyledString) + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.icon')).then(); + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.RESIZE); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('TextUIComponentTextCommonCopyOptionDraggable0040') + .copyOption(CopyOptions.InApp) + .draggable(true) + Search() + .id('SearchUIComponentTextCommonCopyOptionDraggable0040') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + TextArea() + .id('TextAreaUIComponentTextCommonCopyOptionDraggable0040') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + TextInput() + .id('TextInputUIComponentTextCommonCopyOptionDraggable0040') + .copyOption(CopyOptions.InApp) + .draggable(true) + .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/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0050.ets new file mode 100644 index 00000000..5341fcb6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0050.ets @@ -0,0 +1,143 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { drawing } from '@kit.ArkGraphics2D' +import { image } from '@kit.ImageKit' +import { LengthMetrics } from '@kit.ArkUI' +import { KeyboardAvoidMode } from '@kit.ArkUI'; +class MyCustomSpan extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 160; + word: string = 'drawing'; + height: number = 10; +} + +@Entry +@Component +struct UIComponentTextCommonCopyOptionDraggable0050 { + textController: TextController = new TextController(); + customSpan: MyCustomSpan = new MyCustomSpan('Hello', 200, 100); + mutableStyledString: MutableStyledString = new MutableStyledString(this.customSpan); + imagePixelMap: image.PixelMap | undefined = undefined; + isPageShow: boolean = true; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap({ + desiredPixelFormat: image.PixelMapFormat.RGBA_8888, + desiredSize: { width: 50, height: 50 } + }); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + if (!this.isPageShow) { + return + } + this.isPageShow = false; + this.mutableStyledString.appendStyledString(new StyledString(this.customSpan)) + this.mutableStyledString.appendStyledString(new StyledString('aaaaaaaaaaaaaaaaaaaaaaaa' + + 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' + + 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', [{ + start: 0, + length: 5, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Green, fontSize: LengthMetrics.px(50) }) + }])) + this.textController.setStyledString(this.mutableStyledString) + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.icon')).then(); + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.RESIZE); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('TextUIComponentTextCommonCopyOptionDraggable0050') + .copyOption(CopyOptions.InApp) + .draggable(true) + Search() + .id('SearchUIComponentTextCommonCopyOptionDraggable0050') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + TextArea() + .id('TextAreaUIComponentTextCommonCopyOptionDraggable0050') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + TextInput() + .id('TextInputUIComponentTextCommonCopyOptionDraggable0050') + .copyOption(CopyOptions.InApp) + .draggable(true) + .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/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0060.ets new file mode 100644 index 00000000..3b07f54b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0060.ets @@ -0,0 +1,143 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { drawing } from '@kit.ArkGraphics2D' +import { image } from '@kit.ImageKit' +import { LengthMetrics } from '@kit.ArkUI' +import { KeyboardAvoidMode } from '@kit.ArkUI'; +class MyCustomSpan extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 160; + word: string = "drawing"; + height: number = 10; +} + +@Entry +@Component +struct UIComponentTextCommonCopyOptionDraggable0060 { + textController: TextController = new TextController(); + customSpan: MyCustomSpan = new MyCustomSpan("Hello", 80, 10); + mutableStyledString: MutableStyledString = new MutableStyledString(this.customSpan); + imagePixelMap: image.PixelMap | undefined = undefined; + isPageShow: boolean = true; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap({ + desiredPixelFormat: image.PixelMapFormat.RGBA_8888, + desiredSize: { width: 50, height: 50 } + }); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + if (!this.isPageShow) { + return + } + this.isPageShow = false; + this.mutableStyledString.appendStyledString(new StyledString(this.customSpan)) + this.mutableStyledString.appendStyledString(new StyledString("aaaaaaaaaaaaaaaaaaaaaaaa" + + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [{ + start: 0, + length: 5, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Green, fontSize: LengthMetrics.px(50) }) + }])) + this.textController.setStyledString(this.mutableStyledString) + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.icon')).then(); + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.RESIZE); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('TextUIComponentTextCommonCopyOptionDraggable0060') + .copyOption(CopyOptions.InApp) + .draggable(true) + Search() + .id('SearchUIComponentTextCommonCopyOptionDraggable0060') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + TextArea() + .id('TextAreaUIComponentTextCommonCopyOptionDraggable0060') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + TextInput() + .id('TextInputUIComponentTextCommonCopyOptionDraggable0060') + .copyOption(CopyOptions.InApp) + .draggable(true) + .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/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0070.ets new file mode 100644 index 00000000..b13edf20 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0070.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 { promptAction } from '@kit.ArkUI'; +import { drawing } from '@kit.ArkGraphics2D' +import { image } from '@kit.ImageKit' +import { LengthMetrics } from '@kit.ArkUI' +import { KeyboardAvoidMode } from '@kit.ArkUI'; + +class MyCustomSpan extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 160; + word: string = "drawing"; + height: number = 10; +} + +@Entry +@Component +struct UIComponentTextCommonCopyOptionDraggable0070 { + textController: TextController = new TextController(); + customSpan: MyCustomSpan = new MyCustomSpan("Hello", 80, 10); + mutableStyledString: MutableStyledString = new MutableStyledString(this.customSpan); + imagePixelMap: image.PixelMap | undefined = undefined; + isPageShow: boolean = true; + @State textInputType: number | undefined = undefined; + @State searchType: number | undefined = undefined; + @State textAreaType: number | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap({ + desiredPixelFormat: image.PixelMapFormat.RGBA_8888, + desiredSize: { width: 50, height: 50 } + }); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + if (!this.isPageShow) { + return + } + this.isPageShow = false; + this.mutableStyledString.appendStyledString(new StyledString(this.customSpan)) + this.mutableStyledString.appendStyledString(new StyledString("aaa123", [{ + start: 0, + length: 5, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Green, fontSize: LengthMetrics.px(50) }) + }])) + this.textController.setStyledString(this.mutableStyledString) + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.icon')).then(); + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.RESIZE); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('TextUIComponentTextCommonCopyOptionDraggable0070') + .copyOption(CopyOptions.InApp) + .draggable(true) + Search() + .id('SearchUIComponentTextCommonCopyOptionDraggable0070') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(SearchType.NUMBER) + TextArea() + .id('TextAreaUIComponentTextCommonCopyOptionDraggable0070') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(this.textAreaType) + TextInput() + .id('TextInputUIComponentTextCommonCopyOptionDraggable0070') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(this.textInputType) + Button('change type') + .id('btnUIComponentTextCommonCopyOptionDraggable0070') + .onClick(() => { + this.textInputType = InputType.NUMBER_PASSWORD; + this.searchType = SearchType.NUMBER; + this.textAreaType = TextAreaType.URL; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0080.ets new file mode 100644 index 00000000..5caf8d10 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0080.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 { promptAction } from '@kit.ArkUI'; +import { drawing } from '@kit.ArkGraphics2D' +import { image } from '@kit.ImageKit' +import { LengthMetrics } from '@kit.ArkUI' +import { KeyboardAvoidMode } from '@kit.ArkUI'; + +class MyCustomSpan extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 160; + word: string = "drawing"; + height: number = 10; +} + +@Entry +@Component +struct UIComponentTextCommonCopyOptionDraggable0080 { + textController: TextController = new TextController(); + customSpan: MyCustomSpan = new MyCustomSpan("Hello", 80, 10); + mutableStyledString: MutableStyledString = new MutableStyledString(this.customSpan); + imagePixelMap: image.PixelMap | undefined = undefined; + isPageShow: boolean = true; + @State textInputType: number | undefined = undefined; + @State searchType: number | undefined = undefined; + @State textAreaType: number | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap({ + desiredPixelFormat: image.PixelMapFormat.RGBA_8888, + desiredSize: { width: 50, height: 50 } + }); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + if (!this.isPageShow) { + return + } + this.isPageShow = false; + this.mutableStyledString.appendStyledString(new StyledString(this.customSpan)) + this.mutableStyledString.appendStyledString(new StyledString("aaa123", [{ + start: 0, + length: 5, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Green, fontSize: LengthMetrics.px(50) }) + }])) + this.textController.setStyledString(this.mutableStyledString) + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.icon')).then(); + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.RESIZE); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('TextUIComponentTextCommonCopyOptionDraggable0080') + .copyOption(CopyOptions.InApp) + .draggable(true) + Search() + .id('SearchUIComponentTextCommonCopyOptionDraggable0080') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(SearchType.NUMBER) + TextArea() + .id('TextAreaUIComponentTextCommonCopyOptionDraggable0080') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(this.textAreaType) + TextInput() + .id('TextInputUIComponentTextCommonCopyOptionDraggable0080') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(this.textInputType) + Button('change type') + .id('btnUIComponentTextCommonCopyOptionDraggable0080') + .onClick(() => { + this.textInputType = InputType.NUMBER_PASSWORD; + this.searchType = SearchType.NUMBER; + this.textAreaType = TextAreaType.URL; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0090.ets new file mode 100644 index 00000000..a656691a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0090.ets @@ -0,0 +1,139 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { drawing } from '@kit.ArkGraphics2D' +import { image } from '@kit.ImageKit' +import { LengthMetrics } from '@kit.ArkUI' +import { KeyboardAvoidMode } from '@kit.ArkUI'; + +class MyCustomSpan extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 160; + word: string = "drawing"; + height: number = 10; +} + +@Entry +@Component +struct UIComponentTextCommonCopyOptionDraggable0090 { + textController: TextController = new TextController(); + customSpan: MyCustomSpan = new MyCustomSpan("Hello", 80, 10); + mutableStyledString: MutableStyledString = new MutableStyledString(this.customSpan); + imagePixelMap: image.PixelMap | undefined = undefined; + isPageShow: boolean = true; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap({ + desiredPixelFormat: image.PixelMapFormat.RGBA_8888, + desiredSize: { width: 50, height: 50 } + }); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + if (!this.isPageShow) { + return + } + this.isPageShow = false; + this.mutableStyledString.appendStyledString(new StyledString(this.customSpan)) + this.mutableStyledString.appendStyledString(new StyledString("aaa123", [{ + start: 0, + length: 5, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Green, fontSize: LengthMetrics.px(50) }) + }])) + this.textController.setStyledString(this.mutableStyledString) + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.icon')).then(); + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.RESIZE); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('TextUIComponentTextCommonCopyOptionDraggable0090') + .copyOption(CopyOptions.InApp) + .draggable(true) + TextArea() + .id('TextAreaUIComponentTextCommonCopyOptionDraggable0090') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .style(TextContentStyle.INLINE) + TextInput() + .id('TextInputUIComponentTextCommonCopyOptionDraggable0090') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .style(TextInputStyle.Inline) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0100.ets new file mode 100644 index 00000000..1ee38259 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0100.ets @@ -0,0 +1,151 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { drawing } from '@kit.ArkGraphics2D' +import { image } from '@kit.ImageKit' +import { LengthMetrics } from '@kit.ArkUI' +import { KeyboardAvoidMode } from '@kit.ArkUI'; + +class MyCustomSpan extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 160; + word: string = "drawing"; + height: number = 10; +} + +@Entry +@Component +struct UIComponentTextCommonCopyOptionDraggable0100 { + textController: TextController = new TextController(); + customSpan: MyCustomSpan = new MyCustomSpan("Hello", 80, 10); + mutableStyledString: MutableStyledString = new MutableStyledString(this.customSpan); + imagePixelMap: image.PixelMap | undefined = undefined; + isPageShow: boolean = true; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap({ + desiredPixelFormat: image.PixelMapFormat.RGBA_8888, + desiredSize: { width: 50, height: 50 } + }); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + if (!this.isPageShow) { + return + } + this.isPageShow = false; + this.mutableStyledString.appendStyledString(new StyledString(this.customSpan)) + this.mutableStyledString.appendStyledString(new StyledString("aaa123", [{ + start: 0, + length: 5, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Green, fontSize: LengthMetrics.px(50) }) + }])) + this.textController.setStyledString(this.mutableStyledString) + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.icon')).then(); + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.RESIZE); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('TextUIComponentTextCommonCopyOptionDraggable0100') + .copyOption(CopyOptions.InApp) + .draggable(true) + Search() + .id('SearchUIComponentTextCommonCopyOptionDraggable0100') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(SearchType.NUMBER) + .fontColor(Color.Green) + .textFont({ + size: 30 + }) + TextArea() + .id('TextAreaUIComponentTextCommonCopyOptionDraggable0100') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(TextAreaType.NORMAL) + .fontColor(Color.Red) + TextInput() + .id('TextInputUIComponentTextCommonCopyOptionDraggable0100') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(InputType.Normal) + .fontColor(Color.Orange) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0110.ets new file mode 100644 index 00000000..74438b9a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0110.ets @@ -0,0 +1,151 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { drawing } from '@kit.ArkGraphics2D' +import { image } from '@kit.ImageKit' +import { LengthMetrics } from '@kit.ArkUI' +import { KeyboardAvoidMode } from '@kit.ArkUI'; + +class MyCustomSpan extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 160; + word: string = "drawing"; + height: number = 10; +} + +@Entry +@Component +struct UIComponentTextCommonCopyOptionDraggable0110 { + textController: TextController = new TextController(); + customSpan: MyCustomSpan = new MyCustomSpan("Hello", 80, 10); + mutableStyledString: MutableStyledString = new MutableStyledString(this.customSpan); + imagePixelMap: image.PixelMap | undefined = undefined; + isPageShow: boolean = true; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap({ + desiredPixelFormat: image.PixelMapFormat.RGBA_8888, + desiredSize: { width: 50, height: 50 } + }); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + if (!this.isPageShow) { + return + } + this.isPageShow = false; + this.mutableStyledString.appendStyledString(new StyledString(this.customSpan)) + this.mutableStyledString.appendStyledString(new StyledString("aaa123", [{ + start: 0, + length: 5, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Green, fontSize: LengthMetrics.px(50) }) + }])) + this.textController.setStyledString(this.mutableStyledString) + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.icon')).then(); + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.RESIZE); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('TextUIComponentTextCommonCopyOptionDraggable0110') + .copyOption(CopyOptions.InApp) + .draggable(true) + Search() + .id('SearchUIComponentTextCommonCopyOptionDraggable0110') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(SearchType.NUMBER) + .fontColor(Color.Green) + .textFont({ + size: 30 + }) + TextArea() + .id('TextAreaUIComponentTextCommonCopyOptionDraggable0110') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(TextAreaType.NORMAL) + .fontColor(Color.Red) + TextInput() + .id('TextInputUIComponentTextCommonCopyOptionDraggable0110') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(InputType.Normal) + .fontColor(Color.Orange) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0120.ets new file mode 100644 index 00000000..686d9c0a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0120.ets @@ -0,0 +1,172 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { drawing } from '@kit.ArkGraphics2D' +import { image } from '@kit.ImageKit' +import { LengthMetrics } from '@kit.ArkUI' +import { KeyboardAvoidMode } from '@kit.ArkUI'; + +class MyCustomSpan extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 160; + word: string = "drawing"; + height: number = 10; +} + +@Entry +@Component +struct UIComponentTextCommonCopyOptionDraggable0120 { + textController: TextController = new TextController(); + customSpan: MyCustomSpan = new MyCustomSpan("Hello", 80, 10); + mutableStyledString: MutableStyledString = new MutableStyledString(this.customSpan); + imagePixelMap: image.PixelMap | undefined = undefined; + isPageShow: boolean = true; + @State onChangeNum: number = 0; + @State onPasteNum: number = 0; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap({ + desiredPixelFormat: image.PixelMapFormat.RGBA_8888, + desiredSize: { width: 50, height: 50 } + }); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + if (!this.isPageShow) { + return + } + this.isPageShow = false; + this.mutableStyledString.appendStyledString(new StyledString(this.customSpan)) + this.mutableStyledString.appendStyledString(new StyledString("aaa123", [{ + start: 0, + length: 5, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Green, fontSize: LengthMetrics.px(50) }) + }])) + this.textController.setStyledString(this.mutableStyledString) + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.icon')).then(); + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.RESIZE); + } + + build() { + Row() { + Column() { + Text(`onchange触发次数:${this.onChangeNum},onPaste触发次数:${this.onPasteNum}`) + Text(undefined, { controller: this.textController }) + .id('TextUIComponentTextCommonCopyOptionDraggable0120') + .copyOption(CopyOptions.InApp) + .draggable(true) + Search() + .id('SearchUIComponentTextCommonCopyOptionDraggable0120') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(SearchType.NUMBER) + .fontColor(Color.Green) + .textFont({ + size: 30 + }) + .onChange(() => { + this.onChangeNum += 1; + }) + .onPaste(() => { + this.onPasteNum += 1; + }) + TextArea() + .id('TextAreaUIComponentTextCommonCopyOptionDraggable0120') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(TextAreaType.NORMAL) + .fontColor(Color.Red) + .onChange(() => { + this.onChangeNum += 1; + }) + .onPaste(() => { + this.onPasteNum += 1; + }) + TextInput() + .id('TextInputUIComponentTextCommonCopyOptionDraggable0120') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(InputType.Normal) + .fontColor(Color.Orange) + .onChange(() => { + this.onChangeNum += 1; + }) + .onPaste(() => { + this.onPasteNum += 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/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0130.ets new file mode 100644 index 00000000..b87d9eaf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0130.ets @@ -0,0 +1,172 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { drawing } from '@kit.ArkGraphics2D' +import { image } from '@kit.ImageKit' +import { LengthMetrics } from '@kit.ArkUI' +import { KeyboardAvoidMode } from '@kit.ArkUI'; + +class MyCustomSpan extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 160; + word: string = "drawing"; + height: number = 10; +} + +@Entry +@Component +struct UIComponentTextCommonCopyOptionDraggable0130 { + textController: TextController = new TextController(); + customSpan: MyCustomSpan = new MyCustomSpan("Hello", 80, 10); + mutableStyledString: MutableStyledString = new MutableStyledString(this.customSpan); + imagePixelMap: image.PixelMap | undefined = undefined; + isPageShow: boolean = true; + @State onChangeNum: number = 0; + @State onPasteNum: number = 0; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap({ + desiredPixelFormat: image.PixelMapFormat.RGBA_8888, + desiredSize: { width: 50, height: 50 } + }); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + if (!this.isPageShow) { + return + } + this.isPageShow = false; + this.mutableStyledString.appendStyledString(new StyledString(this.customSpan)) + this.mutableStyledString.appendStyledString(new StyledString("aaa123", [{ + start: 0, + length: 5, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Green, fontSize: LengthMetrics.px(50) }) + }])) + this.textController.setStyledString(this.mutableStyledString) + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.icon')).then(); + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.RESIZE); + } + + build() { + Row() { + Column() { + Text(`onchange触发次数:${this.onChangeNum},onPaste触发次数:${this.onPasteNum}`) + Text(undefined, { controller: this.textController }) + .id('TextUIComponentTextCommonCopyOptionDraggable0130') + .copyOption(CopyOptions.InApp) + .draggable(true) + Search() + .id('SearchUIComponentTextCommonCopyOptionDraggable0130') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(SearchType.NUMBER) + .fontColor(Color.Green) + .textFont({ + size: 30 + }) + .onChange(() => { + this.onChangeNum += 1; + }) + .onPaste(() => { + this.onPasteNum += 1; + }) + TextArea() + .id('TextAreaUIComponentTextCommonCopyOptionDraggable0130') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(TextAreaType.NORMAL) + .fontColor(Color.Red) + .onChange(() => { + this.onChangeNum += 1; + }) + .onPaste(() => { + this.onPasteNum += 1; + }) + TextInput() + .id('TextInputUIComponentTextCommonCopyOptionDraggable0130') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(InputType.Normal) + .fontColor(Color.Orange) + .onChange(() => { + this.onChangeNum += 1; + }) + .onPaste(() => { + this.onPasteNum += 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/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0140.ets new file mode 100644 index 00000000..184ea8cb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0140.ets @@ -0,0 +1,157 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { drawing } from '@kit.ArkGraphics2D' +import { image } from '@kit.ImageKit' +import { LengthMetrics } from '@kit.ArkUI' +import { KeyboardAvoidMode } from '@kit.ArkUI'; + +class MyCustomSpan extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 160; + word: string = "drawing"; + height: number = 10; +} + +@Entry +@Component +struct UIComponentTextCommonCopyOptionDraggable0140 { + textController: TextController = new TextController(); + customSpan: MyCustomSpan = new MyCustomSpan("Hello", 80, 10); + mutableStyledString: MutableStyledString = new MutableStyledString(this.customSpan); + imagePixelMap: image.PixelMap | undefined = undefined; + isPageShow: boolean = true; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap({ + desiredPixelFormat: image.PixelMapFormat.RGBA_8888, + desiredSize: { width: 50, height: 50 } + }); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + if (!this.isPageShow) { + return + } + this.isPageShow = false; + this.mutableStyledString.appendStyledString(new StyledString(this.customSpan)) + this.mutableStyledString.appendStyledString(new StyledString("aaa123", [{ + start: 0, + length: 5, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Green, fontSize: LengthMetrics.px(50) }) + }])) + this.textController.setStyledString(this.mutableStyledString) + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.icon')).then(); + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.RESIZE); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('TextUIComponentTextCommonCopyOptionDraggable0140') + .copyOption(CopyOptions.InApp) + .draggable(true) + Search({ + placeholder: '请输入文本内容' + }) + .id('SearchUIComponentTextCommonCopyOptionDraggable0140') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(SearchType.NUMBER) + .fontColor(Color.Green) + .textFont({ + size: 30 + }) + TextArea({ + placeholder: '请输入文本内容' + }) + .id('TextAreaUIComponentTextCommonCopyOptionDraggable0140') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(TextAreaType.NORMAL) + .fontColor(Color.Red) + TextInput({ + placeholder: '请输入文本内容' + }) + .id('TextInputUIComponentTextCommonCopyOptionDraggable0140') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(InputType.Normal) + .fontColor(Color.Orange) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0150.ets new file mode 100644 index 00000000..1ed3da08 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0150.ets @@ -0,0 +1,157 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { drawing } from '@kit.ArkGraphics2D' +import { image } from '@kit.ImageKit' +import { LengthMetrics } from '@kit.ArkUI' +import { KeyboardAvoidMode } from '@kit.ArkUI'; + +class MyCustomSpan extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 160; + word: string = "drawing"; + height: number = 10; +} + +@Entry +@Component +struct UIComponentTextCommonCopyOptionDraggable0150 { + textController: TextController = new TextController(); + customSpan: MyCustomSpan = new MyCustomSpan("Hello", 80, 10); + mutableStyledString: MutableStyledString = new MutableStyledString(this.customSpan); + imagePixelMap: image.PixelMap | undefined = undefined; + isPageShow: boolean = true; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap({ + desiredPixelFormat: image.PixelMapFormat.RGBA_8888, + desiredSize: { width: 50, height: 50 } + }); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + if (!this.isPageShow) { + return + } + this.isPageShow = false; + this.mutableStyledString.appendStyledString(new StyledString(this.customSpan)) + this.mutableStyledString.appendStyledString(new StyledString("aaa123", [{ + start: 0, + length: 5, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Green, fontSize: LengthMetrics.px(50) }) + }])) + this.textController.setStyledString(this.mutableStyledString) + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.icon')).then(); + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.RESIZE); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('TextUIComponentTextCommonCopyOptionDraggable0150') + .copyOption(CopyOptions.InApp) + .draggable(true) + Search({ + placeholder: '请输入文本内容' + }) + .id('SearchUIComponentTextCommonCopyOptionDraggable0150') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(SearchType.NUMBER) + .fontColor(Color.Green) + .textFont({ + size: 30 + }) + TextArea({ + placeholder: '请输入文本内容' + }) + .id('TextAreaUIComponentTextCommonCopyOptionDraggable0150') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(TextAreaType.NORMAL) + .fontColor(Color.Red) + TextInput({ + placeholder: '请输入文本内容' + }) + .id('TextInputUIComponentTextCommonCopyOptionDraggable0150') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(InputType.Normal) + .fontColor(Color.Orange) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0160.ets new file mode 100644 index 00000000..0302e6b3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0160.ets @@ -0,0 +1,167 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { drawing } from '@kit.ArkGraphics2D' +import { image } from '@kit.ImageKit' +import { LengthMetrics } from '@kit.ArkUI' +import { KeyboardAvoidMode } from '@kit.ArkUI'; + +class MyCustomSpan extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 160; + word: string = "drawing"; + height: number = 10; +} + +@Entry +@Component +struct UIComponentTextCommonCopyOptionDraggable0160 { + textController: TextController = new TextController(); + textAreaController: TextAreaController = new TextAreaController(); + inputController: TextInputController = new TextInputController(); + searController: SearchController = new SearchController(); + customSpan: MyCustomSpan = new MyCustomSpan("Hello", 80, 10); + mutableStyledString: MutableStyledString = new MutableStyledString(this.customSpan); + imagePixelMap: image.PixelMap | undefined = undefined; + isPageShow: boolean = true; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap({ + desiredPixelFormat: image.PixelMapFormat.RGBA_8888, + desiredSize: { width: 50, height: 50 } + }); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + if (!this.isPageShow) { + return + } + this.isPageShow = false; + this.mutableStyledString.appendStyledString(new StyledString(this.customSpan)) + this.mutableStyledString.appendStyledString(new StyledString("aaa123", [{ + start: 0, + length: 5, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Green, fontSize: LengthMetrics.px(50) }) + }])) + this.textController.setStyledString(this.mutableStyledString) + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.icon')).then(); + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.RESIZE); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('TextUIComponentTextCommonCopyOptionDraggable0160') + .copyOption(CopyOptions.InApp) + .draggable(true) + Search({ + controller: this.searController + }) + .id('SearchUIComponentTextCommonCopyOptionDraggable0160') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(SearchType.NUMBER) + .fontColor(Color.Green) + .textFont({ + size: 30 + }) + TextArea({ + controller: this.textAreaController + }) + .id('TextAreaUIComponentTextCommonCopyOptionDraggable0160') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(TextAreaType.NORMAL) + .fontColor(Color.Red) + TextInput({ + controller: this.inputController + }) + .id('TextInputUIComponentTextCommonCopyOptionDraggable0160') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(InputType.Normal) + .fontColor(Color.Orange) + Button('选中文本') + .id('btnUIComponentTextCommonCopyOptionDraggable0160') + .onClick(() => { + this.inputController.setTextSelection(0, 5); + this.searController.setTextSelection(0, 5); + this.textAreaController.setTextSelection(0, 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/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0170.ets new file mode 100644 index 00000000..9c470ed5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0170.ets @@ -0,0 +1,167 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { drawing } from '@kit.ArkGraphics2D' +import { image } from '@kit.ImageKit' +import { LengthMetrics } from '@kit.ArkUI' +import { KeyboardAvoidMode } from '@kit.ArkUI'; + +class MyCustomSpan extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 160; + word: string = "drawing"; + height: number = 10; +} + +@Entry +@Component +struct UIComponentTextCommonCopyOptionDraggable0170 { + textController: TextController = new TextController(); + textAreaController: TextAreaController = new TextAreaController(); + inputController: TextInputController = new TextInputController(); + searController: SearchController = new SearchController(); + customSpan: MyCustomSpan = new MyCustomSpan("Hello", 80, 10); + mutableStyledString: MutableStyledString = new MutableStyledString(this.customSpan); + imagePixelMap: image.PixelMap | undefined = undefined; + isPageShow: boolean = true; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap({ + desiredPixelFormat: image.PixelMapFormat.RGBA_8888, + desiredSize: { width: 50, height: 50 } + }); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + if (!this.isPageShow) { + return + } + this.isPageShow = false; + this.mutableStyledString.appendStyledString(new StyledString(this.customSpan)) + this.mutableStyledString.appendStyledString(new StyledString("aaa123", [{ + start: 0, + length: 5, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Green, fontSize: LengthMetrics.px(50) }) + }])) + this.textController.setStyledString(this.mutableStyledString) + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.icon')).then(); + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.RESIZE); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('TextUIComponentTextCommonCopyOptionDraggable0170') + .copyOption(CopyOptions.InApp) + .draggable(true) + Search({ + controller: this.searController + }) + .id('SearchUIComponentTextCommonCopyOptionDraggable0170') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(SearchType.NUMBER) + .fontColor(Color.Green) + .textFont({ + size: 30 + }) + TextArea({ + controller: this.textAreaController + }) + .id('TextAreaUIComponentTextCommonCopyOptionDraggable0170') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(TextAreaType.NORMAL) + .fontColor(Color.Red) + TextInput({ + controller: this.inputController + }) + .id('TextInputUIComponentTextCommonCopyOptionDraggable0170') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + .type(InputType.Normal) + .fontColor(Color.Orange) + Button('选中文本') + .id('btnUIComponentTextCommonCopyOptionDraggable0170') + .onClick(() => { + this.inputController.setTextSelection(0, 10); + this.searController.setTextSelection(0, 10); + this.textAreaController.setTextSelection(0, 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/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0180.ets new file mode 100644 index 00000000..7bcc2f5a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0180.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 { promptAction } from '@kit.ArkUI'; +import { drawing } from '@kit.ArkGraphics2D' +import { image } from '@kit.ImageKit' +import { LengthMetrics } from '@kit.ArkUI' +import { KeyboardAvoidMode } from '@kit.ArkUI'; +class MyCustomSpan extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 160; + word: string = 'drawing'; + height: number = 10; +} + +@Entry +@Component +struct UIComponentTextCommonCopyOptionDraggable0180 { + textController: TextController = new TextController(); + customSpan: MyCustomSpan = new MyCustomSpan('Hello', 200, 50); + mutableStyledString: MutableStyledString = new MutableStyledString(this.customSpan); + imagePixelMap: image.PixelMap | undefined = undefined; + isPageShow: boolean = true; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap({ + desiredPixelFormat: image.PixelMapFormat.RGBA_8888, + desiredSize: { width: 50, height: 50 } + }); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + if (!this.isPageShow) { + return + } + this.isPageShow = false; + this.mutableStyledString.appendStyledString(new StyledString(this.customSpan)) + this.mutableStyledString.appendStyledString(new StyledString('aaaaaaaaaaaaaaaaaaaaaaaa0', [{ + start: 0, + length: 5, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Green, fontSize: LengthMetrics.px(50) }) + }])) + this.textController.setStyledString(this.mutableStyledString) + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.icon')).then(); + this.getUIContext().setKeyboardAvoidMode(KeyboardAvoidMode.RESIZE); + } + + build() { + Column() { + Search() + .id('SearchUIComponentTextCommonCopyOptionDraggable0180') + .copyOption(CopyOptions.InApp) + .draggable(true) + TextArea() + .id('TextAreaUIComponentTextCommonCopyOptionDraggable0180') + .copyOption(CopyOptions.InApp) + .draggable(true) + .margin(10) + TextInput() + .id('TextInputUIComponentTextCommonCopyOptionDraggable0180') + .copyOption(CopyOptions.InApp) + .draggable(true) + Text(undefined, { controller: this.textController }) + .id('TextUIComponentTextCommonCopyOptionDraggable0180') + .copyOption(CopyOptions.InApp) + .draggable(true) + } + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan001.ets new file mode 100644 index 00000000..0f78c408 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan001.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. + */ + +class MyCustomSpan extends CustomSpan { + constructor(width: number) { + super(); + this.width = width; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width }; + } + + setWidth(width: number){ + this.width = width; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + } + + width: number = 0; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan001 { + @State customSpan1: MyCustomSpan = new MyCustomSpan(80); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + textController: TextController = new TextController(); + + async onPageShow() { + this.textController.setStyledString(this.style1); + } + + build() { + Row() { + Column() { + Button('改变width') + .id('UIComponentTextCommonCustomDrawingSpan001') + .margin({ bottom: 20 }) + .onClick(() => { + this.customSpan1.setWidth(20); + this.textController.setStyledString(this.style1); + }) + + Text(undefined, { controller: this.textController }) + .copyOption(CopyOptions.InApp) + .fontSize(20) + .border({ width: 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/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan002.ets new file mode 100644 index 00000000..ace3d991 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan002.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. + */ + +class MyCustomSpan2 extends CustomSpan { + constructor(width: number) { + super(); + this.width = width; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + } + + setWidth(width: number){ + this.width = width; + } + + width: number = 0; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan002 { + customSpan1: MyCustomSpan2 = new MyCustomSpan2(80); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + textController: TextController = new TextController(); + + async onPageShow() { + this.textController.setStyledString(this.style1) + } + + build() { + Row() { + Column() { + Button('改变width为-10') + .id('UIComponentTextCommonCustomDrawingSpan002') + .margin({ bottom: 20 }) + .onClick(() => { + this.customSpan1.setWidth(-10); + this.textController.setStyledString(this.style1); + }) + + Text(undefined, { controller: this.textController }) + .copyOption(CopyOptions.InApp) + .fontSize(20) + .border({ width: 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/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan004.ets new file mode 100644 index 00000000..6f8f5b86 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan004.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. + */ + +class MyCustomSpan4 extends CustomSpan { + constructor(width: number, height: number) { + super(); + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + } + + setHeight(height: number){ + this.height = height; + } + + width: number = 0; + height: number = 0; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan004 { + customSpan1: MyCustomSpan4 = new MyCustomSpan4(10, 80); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + textController: TextController = new TextController(); + + async onPageShow() { + this.textController.setStyledString(this.style1) + } + + build() { + Row() { + Column() { + Button('改变height') + .id('UIComponentTextCommonCustomDrawingSpan004') + .margin({ bottom: 20 }) + .onClick(() => { + this.customSpan1.setHeight(20); + this.textController.setStyledString(this.style1); + }) + + Text(undefined, { controller: this.textController }) + .copyOption(CopyOptions.InApp) + .fontSize(20) + .border({ width: 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/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan005.ets new file mode 100644 index 00000000..e67e024b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan005.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. + */ + +class MyCustomSpan5 extends CustomSpan { + constructor(width: number, height: number) { + super(); + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + } + + setHeight(height: number){ + this.height = height; + } + + width: number = 0; + height: number = 0; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan005 { + customSpan1: MyCustomSpan5 = new MyCustomSpan5(10, 80); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + textController: TextController = new TextController(); + + async onPageShow() { + this.textController.setStyledString(this.style1) + } + + build() { + Row() { + Column() { + Button('设置height为-10') + .id('UIComponentTextCommonCustomDrawingSpan005') + .margin({ bottom: 20 }) + .onClick(() => { + this.customSpan1.setHeight(-10); + this.textController.setStyledString(this.style1); + }) + + Text(undefined, { controller: this.textController }) + .copyOption(CopyOptions.InApp) + .fontSize(20) + .border({ width: 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/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan007.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan007.ets new file mode 100644 index 00000000..b154de46 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan007.ets @@ -0,0 +1,85 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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'; + +class MyCustomSpan7 extends CustomSpan { + constructor() { + super(); + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString('hello', font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + width: number = 200; + height: number = 200; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan007 { + customSpan1: MyCustomSpan7 = new MyCustomSpan7(); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + textController: TextController = new TextController(); + + async onPageShow() { + this.textController.setStyledString(this.style1) + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .copyOption(CopyOptions.InApp) + .fontSize(20) + .border({ width: 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/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan008.ets new file mode 100644 index 00000000..ceb593b9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan008.ets @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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'; + +class MyCustomSpan8 extends CustomSpan { + constructor() { + super(); + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString('hello', font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + width: number = 200; + height: number = 200; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan008 { + customSpan1: MyCustomSpan8 = new MyCustomSpan8(); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + textController: TextController = new TextController(); + + async onPageShow() { + this.textController.setStyledString(this.style1) + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .copyOption(CopyOptions.InApp) + .fontSize(20) + .border({ width: 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/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan009.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan009.ets new file mode 100644 index 00000000..9be1686d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan009.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. + */ + +class MyCustomSpan9 extends CustomSpan { + constructor() { + super(); + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + + } + + width: number = 200; + height: number = 200; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan009 { + customSpan1: MyCustomSpan9 = new MyCustomSpan9(); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + textController: TextController = new TextController(); + + async onPageShow() { + this.textController.setStyledString(this.style1) + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .copyOption(CopyOptions.InApp) + .fontSize(20) + .border({ width: 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/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan010.ets new file mode 100644 index 00000000..ac222835 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan010.ets @@ -0,0 +1,111 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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'; + +class MyCustomSpan12 extends CustomSpan { + constructor() { + super(); + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString('Hello World', font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x, options.lineBottom); + canvas.detachBrush(); + } + + width: number = 100; + height: number = 100; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan010 { + controller: TextController = new TextController(); + options: TextOptions = { controller: this.controller }; + customSpan1: MyCustomSpan12 = new MyCustomSpan12(); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + + async onPageShow() { + this.controller.setStyledString(this.style1) + } + + build() { + Column() { + Column() { + Text(undefined, this.options) { + Span('Hello World') + } + .id('UIComponentTextCommonCustomDrawingSpan010') + .copyOption(CopyOptions.InApp) + .selection(0, 6) + .bindSelectionMenu(3, this.LongClickTextCustomMenu, TextResponseType.LONG_PRESS) + .borderWidth(1) + .borderColor(Color.Red) + .width(200) + .height(100) + } + .width('100%') + .backgroundColor(Color.White) + .alignItems(HorizontalAlign.Start) + .padding(25) + } + .height('100%') + } + + @Builder + LongClickTextCustomMenu() { + Column() { + Menu() { + MenuItemGroup() { + MenuItem({ content: 'Long Click Menu 1', labelInfo: '' }) + .onClick((event) => { + this.controller.closeSelectionMenu(); + }) + MenuItem({ content: 'Long Click Menu 2', labelInfo: '' }) + MenuItem({ content: 'Long Click Menu 3', labelInfo: '' }) + } + } + .MenuStyles() + } + } +} + +@Extend(Menu) +function MenuStyles() { + .clip(true) + .backgroundColor('#F0F0F0') +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan011.ets new file mode 100644 index 00000000..2a830312 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan011.ets @@ -0,0 +1,115 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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'; + +class MyCustomSpan12 extends CustomSpan { + constructor() { + super(); + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString('Hello World', font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x, options.lineBottom); + canvas.detachBrush(); + } + + width: number = 100; + height: number = 100; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan011 { + controller: TextController = new TextController(); + options: TextOptions = { controller: this.controller }; + customSpan1: MyCustomSpan12 = new MyCustomSpan12(); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + + async onPageShow() { + this.controller.setStyledString(this.style1) + } + + build() { + Column() { + Column() { + Text(undefined, this.options) { + Span('Hello World') + } + .id('UIComponentTextCommonCustomDrawingSpan011') + .copyOption(CopyOptions.InApp) + .selection(0, 6) + .borderWidth(1) + .borderColor(Color.Red) + .width(200) + .height(100) + + TextArea() + .id('TextAreaUIComponentTextCommonCustomDrawingSpan011') + .copyOption(CopyOptions.InApp) + .draggable(true) + } + .width('100%') + .backgroundColor(Color.White) + .alignItems(HorizontalAlign.Start) + .padding(25) + } + .height('100%') + } + + @Builder + LongClickTextCustomMenu() { + Column() { + Menu() { + MenuItemGroup() { + MenuItem({ content: 'Long Click Menu 1', labelInfo: '' }) + .onClick((event) => { + this.controller.closeSelectionMenu(); + }) + MenuItem({ content: 'Long Click Menu 2', labelInfo: '' }) + MenuItem({ content: 'Long Click Menu 3', labelInfo: '' }) + } + } + .MenuStyles() + } + } +} + +@Extend(Menu) +function MenuStyles() { + .clip(true) + .backgroundColor('#F0F0F0') +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan012.ets new file mode 100644 index 00000000..cfd8dc73 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan012.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 { drawing } from '@kit.ArkGraphics2D'; + +class MyCustomSpan12 extends CustomSpan { + constructor() { + super(); + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString('Hello World', font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x, options.lineBottom); + canvas.detachBrush(); + } + + width: number = 100; + height: number = 100; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan012 { + controller: TextController = new TextController(); + options: TextOptions = { controller: this.controller }; + customSpan1: MyCustomSpan12 = new MyCustomSpan12(); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + + async onPageShow() { + this.controller.setStyledString(this.style1) + } + + build() { + Column() { + Column() { + Text(undefined, this.options) { + Span('Hello World') + } + .id('UIComponentTextCommonCustomDrawingSpan012') + .copyOption(CopyOptions.InApp) + .bindSelectionMenu(3, this.LongClickTextCustomMenu, TextResponseType.LONG_PRESS) + .borderWidth(1) + .borderColor(Color.Red) + .width(200) + .height(100) + } + .width('100%') + .backgroundColor(Color.White) + .alignItems(HorizontalAlign.Start) + .padding(25) + } + .height('100%') + } + + @Builder + LongClickTextCustomMenu() { + Column() { + Menu() { + MenuItemGroup() { + MenuItem({ content: "Long Click Menu 1", labelInfo: "" }) + .onClick((event) => { + this.controller.closeSelectionMenu(); + }) + MenuItem({ content: "Long Click Menu 2", labelInfo: "" }) + MenuItem({ content: "Long Click Menu 3", labelInfo: "" }) + } + } + .MenuStyles() + } + } +} + +@Extend(Menu) +function MenuStyles() { + .clip(true) + .backgroundColor('#F0F0F0') +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan013.ets new file mode 100644 index 00000000..076c3a5e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan013.ets @@ -0,0 +1,121 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { LengthMetrics } from '@kit.ArkUI'; + +class MyCustomSpan12 extends CustomSpan { + constructor() { + super(); + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString( + 'Hello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello ', + font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x, 120); + canvas.detachBrush(); + } + + width: number = 200; + height: number = 200; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan013 { + controller: TextController = new TextController(); + options: TextOptions = { controller: this.controller }; + customSpan1: MyCustomSpan12 = new MyCustomSpan12(); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + + async onPageShow() { + } + + build() { + Column() { + Column() { + Text(undefined, this.options) { + Span('Hello World') + } + .textOverflow({ + overflow: TextOverflow.MARQUEE + }) + .id('UIComponentTextCommonCustomDrawingSpan013') + .copyOption(CopyOptions.InApp) + .bindSelectionMenu(3, this.LongClickTextCustomMenu, TextResponseType.LONG_PRESS) + .borderWidth(1) + .borderColor(Color.Red) + .width(200) + .height(200) + + Button('MutableStyledString') + .id('UIComponentTextCommonCustomDrawingSpan013_btn1') + .onClick(() => { + this.controller.setStyledString(this.style1); + }) + } + .width('100%') + .backgroundColor(Color.White) + .alignItems(HorizontalAlign.Start) + .padding(25) + } + .height('100%') + } + + @Builder + LongClickTextCustomMenu() { + Column() { + Menu() { + MenuItemGroup() { + MenuItem({ content: 'Long Click Menu 1', labelInfo: '' }) + .onClick((event) => { + this.controller.closeSelectionMenu(); + }) + MenuItem({ content: 'Long Click Menu 2', labelInfo: '' }) + MenuItem({ content: 'Long Click Menu 3', labelInfo: '' }) + } + } + .MenuStyles() + } + } +} + +@Extend(Menu) +function MenuStyles() { + .clip(true) + .backgroundColor('#F0F0F0') +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan014.ets new file mode 100644 index 00000000..63457a96 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan014.ets @@ -0,0 +1,132 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { LengthMetrics, LengthUnit } from '@kit.ArkUI'; + +class MyCustomSpan12 extends CustomSpan { + constructor() { + super(); + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString( + 'Hello World', + font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x, 120); + canvas.detachBrush(); + } + + width: number = 200; + height: number = 200; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan014 { + controller: TextController = new TextController(); + options: TextOptions = { controller: this.controller }; + customSpan1: MyCustomSpan12 = new MyCustomSpan12(); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + + async onPageShow() { + } + + build() { + Column() { + Column() { + Button('MutableStyledString') + .id('UIComponentTextCommonCustomDrawingSpan014_btn1') + .onClick(() => { + this.controller.setStyledString(this.style1); + }) + + Button('letterSpacing') + .id('UIComponentTextCommonCustomDrawingSpan014_btn2') + .onClick(() => { + this.style1.appendStyledString(new StyledString('Hello World', + [{ + start: 0, + length: 15, + styledKey: StyledStringKey.LETTER_SPACING, + styledValue: new LetterSpacingStyle(new LengthMetrics(10, LengthUnit.VP)) + }] + )) + this.controller.setStyledString(this.style1); + }) + + Text(undefined, this.options) { + Span('Hello World') + } + .id('UIComponentTextCommonCustomDrawingSpan014') + .copyOption(CopyOptions.InApp) + .bindSelectionMenu(3, this.LongClickTextCustomMenu, TextResponseType.LONG_PRESS) + .borderWidth(1) + .borderColor(Color.Red) + .width(200) + .height(200) + } + .width('100%') + .backgroundColor(Color.White) + .alignItems(HorizontalAlign.Start) + .padding(25) + } + .height('100%') + } + + @Builder + LongClickTextCustomMenu() { + Column() { + Menu() { + MenuItemGroup() { + MenuItem({ content: 'Long Click Menu 1', labelInfo: '' }) + .onClick((event) => { + this.controller.closeSelectionMenu(); + }) + MenuItem({ content: 'Long Click Menu 2', labelInfo: '' }) + MenuItem({ content: 'Long Click Menu 3', labelInfo: '' }) + } + } + .MenuStyles() + } + } +} + +@Extend(Menu) +function MenuStyles() { + .clip(true) + .backgroundColor('#F0F0F0') +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan015.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan015.ets new file mode 100644 index 00000000..c1951f9e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan015.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. + */ + +class MyCustomSpan15 extends CustomSpan { + constructor() { + super(); + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + } + + width: number = 50; + height: number = 50; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan015 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan15 = new MyCustomSpan15(); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State getString: string = ''; + + async onPageShow() { + this.controller.setStyledString(this.style1) + } + + build() { + Column() { + Column() { + Button('get string') + .id('UIComponentTextCommonCustomDrawingSpan015') + .margin({ bottom: 20 }) + .onClick(() => { + if (this.style1) { + this.getString = 'getString value: ' + this.style1.getString(); + this.controller.setStyledString(this.style1); + } + }) + Text(undefined, { controller: this.controller }) { + } + + Text(this.getString) { + } + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan016.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan016.ets new file mode 100644 index 00000000..bc4c7756 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan016.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. + */ + +class MyCustomSpan16 extends CustomSpan { + constructor() { + super(); + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + } + + width: number = 50; + height: number = 50; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan016 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan16 = new MyCustomSpan16(); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State getLength: string = ''; + + async onPageShow() { + this.controller.setStyledString(this.style1) + } + + build() { + Column() { + Column() { + Button('get length') + .id('UIComponentTextCommonCustomDrawingSpan016') + .margin({ bottom: 20 }) + .onClick(() => { + if (this.style1) { + this.getLength = 'getLength value: ' + this.style1.length; + this.controller.setStyledString(this.style1); + } + }) + Text(undefined, { controller: this.controller }) { + } + + Text(this.getLength) { + } + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan017.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan017.ets new file mode 100644 index 00000000..0730dd9f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan017.ets @@ -0,0 +1,184 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { LengthMetrics } from '@kit.ArkUI'; + +class MyCustomSpan12 extends CustomSpan { + constructor() { + super(); + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString( + 'Hello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello ', + font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x, 120); + canvas.detachBrush(); + } + + width: number = 200; + height: number = 200; +} + +class MyCustomSpan17 extends CustomSpan { + constructor() { + super(); + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString( + 'Test Test Test Test Test Test Test Test Test ', + font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + brush.setColor({ + alpha: 255, + red: 23, + green: 0, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x, 60); + canvas.detachBrush(); + } + + width: number = 100; + height: number = 100; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan017 { + controller1: TextController = new TextController(); + options1: TextOptions = { controller: this.controller1 }; + customSpan1: MyCustomSpan12 = new MyCustomSpan12(); + customSpan3: MyCustomSpan12 = new MyCustomSpan17(); + style1: StyledString = new StyledString(this.customSpan1); + style2: StyledString = new StyledString(this.customSpan1); + style3: StyledString = new StyledString(this.customSpan3); + @State letterSpacing: number = 10; + @State equals1: string = ''; + @State equals2: string = ''; + + async onPageShow() { + this.controller1.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Text(undefined, this.options1) { + Span('Hello World') + } + .id('UIComponentTextCommonCustomDrawingSpan017') + .copyOption(CopyOptions.InApp) + .bindSelectionMenu(3, this.LongClickTextCustomMenu, TextResponseType.LONG_PRESS) + .letterSpacing(this.letterSpacing) + .borderWidth(1) + .borderColor(Color.Red) + .width(200) + .height(200) + + Button('get 按钮') + .id('UIComponentTextCommonCustomDrawingSpan017_btn1') + .margin(10) + .onClick(() => { + this.style2 = new StyledString(this.customSpan1); + }) + + Button('相等的两个custom span判断相同') + .id('UIComponentTextCommonCustomDrawingSpan017_btn2') + .margin(10) + .onClick(() => { + this.equals1 = '相等的两个custom span判断相同, 返回值: ' + this.style1.equals(this.style2); + }) + + Button('不相等的两个custom span判断不相同') + .id('UIComponentTextCommonCustomDrawingSpan017_btn3') + .margin(10) + .onClick(() => { + this.equals2 = '不相等的两个custom span判断不相同, 返回值: ' + this.style1.equals(this.style3); + }) + + Text(this.equals1).fontSize(30) + .margin(10) + Text(this.equals2).fontSize(30) + .margin(10) + } + .width('100%') + .backgroundColor(Color.White) + .alignItems(HorizontalAlign.Start) + .padding(25) + } + .height('100%') + } + + @Builder + LongClickTextCustomMenu() { + Column() { + Menu() { + MenuItemGroup() { + MenuItem({ content: 'Long Click Menu 1', labelInfo: '' }) + .onClick((event) => { + this.controller1.closeSelectionMenu(); + }) + MenuItem({ content: 'Long Click Menu 2', labelInfo: '' }) + MenuItem({ content: 'Long Click Menu 3', labelInfo: '' }) + } + } + .MenuStyles() + } + } +} + +@Extend(Menu) +function MenuStyles() { + .clip(true) + .backgroundColor('#F0F0F0') +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan019.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan019.ets new file mode 100644 index 00000000..7af87c54 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan019.ets @@ -0,0 +1,121 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { LengthMetrics } from '@kit.ArkUI'; + +class MyCustomSpan12 extends CustomSpan { + constructor() { + super(); + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString( + 'Hello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello ', + font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x, 120); + canvas.detachBrush(); + } + + width: number = 200; + height: number = 200; +} + + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan019 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan12 = new MyCustomSpan12(); + mutableStyledString: MutableStyledString | undefined = undefined; + @State letterSpacing: number = 10; + @State spanStyle: SpanStyle[] | null = null; + @State spanStr: string = ''; + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('这是一段测试文字', [ + { + start: 0, + length: 4, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Blue }) + }, + { + start: 4, + length: 4, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Red }) + } + ]); + this.controller.setStyledString(this.mutableStyledString); + } + + build() { + Column() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .id('UIComponentTextCommonCustomDrawingSpan019') + .copyOption(CopyOptions.InApp) + .letterSpacing(this.letterSpacing) + .borderWidth(1) + .borderColor(Color.Red) + .width(200) + .height(200) + + Button('get 按钮') + .id('UIComponentTextCommonCustomDrawingSpan019_btn1') + .margin(10) + .onClick(() => { + if (this.mutableStyledString) { + this.spanStyle = this.mutableStyledString.getStyles( + 0, this.mutableStyledString.length, StyledStringKey.FONT + ); + this.spanStr = JSON.stringify(this.spanStyle); + } + }) + + Text(this.spanStr).fontSize(30) + .margin(10) + } + .width('100%') + .backgroundColor(Color.White) + .alignItems(HorizontalAlign.Start) + .padding(25) + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan020.ets new file mode 100644 index 00000000..e9ee2e3b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan020.ets @@ -0,0 +1,131 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { image } from '@kit.ImageKit'; + +class MyCustomSpan20 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ alpha: 255, red: 0, green: 74, blue: 175 }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ alpha: 255, red: 23, green: 169, blue: 141 }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan020 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan20 = new MyCustomSpan20("Hello world", 300, 300); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State startIndex: number = 0; + @State deleteLength: number = 0; + insertImagePixelMap: image.PixelMap | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + + async onPageShow() { + this.insertImagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + if(this.insertImagePixelMap !== undefined) { + let insert = new MutableStyledString(new ImageAttachment({ + value: this.insertImagePixelMap, + size: { width: 100, height: 100 }, + })); + this.style1.insertStyledString(0, insert); + } + this.style1.insertString(1, 'ha'); + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('Change the starting position to 3') + .id('startButton') + .margin({ bottom: 20 }) + .onClick(() => { + this.startIndex = 3; + }) + + Button('Modify and delete length to 1') + .id('length') + .margin({ bottom: 20 }) + .onClick(() => { + this.deleteLength = 1; + }) + + Button('remove span') + .id('removeButton') + .margin({ bottom: 20 }) + .onClick(() => { + if (this.style1) { + this.style1.removeString(this.startIndex, this.deleteLength); + this.controller.setStyledString(this.style1); + } + }) + + Text(undefined, { controller: this.controller }) { + } + + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan021.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan021.ets new file mode 100644 index 00000000..8c2cf1af --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan021.ets @@ -0,0 +1,107 @@ +/* + * Copyright (C) 2124 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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'; + +class MyCustomSpan21 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ alpha: 255, red: 0, green: 74, blue: 175 }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ alpha: 255, red: 23, green: 169, blue: 141 }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 21, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 210; + height: number = 210; + word: string = "drawing"; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan021 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan21 = new MyCustomSpan21("Hello world", 300, 300); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State startIndex: number = 0; + @State deleteLength: number = 0; + + async onPageShow() { + this.controller.setStyledString(this.style1) + } + + build() { + Column() { + Column() { + Button('Change the starting position to 0') + .id('startButton') + .margin({ bottom: 21 }) + .onClick(() => { + this.startIndex = 0; + }) + + Button('Modify and delete length to 1') + .id('length') + .margin({ bottom: 21 }) + .onClick(() => { + this.deleteLength = 1; + }) + + Button('remove span') + .id('removeButton') + .margin({ bottom: 21 }) + .onClick(() => { + if (this.style1) { + this.style1.removeString(this.startIndex, this.deleteLength); + this.controller.setStyledString(this.style1); + } + }) + + Text(undefined, { controller: this.controller }) { + } + + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan022.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan022.ets new file mode 100644 index 00000000..80bc1d15 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan022.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 { drawing } from '@kit.ArkGraphics2D'; +import { image } from '@kit.ImageKit'; + +class MyCustomSpan22 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan022 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan22 = new MyCustomSpan22("Hello world", 300, 300); + customSpan2: MyCustomSpan22 = new MyCustomSpan22("hahaha", 300, 300); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State startIndex: number = 0; + @State length: number = 0; + + + async onPageShow() { + this.style1.insertString(0,'sss') + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('Change the starting position to 3') + .id('startButton') + .margin({ bottom: 21 }) + .onClick(() => { + this.startIndex = 3; + }) + + Button('Modify length to 1') + .id('length') + .margin({ bottom: 21 }) + .onClick(() => { + this.length = 1; + }) + Button('Replace with span') + .id('UIComponentTextCommonCustomDrawingSpan022') + .margin({ bottom: 20 }) + .onClick(() => { + this.style1.replaceStyle({ + start: this.startIndex, + length: this.length, + styledKey: StyledStringKey.CUSTOM_SPAN, + styledValue: this.customSpan2 + }) + this.controller.setStyledString(this.style1); + }) + + Text(undefined, { controller: this.controller }) { + } + + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan023.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan023.ets new file mode 100644 index 00000000..d091e4e4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan023.ets @@ -0,0 +1,122 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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'; + +class MyCustomSpan23 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan023 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan23 = new MyCustomSpan23("Hello world", 100, 100); + customSpan2: MyCustomSpan23 = new MyCustomSpan23("hahaha", 100, 100); + customSpan3: MyCustomSpan23 = new MyCustomSpan23("hhhhh", 100, 100); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State startIndex: number = 0; + @State length: number = 0; + + async onPageShow() { + this.style1.appendStyledString(new StyledString(this.customSpan2)) + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('Change the starting position to 0') + .id('startButton') + .margin({ bottom: 21 }) + .onClick(() => { + this.startIndex = 0; + }) + + Button('Modify length to 1') + .id('length') + .margin({ bottom: 21 }) + .onClick(() => { + this.length = 1; + }) + Button('Replace with span') + .id('UIComponentTextCommonCustomDrawingSpan023') + .margin({ bottom: 20 }) + .onClick(() => { + this.style1.replaceStyle({ + start: this.startIndex, + length: this.length, + styledKey: StyledStringKey.CUSTOM_SPAN, + styledValue: this.customSpan3 + }) + this.controller.setStyledString(this.style1); + }) + + Text(undefined, { controller: this.controller }) { + } + + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan024.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan024.ets new file mode 100644 index 00000000..e1ea0753 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan024.ets @@ -0,0 +1,124 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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'; + +class MyCustomSpan24 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = 'drawing'; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan024 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan24 = new MyCustomSpan24('Hello world', 100, 100); + customSpan2: MyCustomSpan24 = new MyCustomSpan24('hahaha', 100, 100); + customSpan3: MyCustomSpan24 = new MyCustomSpan24('hhhhh', 100, 100); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State startIndex: number = 0; + @State length: number = 0; + + async onPageShow() { + this.style1.appendStyledString(new StyledString(this.customSpan2)) + this.style1.appendStyledString(new StyledString(this.customSpan1)) + this.style1.appendStyledString(new StyledString(this.customSpan3)) + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('Change the starting position to 0') + .id('startButton') + .margin({ bottom: 21 }) + .onClick(() => { + this.startIndex = 0; + }) + + Button('Modify length to 1') + .id('length') + .margin({ bottom: 21 }) + .onClick(() => { + this.length = 1; + }) + Button('Replace with span') + .id('UIComponentTextCommonCustomDrawingSpan024') + .margin({ bottom: 20 }) + .onClick(() => { + this.style1.replaceStyle({ + start: this.startIndex, + length: this.length, + styledKey: StyledStringKey.CUSTOM_SPAN, + styledValue: this.customSpan3 + }) + this.controller.setStyledString(this.style1); + }) + + Text(undefined, { controller: this.controller }) { + } + + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan0250.ets new file mode 100644 index 00000000..4063d552 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan0250.ets @@ -0,0 +1,138 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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'; + +class CrashSpan extends CustomSpan { + constructor(word: string, width: number, height: number, fontSize: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + this.fontSize = fontSize; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(this.fontSize); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; + fontSize: number = 25; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan0250 { + controller: TextController = new TextController(); + customSpan1: CrashSpan = new CrashSpan("Hello world", 200, 200, 30); + customSpan: CrashSpan = new CrashSpan("hahaha", 300, 300, 80); + style1: MutableStyledString = new MutableStyledString(this.customSpan); + @State startIndex: number = 0; + @State length: number = 0; + @State msg: string = ''; + + async onPageShow() { + this.style1.insertString(0, 'sss') + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('Change the starting position to 3') + .id('startButton') + .margin({ bottom: 21 }) + .onClick(() => { + this.startIndex = -1; + }) + + Button('Modify length to 1') + .id('length') + .margin({ bottom: 21 }) + .onClick(() => { + this.length = 1; + }) + Button('setStyle') + .id('UIComponentTextCommonCustomDrawingSpan0250') + .margin({ bottom: 20 }) + .onClick(() => { + try { + this.style1.replaceStyle( + { + start: this.startIndex, + length: this.length, + styledKey: StyledStringKey.CUSTOM_SPAN, + styledValue: this.customSpan1 + } + ); + this.controller.setStyledString(this.style1); + } catch (err) { + this.msg = err.code; + } + } + ) + + Text(undefined, { controller: this.controller }) { + } + + Text('错误码:' + this.msg) + .fontSize(20) + .fontColor(Color.Red) + + } + } + + .height + ('100%' + ) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan027.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan027.ets new file mode 100644 index 00000000..a5505fc1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan027.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 { drawing } from '@kit.ArkGraphics2D'; + +class MyCustomSpan27 extends CustomSpan { + constructor(word: string, width: number, height: number, fontSize: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + this.fontSize = fontSize; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(this.fontSize); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; + fontSize: number = 25; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan027 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan27 = new MyCustomSpan27("Hello world", 200, 200, 30); + customSpan2: MyCustomSpan27 = new MyCustomSpan27("hahaha", 300, 300, 80); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State startIndex: number = 0; + @State length: number = 0; + + async onPageShow() { + this.style1.insertString(0, 'sss') + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('Change the starting position to 3') + .id('startButton') + .margin({ bottom: 21 }) + .onClick(() => { + this.startIndex = 3; + }) + + Button('Modify length to 1') + .id('length') + .margin({ bottom: 21 }) + .onClick(() => { + this.length = 1; + }) + Button('setStyle') + .id('UIComponentTextCommonCustomDrawingSpan027') + .margin({ bottom: 20 }) + .onClick(() => { + this.style1.setStyle({ + start: this.startIndex, + length: this.length, + styledKey: StyledStringKey.CUSTOM_SPAN, + styledValue: this.customSpan2 + }) + this.controller.setStyledString(this.style1); + }) + + Text(undefined, { controller: this.controller }) { + } + + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan028.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan028.ets new file mode 100644 index 00000000..e1ca8de0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan028.ets @@ -0,0 +1,139 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { common2D, drawing } from '@kit.ArkGraphics2D'; + +class MyCustomSpan28 extends CustomSpan { + constructor(word: string, width: number, height: number, color: common2D.Color) { + super(); + this.word = word; + this.width = width; + this.height = height; + this.color = color; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor(this.color); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 28, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; + color: common2D.Color = { + alpha: 255, + red: 0, + green: 74, + blue: 175 + }; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan028 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan28 = new MyCustomSpan28("Hello world", 100, 100, { + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + customSpan2: MyCustomSpan28 = new MyCustomSpan28("hahaha", 100, 100, { + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + customSpan3: MyCustomSpan28 = new MyCustomSpan28("new style", 100, 100, { + alpha: 255, + red: 255, + green: 0, + blue: 0 + }); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State startIndex: number = 0; + @State length: number = 0; + + async onPageShow() { + this.style1.appendStyledString(new StyledString(this.customSpan2)) + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('Change the starting position to 0') + .id('startButton') + .margin({ bottom: 21 }) + .onClick(() => { + this.startIndex = 0; + }) + + Button('Modify length to 1') + .id('length') + .margin({ bottom: 21 }) + .onClick(() => { + this.length = 1; + }) + Button('setStyle') + .id('UIComponentTextCommonCustomDrawingSpan028') + .margin({ bottom: 20 }) + .onClick(() => { + this.style1.setStyle({ + start: this.startIndex, + length: this.length, + styledKey: StyledStringKey.CUSTOM_SPAN, + styledValue: this.customSpan3 + }) + this.controller.setStyledString(this.style1); + }) + + Text(undefined, { controller: this.controller }) { + } + + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan0290.ets new file mode 100644 index 00000000..1bc9ca21 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan0290.ets @@ -0,0 +1,138 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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'; + +class CrashSpan1 extends CustomSpan { + constructor(word: string, width: number, height: number, fontSize: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + this.fontSize = fontSize; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(this.fontSize); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; + fontSize: number = 25; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan0290 { + controller: TextController = new TextController(); + customSpan1: CrashSpan1 = new CrashSpan1("Hello world", 200, 200, 30); + customSpan: CrashSpan1 = new CrashSpan1("hahaha", 300, 300, 80); + style1: MutableStyledString = new MutableStyledString(this.customSpan); + @State startIndex: number = 0; + @State length: number = 0; + @State msg: string = ''; + + async onPageShow() { + this.style1.insertString(0, 'sss') + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('Change the starting position to 3') + .id('startButton') + .margin({ bottom: 21 }) + .onClick(() => { + this.startIndex = 1; + }) + + Button('Modify length to 1') + .id('length') + .margin({ bottom: 21 }) + .onClick(() => { + this.length =20; + }) + Button('setStyle') + .id('UIComponentTextCommonCustomDrawingSpan0290') + .margin({ bottom: 20 }) + .onClick(() => { + try { + this.style1.setStyle( + { + start: this.startIndex, + length: this.length, + styledKey: StyledStringKey.CUSTOM_SPAN, + styledValue: this.customSpan1 + } + ); + this.controller.setStyledString(this.style1); + } catch (err) { + this.msg = err.code; + } + } + ) + + Text(undefined, { controller: this.controller }) { + } + + Text('错误码:' + this.msg) + .fontSize(20) + .fontColor(Color.Red) + + } + } + + .height + ('100%' + ) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan032.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan032.ets new file mode 100644 index 00000000..e37cd52e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan032.ets @@ -0,0 +1,121 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { common2D, drawing } from '@kit.ArkGraphics2D'; + +class MyCustomSpan32 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 32, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; + color: common2D.Color = { + alpha: 255, + red: 0, + green: 74, + blue: 175 + }; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan032 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan32 = new MyCustomSpan32("Hello world", 150, 150); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State startIndex: number = 0; + @State length: number = 0; + + async onPageShow() { + this.style1.insertString(0, 'hi'); + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('Change the starting position to 2') + .id('startButton') + .margin({ bottom: 21 }) + .onClick(() => { + this.startIndex = 2; + }) + + Button('Modify length to 1') + .id('length') + .margin({ bottom: 21 }) + .onClick(() => { + this.length = 1; + }) + Button('remove style') + .id('UIComponentTextCommonCustomDrawingSpan032') + .margin({ bottom: 20 }) + .onClick(() => { + this.style1.removeStyle(this.startIndex, this.length, StyledStringKey.CUSTOM_SPAN) + this.controller.setStyledString(this.style1); + }) + + Text(undefined, { controller: this.controller }) { + + } + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan033.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan033.ets new file mode 100644 index 00000000..fcc5e440 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan033.ets @@ -0,0 +1,121 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { common2D, drawing } from '@kit.ArkGraphics2D'; + +class MyCustomSpan33 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 33, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; + color: common2D.Color = { + alpha: 255, + red: 0, + green: 74, + blue: 175 + }; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan033 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan33 = new MyCustomSpan33("Hello world", 150, 150); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State startIndex: number = 0; + @State length: number = 0; + + async onPageShow() { + this.style1.insertString(1, 'hi'); + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('Change the starting position to 0') + .id('startButton') + .margin({ bottom: 21 }) + .onClick(() => { + this.startIndex = 0; + }) + + Button('Modify length to 1') + .id('length') + .margin({ bottom: 21 }) + .onClick(() => { + this.length = 1; + }) + Button('remove style') + .id('UIComponentTextCommonCustomDrawingSpan033') + .margin({ bottom: 20 }) + .onClick(() => { + this.style1.removeStyle(this.startIndex, this.length, StyledStringKey.CUSTOM_SPAN) + this.controller.setStyledString(this.style1); + }) + + Text(undefined, { controller: this.controller }) { + + } + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan034.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan034.ets new file mode 100644 index 00000000..fb3b9b23 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan034.ets @@ -0,0 +1,122 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { common2D, drawing } from '@kit.ArkGraphics2D'; + +class MyCustomSpan34 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 34, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; + color: common2D.Color = { + alpha: 255, + red: 0, + green: 74, + blue: 175 + }; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan034 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan34 = new MyCustomSpan34("Hello world", 150, 150); + customSpan2: MyCustomSpan34 = new MyCustomSpan34("hi", 150, 150); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State startIndex: number = 0; + @State length: number = 0; + + async onPageShow() { + this.style1.appendStyledString(new StyledString(this.customSpan2)) + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('Change the starting position to 0') + .id('startButton') + .margin({ bottom: 21 }) + .onClick(() => { + this.startIndex = 0; + }) + + Button('Modify length to 2') + .id('length') + .margin({ bottom: 21 }) + .onClick(() => { + this.length = 2; + }) + Button('remove style') + .id('UIComponentTextCommonCustomDrawingSpan034') + .margin({ bottom: 20 }) + .onClick(() => { + this.style1.removeStyle(this.startIndex, this.length, StyledStringKey.CUSTOM_SPAN) + this.controller.setStyledString(this.style1); + }) + + Text(undefined, { controller: this.controller }) { + + } + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan035.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan035.ets new file mode 100644 index 00000000..48b9e3aa --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan035.ets @@ -0,0 +1,122 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { common2D, drawing } from '@kit.ArkGraphics2D'; + +class MyCustomSpan34 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 34, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; + color: common2D.Color = { + alpha: 255, + red: 0, + green: 74, + blue: 175 + }; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan035 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan34 = new MyCustomSpan34("Hello world", 150, 150); + customSpan2: MyCustomSpan34 = new MyCustomSpan34("hi", 150, 150); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State startIndex: number = 0; + @State length: number = 0; + + async onPageShow() { + this.style1.appendStyledString(new StyledString(this.customSpan2)) + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('Change the starting position to 0') + .id('startButton') + .margin({ bottom: 21 }) + .onClick(() => { + this.startIndex = 0; + }) + + Button('Modify length to 2') + .id('length') + .margin({ bottom: 21 }) + .onClick(() => { + this.length = 2; + }) + Button('remove style') + .id('UIComponentTextCommonCustomDrawingSpan035') + .margin({ bottom: 20 }) + .onClick(() => { + this.style1.removeStyle(this.startIndex, this.length, StyledStringKey.CUSTOM_SPAN) + this.controller.setStyledString(this.style1); + }) + + Text(undefined, { controller: this.controller }) { + + } + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan036.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan036.ets new file mode 100644 index 00000000..37bc3ca2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan036.ets @@ -0,0 +1,148 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { image } from '@kit.ImageKit'; + +class MyCustomSpan36 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 36, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan036 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan36 = new MyCustomSpan36("Hello world", 300, 300); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State startIndex: number = 0; + @State length: number = 0; + insertImagePixelMap: image.PixelMap | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.insertImagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + if (this.insertImagePixelMap !== undefined) { + let insert = new MutableStyledString(new ImageAttachment({ + value: this.insertImagePixelMap, + size: { width: 100, height: 100 }, + })); + this.style1.insertStyledString(0, insert); + } + + let mutableStyledString = new MutableStyledString('测试文字', [{ + start: 0, + length: 8, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Blue }) + }]); + this.style1.insertStyledString(1, mutableStyledString); + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('Change the starting position to 0') + .id('startButton') + .margin({ bottom: 36 }) + .onClick(() => { + this.startIndex = 0; + }) + + Button('Modify and delete length to 6') + .id('length') + .margin({ bottom: 36 }) + .onClick(() => { + this.length = 6; + }) + + Button('remove style') + .id('removeButton') + .margin({ bottom: 36 }) + .onClick(() => { + if (this.style1) { + this.style1.removeStyle(this.startIndex, this.length, StyledStringKey.CUSTOM_SPAN); + this.controller.setStyledString(this.style1); + } + }) + + Text(undefined, { controller: this.controller }) { + } + + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan037.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan037.ets new file mode 100644 index 00000000..18544584 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan037.ets @@ -0,0 +1,122 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { common2D, drawing } from '@kit.ArkGraphics2D'; + +class MyCustomSpan37 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 255, + green: 255, + blue: 0 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 37, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; + color: common2D.Color = { + alpha: 255, + red: 0, + green: 74, + blue: 175 + }; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan037 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan37 = new MyCustomSpan37("Hello world", 150, 150); + customSpan2: MyCustomSpan37 = new MyCustomSpan37("hi", 150, 150); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State startIndex: number = 0; + @State length: number = 0; + + async onPageShow() { + this.style1.appendStyledString(new StyledString(this.customSpan2)) + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('Change the starting position to 0') + .id('startButton') + .margin({ bottom: 21 }) + .onClick(() => { + this.startIndex = 0; + }) + + Button('Modify length to 1') + .id('length') + .margin({ bottom: 21 }) + .onClick(() => { + this.length = 1; + }) + Button('remove style') + .id('removeButton') + .margin({ bottom: 20 }) + .onClick(() => { + this.style1.removeStyle(this.startIndex, this.length, StyledStringKey.CUSTOM_SPAN) + this.controller.setStyledString(this.style1); + }) + + Text(undefined, { controller: this.controller }) { + } + .id("UIComponentTextCommonCustomDrawingSpan037") + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan038.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan038.ets new file mode 100644 index 00000000..565c20bd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan038.ets @@ -0,0 +1,124 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { common2D, drawing } from '@kit.ArkGraphics2D'; + +class MyCustomSpan38 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 255, + green: 255, + blue: 0 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 38, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 20, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; + color: common2D.Color = { + alpha: 255, + red: 0, + green: 74, + blue: 175 + }; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan038 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan38 = new MyCustomSpan38("Hello world", 150, 150); + customSpan2: MyCustomSpan38 = new MyCustomSpan38("hi", 150, 150); + customSpan3: MyCustomSpan38 = new MyCustomSpan38("hey", 150, 150); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State startIndex: number = 0; + @State length: number = 0; + + async onPageShow() { + this.style1.appendStyledString(new StyledString(this.customSpan2)) + this.style1.appendStyledString(new StyledString(this.customSpan3)) + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('Change the starting position to 0') + .id('startButton') + .margin({ bottom: 21 }) + .onClick(() => { + this.startIndex = 0; + }) + + Button('Modify length to 3') + .id('length') + .margin({ bottom: 21 }) + .onClick(() => { + this.length = 3; + }) + Button('remove style') + .id('removeButton') + .margin({ bottom: 20 }) + .onClick(() => { + this.style1.removeStyle(this.startIndex, this.length, StyledStringKey.CUSTOM_SPAN) + this.controller.setStyledString(this.style1); + }) + + Text(undefined, { controller: this.controller }) { + } + .id("UIComponentTextCommonCustomDrawingSpan038") + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan039.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan039.ets new file mode 100644 index 00000000..70c7ba37 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan039.ets @@ -0,0 +1,150 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { image } from '@kit.ImageKit'; + +class MyCustomSpan39 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 39, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan039 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan39 = new MyCustomSpan39("Hello world", 300, 300); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State startIndex: number = 0; + @State length: number = 0; + insertImagePixelMap: image.PixelMap | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.insertImagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + if (this.insertImagePixelMap !== undefined) { + let insert = new MutableStyledString(new ImageAttachment({ + value: this.insertImagePixelMap, + size: { width: 100, height: 100 }, + })); + this.style1.insertStyledString(0, insert); + } + + let mutableStyledString = new MutableStyledString('字', [{ + start: 0, + length: 8, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Red }) + }]); + this.style1.insertStyledString(2, mutableStyledString); + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('Change the starting position to 0') + .id('startButton') + .margin({ bottom: 39 }) + .onClick(() => { + this.startIndex = 0; + }) + + Button('Modify and delete length to 1') + .id('length') + .margin({ bottom: 39 }) + .onClick(() => { + this.length = 1; + }) + + Button('remove style') + .id('removeButton') + .margin({ bottom: 39 }) + .onClick(() => { + if (this.style1) { + this.style1.removeStyle(this.startIndex, this.length, StyledStringKey.IMAGE); + this.style1.removeStyle(this.startIndex, this.length, StyledStringKey.CUSTOM_SPAN); + this.style1.removeStyle(this.startIndex, this.length, StyledStringKey.FONT); + this.controller.setStyledString(this.style1); + } + }) + + Text(undefined, { controller: this.controller }) { + } + + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan040.ets new file mode 100644 index 00000000..cd291307 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan040.ets @@ -0,0 +1,157 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { image } from '@kit.ImageKit'; + +class MyCustomSpan40 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 40, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan040 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan40 = new MyCustomSpan40("Hello world", 300, 300); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + mutableStyledString: MutableStyledString | undefined = undefined; + @State startIndex: number = 0; + @State length: number = 0; + @State styledStringLength: number = 0; + insertImagePixelMap: image.PixelMap | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.insertImagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + if (this.insertImagePixelMap !== undefined) { + let insert = new MutableStyledString(new ImageAttachment({ + value: this.insertImagePixelMap, + size: { width: 100, height: 100 }, + })); + this.style1.insertStyledString(1, insert); + } + + this.mutableStyledString = new MutableStyledString('测试文字', [{ + start: 0, + length: 8, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Red }) + }]); + this.styledStringLength = this.mutableStyledString.length; + this.style1.insertStyledString(2, this.mutableStyledString); + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('Change the starting position to 0') + .id('startButton') + .margin({ bottom: 40 }) + .onClick(() => { + this.startIndex = 0; + }) + + Button('Modify and delete length to 1') + .id('length') + .margin({ bottom: 40 }) + .onClick(() => { + this.length = 1; + }) + + Button('remove style') + .id('removeButton') + .margin({ bottom: 40 }) + .onClick(() => { + if (this.style1) { + this.style1.removeStyle(this.startIndex, this.length, StyledStringKey.CUSTOM_SPAN); + this.controller.setStyledString(this.style1); + if(this.mutableStyledString) { + this.styledStringLength = this.mutableStyledString.length; + } + } + }) + + Text(undefined, { controller: this.controller }) { + } + + Text('属性字符串的长度为:'+ this.styledStringLength.toString()) { + } + + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan041.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan041.ets new file mode 100644 index 00000000..0f4ae85a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan041.ets @@ -0,0 +1,133 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { image } from '@kit.ImageKit'; + +class MyCustomSpan41 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 141 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 41, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan041 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan41 = new MyCustomSpan41("Hello world", 300, 300); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + mutableStyledString: MutableStyledString | undefined = undefined; + @State startIndex: number = 0; + insertImagePixelMap: image.PixelMap | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.insertImagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + if (this.insertImagePixelMap !== undefined) { + let insert = new MutableStyledString(new ImageAttachment({ + value: this.insertImagePixelMap, + size: { width: 100, height: 100 }, + })); + this.style1.insertStyledString(1, insert); + } + + this.mutableStyledString = new MutableStyledString('测试文字', [{ + start: 0, + length: 8, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Red }) + }]); + this.style1.insertStyledString(2, this.mutableStyledString); + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('clear styles') + .id('clearButton') + .margin({ bottom: 40 }) + .onClick(() => { + if (this.style1) { + this.style1.clearStyles(); + this.controller.setStyledString(this.style1); + } + }) + + Text(undefined, { controller: this.controller }) { + } + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan042.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan042.ets new file mode 100644 index 00000000..41087e36 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan042.ets @@ -0,0 +1,126 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { image } from '@kit.ImageKit'; + +class MyCustomSpan42 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 142 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 42, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 420; + height: number = 420; + word: string = "drawing"; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan042 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan42 = new MyCustomSpan42("Hello world", 300, 300); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + mutableStyledString: MutableStyledString | undefined = undefined; + @State startIndex: number = 0; + @State length: number = 0; + insertImagePixelMap: image.PixelMap | undefined = undefined; + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('测试文字', [{ + start: 0, + length: 8, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Red }) + }]); + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('Change the starting position to 0') + .id('startButton') + .margin({ bottom: 42 }) + .onClick(() => { + this.startIndex = 0; + }) + + Button('Modify and delete length to 1') + .id('length') + .margin({ bottom: 42 }) + .onClick(() => { + this.length = 1; + }) + + Button('replace StyledString') + .id('replaceButton') + .margin({ bottom: 42 }) + .onClick(() => { + if (this.style1) { + this.style1.replaceStyledString(this.startIndex, this.length, this.mutableStyledString); + this.controller.setStyledString(this.style1); + } + }) + + Text(undefined, { controller: this.controller }) { + } + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan043.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan043.ets new file mode 100644 index 00000000..ed04bf84 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan043.ets @@ -0,0 +1,120 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { image } from '@kit.ImageKit'; + +class MyCustomSpan43 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 143 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 43, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 430; + height: number = 430; + word: string = "drawing"; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan043 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan43 = new MyCustomSpan43("Hello world", 300, 300); + customSpan2: MyCustomSpan43 = new MyCustomSpan43("hi", 300, 300); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + mutableStyledString: MutableStyledString = new MutableStyledString(this.customSpan2); + @State startIndex: number = 0; + @State length: number = 0; + + async onPageShow() { + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('Change the starting position to 0') + .id('startButton') + .margin({ bottom: 43 }) + .onClick(() => { + this.startIndex = 0; + }) + + Button('Modify and delete length to 1') + .id('length') + .margin({ bottom: 43 }) + .onClick(() => { + this.length = 1; + }) + + Button('replace StyledString') + .id('replaceButton') + .margin({ bottom: 43 }) + .onClick(() => { + if (this.style1) { + this.style1.replaceStyledString(this.startIndex, this.length, this.mutableStyledString); + this.controller.setStyledString(this.style1); + } + }) + + Text(undefined, { controller: this.controller }) { + } + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan044.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan044.ets new file mode 100644 index 00000000..cfd907d8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan044.ets @@ -0,0 +1,124 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { image } from '@kit.ImageKit'; + +class MyCustomSpan44 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 144 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 44, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan044 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan44 = new MyCustomSpan44("Hello", 300, 300); + customSpan2: MyCustomSpan44 = new MyCustomSpan44("hi", 100, 100); + customSpan3: MyCustomSpan44 = new MyCustomSpan44("hey", 200, 200); + customSpan4: MyCustomSpan44 = new MyCustomSpan44("Hello world", 200, 200); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + replaceStyledString: MutableStyledString = new MutableStyledString(this.customSpan4); + @State startIndex: number = 0; + @State length: number = 0; + + async onPageShow() { + this.style1.appendStyledString(new MutableStyledString(this.customSpan2)); + this.style1.appendStyledString(new MutableStyledString(this.customSpan3)); + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('Change the starting position to 0') + .id('startButton') + .margin({ bottom: 40 }) + .onClick(() => { + this.startIndex = 0; + }) + + Button('Modify and delete length to 3') + .id('length') + .margin({ bottom: 40 }) + .onClick(() => { + this.length = 3; + }) + + Button('replace StyledString') + .id('replaceButton') + .margin({ bottom: 40 }) + .onClick(() => { + if (this.style1) { + this.style1.replaceStyledString(this.startIndex, this.length, this.replaceStyledString); + this.controller.setStyledString(this.style1); + } + }) + + Text(undefined, { controller: this.controller }) { + } + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan045.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan045.ets new file mode 100644 index 00000000..921edb40 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan045.ets @@ -0,0 +1,145 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { image } from '@kit.ImageKit'; + +class MyCustomSpan45 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 145 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 45, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan045 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan45 = new MyCustomSpan45("Hello", 300, 300); + customSpan2: MyCustomSpan45 = new MyCustomSpan45("hi", 100, 100); + customSpan3: MyCustomSpan45 = new MyCustomSpan45("hey", 200, 200); + customSpan4: MyCustomSpan45 = new MyCustomSpan45("Hello world", 200, 200); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + imagePixelMap: image.PixelMap | undefined = undefined; + replaceStyledString: MutableStyledString = new MutableStyledString(this.customSpan4); + @State startIndex: number = 0; + @State length: number = 0; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.style1.appendStyledString(new MutableStyledString(this.customSpan2)); + this.style1.appendStyledString(new MutableStyledString(this.customSpan3)); + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('Change the starting position to 0') + .id('startButton') + .margin({ bottom: 40 }) + .onClick(() => { + this.startIndex = 0; + }) + + Button('Modify and delete length to 3') + .id('length') + .margin({ bottom: 40 }) + .onClick(() => { + this.length = 3; + }) + + Button('replace StyledString') + .id('replaceButton') + .margin({ bottom: 40 }) + .onClick(() => { + if (this.style1) { + if (this.imagePixelMap !== undefined) { + this.replaceStyledString.appendStyledString(new StyledString(new ImageAttachment({ + value: this.imagePixelMap, + size: { width: 100, height: 100 }, + }))); + } + this.style1.replaceStyledString(this.startIndex, this.length, this.replaceStyledString); + + this.controller.setStyledString(this.style1); + } + }) + + Text(undefined, { controller: this.controller }) { + } + } + } + .height('100%') + } + } diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan046.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan046.ets new file mode 100644 index 00000000..477c28c0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan046.ets @@ -0,0 +1,116 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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'; + +class MyCustomSpan46 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 146 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 46, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan046 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan46 = new MyCustomSpan46("Hello", 100, 100); + customSpan2: MyCustomSpan46 = new MyCustomSpan46("hi", 100, 100); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State startIndex: number = 0; + @State length: number = 0; + + async onPageShow() { + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('Change the starting position to 0') + .id('startButton') + .margin({ bottom: 40 }) + .onClick(() => { + this.startIndex = 0; + }) + + Button('Modify and delete length to 1') + .id('length') + .margin({ bottom: 40 }) + .onClick(() => { + this.length = 1; + }) + + Button('insertStyled') + .id('insertButton') + .margin({ bottom: 40 }) + .onClick(() => { + this.style1.insertStyledString(this.startIndex, new MutableStyledString(this.customSpan2)); + this.controller.setStyledString(this.style1); + }) + + Text(undefined, { controller: this.controller }) { + } + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan047.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan047.ets new file mode 100644 index 00000000..5934e480 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan047.ets @@ -0,0 +1,116 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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'; + +class MyCustomSpan47 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 147 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 47, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan047 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan47 = new MyCustomSpan47("Hello", 100, 100); + customSpan2: MyCustomSpan47 = new MyCustomSpan47("hi", 100, 100); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State startIndex: number = 0; + @State length: number = 0; + + async onPageShow() { + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('Change the starting position to 1') + .id('startButton') + .margin({ bottom: 40 }) + .onClick(() => { + this.startIndex = 1; + }) + + Button('Modify length to 1') + .id('length') + .margin({ bottom: 40 }) + .onClick(() => { + this.length = 1; + }) + + Button('insert StyledString') + .id('insertButton') + .margin({ bottom: 40 }) + .onClick(() => { + this.style1.insertStyledString(this.startIndex, new MutableStyledString(this.customSpan2)); + this.controller.setStyledString(this.style1); + }) + + Text(undefined, { controller: this.controller }) { + } + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan048.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan048.ets new file mode 100644 index 00000000..4defb982 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan048.ets @@ -0,0 +1,103 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 { image } from '@kit.ImageKit'; + +class MyCustomSpan48 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 74, + blue: 175 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 148 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 48, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan048 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan48 = new MyCustomSpan48("Hello", 100, 100); + customSpan2: MyCustomSpan48 = new MyCustomSpan48("hi", 100, 100); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State startIndex: number = 0; + @State length: number = 0; + + async onPageShow() { + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('append StyledString') + .id('appendButton') + .margin({ bottom: 40 }) + .onClick(() => { + this.style1.appendStyledString(new MutableStyledString(this.customSpan2)); + this.controller.setStyledString(this.style1); + }) + + Text(undefined, { controller: this.controller }) { + } + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan049.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan049.ets new file mode 100644 index 00000000..8bd65d41 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan049.ets @@ -0,0 +1,95 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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'; + +class MyCustomSpan49 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 255, + blue: 255 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 149 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 49, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan049 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan49 = new MyCustomSpan49("Hello", 100, 100); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State startIndex: number = 0; + @State length: number = 0; + + async onPageShow() { + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .copyOption(CopyOptions.InApp) + .id('UIComponentTextCommonCustomDrawingSpan049') + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan050.ets new file mode 100644 index 00000000..900d9d9d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan050.ets @@ -0,0 +1,95 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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'; + +class MyCustomSpan50 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 255, + blue: 255 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 150 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 50, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = 'drawing'; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan050 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan50 = new MyCustomSpan50('Hello', 100, 100); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State startIndex: number = 0; + @State length: number = 0; + + async onPageShow() { + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .copyOption(CopyOptions.InApp) + .id('UIComponentTextCommonCustomDrawingSpan050') + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan051.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan051.ets new file mode 100644 index 00000000..0a0e2933 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan051.ets @@ -0,0 +1,97 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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'; + +class MyCustomSpan51 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 255, + blue: 255 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 151 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 51, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan051 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan51 = new MyCustomSpan51("Hello", 200, 200); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State startIndex: number = 0; + @State length: number = 0; + + async onPageShow() { + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .obscured([ObscuredReasons.PLACEHOLDER]) + .copyOption(CopyOptions.InApp) + .id('UIComponentTextCommonCustomDrawingSpan051') + .border({ width: 1 }) + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan052.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan052.ets new file mode 100644 index 00000000..1d06f051 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan052.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 { drawing } from '@kit.ArkGraphics2D'; + +class MyCustomSpan52 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 255, + blue: 255 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 152 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 52, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan052 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan52 = new MyCustomSpan52("Hello", 200, 200); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State startIndex: number = 0; + @State length: number = 0; + @State isshow: boolean = true; + + async onPageShow() { + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('isshow CustomSpan') + .id('UIComponentTextCommonCustomDrawingSpan052') + .margin({ bottom: 43 }) + .onClick(() => { + this.isshow = !this.isshow; + }) + Text(undefined, { controller: this.controller }) { + } + .visibility(this.isshow ? Visibility.Visible : Visibility.None) + .border({ width: 1 }) + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan053.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan053.ets new file mode 100644 index 00000000..45bbbd42 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan053.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 { drawing } from '@kit.ArkGraphics2D'; + +class MyCustomSpan53 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 255, + blue: 255 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 153 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 53, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan053 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan53 = new MyCustomSpan53("Hello", 200, 200); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State startIndex: number = 0; + @State length: number = 0; + @State enabledSpan: boolean = true; + + async onPageShow() { + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('Disable CustomSpan') + .id('enabledButton') + .margin({ bottom: 43 }) + .onClick(() => { + this.enabledSpan = false; + }) + Text(undefined, { controller: this.controller }) { + } + .id('UIComponentTextCommonCustomDrawingSpan053') + .enabled(this.enabledSpan) + .copyOption(CopyOptions.InApp) + .border({ width: 1 }) + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan054.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan054.ets new file mode 100644 index 00000000..ecae749e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan054.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 { drawing } from '@kit.ArkGraphics2D'; + +class MyCustomSpan54 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 255, + blue: 255 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 154 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 54, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan054 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan54 = new MyCustomSpan54("Hello", 200, 200); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + @State startIndex: number = 0; + @State length: number = 0; + @State enabledSpan: boolean = true; + + async onPageShow() { + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .id('UIComponentTextCommonCustomDrawingSpan054') + .draggable(true) + .border({ width: 1 }) + .margin({ bottom: 50 }) + .copyOption(CopyOptions.InApp) + + TextArea() + .id('textArea') + .border({ width: 1 }) + .width(200) + .height(200) + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan055.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan055.ets new file mode 100644 index 00000000..f09c92bb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan055.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 { drawing } from '@kit.ArkGraphics2D'; + +class MyCustomSpan55 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 255, + blue: 255 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 155 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 55, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = "drawing"; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan055 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan55 = new MyCustomSpan55("Hello", 200, 200); + style1: MutableStyledString = new MutableStyledString(this.customSpan1); + + async onPageShow() { + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('insert string') + .id('UIComponentTextCommonCustomDrawingSpan055') + .margin({ bottom: 40 }) + .onClick(() => { + this.style1.insertString(1, 'hey'); + this.controller.setStyledString(this.style1); + }) + + Text(undefined, { controller: this.controller }) { + } + .border({ width: 1 }) + .padding(20) + + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan056.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan056.ets new file mode 100644 index 00000000..ca16aae0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan056.ets @@ -0,0 +1,111 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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'; + +class MyCustomSpan56 extends CustomSpan { + constructor(word: string, width: number, height: number) { + super(); + this.word = word; + this.width = width; + this.height = height; + } + + onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics { + return { width: this.width, height: this.height }; + } + + onDraw(context: DrawContext, options: CustomSpanDrawInfo) { + let canvas = context.canvas; + + const brush = new drawing.Brush(); + brush.setColor({ + alpha: 255, + red: 0, + green: 255, + blue: 255 + }); + const font = new drawing.Font(); + font.setSize(25); + const textBlob = drawing.TextBlob.makeFromString(this.word, font, drawing.TextEncoding.TEXT_ENCODING_UTF8); + canvas.attachBrush(brush); + canvas.drawRect({ + left: options.x + 10, + right: options.x + vp2px(this.width) - 10, + top: options.lineTop + 10, + bottom: options.lineBottom - 10 + }); + + brush.setColor({ + alpha: 255, + red: 23, + green: 169, + blue: 155 + }); + canvas.attachBrush(brush); + canvas.drawTextBlob(textBlob, options.x + 55, options.lineBottom - 15); + canvas.detachBrush(); + } + + setWord(word: string) { + this.word = word; + } + + width: number = 200; + height: number = 200; + word: string = 'drawing'; +} + +@Entry +@Component +struct UIComponentTextCommonCustomDrawingSpan056 { + controller: TextController = new TextController(); + customSpan1: MyCustomSpan56 = new MyCustomSpan56('Hello', 200, 200); + customSpan2: MyCustomSpan56 = new MyCustomSpan56('HelloHelloHelloHelloHelloHelloHelloHello', 200, 200); + style1: MutableStyledString = new MutableStyledString(this.customSpan2); + @State clipVal: boolean = true; + + async onPageShow() { + this.controller.setStyledString(this.style1); + } + + build() { + Column() { + Column() { + Button('insert string') + .id('UIComponentTextCommonCustomDrawingSpan056_1') + .onClick(() => { + this.style1.appendStyledString(new StyledString(this.customSpan2)) + this.controller.setStyledString(this.style1); + }) + Button('clip button') + .id('UIComponentTextCommonCustomDrawingSpan056_2') + .margin(20) + .onClick(() => { + this.clipVal = !this.clipVal; + this.style1.appendStyledString(new StyledString(this.customSpan2)) + this.controller.setStyledString(this.style1); + }) + + Text(undefined, { controller: this.controller }) { + } + .border({ width: 1 }) + .clip(this.clipVal) + + } + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater001.ets new file mode 100644 index 00000000..e96f7f21 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater001.ets @@ -0,0 +1,30 @@ +import { AttributeUpdater } from '@kit.ArkUI' + +class MyTextModifier extends AttributeUpdater { + initializeModifier(instance: TextAttribute) { + } +} + +@Entry +@Component +struct UIComponentTextCommonItscaAttributeUpdater001 { + private modifier: MyTextModifier = new MyTextModifier() + + build() { + Row() { + Column() { + Text("Hello") + .attributeModifier(this.modifier) + .fontSize(14).border({ width: 1 }).textAlign(TextAlign.Center).lineHeight(20) + .width(200).height(50) + .backgroundColor(Color.Green) + .id('UIComponentTextCommonItscaAttributeUpdater001') + .onClick(() => { + this.modifier.updateConstructorParams("Updated"); + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater002.ets new file mode 100644 index 00000000..a8451ab7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater002.ets @@ -0,0 +1,32 @@ +import { AttributeUpdater } from '@kit.ArkUI' + +class MyTextModifier extends AttributeUpdater { + initializeModifier(instance: TextAttribute) { + } +} + +@Entry +@Component +struct UIComponentTextCommonItscaAttributeUpdater002 { + private modifier: MyTextModifier = new MyTextModifier() + + + + build() { + Row() { + Column() { + Text("Hello") + .attributeModifier(this.modifier) + .fontSize(14).border({ width: 1 }).textAlign(TextAlign.Center).lineHeight(20) + .width(200).height(50) + .backgroundColor(Color.Yellow) + .id('UIComponentTextCommonItscaAttributeUpdater002') + .onClick(() => { + this.modifier.updateConstructorParams(getContext().resourceManager.getStringSync($r("app.string.attributeUpdater"))); + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater003.ets new file mode 100644 index 00000000..a2b864ad --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater003.ets @@ -0,0 +1,30 @@ +import { AttributeUpdater } from '@kit.ArkUI' + +class MyTextModifier extends AttributeUpdater { + initializeModifier(instance: TextAttribute) { + } +} + +@Entry +@Component +struct UIComponentTextCommonItscaAttributeUpdater003 { + private modifier: MyTextModifier = new MyTextModifier() + + build() { + Row() { + Column() { + Text("Hello") + .attributeModifier(this.modifier) + .fontSize(14).border({ width: 1 }).textAlign(TextAlign.Center).lineHeight(20) + .width(200).height(50) + .backgroundColor(Color.Green) + .id('UIComponentTextCommonItscaAttributeUpdater003') + .onClick(() => { + this.modifier.updateConstructorParams(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/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater004.ets new file mode 100644 index 00000000..f881eecb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater004.ets @@ -0,0 +1,30 @@ +import { AttributeUpdater } from '@kit.ArkUI' + +class MyTextModifier extends AttributeUpdater { + initializeModifier(instance: TextAttribute) { + } +} + +@Entry +@Component +struct UIComponentTextCommonItscaAttributeUpdater004 { + private modifier: MyTextModifier = new MyTextModifier() + + build() { + Row() { + Column() { + Text("Hello") + .attributeModifier(this.modifier) + .fontSize(14).border({ width: 1 }).textAlign(TextAlign.Center).lineHeight(20) + .width(200).height(50) + .backgroundColor(Color.Green) + .id('UIComponentTextCommonItscaAttributeUpdater004') + .onClick(() => { + this.modifier.updateConstructorParams(''); + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater005.ets new file mode 100644 index 00000000..399ea786 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater005.ets @@ -0,0 +1,38 @@ +import { AttributeUpdater } from '@kit.ArkUI'; + +class MyTextModifier extends AttributeUpdater { + initializeModifier(instance: TextAttribute) { + } +} + +@Entry +@Component +struct UIComponentTextCommonItscaAttributeUpdater005 { + controller: TextController = new TextController(); + private modifier: MyTextModifier = new MyTextModifier() + + build() { + Row() { + Column() { + Button('change text') + .id('change') + .onClick(() => { + this.modifier.updateConstructorParams("Updated"); + }) + + + Text('Initialize', { controller: this.controller }) + .attributeModifier(this.modifier) + .fontSize(14) + .border({ width: 1 }) + .textAlign(TextAlign.Center) + .lineHeight(20) + .width(200) + .height(50) + .id('UIComponentTextCommonItscaAttributeUpdater005') + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater006.ets new file mode 100644 index 00000000..0f978b9d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater006.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 { AttributeUpdater } from '@kit.ArkUI'; + +class MyTextModifier extends AttributeUpdater { + initializeModifier(instance: TextAttribute) { + } +} + +@Entry +@Component +struct UIComponentTextCommonItscaAttributeUpdater006 { + controller: TextController | null = null; + private modifier: MyTextModifier = new MyTextModifier() + + build() { + Row() { + Column() { + Button('change text') + .id('change') + .onClick(() => { + this.controller = new TextController(); + this.modifier.updateConstructorParams('Updated'); + }) + + + Text('Initialize', { controller: this.controller }) + .attributeModifier(this.modifier) + .fontSize(14) + .border({ width: 1 }) + .textAlign(TextAlign.Center) + .lineHeight(20) + .width(200) + .height(50) + .id('UIComponentTextCommonItscaAttributeUpdater006') + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater007.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater007.ets new file mode 100644 index 00000000..66398f47 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater007.ets @@ -0,0 +1,85 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { AttributeUpdater } from '@kit.ArkUI'; + +export class ImageModifier extends AttributeUpdater { + width: number = 60; + height: number = 60; + + constructor(width: number, height: number) { + super(); + this.width = width; + this.height = height + } + + applyNormalAttribute(instance: ImageAttribute): void { + instance.width(this.width); + instance.height(this.height); + } +} + +/* + 自定义class实现text的AttributeModifier接口,用于初始化 +*/ +export class TextModifier extends AttributeUpdater { + textSize: number = 12; + + constructor(textSize: number) { + super(); + this.textSize = textSize; + } + + applyNormalAttribute(instance: TextAttribute): void { + instance.fontSize(this.textSize); + instance.fontColor(Color.Orange); + instance.textAlign(TextAlign.Center); + instance.border({ width: 1, color: Color.Orange, style: BorderStyle.Solid }); + instance.margin({ right: 10 }); + } +} + +@Entry +@Component +struct UIComponentTextCommonItscaAttributeUpdater007 { + @State textOneContent: string | Resource = 'default'; + @State imageSrc: PixelMap | ResourceStr | DrawableDescriptor = ('icon.png'); + //接受外部传入的AttributeModifier类实例,可以只定制部分组件,选择性传入参数。 + @State textOne: AttributeUpdater = new TextModifier(30); + @State imageModifier: AttributeUpdater = new ImageModifier(60, 60); + + build() { + Row() { + Column() { + + Button('change image') + .id('change') + .onClick(() => { + this.imageSrc = ('cat.jpg'); + this.textOne.attribute?.backgroundImage('cat.jpg'); + }) + + Text(this.textOneContent) + .id('UIComponentTextCommonItscaAttributeUpdater007') + .backgroundImage('icon.png') + .attributeModifier(this.textOne) + .fontColor(Color.Orange) + .width(200) + .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/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater008.ets new file mode 100644 index 00000000..c3f8af56 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater008.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 { AttributeUpdater } from '@kit.ArkUI'; +import { DrawableDescriptor } from '@kit.ArkUI' +import { image } from '@kit.ImageKit'; + +/* + 自定义class实现text的AttributeModifier接口,用于初始化 +*/ +export class TextModifier extends AttributeUpdater { + textSize: number = 12; + + constructor(textSize: number) { + super(); + this.textSize = textSize; + } + + applyNormalAttribute(instance: TextAttribute): void { + instance.fontSize(this.textSize); + instance.fontColor(Color.Orange); + instance.textAlign(TextAlign.Center); + instance.border({ width: 1, color: Color.Orange, style: BorderStyle.Solid }); + instance.margin({ right: 10 }); + } +} + +@Entry +@Component +struct UIComponentTextCommonItscaAttributeUpdater008 { + @State textOneContent: string | Resource = 'default'; + @State imageSrc: PixelMap | ResourceStr | DrawableDescriptor = ('icon.png'); + //接受外部传入的AttributeModifier类实例,可以只定制部分组件,选择性传入参数。 + @State textOne: AttributeUpdater = new TextModifier(30); + imagePixelMap: image.PixelMap | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow(): Promise { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + } + + build() { + Row() { + Column() { + Button('change image') + .id('change') + .onClick(() => { + this.imageSrc = ('cat.jpg'); + this.textOne.attribute?.backgroundImage(this.imagePixelMap); + }) + + Text(this.textOneContent) + .id('UIComponentTextCommonItscaAttributeUpdater008') + .backgroundImage('icon.png') + .attributeModifier(this.textOne) + .fontColor(Color.Orange) + .width(200) + .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/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater009.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater009.ets new file mode 100644 index 00000000..8a3f133a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater009.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 { AttributeUpdater } from '@kit.ArkUI'; +import { DrawableDescriptor } from '@kit.ArkUI' +import { image } from '@kit.ImageKit'; + +/* + 自定义class实现text的AttributeModifier接口,用于初始化 +*/ +export class TextModifier extends AttributeUpdater { + textSize: number = 12; + + constructor(textSize: number) { + super(); + this.textSize = textSize; + } + + applyNormalAttribute(instance: TextAttribute): void { + instance.fontSize(this.textSize); + instance.fontColor(Color.Orange); + instance.textAlign(TextAlign.Center); + instance.border({ width: 1, color: Color.Orange, style: BorderStyle.Solid }); + instance.margin({ right: 10 }); + } +} + +@Entry +@Component +struct UIComponentTextCommonItscaAttributeUpdater009 { + @State textOneContent: string | Resource = 'default'; + @State imageSrc: PixelMap | ResourceStr | DrawableDescriptor = ('icon.png'); + //接受外部传入的AttributeModifier类实例,可以只定制部分组件,选择性传入参数。 + @State textOne: AttributeUpdater = new TextModifier(30); + + build() { + Row() { + Column() { + Button('change image') + .id('change') + .onClick(() => { + this.imageSrc = ('cat.jpg'); + this.textOne.attribute?.backgroundImage('cat.jpg'); + }) + + Text(this.textOneContent) + .id('UIComponentTextCommonItscaAttributeUpdater009') + .backgroundImage('icon.png') + .attributeModifier(this.textOne) + .fontColor(Color.Orange) + .width(200) + .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/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater010.ets new file mode 100644 index 00000000..dc4070ca --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater010.ets @@ -0,0 +1,82 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { AttributeUpdater } from '@kit.ArkUI'; +import { DrawableDescriptor } from '@kit.ArkUI' +import { image } from '@kit.ImageKit'; + +/* + 自定义class实现text的AttributeModifier接口,用于初始化 +*/ +export class TextModifier extends AttributeUpdater { + textSize: number = 12; + + constructor(textSize: number) { + super(); + this.textSize = textSize; + } + + applyNormalAttribute(instance: TextAttribute): void { + instance.fontSize(this.textSize); + instance.fontColor(Color.Orange); + instance.textAlign(TextAlign.Center); + instance.border({ width: 1, color: Color.Orange, style: BorderStyle.Solid }); + instance.margin({ right: 10 }); + } +} + +@Entry +@Component +struct UIComponentTextCommonItscaAttributeUpdater010 { + @State textOneContent: string | Resource = 'default'; + @State imageSrc: PixelMap | ResourceStr | DrawableDescriptor = ('icon.png'); + //接受外部传入的AttributeModifier类实例,可以只定制部分组件,选择性传入参数。 + @State textOne: AttributeUpdater = new TextModifier(30); + resManager = getContext().resourceManager; + pixmapDrawableDescriptor: DrawableDescriptor = new DrawableDescriptor(); + pixmapNew: image.PixelMap = this.pixmapDrawableDescriptor.getPixelMap(); + + onPageShow(): void { + let resourceId = this.getResourceId($r('app.media.cat')); + this.pixmapDrawableDescriptor = this.resManager.getDrawableDescriptor(resourceId); + this.pixmapNew = this.pixmapDrawableDescriptor.getPixelMap(); + } + + private getResourceId(resource: Resource): number { + return resource.id; + } + + build() { + Row() { + Column() { + Button('change image') + .id('change') + .onClick(() => { + this.imageSrc = ('cat.jpg'); + this.textOne.attribute?.backgroundImage(this.pixmapNew); + }) + + Text(this.textOneContent) + .id('UIComponentTextCommonItscaAttributeUpdater010') + .backgroundImage('icon.png') + .attributeModifier(this.textOne) + .fontColor(Color.Orange) + .width(200) + .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/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater011.ets new file mode 100644 index 00000000..faa4682c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater011.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 { AttributeUpdater } from '@kit.ArkUI'; +import { DrawableDescriptor } from '@kit.ArkUI' +import { image } from '@kit.ImageKit'; + +/* + 自定义class实现text的AttributeModifier接口,用于初始化 +*/ +export class TextModifier extends AttributeUpdater { + textSize: number = 12; + + constructor(textSize: number) { + super(); + this.textSize = textSize; + } + + applyNormalAttribute(instance: TextAttribute): void { + instance.fontSize(this.textSize); + instance.fontColor(Color.Orange); + instance.textAlign(TextAlign.Center); + instance.border({ width: 1, color: Color.Orange, style: BorderStyle.Solid }); + instance.margin({ right: 10 }); + } +} + +@Entry +@Component +struct UIComponentTextCommonItscaAttributeUpdater011 { + @State textOneContent: string | Resource = 'default'; + @State imageSrc: PixelMap | ResourceStr | DrawableDescriptor = ('icon.png'); + //接受外部传入的AttributeModifier类实例,可以只定制部分组件,选择性传入参数。 + @State textOne: AttributeUpdater = new TextModifier(30); + + build() { + Row() { + Column() { + Button('change image') + .id('change') + .onClick(() => { + this.imageSrc = ('cat.jpg'); + this.textOne.attribute?.backgroundImage('cat.jpg'); + }) + + Text(this.textOneContent) + .id('UIComponentTextCommonItscaAttributeUpdater011') + .backgroundImage(undefined) + .attributeModifier(this.textOne) + .fontColor(Color.Orange) + .width(200) + .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/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater012.ets new file mode 100644 index 00000000..8f1e36fb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater012.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 { AttributeUpdater } from '@kit.ArkUI'; +import { DrawableDescriptor } from '@kit.ArkUI' +import { image } from '@kit.ImageKit'; + +/* + 自定义class实现text的AttributeModifier接口,用于初始化 +*/ +export class TextModifier extends AttributeUpdater { + textSize: number = 12; + + constructor(textSize: number) { + super(); + this.textSize = textSize; + } + + applyNormalAttribute(instance: TextAttribute): void { + instance.fontSize(this.textSize); + instance.fontColor(Color.Orange); + instance.textAlign(TextAlign.Center); + instance.border({ width: 1, color: Color.Orange, style: BorderStyle.Solid }); + instance.margin({ right: 10 }); + } +} + +@Entry +@Component +struct UIComponentTextCommonItscaAttributeUpdater009 { + controller: TextController | null = null; + @State textOneContent: string | Resource | null = null; + @State imageSrc: PixelMap | ResourceStr | DrawableDescriptor = ('icon.png'); + //接受外部传入的AttributeModifier类实例,可以只定制部分组件,选择性传入参数。 + @State textOne: AttributeUpdater = new TextModifier(30); + + build() { + Row() { + Column() { + Button('change span') + .id('change') + .onClick(() => { + this.textOne.updateConstructorParams('Updated') + }) + + Text(this.textOneContent, { controller: this.controller }) + .id('UIComponentTextCommonItscaAttributeUpdater009') + .attributeModifier(this.textOne) + .fontColor(Color.Orange) + .width(200) + .height(200) + .borderWidth(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/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater013.ets new file mode 100644 index 00000000..8352a5f4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater013.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 { AttributeUpdater } from '@kit.ArkUI'; + +class MySpanModifier extends AttributeUpdater { + initializeModifier(instance: SpanAttribute) { + } +} + +@Entry +@Component +struct UIComponentTextCommonItscaAttributeUpdater013 { + private modifier: MySpanModifier = new MySpanModifier() + + build() { + Row() { + Column() { + Text() { + Span('this is span') + .attributeModifier(this.modifier) + .onClick(event => { + this.modifier.updateConstructorParams("span content has changed") + }) + } + .id('UIComponentTextCommonItscaAttributeUpdater013_text') + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater014.ets new file mode 100644 index 00000000..904027f1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater014.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. + */ +import { AttributeUpdater } from '@kit.ArkUI'; + +export class ImageModifier extends AttributeUpdater { + width: number = 60; + height: number = 60; + + constructor(width: number, height: number) { + super(); + this.width = width; + this.height = height + } + + applyNormalAttribute(instance: ImageAttribute): void { + instance.width(this.width); + instance.height(this.height); + } +} + +/* + 自定义class实现text的AttributeModifier接口,用于初始化 +*/ +export class TextModifier extends AttributeUpdater { + textSize: number = 12; + + constructor(textSize: number) { + super(); + this.textSize = textSize; + } + + applyNormalAttribute(instance: TextAttribute): void { + instance.fontSize(this.textSize); + instance.fontColor(Color.Orange); + instance.textAlign(TextAlign.Center); + instance.border({ width: 1, color: Color.Orange, style: BorderStyle.Solid }); + instance.margin({ right: 10 }); + } +} + +@Entry +@Component +struct UIComponentTextCommonItscaAttributeUpdater014 { + @State textOneContent: string | Resource = 'default'; + @State imageSrc: PixelMap | ResourceStr | DrawableDescriptor = ('icon.png'); + //接受外部传入的AttributeModifier类实例,可以只定制部分组件,选择性传入参数。 + @State textOne: AttributeUpdater = new TextModifier(30); + @State imageModifier: AttributeUpdater = new ImageModifier(60, 60); + + build() { + Row() { + Column() { + + Button('change image') + .id('change1') + .onClick(() => { + this.imageSrc = ('cat.jpg'); + this.textOne.attribute?.backgroundImage('cat.jpg'); + }) + + Button('change image') + .id('change2') + .onClick(() => { + this.imageSrc = ('cat.jpg'); + this.textOne.attribute?.backgroundImage('image2.png'); + }) + + Text(this.textOneContent) + .id('UIComponentTextCommonItscaAttributeUpdater014') + .backgroundImage('icon.png') + .attributeModifier(this.textOne) + .fontColor(Color.Orange) + .width(200) + .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/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0030.ets new file mode 100644 index 00000000..cc81795f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0030.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 UIComponentTextHyperlinkInteraction0030 { + build() { + Column() { + Hyperlink('https://example.com/') { + } + .id('UIComponentTextHyperlinkInteraction0030_001') + .color(Color.Blue) + }.height('100%') + .width('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0040.ets new file mode 100644 index 00000000..4b2d62cf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0040.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 UIComponentTextHyperlinkInteraction0040 { + build() { + Column() { + Hyperlink('https://example.com/') { + } + .id('UIComponentTextHyperlinkInteraction0040_001') + .color(Color.Blue) + }.height('100%') + .width('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0080.ets new file mode 100644 index 00000000..c315cf88 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0080.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 UIComponentTextHyperlinkInteraction0080 { + build() { + Column() { + Hyperlink('https://example.com/') { + } + .id('UIComponentTextHyperlinkInteraction0080_001') + .color(Color.Blue) + }.height('100%') + .width('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0090.ets new file mode 100644 index 00000000..b15a2061 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0090.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 UIComponentTextHyperlinkInteraction0090 { + build() { + Column() { + Hyperlink('https://example.com/') { + } + .id('UIComponentTextHyperlinkInteraction0090_001') + .color(Color.Blue) + }.height('100%') + .width('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextImagePrivacySensitive/UIComponentTextImagePrivacySensitive001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextImagePrivacySensitive/UIComponentTextImagePrivacySensitive001.ets new file mode 100644 index 00000000..6ca0a7c3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextImagePrivacySensitive/UIComponentTextImagePrivacySensitive001.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 UIComponentTextImagePrivacySensitive001 { + build() { + Row() { + Column() { + Text("这是一段测试文字") + .privacySensitive(true) + .margin({top :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/UIComponentTextInline/UIComponentTextInline0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0010.ets new file mode 100644 index 00000000..45a51d95 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0010.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 UIComponentTextInline0010 { + build() { + Column() { + TextInput({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.' + }) + .id('UIComponentTextInline0010_001') + .style(TextInputStyle.Inline) + .width('70%') + }.width('100%') + .height('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0020.ets new file mode 100644 index 00000000..9df7b6fe --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0020.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 UIComponentTextInline0020 { + build() { + Column() { + TextInput({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.' + }) + .id('UIComponentTextInline0020_001') + .style(TextInputStyle.Inline) + .width('70%') + }.width('100%') + .height('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0030.ets new file mode 100644 index 00000000..443a7103 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0030.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 UIComponentTextInline0030 { + @State currentDirection: Direction = Direction.Auto; + + private toggleDirection() { + switch (this.currentDirection) { + case Direction.Auto: + this.currentDirection = Direction.Ltr; + break; + case Direction.Ltr: + this.currentDirection = Direction.Rtl; + break; + case Direction.Rtl: + this.currentDirection = Direction.Auto; + break; + default: + this.currentDirection = Direction.Auto; + break; + } + } + + build() { + Column() { + TextInput({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.' + }) + .id('UIComponentTextInline0030_001') + .style(TextInputStyle.Inline) + .width('70%') + .direction(this.currentDirection) + Button('切换') + .id('UIComponentTextInline0030_002') + .onClick(() => { + this.toggleDirection(); + }) + }.width('100%') + .height('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0060.ets new file mode 100644 index 00000000..58f53da2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0060.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 UIComponentTextInline0060 { + build() { + Column() { + TextInput({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.' + }) + .id('UIComponentTextInline0060_001') + .style(TextInputStyle.Inline) + .width('70%') + .minFontSize(4) + .maxFontSize(40) + }.width('100%') + .height('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0070.ets new file mode 100644 index 00000000..6c12fd9e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0070.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 UIComponentTextInline0070 { + build() { + Column() { + TextArea({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.' + }) + .id('UIComponentTextInline0070_001') + .style(TextContentStyle.INLINE) + .width('70%') + }.width('100%') + .height('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0080.ets new file mode 100644 index 00000000..b652fc32 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0080.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 UIComponentTextInline0080 { + build() { + Column() { + TextArea({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.' + }) + .id('UIComponentTextInline0080_001') + .style(TextContentStyle.INLINE) + .width('70%') + }.width('100%') + .height('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0090.ets new file mode 100644 index 00000000..cdae37f1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0090.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 UIComponentTextInline0090 { + @State currentDirection: Direction = Direction.Auto; + + private toggleDirection() { + switch (this.currentDirection) { + case Direction.Auto: + this.currentDirection = Direction.Ltr; + break; + case Direction.Ltr: + this.currentDirection = Direction.Rtl; + break; + case Direction.Rtl: + this.currentDirection = Direction.Auto; + break; + default: + this.currentDirection = Direction.Auto; + break; + } + } + + build() { + Column() { + TextArea({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.' + }) + .id('UIComponentTextInline0090_001') + .style(TextContentStyle.INLINE) + .width('70%') + .direction(this.currentDirection) + Button('切换') + .id('UIComponentTextInline0090_002') + .onClick(() => { + this.toggleDirection(); + }) + }.width('100%') + .height('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0120.ets new file mode 100644 index 00000000..a4f9be06 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0120.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 UIComponentTextInline0120 { + build() { + Column() { + TextArea({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.' + }) + .id('UIComponentTextInline0120_001') + .style(TextContentStyle.INLINE) + .minFontSize(4) + .maxFontSize(40) + .width('70%') + }.width('100%') + .height('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0130.ets new file mode 100644 index 00000000..1b9857ce --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInline/UIComponentTextInline0130.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 UIComponentTextInline0130 { + build() { + Column() { + TextArea({ + text: 'This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu.' + }) + .id('UIComponentTextInline0130_001') + .style(TextContentStyle.INLINE) + .width('70%') + }.width('100%') + .height('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInput/UIComponentTextInput0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInput/UIComponentTextInput0010.ets new file mode 100644 index 00000000..c134f525 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInput/UIComponentTextInput0010.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 { uiAppearance } from '@kit.ArkUI' + + +@Entry +@Component +struct UIComponentTextInput0010 { + @State message: string = 'Hello' + + build() { + Row() { + Column() { + TextInput() + .type(InputType.Password) + Button('change to light') + .id('button1') + .onClick(async () => { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { + }) + }) + Button('change to dark') + .id('button2') + .onClick(async () => { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK, () => { + }) + }) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0010.ets new file mode 100644 index 00000000..904ee30d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0010.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 UIComponentTextInputNumberDecimal0010 { + + build() { + Row() { + Column() { + TextInput() + .id('TextInputUIComponentTextInputNumberDecimal0010') + .type(InputType.NUMBER_DECIMAL) + .margin(2) + TextInput() + .id('TextInputUIComponentTextInputNumberDecimal0010_1') + .type(InputType.NUMBER_DECIMAL) + .margin(2) + TextInput() + .id('TextInputUIComponentTextInputNumberDecimal0010_2') + .type(InputType.NUMBER_DECIMAL) + .margin(2) + } + .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/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0020.ets new file mode 100644 index 00000000..a8a6ce02 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0020.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 UIComponentTextInputNumberDecimal0020 { + + build() { + Row() { + Column() { + TextInput() + .id('TextInputUIComponentTextInputNumberDecimal0020') + .type(InputType.NUMBER_DECIMAL) + .margin(2) + } + .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/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0030.ets new file mode 100644 index 00000000..2e82a5a6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0030.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 UIComponentTextInputNumberDecimal0030 { + + build() { + Row() { + Column() { + TextInput() + .id('TextInputUIComponentTextInputNumberDecimal0030') + .type(InputType.NUMBER_DECIMAL) + .margin(2) + } + .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/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0040.ets new file mode 100644 index 00000000..2a04fa34 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0040.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 UIComponentTextInputNumberDecimal0040 { + + build() { + Row() { + Column() { + TextInput() + .id('TextInputUIComponentTextInputNumberDecimal0040') + .type(InputType.NUMBER_DECIMAL) + .margin(2) + } + .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/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0050.ets new file mode 100644 index 00000000..59194665 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0050.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 UIComponentTextInputNumberDecimal0050 { + + build() { + Row() { + Column() { + TextInput() + .id('TextInputUIComponentTextInputNumberDecimal0050_1') + .margin(2) + TextInput() + .id('TextInputUIComponentTextInputNumberDecimal0050') + .type(InputType.NUMBER_DECIMAL) + .margin(2) + } + .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/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0060.ets new file mode 100644 index 00000000..354882b1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0060.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 UIComponentTextInputNumberDecimal0060 { + build() { + Row() { + Column() { + TextInput() + .id('TextInputUIComponentTextInputNumberDecimal0060_1') + .margin(2) + .inputFilter('[0-9.]') + TextInput() + .id('TextInputUIComponentTextInputNumberDecimal0060') + .type(InputType.NUMBER_DECIMAL) + .margin(2) + .inputFilter('[0-9.]') + } + .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/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0070.ets new file mode 100644 index 00000000..ebad7464 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0070.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. + */ + +@Entry +@Component +struct UIComponentTextInputNumberDecimal0070 { + build() { + Row() { + Column() { + TextInput() + .id('TextInputUIComponentTextInputNumberDecimal0070_1') + .inputFilter('[0-9.]') + TextInput() + .id('TextInputUIComponentTextInputNumberDecimal0070_2') + .type(InputType.Password) + .inputFilter('[0-9.]') + .showPassword(true) + TextInput() + .id('TextInputUIComponentTextInputNumberDecimal0070_3') + .type(InputType.Number) + .inputFilter('[0-9.]') + TextInput() + .id('TextInputUIComponentTextInputNumberDecimal0070_4') + .type(InputType.Email) + .inputFilter('[0-9.]') + TextInput() + .id('TextInputUIComponentTextInputNumberDecimal0070_5') + .type(InputType.PhoneNumber) + .inputFilter('[0-9.]') + TextInput() + .id('TextInputUIComponentTextInputNumberDecimal0070_6') + .type(InputType.USER_NAME) + .inputFilter('[0-9.]') + TextInput() + .id('TextInputUIComponentTextInputNumberDecimal0070_7') + .type(InputType.NEW_PASSWORD) + .showPassword(true) + .inputFilter('[0-9.]') + TextInput() + .id('TextInputUIComponentTextInputNumberDecimal0070_8') + .type(InputType.NUMBER_PASSWORD) + .showPassword(true) + .inputFilter('[0-9.]') + TextInput() + .id('TextInputUIComponentTextInputNumberDecimal0070_9') + .type(InputType.SCREEN_LOCK_PASSWORD) + .showPassword(true) + .inputFilter('[0-9.]') + TextInput() + .id('TextInputUIComponentTextInputNumberDecimal0070_10') + .type(InputType.NUMBER_DECIMAL) + .inputFilter('[0-9.]') + } + .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/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0080.ets new file mode 100644 index 00000000..177262c0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0080.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 UIComponentTextInputNumberDecimal0080 { + build() { + Row() { + Column() { + TextInput() + .id('TextInputUIComponentTextInputNumberDecimal0080') + .type(InputType.Number) + .margin(2) + .inputFilter('[a-z]') + } + .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/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0100.ets new file mode 100644 index 00000000..0b6fc65b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0100.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 UIComponentTextInputNumberDecimal0100 { + build() { + Row() { + Column() { + TextInput({ + text:'abcdABC123.456哈哈' + }) + .id('TextInputUIComponentTextInputNumberDecimal0100') + .type(InputType.NUMBER_DECIMAL) + .margin(2) + } + .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/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0010.ets new file mode 100644 index 00000000..ba448d5d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0010.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 UIComponentTextInputSecurityKeyboardScroll0010 { + + build() { + Row() { + Column() { + TextInput() + .id('UIComponentTextInputSecurityKeyboardScroll0010') + .type(InputType.NUMBER_PASSWORD) + .margin(2) + } + .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/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0020.ets new file mode 100644 index 00000000..8e739559 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0020.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 UIComponentTextInputSecurityKeyboardScroll0020 { + + build() { + Row() { + Column() { + TextInput() + .id('UIComponentTextInputSecurityKeyboardScroll0020') + .type(InputType.SCREEN_LOCK_PASSWORD) + .margin(2) + } + .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/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0030.ets new file mode 100644 index 00000000..1d7888e2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0030.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 UIComponentTextInputSecurityKeyboardScroll0030 { + + build() { + Row() { + Column() { + TextInput() + .id('UIComponentTextInputSecurityKeyboardScroll0030') + .type(InputType.SCREEN_LOCK_PASSWORD) + .margin(2) + TextInput() + .id('UIComponentTextInputSecurityKeyboardScroll0030_1') + .type(InputType.NUMBER_PASSWORD) + .margin(2) + } + .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/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0040.ets new file mode 100644 index 00000000..c1f94fd6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0040.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 UIComponentTextInputSecurityKeyboardScroll0040 { + + build() { + Row() { + Column() { + TextInput() + .id('UIComponentTextInputSecurityKeyboardScroll0040') + .type(InputType.SCREEN_LOCK_PASSWORD) + .margin(2) + .textAlign(TextAlign.Center) + TextInput() + .id('UIComponentTextInputSecurityKeyboardScroll0040_1') + .type(InputType.NUMBER_PASSWORD) + .margin(2) + .textAlign(TextAlign.Center) + } + .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/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0050.ets new file mode 100644 index 00000000..edc54c52 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0050.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 UIComponentTextInputSecurityKeyboardScroll0050 { + + build() { + Row() { + Column() { + TextInput() + .id('UIComponentTextInputSecurityKeyboardScroll0050') + .type(InputType.SCREEN_LOCK_PASSWORD) + .margin(2) + .textAlign(TextAlign.End) + TextInput() + .id('UIComponentTextInputSecurityKeyboardScroll0050_1') + .type(InputType.NUMBER_PASSWORD) + .margin(2) + .textAlign(TextAlign.End) + } + .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/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0060.ets new file mode 100644 index 00000000..1274ac95 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0060.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 UIComponentTextInputSecurityKeyboardScroll0060 { + @State textAlign: number | undefined = TextAlign.Start + + build() { + Row() { + Column() { + TextInput() + .id('UIComponentTextInputSecurityKeyboardScroll0060') + .type(InputType.SCREEN_LOCK_PASSWORD) + .margin(2) + .textAlign(this.textAlign) + TextInput() + .id('UIComponentTextInputSecurityKeyboardScroll0060_1') + .type(InputType.NUMBER_PASSWORD) + .margin(2) + .textAlign(this.textAlign) + Button() + .id('btnUIComponentTextInputSecurityKeyboardScroll0060') + .onClick(() => { + this.textAlign = TextAlign.End + }) + } + .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/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0070.ets new file mode 100644 index 00000000..53202976 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0070.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 UIComponentTextInputSecurityKeyboardScroll0070 { + @State textAlign: number | undefined = TextAlign.Start + + build() { + Row() { + Column() { + TextInput() + .id('UIComponentTextInputSecurityKeyboardScroll0070') + .margin(2) + .textAlign(this.textAlign) + TextInput() + .id('UIComponentTextInputSecurityKeyboardScroll0070_1') + .type(InputType.NUMBER_PASSWORD) + .margin(2) + .textAlign(this.textAlign) + } + .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/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0080.ets new file mode 100644 index 00000000..cd32dc56 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0080.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 UIComponentTextInputSecurityKeyboardScroll0080 { + @State textAlign: number | undefined = TextAlign.Start + + build() { + Row() { + Column() { + TextInput() + .id('UIComponentTextInputSecurityKeyboardScroll0080') + .type(InputType.NUMBER_PASSWORD) + .margin(2) + .textAlign(this.textAlign) + .showPassword(true) + } + .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/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0090.ets new file mode 100644 index 00000000..d9896574 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0090.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 UIComponentTextInputSecurityKeyboardScroll0090 { + @State textAlign: number | undefined = TextAlign.Start + + build() { + Row() { + Column() { + TextInput() + .id('UIComponentTextInputSecurityKeyboardScroll0090') + .type(InputType.NUMBER_PASSWORD) + .margin(2) + .textAlign(this.textAlign) + .showPassword(true) + .maxLength(9) + } + .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/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0100.ets new file mode 100644 index 00000000..9031a8d5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0100.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 UIComponentTextInputSecurityKeyboardScroll0100 { + @State textAlign: number | undefined = TextAlign.Start + + build() { + Row() { + Column() { + TextInput() + .id('UIComponentTextInputSecurityKeyboardScroll0100') + .type(InputType.NUMBER_PASSWORD) + .margin(2) + .textAlign(this.textAlign) + .showPassword(true) + .maxLength(20) + } + .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/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0110.ets new file mode 100644 index 00000000..ed336ac0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0110.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 UIComponentTextInputSecurityKeyboardScroll0110 { + @State maxLength: number | undefined = 10; + + build() { + Row() { + Column() { + TextInput() + .id('UIComponentTextInputSecurityKeyboardScroll0110') + .type(InputType.NUMBER_PASSWORD) + .margin(2) + .showPassword(true) + .maxLength(20) + Button('change maxLength') + .id('btnUIComponentTextInputSecurityKeyboardScroll0110') + .onClick(() => { + this.maxLength = 5; + }) + } + .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/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0120.ets new file mode 100644 index 00000000..631e3a0b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0120.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 UIComponentTextInputSecurityKeyboardScroll0120 { + @State textAlign: number | undefined = TextAlign.Start + + build() { + Row() { + Column() { + TextInput() + .id('UIComponentTextInputSecurityKeyboardScroll0120') + .type(InputType.NUMBER_PASSWORD) + .margin(2) + .textAlign(this.textAlign) + .showPassword(true) + } + .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/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0130.ets new file mode 100644 index 00000000..fbbd6da1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0130.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 UIComponentTextInputSecurityKeyboardScroll0130 { + @State textAlign: number | undefined = TextAlign.Start + @State passWordSrc1: string = 'cat.jpg' + @State passWordSrc2: string = 'icon.png' + + build() { + Row() { + Column() { + TextInput() + .id('UIComponentTextInputSecurityKeyboardScroll0130') + .type(InputType.NUMBER_PASSWORD) + .margin(2) + .textAlign(this.textAlign) + .width(500) + .passwordIcon({ onIconSrc: this.passWordSrc1, offIconSrc: this.passWordSrc2 }) + } + .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/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0140.ets new file mode 100644 index 00000000..43d9e4dd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0140.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 UIComponentTextInputSecurityKeyboardScroll0140 { + @State textAlign: number | undefined = TextAlign.Start + @State passWordSrc1: string = 'cat.jpg' + @State passWordSrc2: string = 'icon.png' + + build() { + Row() { + Column() { + TextInput() + .id('UIComponentTextInputSecurityKeyboardScroll0140') + .type(InputType.NUMBER_PASSWORD) + .margin(2) + .textAlign(this.textAlign) + .width(500) + } + .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/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0150.ets new file mode 100644 index 00000000..d45a60ef --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0150.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 UIComponentTextInputSecurityKeyboardScroll0150 { + @State textAlign: number | undefined = TextAlign.Start + @State passWordSrc1: string = 'cat.jpg' + @State passWordSrc2: string = 'icon.png' + + build() { + Row() { + Column() { + TextInput() + .id('UIComponentTextInputSecurityKeyboardScroll0150') + .type(InputType.NUMBER_PASSWORD) + .margin(2) + .padding(10) + .textAlign(this.textAlign) + } + .width('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0200.ets new file mode 100644 index 00000000..43c2aeb4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0200.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 { JSON } from '@kit.ArkTS'; + +@Entry +@Component +struct UIComponentTextReverseAnalysis0200 { + mutableStyledString: MutableStyledString = new MutableStyledString('哈' + '\uD83C\uDDe8\uD83C\uDDF3'+'哈', [{ + start: 0, + length: 8, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Orange}) + }]); + @State msg : string = ''; + controller: TextController = new TextController(); + async onPageShow() { + this.controller.setStyledString(this.mutableStyledString); + } + build() { + Column() { + Button('insert') + .id('insert') + .onClick(()=>{ + this.mutableStyledString.insertString(1,'插入'); + this.controller.setStyledString(this.mutableStyledString); + this.msg = `${JSON.stringify(this.mutableStyledString.getStyles(3,4))}`; + }) + Text('', { controller: this.controller }) + .width('80%') + .height(60) + .id('UIComponentTextReverseAnalysis0200') + Text(this.msg) + }.width('100%') + .height('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0300.ets new file mode 100644 index 00000000..bd47bc3b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0300.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 UIComponentTextReverseAnalysis0300 { + build() { + Column() { + TextInput() + .id('UIComponentTextReverseAnalysis0300_001') + .enterKeyType(EnterKeyType.Search) + .width('70%') + }.width('100%') + .height('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0350.ets new file mode 100644 index 00000000..b4f4a0ab --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0350.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 UIComponentTextReverseAnalysis0350 { + build() { + Column() { + TextInput() + .id('UIComponentTextReverseAnalysis0350_001') + .hoverEffect(HoverEffect.Scale) + .width('70%') + }.width('100%') + .height('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0390.ets new file mode 100644 index 00000000..9d807fdb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0390.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 UIComponentTextReverseAnalysis0390 { + scroll: Scroller = new Scroller(); + fontStyleAttr1: TextStyle = new TextStyle({ fontColor: Color.Blue }); + clickGestureAttr: GestureStyle = new GestureStyle({ + onClick: () => { + this.buttonText = '点击'; + }, + onLongPress: () => { + this.buttonText = '长按'; + } + }); + mutableStyledString3: MutableStyledString = new MutableStyledString("hello", [{ + start: 0, + length: 5, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr + }]); + @State fontColor1: ResourceColor = Color.Red; + @State buttonText: string = ''; + controller3: TextController = new TextController(); + + async onPageShow() { + this.controller3.setStyledString(this.mutableStyledString3); + } + + build() { + Column() { + Scroll(this.scroll) { + Column({ space: 30 }) { + Text('触发事件:' + this.buttonText) + .fontSize(30) + .margin({ bottom: 100 }) + Text(undefined, { controller: this.controller3 }) + .fontSize(30) + .copyOption(CopyOptions.InApp) + .draggable(true) + .clip(true) + .id('UIComponentTextReverseAnalysis0390_001') + }.width('100%') + } + .expandSafeArea([SafeAreaType.KEYBOARD]) + .scrollable(ScrollDirection.Vertical) + .scrollBar(BarState.On) + .scrollBarColor(Color.Gray) + .scrollBarWidth(10) + .edgeEffect(EdgeEffect.None) + } + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0400.ets new file mode 100644 index 00000000..b86d28df --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0400.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 UIComponentTextReverseAnalysis0400 { + @State phoneNumber: string = '(86) (755) ********'; + @State url: string = 'www.fda.com'; + @State email: string = '***@example.com'; + @State address: string = 'XX省XX市XX区XXXX'; + @State datetime: string = 'XX年XX月XX日XXXX'; + @State enableDataDetector: boolean = true; + @State types: TextDataDetectorType[] = []; + @State text: string = ''; + + build() { + Row() { + Column() { + Text('触发事件:' + this.text) + Text() { + Span('电话号码:' + this.phoneNumber + '\n' + + '链接:' + this.url + '\n' + + '邮箱:' + this.email + '\n' + + '地址:' + this.address + '\n' + + '时间:' + this.datetime,) + .onClick(() => { + this.text = '点击'; + }) + ImageSpan($r('app.media.icon')) + .width('100px') + .height('100px') + .objectFit(ImageFit.Fill) + .verticalAlign(ImageSpanAlignment.CENTER) + } + .id('UIComponentTextReverseAnalysis0400_001') + .fontSize(16) + .copyOption(CopyOptions.None) + .enableDataDetector(this.enableDataDetector) + .dataDetectorConfig({ + types: this.types, onDetectResultUpdate: (result: string) => { + } + }) + .textAlign(TextAlign.Center) + .borderWidth(1) + .padding(10) + .width('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/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0410.ets new file mode 100644 index 00000000..7296453a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0410.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 UIComponentTextReverseAnalysis0410 { + @State phoneNumber: string = '(86) (755) ********'; + @State url: string = 'www.fda.com'; + @State email: string = '***@example.com'; + @State address: string = 'XX省XX市XX区XXXX'; + @State datetime: string = 'XX年XX月XX日XXXX'; + @State enableDataDetector: boolean = true; + @State types: TextDataDetectorType[] = []; + @State text: string = ''; + + build() { + Row() { + Column() { + Text('触发事件:' + this.text) + Text() { + Span('电话号码:' + this.phoneNumber + '\n' + + '链接:' + this.url + '\n' + + '邮箱:' + this.email + '\n' + + '地址:' + this.address + '\n' + + '时间:' + this.datetime,) + .onClick(() => { + this.text = '点击'; + }) + ImageSpan($r('app.media.icon')) + .width('100px') + .height('100px') + .objectFit(ImageFit.Fill) + .verticalAlign(ImageSpanAlignment.CENTER) + } + .id('UIComponentTextReverseAnalysis0410_001') + .fontSize(16) + .copyOption(CopyOptions.InApp) + .enableDataDetector(this.enableDataDetector) + .dataDetectorConfig({ + types: this.types, onDetectResultUpdate: (result: string) => { + } + }) + .textAlign(TextAlign.Center) + .borderWidth(1) + .padding(10) + .width('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/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0420.ets new file mode 100644 index 00000000..6b52db4c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0420.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 UIComponentTextReverseAnalysis0420 { + scroll: Scroller = new Scroller(); + fontStyleAttr1: TextStyle = new TextStyle({ fontColor: Color.Blue }); + clickGestureAttr: GestureStyle = new GestureStyle({ + onClick: () => { + this.buttonText = '点击'; + }, + onLongPress: () => { + this.buttonText = '长按'; + } + }); + mutableStyledString3: MutableStyledString = new MutableStyledString("hello", [{ + start: 0, + length: 5, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr + }]); + @State fontColor1: ResourceColor = Color.Red; + @State buttonText: string = ''; + controller3: TextController = new TextController(); + + async onPageShow() { + this.controller3.setStyledString(this.mutableStyledString3); + } + + build() { + Column() { + Scroll(this.scroll) { + Column({ space: 30 }) { + Text('触发事件:' + this.buttonText) + .fontSize(30) + .margin({ bottom: 100 }) + Text(undefined, { controller: this.controller3 }) + .fontSize(30) + .copyOption(CopyOptions.InApp) + .draggable(true) + .clip(true) + .id('UIComponentTextReverseAnalysis0420_001') + }.width('100%') + } + .expandSafeArea([SafeAreaType.KEYBOARD]) + .scrollable(ScrollDirection.Vertical) + .scrollBar(BarState.On) + .scrollBarColor(Color.Gray) + .scrollBarWidth(10) + .edgeEffect(EdgeEffect.None) + } + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0430.ets new file mode 100644 index 00000000..1651829f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0430.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 UIComponentTextReverseAnalysis0430 { + scroll: Scroller = new Scroller(); + fontStyleAttr1: TextStyle = new TextStyle({ fontColor: Color.Blue }); + clickGestureAttr: GestureStyle = new GestureStyle({ + onClick: () => { + this.buttonText = '点击'; + }, + onLongPress: () => { + this.buttonText = '长按'; + } + }); + mutableStyledString3: MutableStyledString = new MutableStyledString("hello", [{ + start: 0, + length: 5, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr + }]); + @State fontColor1: ResourceColor = Color.Red; + @State buttonText: string = ''; + controller3: TextController = new TextController(); + + async onPageShow() { + this.controller3.setStyledString(this.mutableStyledString3); + } + + build() { + Column() { + Scroll(this.scroll) { + Column({ space: 30 }) { + Text('触发事件:' + this.buttonText) + .fontSize(30) + .margin({ bottom: 100 }) + Text(undefined, { controller: this.controller3 }) + .fontSize(30) + .copyOption(CopyOptions.InApp) + .draggable(true) + .clip(true) + .id('UIComponentTextReverseAnalysis0430_001') + }.width('100%') + } + .expandSafeArea([SafeAreaType.KEYBOARD]) + .scrollable(ScrollDirection.Vertical) + .scrollBar(BarState.On) + .scrollBarColor(Color.Gray) + .scrollBarWidth(10) + .edgeEffect(EdgeEffect.None) + } + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0480.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0480.ets new file mode 100644 index 00000000..97d427c5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0480.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 UIComponentTextReverseAnalysis0480 { + build() { + Column() { + TextInput() + .id('UIComponentTextReverseAnalysis0480_001') + .width('70%') + Button('按钮') + }.width('100%') + .height('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0490.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0490.ets new file mode 100644 index 00000000..716a50b5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0490.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 UIComponentTextReverseAnalysis0490 { + build() { + Column() { + TextInput() + .id('UIComponentTextReverseAnalysis0490_001') + .width('70%') + TextInput() + .width('70%') + }.width('100%') + .height('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0500.ets new file mode 100644 index 00000000..41117c0b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0500.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 UIComponentTextReverseAnalysis0500 { + build() { + Column() { + Button('按钮') + .id('UIComponentTextReverseAnalysis0500_001') + TextInput() + .width('70%') + }.width('100%') + .height('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0510.ets new file mode 100644 index 00000000..b467ff38 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0510.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 UIComponentTextReverseAnalysis0510 { + build() { + Column() { + TextInput() + .id('UIComponentTextReverseAnalysis0510_001') + .width('70%') + Button('按钮') + TextInput() + .width('70%') + }.width('100%') + .height('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0010.ets new file mode 100644 index 00000000..918fac5b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0010.ets @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentTextTextAreaAction0010 { + build() { + Column(){ + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaAction0010') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0020.ets new file mode 100644 index 00000000..b0647628 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0020.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 UIComponentTextTextAreaAction0020 { + build() { + Column() { + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaAction0020') + .fontSize(20) + } + .alignItems(HorizontalAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0030.ets new file mode 100644 index 00000000..231c7b5e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0030.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 UIComponentTextTextAreaAction0030 { + build() { + Column() { + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaAction0030') + .fontSize(20) + } + .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/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0040.ets new file mode 100644 index 00000000..9548e176 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0040.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 UIComponentTextTextAreaAction0040 { + build() { + Column() { + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaAction0040') + .fontSize(20) + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaAction0040_1') + .fontSize(20) + } + .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/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0070.ets new file mode 100644 index 00000000..4cdb8409 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0070.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 UIComponentTextTextAreaAction0070 { + build() { + Column() { + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaAction0070') + .fontSize(20) + } + .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/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0080.ets new file mode 100644 index 00000000..cd269668 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0080.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 UIComponentTextTextAreaAction0080 { + build() { + Column() { + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaAction0080') + .fontSize(20) + } + .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/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0090.ets new file mode 100644 index 00000000..c6d80510 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0090.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 UIComponentTextTextAreaAction0090 { + build() { + Column() { + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaAction0090') + .fontSize(20) + } + .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/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0100.ets new file mode 100644 index 00000000..bae1dd96 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0100.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 UIComponentTextTextAreaAction0100 { + build() { + Column() { + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaAction0100') + .fontSize(20) + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaAction0100_1') + .fontSize(20) + } + .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/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0110.ets new file mode 100644 index 00000000..00526b17 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0110.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 UIComponentTextTextAreaAction0110 { + controller: TextAreaController = new TextAreaController(); + @State msg: string = '当前行数为:' + + build() { + Column({ space: 20 }) { + TextArea({ controller: this.controller }) + .width('70%') + .id('TextTextAreaAction0110') + .fontSize(20) + + Text(this.msg) + .width('70%') + .id('TextTextAreaAction0110_1') + .enabled(true) + .fontSize(20) + .onClick(() => { + this.msg += this.controller.getTextContentLineCount(); + }) + } + .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/UIComponentTextTextAreaEnhances/UIComponentTextTextAreaEnhances0900.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnhances/UIComponentTextTextAreaEnhances0900.ets new file mode 100644 index 00000000..0fae3582 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnhances/UIComponentTextTextAreaEnhances0900.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 UIComponentTextTextAreaEnhances0900 { + build() { + Column() { + TextArea() + .width('auto') + .id('TextAreaUIComponentTextTextAreaEnhances0900') + .fontSize(20) + .textAlign(TextAlign.JUSTIFY) + } + .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/UIComponentTextTextAreaEnhances/UIComponentTextTextAreaEnhances2500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnhances/UIComponentTextTextAreaEnhances2500.ets new file mode 100644 index 00000000..b5cb6dd8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnhances/UIComponentTextTextAreaEnhances2500.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 UIComponentTextTextAreaEnhances2500 { + build() { + Column() { + TextArea() + .width('auto') + .id('TextAreaUIComponentTextTextAreaEnhances2500') + } + .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/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0010.ets new file mode 100644 index 00000000..a86e61d9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0010.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 UIComponentTextTextAreaEnterkeyType0010 { + @State enterKeyType: EnterKeyType | undefined = undefined; + + build() { + Column() { + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaEnterkeyType0010') + .fontSize(20) + .enterKeyType(this.enterKeyType) + Button('设置enterKey') + .id('btnUIComponentTextTextAreaEnterkeyType0010') + .onClick(() => { + this.enterKeyType = EnterKeyType.Done; + }) + } + .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/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0016.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0016.ets new file mode 100644 index 00000000..10876a51 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0016.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 UIComponentTextTextAreaEnterkeyType0016 { + @State enterKeyType: EnterKeyType | undefined = undefined; + + build() { + Column() { + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaEnterkeyType0016') + .fontSize(20) + .enterKeyType(this.enterKeyType) + Button('设置enterKey') + .id('btnUIComponentTextTextAreaEnterkeyType0016') + .onClick(() => { + this.enterKeyType = EnterKeyType.NEW_LINE; + }) + } + .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/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0020.ets new file mode 100644 index 00000000..2b64220e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0020.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 UIComponentTextTextAreaEnterkeyType0020 { + @State enterKeyType: EnterKeyType | undefined = undefined; + + build() { + Column() { + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaEnterkeyType0020') + .fontSize(20) + .enterKeyType(this.enterKeyType) + Button('设置enterKey') + .id('btnUIComponentTextTextAreaEnterkeyType0020') + .onClick(() => { + this.enterKeyType = EnterKeyType.Go; + }) + } + .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/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0030.ets new file mode 100644 index 00000000..695dcd6b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0030.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 UIComponentTextTextAreaEnterkeyType0030 { + @State enterKeyType: EnterKeyType | undefined = undefined; + + build() { + Column() { + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaEnterkeyType0030') + .fontSize(20) + .enterKeyType(this.enterKeyType) + Button('设置enterKey') + .id('btnUIComponentTextTextAreaEnterkeyType0030') + .onClick(() => { + this.enterKeyType = EnterKeyType.Search; + }) + } + .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/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0040.ets new file mode 100644 index 00000000..db16a7d7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0040.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 UIComponentTextTextAreaEnterkeyType0040 { + @State enterKeyType: EnterKeyType | undefined = undefined; + + build() { + Column() { + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaEnterkeyType0040') + .fontSize(20) + .enterKeyType(this.enterKeyType) + Button('设置enterKey') + .id('btnUIComponentTextTextAreaEnterkeyType0040') + .onClick(() => { + this.enterKeyType = EnterKeyType.Send; + }) + } + .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/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0050.ets new file mode 100644 index 00000000..6888251d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0050.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 UIComponentTextTextAreaEnterkeyType0050 { + @State enterKeyType: EnterKeyType | undefined = undefined; + + build() { + Column() { + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaEnterkeyType0050') + .fontSize(20) + .enterKeyType(this.enterKeyType) + Button('设置enterKey') + .id('btnUIComponentTextTextAreaEnterkeyType0050') + .onClick(() => { + this.enterKeyType = EnterKeyType.Next; + }) + } + .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/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0060.ets new file mode 100644 index 00000000..a44772d8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0060.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 UIComponentTextTextAreaEnterkeyType0060 { + @State enterKeyType: EnterKeyType | undefined = undefined; + + build() { + Column() { + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaEnterkeyType0060') + .fontSize(20) + .enterKeyType(this.enterKeyType) + Button('设置enterKey') + .id('btnUIComponentTextTextAreaEnterkeyType0060') + .onClick(() => { + this.enterKeyType = EnterKeyType.PREVIOUS; + }) + } + .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/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0080.ets new file mode 100644 index 00000000..df431dc6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0080.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 UIComponentTextTextAreaEnterkeyType0080 { + @State enterKeyType: EnterKeyType | undefined = undefined; + + build() { + Column() { + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaEnterkeyType0080') + .fontSize(20) + .enterKeyType(this.enterKeyType) + Button('还原enterKey') + .id('btnUIComponentTextTextAreaEnterkeyType0080') + .onClick(() => { + this.enterKeyType = undefined; + }) + } + .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/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0090.ets new file mode 100644 index 00000000..32322fbe --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0090.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 UIComponentTextTextAreaEnterkeyType0090 { + @State enterKeyType: EnterKeyType | undefined = undefined; + @State text: string | undefined = undefined; + @State text1: string | undefined = undefined; + + build() { + Column() { + Text(this.text) + Text(this.text1) + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaEnterkeyType0090') + .fontSize(20) + .enterKeyType(this.enterKeyType) + .onSubmit(() => { + if (this.enterKeyType = EnterKeyType.Go) { + this.text = this.enterKeyType.toString(); + } else { + this.text1 = JSON.stringify(this.enterKeyType); + } + }) + Button('设置enterKey为Go') + .id('btnUIComponentTextTextAreaEnterkeyType0090') + .onClick(() => { + this.enterKeyType = EnterKeyType.Go; + }) + Button('还原enterKey') + .id('btnUIComponentTextTextAreaEnterkeyType0090_1') + .onClick(() => { + this.enterKeyType = undefined; + }) + } + .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/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0100.ets new file mode 100644 index 00000000..1c1f900a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0100.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 UIComponentTextTextAreaEnterkeyType0100 { + @State enterKeyType: EnterKeyType | undefined = undefined; + @State text: string | undefined = undefined; + @State text1: string | undefined = undefined; + + build() { + Column() { + Text(this.text) + Text(this.text1) + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaEnterkeyType0100') + .fontSize(20) + .enterKeyType(this.enterKeyType) + .onSubmit(() => { + if (this.enterKeyType = EnterKeyType.Go) { + this.text = this.enterKeyType.toString(); + } else { + this.text1 = JSON.stringify(this.enterKeyType); + } + }) + Button('设置enterKey为Go') + .id('btnUIComponentTextTextAreaEnterkeyType0100') + .onClick(() => { + this.enterKeyType = EnterKeyType.Go; + }) + Button('还原enterKey') + .id('btnUIComponentTextTextAreaEnterkeyType0100_1') + .onClick(() => { + this.enterKeyType = undefined; + }) + } + .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/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0110.ets new file mode 100644 index 00000000..9d2107c2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0110.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 UIComponentTextTextAreaEnterkeyType0110 { + @State enterKeyType: EnterKeyType | undefined = undefined; + @State text: string | undefined = undefined; + @State text1: string | undefined = undefined; + + build() { + Column() { + Text(this.text) + Text(this.text1) + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaEnterkeyType0110') + .fontSize(20) + .enterKeyType(this.enterKeyType) + .style(TextContentStyle.INLINE) + .onSubmit(() => { + if (this.enterKeyType = EnterKeyType.Go) { + this.text = this.enterKeyType.toString(); + } else { + this.text1 = JSON.stringify(this.enterKeyType); + } + }) + Button('设置enterKey为Go') + .id('btnUIComponentTextTextAreaEnterkeyType0110') + .onClick(() => { + this.enterKeyType = EnterKeyType.Go; + }) + Button('还原enterKey') + .id('btnUIComponentTextTextAreaEnterkeyType0110_1') + .onClick(() => { + this.enterKeyType = undefined; + }) + } + .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/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0120.ets new file mode 100644 index 00000000..ab7234d2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0120.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 UIComponentTextTextAreaEnterkeyType0120 { + @State enterKeyType: EnterKeyType | undefined = undefined; + @State text: string | undefined = undefined; + @State text1: string | undefined = undefined; + + build() { + Column() { + Text(this.text) + Text(this.text1) + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaEnterkeyType0120') + .fontSize(20) + .enterKeyType(this.enterKeyType) + .style(TextContentStyle.DEFAULT) + .onSubmit(() => { + if (this.enterKeyType = EnterKeyType.Go) { + this.text = this.enterKeyType.toString(); + } else { + this.text1 = JSON.stringify(this.enterKeyType); + } + }) + Button('设置enterKey为Go') + .id('btnUIComponentTextTextAreaEnterkeyType0120') + .onClick(() => { + this.enterKeyType = EnterKeyType.Go; + }) + Button('还原enterKey') + .id('btnUIComponentTextTextAreaEnterkeyType0120_1') + .onClick(() => { + this.enterKeyType = undefined; + }) + } + .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/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0130.ets new file mode 100644 index 00000000..c96e68c0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0130.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 UIComponentTextTextAreaEnterkeyType0130 { + @State enterKeyType: EnterKeyType | undefined = undefined; + @State text: string | undefined = undefined; + @State text1: string | undefined = undefined; + + build() { + Column() { + Text(this.text) + Text(this.text1) + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaEnterkeyType0130') + .fontSize(20) + .enterKeyType(this.enterKeyType) + .style(TextContentStyle.DEFAULT) + .onSubmit(() => { + if (this.enterKeyType = EnterKeyType.Go) { + this.text = this.enterKeyType.toString(); + } else { + this.text1 = JSON.stringify(this.enterKeyType); + } + }) + Button('设置enterKey为Go') + .id('btnUIComponentTextTextAreaEnterkeyType0130') + .onClick(() => { + this.enterKeyType = EnterKeyType.Go; + }) + Button('还原enterKey') + .id('btnUIComponentTextTextAreaEnterkeyType0130_1') + .onClick(() => { + this.enterKeyType = undefined; + }) + } + .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/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0140.ets new file mode 100644 index 00000000..9fb262cd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0140.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 UIComponentTextTextAreaEnterkeyType0140 { + @State enterKeyType: EnterKeyType | undefined = undefined; + @State text: string | undefined = undefined; + @State text1: string | undefined = undefined; + + build() { + Column() { + Text(this.text) + Text(this.text1) + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaEnterkeyType0140') + .fontSize(20) + .enterKeyType(this.enterKeyType) + .style(TextContentStyle.DEFAULT) + .onSubmit(() => { + if (this.enterKeyType = EnterKeyType.Go) { + this.text = this.enterKeyType.toString(); + } else { + this.text1 = JSON.stringify(this.enterKeyType); + } + }) + Button('设置enterKey为Go') + .id('btnUIComponentTextTextAreaEnterkeyType0140') + .onClick(() => { + this.enterKeyType = EnterKeyType.Go; + }) + Button('还原enterKey') + .id('btnUIComponentTextTextAreaEnterkeyType0140_1') + .onClick(() => { + this.enterKeyType = undefined; + }) + } + .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/UIComponentTextTextAreaEvaSaveInputMethod/UIComponentTextTextAreaEvaSaveInputMethod0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEvaSaveInputMethod/UIComponentTextTextAreaEvaSaveInputMethod0130.ets new file mode 100644 index 00000000..7c8ea808 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEvaSaveInputMethod/UIComponentTextTextAreaEvaSaveInputMethod0130.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 mediaquery from '@ohos.mediaquery'; +import window from '@ohos.window'; +import common from '@ohos.app.ability.common'; +let portraitFunc = null; +@Entry +@Component +struct UIComponentTextTextAreaEvaSaveInputMethod0130 { + @State enterKeyType: EnterKeyType | undefined = undefined; + listener = mediaquery.matchMediaSync('(orientation: 横屏)'); + onPortrait() { + } + + aboutToAppear() { + // 绑定当前应用实例 + portraitFunc = this.onPortrait.bind(this); + // 绑定回调函数 + this.listener.on('change', portraitFunc); + } + + // 改变设备横竖屏状态函数 + private changeOrientation(isLandscape: boolean) { + // 获取UIAbility实例的上下文信息 + let context = getContext(this) as common.UIAbilityContext; + // 调用该接口手动改变设备横竖屏状态 + window.getLastWindow(context).then((lastWindow) => { + lastWindow.setPreferredOrientation(isLandscape ? window.Orientation.LANDSCAPE : window.Orientation.PORTRAIT) + }); + } + build() { + Column() { + Scroll(){ + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaEvaSaveInputMethod0130') + .fontSize(20) + .enterKeyType(this.enterKeyType) + } + Button('切换横竖屏') + .id('btnUIComponentTextTextAreaEvaSaveInputMethod0130') + .onClick(() => { + this.changeOrientation(true); + }) + } + .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/UIComponentTextTextAreaEvaSaveInputMethod/UIComponentTextTextAreaEvaSaveInputMethod0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEvaSaveInputMethod/UIComponentTextTextAreaEvaSaveInputMethod0140.ets new file mode 100644 index 00000000..d1ff6ffa --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEvaSaveInputMethod/UIComponentTextTextAreaEvaSaveInputMethod0140.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 mediaquery from '@ohos.mediaquery'; +import window from '@ohos.window'; +import common from '@ohos.app.ability.common'; +let portraitFunc = null; +@Entry +@Component +struct UIComponentTextTextAreaEvaSaveInputMethod0140 { + @State enterKeyType: EnterKeyType | undefined = undefined; + listener = mediaquery.matchMediaSync('(orientation: 横屏)'); + onPortrait() { + } + + aboutToAppear() { + // 绑定当前应用实例 + portraitFunc = this.onPortrait.bind(this); + // 绑定回调函数 + this.listener.on('change', portraitFunc); + } + + // 改变设备横竖屏状态函数 + private changeOrientation(isLandscape: boolean) { + // 获取UIAbility实例的上下文信息 + let context = getContext(this) as common.UIAbilityContext; + // 调用该接口手动改变设备横竖屏状态 + window.getLastWindow(context).then((lastWindow) => { + lastWindow.setPreferredOrientation(isLandscape ? window.Orientation.LANDSCAPE : window.Orientation.PORTRAIT) + }); + } + build() { + Column() { + Button('切换横竖屏') + .id('btnUIComponentTextTextAreaEvaSaveInputMethod0140') + .onClick(() => { + this.changeOrientation(true); + }) + .margin({ + top:400 + }) + Scroll(){ + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaEvaSaveInputMethod0140') + .fontSize(20) + .enterKeyType(this.enterKeyType) + } + } + .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/UIComponentTextTextAreaEvaSaveInputMethod/UIComponentTextTextAreaEvaSaveInputMethod0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEvaSaveInputMethod/UIComponentTextTextAreaEvaSaveInputMethod0150.ets new file mode 100644 index 00000000..1335ae48 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaEvaSaveInputMethod/UIComponentTextTextAreaEvaSaveInputMethod0150.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 mediaquery from '@ohos.mediaquery'; +import window from '@ohos.window'; +import common from '@ohos.app.ability.common'; +let portraitFunc = null; +@Entry +@Component +struct UIComponentTextTextAreaEvaSaveInputMethod0150 { + @State enterKeyType: EnterKeyType | undefined = undefined; + listener = mediaquery.matchMediaSync('(orientation: 横屏)'); + onPortrait() { + } + + aboutToAppear() { + // 绑定当前应用实例 + portraitFunc = this.onPortrait.bind(this); + // 绑定回调函数 + this.listener.on('change', portraitFunc); + } + + // 改变设备横竖屏状态函数 + private changeOrientation(isLandscape: boolean) { + // 获取UIAbility实例的上下文信息 + let context = getContext(this) as common.UIAbilityContext; + // 调用该接口手动改变设备横竖屏状态 + window.getLastWindow(context).then((lastWindow) => { + lastWindow.setPreferredOrientation(isLandscape ? window.Orientation.LANDSCAPE : window.Orientation.PORTRAIT) + }); + } + build() { + Column() { + Button('切换横竖屏') + .id('btnUIComponentTextTextAreaEvaSaveInputMethod0150') + .onClick(() => { + this.changeOrientation(true); + }) + .margin({ + top:700 + }) + Scroll(){ + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaEvaSaveInputMethod0150') + .fontSize(20) + .enterKeyType(this.enterKeyType) + } + } + .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/UIComponentTextTextAreaInterAction/UIComponentTextTextAreaInterAction0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterAction/UIComponentTextTextAreaInterAction0010.ets new file mode 100644 index 00000000..4ec39f7e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterAction/UIComponentTextTextAreaInterAction0010.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 UIComponentTextTextAreaInterAction0010 { + build() { + Column() { + TextArea() + .width('100%') + .id('TextAreaUIComponentTextTextAreaInterAction0010') + .type(TextAreaType.NORMAL) + .maxLines(1) + .copyOption(CopyOptions.InApp) + } + .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/UIComponentTextTextAreaInterAction/UIComponentTextTextAreaInterAction0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterAction/UIComponentTextTextAreaInterAction0030.ets new file mode 100644 index 00000000..0d215203 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterAction/UIComponentTextTextAreaInterAction0030.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 UIComponentTextTextAreaInterAction0030 { + build() { + Column() { + TextArea() + .width('100%') + .id('TextAreaUIComponentTextTextAreaInterAction0030') + .type(TextAreaType.NORMAL) + .maxLines(1) + .copyOption(CopyOptions.InApp) + } + .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/UIComponentTextTextAreaInterAction/UIComponentTextTextAreaInterAction0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterAction/UIComponentTextTextAreaInterAction0040.ets new file mode 100644 index 00000000..9af9e49c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterAction/UIComponentTextTextAreaInterAction0040.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 UIComponentTextTextAreaInterAction0040 { + build() { + Column() { + TextArea() + .width('100%') + .id('TextAreaUIComponentTextTextAreaInterAction0040') + .type(TextAreaType.NORMAL) + .maxLines(1) + .copyOption(CopyOptions.InApp) + } + .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/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0010.ets new file mode 100644 index 00000000..12632aa2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0010.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 UIComponentTextTextAreaInterActive0010 { + build() { + Column() { + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaInterActive0010') + .type(TextAreaType.NORMAL) + .maxLines(1) + } + .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/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0020.ets new file mode 100644 index 00000000..f5f750d0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0020.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 UIComponentTextTextAreaInterActive0020 { + build() { + Column() { + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaInterActive0020') + .style(TextContentStyle.INLINE) + .maxLines(1) + } + .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/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0030.ets new file mode 100644 index 00000000..824f76a5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0030.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 UIComponentTextTextAreaInterActive0030 { + build() { + Column() { + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaInterActive0030') + .style(TextContentStyle.INLINE) + .maxLines(5) + } + .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/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0040.ets new file mode 100644 index 00000000..7084b57f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0040.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 UIComponentTextTextAreaInterActive0040 { + build() { + Column() { + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaInterActive0040') + .selectionMenuHidden(false) + } + .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/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0050.ets new file mode 100644 index 00000000..26d7f1c8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0050.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 UIComponentTextTextAreaInterActive0050 { + build() { + Column() { + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaInterActive0050') + .selectionMenuHidden(true) + } + .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/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0060.ets new file mode 100644 index 00000000..ba7ae092 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0060.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 UIComponentTextTextAreaInterActive0060 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaInterActive0060') + Button('change caret') + .id('btnTextAreaUIComponentTextTextAreaInterActive0060') + .onClick(() => { + this.controller.caretPosition(10) + }) + } + .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/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0070.ets new file mode 100644 index 00000000..ee9f8991 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0070.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 UIComponentTextTextAreaInterActive0070 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaInterActive0070') + } + .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/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0300.ets new file mode 100644 index 00000000..ae55f56c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0300.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 UIComponentTextTextAreaInterActive0300 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaInterActive0300') + .maxLength(110) + .showCounter(true, { thresholdPercentage: 100, highlightBorder: true }) + } + .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/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0320.ets new file mode 100644 index 00000000..bcda17d7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0320.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 UIComponentTextTextAreaInterActive0320 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaInterActive0320') + .maxLength(110) + .showCounter(true, { thresholdPercentage: 100, highlightBorder: true }) + } + .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/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0330.ets new file mode 100644 index 00000000..56c9a29e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0330.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 UIComponentTextTextAreaInterActive0330 { + controller: TextAreaController = new TextAreaController() + @State text: string = '' + + build() { + Column() { + Text() + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaInterActive0330') + .inputFilter('[hello world]', (e) => { + console.log(JSON.stringify(e)) + }) + } + .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/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0340.ets new file mode 100644 index 00000000..bfb916b2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0340.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 UIComponentTextTextAreaInterActive0340 { + controller: TextAreaController = new TextAreaController() + @State text: string = '' + + build() { + Column() { + Text() + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaInterActive0340') + .inputFilter('[hello]', (e) => { + console.log(JSON.stringify(e)) + }) + } + .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/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0350.ets new file mode 100644 index 00000000..f945edd0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0350.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 UIComponentTextTextAreaInterActive0350 { + controller: TextAreaController = new TextAreaController() + @State text: string = '' + + build() { + Column() { + Text() + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaInterActive0350') + .inputFilter('大家好', (e) => { + console.log(JSON.stringify(e)) + }) + } + .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/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0360.ets new file mode 100644 index 00000000..87cf3c62 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0360.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 UIComponentTextTextAreaInterActive0360 { + controller: TextAreaController = new TextAreaController() + @State text: string = '' + + build() { + Column() { + Text() + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaInterActive0360') + .inputFilter('大家好大家好', (e) => { + console.log(JSON.stringify(e)) + }) + } + .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/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0370.ets new file mode 100644 index 00000000..9ca27079 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0370.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 UIComponentTextTextAreaInterActive0370 { + controller: TextAreaController = new TextAreaController() + @State text: string = '' + + build() { + Column() { + Text() + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaInterActive0370') + .inputFilter('[abc_ABC@#*/?]', (e) => { + console.log(JSON.stringify(e)) + }) + } + .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/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0380.ets new file mode 100644 index 00000000..5f21e183 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0380.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 UIComponentTextTextAreaInterActive0380 { + controller: TextAreaController = new TextAreaController() + @State text: string = '' + + build() { + Column() { + Text() + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaInterActive0380') + .inputFilter('[大家好_hello]', (e) => { + console.log(JSON.stringify(e)) + }) + } + .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/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0670.ets new file mode 100644 index 00000000..901bfc7f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0670.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 UIComponentTextTextAreaInterface0670 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + Text() + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaInterface0670') + .caretColor('#ff00ff') + } + .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/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0680.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0680.ets new file mode 100644 index 00000000..09da0fd3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0680.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 UIComponentTextTextAreaInterface0680 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + Text() + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaInterface0680') + .caretColor(Color.Pink) + } + .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/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0690.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0690.ets new file mode 100644 index 00000000..bbbeabac --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0690.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 UIComponentTextTextAreaInterface0690 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + Text() + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaInterface0690') + .caretColor(0xffc0cb) + } + .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/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0700.ets new file mode 100644 index 00000000..264aa188 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0700.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 UIComponentTextTextAreaInterface0700 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + Text() + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaInterface0700') + .caretColor(getContext().resourceManager.getColorSync($r('app.color.color_0x800080'))) + .caretStyle({ + width:5 + }) + } + .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/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0710.ets new file mode 100644 index 00000000..f6dbd78f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0710.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 UIComponentTextTextAreaInterface0710 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + Text() + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaInterface0710') + .caretColor('rgb(0,0,255)') + .caretStyle({ + width:5 + }) + } + .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/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0720.ets new file mode 100644 index 00000000..6bfb9ad0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0720.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 UIComponentTextTextAreaInterface0720 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + Text() + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaInterface0720') + .caretColor('rgba(0,255,0,1)') + .caretStyle({ + width:5 + }) + } + .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/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0730.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0730.ets new file mode 100644 index 00000000..ffa107a2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0730.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 UIComponentTextTextAreaInterface0730 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + Text() + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaInterface0730') + .caretColor('adad') + .caretStyle({ + width:5 + }) + } + .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/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0740.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0740.ets new file mode 100644 index 00000000..fec22df5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0740.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 UIComponentTextTextAreaInterface0740 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + Text() + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaInterface0740') + .caretColor('rgba(0,255,0,1)') + .caretColor('rgb(0,0,255)') + .caretColor(getContext().resourceManager.getColorSync($r('app.color.color_0x800080'))) + .caretStyle({ + width:5 + }) + } + .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/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface1020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface1020.ets new file mode 100644 index 00000000..830ce170 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface1020.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 UIComponentTextTextAreaInterface1020 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + Text() + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaInterface1020') + .style(TextContentStyle.DEFAULT) + .caretStyle({ + width:5 + }) + } + .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/UIComponentTextTextAreaLayout/UIComponentTextTextAreaLayout0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaLayout/UIComponentTextTextAreaLayout0010.ets new file mode 100644 index 00000000..9f6048ff --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaLayout/UIComponentTextTextAreaLayout0010.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 UIComponentTextTextAreaLayout0010 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + TextArea({ + controller: this.controller + }) + .id('TextAreaUIComponentTextTextAreaLayout0010') + .caretColor('#ff00ff') + } + .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/UIComponentTextTextAreaLayout/UIComponentTextTextAreaLayout0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaLayout/UIComponentTextTextAreaLayout0020.ets new file mode 100644 index 00000000..f8d081ef --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaLayout/UIComponentTextTextAreaLayout0020.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 UIComponentTextTextAreaLayout0020 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + TextArea({ + controller: this.controller + }) + .id('TextAreaUIComponentTextTextAreaLayout0020') + .caretColor('#ff00ff') + .width(400) + .height(200) + } + .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/UIComponentTextTextAreaOnEditChange/UIComponentTextTextAreaOnEditChange0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaOnEditChange/UIComponentTextTextAreaOnEditChange0090.ets new file mode 100644 index 00000000..793f8895 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaOnEditChange/UIComponentTextTextAreaOnEditChange0090.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 UIComponentTextTextAreaOnEditChange0090 { + controller: TextAreaController = new TextAreaController(); + @State msg: string = '这是一个文本Text' + @State res: string = '' + + build() { + Column({ space: 20 }) { + Text(this.msg) + .draggable(true) + .enabled(true) + .id('TextAreaOnEditChange0090') + .fontSize(20) + .copyOption(CopyOptions.InApp) + TextArea({ text: 'get content: ', controller: this.controller }) + .width('80%') + .margin({ top: 30 }) + .height(200) + .draggable(true) + .id('TextAreaOnEditChange0090_1') + .fontSize(20) + .copyOption(CopyOptions.InApp) + .onEditChange((isEditing: boolean) => { + this.res = '从textarea外向textarea内拖拽,onEditChange 回调'; + }) + Text(this.res) + .fontSize(20).borderWidth(3).width('90%') + } + .width('100%').margin(20) + .alignItems(HorizontalAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaOnEditChange/UIComponentTextTextAreaOnEditChange0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaOnEditChange/UIComponentTextTextAreaOnEditChange0100.ets new file mode 100644 index 00000000..59b13234 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaOnEditChange/UIComponentTextTextAreaOnEditChange0100.ets @@ -0,0 +1,100 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { text } from '@kit.ArkGraphics2D' + +@CustomDialog +@Component +struct CustomDialogExample { + controller?: CustomDialogController + cancel: () => void = () => { + } + confirm: () => void = () => { + } + + build() { + Column() { + TextInput({ placeholder: 'input' }).height(60).width('90%') + .id('UIComponentTextTextEvasiveInput001_input') + .onChange((value: string) => { + }) + }.borderRadius(10) + } +} + +@Entry +@Component +struct UIComponentTextTextAreaOnEditChange0100 { + @State text: string = ''; + dialogController: CustomDialogController | null = new CustomDialogController({ + builder: CustomDialogExample({ + cancel: () => { + this.onCancel() + }, + confirm: () => { + this.onAccept() + } + }), + cancel: this.exitApp, + autoCancel: true, + onWillDismiss: (dismissDialogAction: DismissDialogAction) => { + if (dismissDialogAction.reason == DismissReason.PRESS_BACK) { + dismissDialogAction.dismiss() + } + if (dismissDialogAction.reason == DismissReason.TOUCH_OUTSIDE) { + dismissDialogAction.dismiss() + } + }, + alignment: DialogAlignment.Center, + offset: { dx: 0, dy: -35 }, + gridCount: 4, + customStyle: false, + cornerRadius: 10, + }) + + aboutToDisappear() { + this.dialogController = null + } + + onCancel() { + console.info('Callback when the first button is clicked') + } + + onAccept() { + console.info('Callback when the second button is clicked') + } + + exitApp() { + console.info('Click the callback in the blank area') + } + + build() { + Column() { + Text(this.text) + TextArea() + .id('UIComponentTextTextAreaOnEditChange0100_textArea') + .width(100) + .height(50) + .onEditChange(() => { + this.text = 'onEditChange + 1' + }) + .onClick(() => { + if (this.dialogController != null) { + this.dialogController.open() + } + }) + .backgroundColor(0x317aff) + }.width('100%').margin({ top: 5 }) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaOnEditChange/UIComponentTextTextAreaOnEditChange0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaOnEditChange/UIComponentTextTextAreaOnEditChange0130.ets new file mode 100644 index 00000000..74691901 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaOnEditChange/UIComponentTextTextAreaOnEditChange0130.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 UIComponentTextTextAreaOnEditChange0130 { + controller: TextAreaController = new TextAreaController(); + @State msg: string = '这是一个文本TextArea|这是一个文本TextArea这是一个文本TextArea' + @State res: string = '' + + build() { + Column({ space: 20 }) { + TextArea({ text: this.msg, controller: this.controller }).width(300) + .draggable(true) + .id('TextAreaOnEditChange0130_1') + .copyOption(CopyOptions.InApp) + .fontSize(20) + TextArea({ text: 'get content: ', controller: this.controller }) + .width('80%') + .margin({ top: 30 }) + .height(200) + .draggable(true) + .id('TextAreaOnEditChange0130_2') + .fontSize(20) + .copyOption(CopyOptions.InApp) + .onEditChange((isEditing: boolean) => { + this.res = '从textarea内向textarea外拖拽,onEditChange 回调'; + }) + + Text(this.res) + .fontSize(20).borderWidth(3).width('90%') + } + .width('100%').margin(20) + .alignItems(HorizontalAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0020.ets new file mode 100644 index 00000000..34a9af1a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0020.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 UIComponentTextTextAreaSelection0020 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaSelection0020') + .fontSize(20) + Button('Show selected') + .id('btnUIComponentTextTextAreaSelection0020') + .onClick(() => { + this.controller.setTextSelection(0, 5) + }) + } + .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/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0030.ets new file mode 100644 index 00000000..a1d63da8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0030.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 UIComponentTextTextAreaSelection0030 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaSelection0030') + .fontSize(20) + .maxLines(3) + .style(TextContentStyle.INLINE) + Button('Show selected') + .id('btnUIComponentTextTextAreaSelection0030') + .onClick(() => { + this.controller.setTextSelection(0, 5) + }) + } + .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/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0040.ets new file mode 100644 index 00000000..29a31fbc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0040.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 UIComponentTextTextAreaSelection0040 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaSelection0040') + .fontSize(20) + .maxLines(3) + .style(TextContentStyle.INLINE) + Button('Show selected') + .id('btnUIComponentTextTextAreaSelection0040') + .onClick(() => { + this.controller.setTextSelection(0, 0) + }) + } + .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/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0050.ets new file mode 100644 index 00000000..37f98af1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0050.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 UIComponentTextTextAreaSelection0050 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + Button('Show selected') + .id('btnUIComponentTextTextAreaSelection0050') + .onClick(() => { + this.controller.setTextSelection(0, 5) + }) + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaSelection0050') + .fontSize(20) + } + .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/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0060.ets new file mode 100644 index 00000000..c5b8aa6b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0060.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 UIComponentTextTextAreaSelection0060 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + Button('Show selected') + .id('btnUIComponentTextTextAreaSelection0060') + .onClick(() => { + this.controller.setTextSelection(0, 5) + }) + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaSelection0060') + .fontSize(20) + TextArea() + .width('70%') + .id('TextAreaUIComponentTextTextAreaSelection0060_1') + .fontSize(20) + } + .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/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0070.ets new file mode 100644 index 00000000..8331dfea --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0070.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 UIComponentTextTextAreaSelection0070 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + Button('Show selected') + .id('btnUIComponentTextTextAreaSelection0070') + .onClick(() => { + this.controller.setTextSelection(undefined, undefined) + }) + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaSelection0070') + .fontSize(20) + } + .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/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0090.ets new file mode 100644 index 00000000..049795a7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0090.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 UIComponentTextTextAreaSelection0090 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaSelection0090') + .fontSize(20) + Button('起始位置小于0,终止位置大于可选文本最大长度') + .id('btnUIComponentTextTextAreaSelection0090_1') + .onClick(() => { + this.controller.setTextSelection(-1, 6) + }) + Button('起始位置小于0,终止位置等于可选文本最大长度') + .id('btnUIComponentTextTextAreaSelection0090_2') + .onClick(() => { + this.controller.setTextSelection(-1, 5) + }) + Button('起始位置等于0,终止位置等于可选文本最大长度') + .id('btnUIComponentTextTextAreaSelection0090_3') + .onClick(() => { + this.controller.setTextSelection(0, 5) + }) + Button('起始位置等于0,终止位置大于可选文本最大长度') + .id('btnUIComponentTextTextAreaSelection0090_4') + .onClick(() => { + this.controller.setTextSelection(0, 10) + }) + } + .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/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0100.ets new file mode 100644 index 00000000..4d9400a5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0100.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 UIComponentTextTextAreaSelection0100 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + Button('Show selected') + .id('btnUIComponentTextTextAreaSelection0100') + .onClick(() => { + this.controller.setTextSelection(0, 7) + }) + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaSelection0100') + .fontSize(20) + } + .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/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0110.ets new file mode 100644 index 00000000..b09e1147 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0110.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 UIComponentTextTextAreaSelection0110 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + Button('Show selected') + .id('btnUIComponentTextTextAreaSelection0110') + .onClick(() => { + this.controller.setTextSelection(2, 7) + }) + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaSelection0110') + .fontSize(20) + } + .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/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0120.ets new file mode 100644 index 00000000..ce15e50b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0120.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 UIComponentTextTextAreaSelection0120 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + Button('Show selected') + .id('btnUIComponentTextTextAreaSelection0120') + .onClick(() => { + this.controller.setTextSelection(2, 7) + }) + Button('取消选中') + .id('btnUIComponentTextTextAreaSelection0120_1') + .onClick(() => { + this.controller.setTextSelection(0, 0) + }) + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaSelection0120') + .fontSize(20) + } + .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/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0130.ets new file mode 100644 index 00000000..5d65d3fa --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0130.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 UIComponentTextTextAreaSelection0130 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + Button('Show selected') + .id('btnUIComponentTextTextAreaSelection0130') + .onClick(() => { + this.controller.setTextSelection(2, 7) + }) + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaSelection0130') + .fontSize(20) + } + .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/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0140.ets new file mode 100644 index 00000000..9db845be --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0140.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 UIComponentTextTextAreaSelection0140 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + Button('Show selected') + .id('btnUIComponentTextTextAreaSelection0140') + .onClick(() => { + this.controller.setTextSelection(2, 7) + }) + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaSelection0140') + .fontSize(20) + } + .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/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0150.ets new file mode 100644 index 00000000..205141e3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0150.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 UIComponentTextTextAreaSelection0150 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + Button('Show selected') + .id('btnUIComponentTextTextAreaSelection0150') + .onClick(() => { + this.controller.setTextSelection(2, 7) + }) + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaSelection0150') + .fontSize(20) + } + .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/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0160.ets new file mode 100644 index 00000000..2942bd11 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0160.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 UIComponentTextTextAreaSelection0160 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + Button('Show selected') + .id('btnUIComponentTextTextAreaSelection0160') + .onClick(() => { + this.controller.setTextSelection(-2, -1) + }) + TextArea({ + controller: this.controller + }) + .width('70%') + .id('TextAreaUIComponentTextTextAreaSelection0160') + .fontSize(20) + } + .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/UIComponentTextTextAreaUxComsistency/UIComponentTextTextAreaUxComsistency0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaUxComsistency/UIComponentTextTextAreaUxComsistency0060.ets new file mode 100644 index 00000000..5ba081a4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextAreaUxComsistency/UIComponentTextTextAreaUxComsistency0060.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 UIComponentTextTextAreaUxComsistency0060 { + controller: TextAreaController = new TextAreaController() + + build() { + Column() { + TextArea({ + controller: this.controller + }) + .id('TextAreaUIComponentTextTextAreaUxComsistency0060') + .style(TextContentStyle.INLINE) + Button('改变光标位置') + .id('btnUIComponentTextTextAreaUxComsistency0060') + .onClick(() => { + this.controller.caretPosition(5) + }) + } + .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/UIComponentTextTextEditable/UIComponentTextTextEditable014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable014.ets new file mode 100644 index 00000000..31ad8e19 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable014.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 UIComponentTextTextEditable014 { + controller: RichEditorController = new RichEditorController(); + options: RichEditorOptions = { controller: this.controller }; + + build() { + Row() { + Column() { + RichEditor(this.options) + .onReady(() => { + this.controller.addTextSpan("012345", + { + 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/UIComponentTextTextEditable/UIComponentTextTextEditable015.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable015.ets new file mode 100644 index 00000000..8730691b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable015.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 UIComponentTextTextEditable015 { + controller: RichEditorController = new RichEditorController(); + options: RichEditorOptions = { controller: this.controller }; + + build() { + Row() { + Column() { + Button('addTextSpan') + .width(110) + .id('add') + .onClick(() => { + this.controller.addTextSpan('add', { + offset: 2, + style: + { + fontColor: Color.Red, + fontSize: 30 + } + }) + }) + + RichEditor(this.options) + .onReady(() => { + this.controller.addTextSpan("012345", + { + 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/UIComponentTextTextEditable/UIComponentTextTextEditable016.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable016.ets new file mode 100644 index 00000000..3770b171 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable016.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 UIComponentTextTextEditable016 { + controller: RichEditorController = new RichEditorController(); + options: RichEditorOptions = { controller: this.controller }; + + build() { + Row() { + Column() { + RichEditor(this.options) + .onReady(() => { + this.controller.addImageSpan('cat.jpg', + { + imageStyle: + { + size: ["60px", "60px"], + verticalAlign: ImageSpanAlignment.BOTTOM, + layoutStyle: { + borderRadius: { + topLeft: '10px', + topRight: '20px', + bottomLeft: '30px', + bottomRight: '40px' + }, + margin: { + left: '10px', + top: '20px', + right: '30px', + bottom: '40px' + } + } + } + }) + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable017.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable017.ets new file mode 100644 index 00000000..86f51dc2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable017.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 UIComponentTextTextEditable017 { + controller: RichEditorController = new RichEditorController(); + options: RichEditorOptions = { controller: this.controller }; + + build() { + Row() { + Column() { + Button('addImageSpan') + .width(110) + .id('add') + .onClick(() => { + this.controller.addImageSpan('cat.jpg', + { + imageStyle: + { + size: ["50px", "50px"], + verticalAlign: ImageSpanAlignment.BOTTOM, + } + }) + }) + + RichEditor(this.options) + .onReady(() => { + this.controller.addImageSpan('cat.jpg', + { + imageStyle: + { + size: ["100px", "100px"], + verticalAlign: ImageSpanAlignment.BOTTOM, + layoutStyle: { + margin: { + left: '40px', + top: '40px', + right: '40px', + bottom: '40px' + } + } + } + }) + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable018.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable018.ets new file mode 100644 index 00000000..e3f84c85 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable018.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 UIComponentTextTextEditable018 { + controller: RichEditorController = new RichEditorController(); + options: RichEditorOptions = { controller: this.controller }; + + build() { + Row() { + Column() { + Button("delete spans") + .id('deleteButton') + .onClick(() => { + this.controller.deleteSpans({ + start: 0, + end: 3 + }) + }) + + RichEditor(this.options) + .onReady(() => { + this.controller.addTextSpan("012345", + { + 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/UIComponentTextTextEditable/UIComponentTextTextEditable019.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable019.ets new file mode 100644 index 00000000..d0344df3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable019.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. + */ + +@Entry +@Component +struct UIComponentTextTextEditable019 { + controller: RichEditorController = new RichEditorController(); + options: RichEditorOptions = { controller: this.controller }; + + build() { + Row() { + Column() { + Button("delete spans") + .id('deleteButton') + .onClick(() => { + this.controller.deleteSpans({ + start: 5, + end: 7 + }) + }) + + RichEditor(this.options) + .onReady(() => { + this.controller.addTextSpan("012345", + { + style: + { + fontColor: Color.Orange, + fontSize: 30 + } + }) + this.controller.addTextSpan("6789", + { + style: + { + fontColor: Color.Green, + 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/UIComponentTextTextEditable/UIComponentTextTextEditable020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable020.ets new file mode 100644 index 00000000..316b08c9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable020.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. + */ + +@Entry +@Component +struct UIComponentTextTextEditable020 { + controller: RichEditorController = new RichEditorController(); + options: RichEditorOptions = { controller: this.controller }; + + build() { + Row() { + Column() { + Button("delete spans") + .id('deleteButton') + .onClick(() => { + this.controller.deleteSpans({ + start: 0, + end: 2 + }) + }) + + RichEditor(this.options) + .onReady(() => { + this.controller.addImageSpan('cat.jpg', + { + imageStyle: + { + size: ["60px", "60px"], + verticalAlign: ImageSpanAlignment.BOTTOM, + } + }) + + this.controller.addTextSpan("012", + { + 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/UIComponentTextTextEditable/UIComponentTextTextEditable021.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable021.ets new file mode 100644 index 00000000..ac18b083 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable021.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 UIComponentTextTextEditable021 { + controller: RichEditorController = new RichEditorController(); + options: RichEditorOptions = { controller: this.controller }; + + build() { + Row() { + Column() { + Button("delete spans") + .id('deleteButton') + .onClick(() => { + this.controller.deleteSpans({ + start: 2, + end: 4 + }) + }) + + RichEditor(this.options) + .onReady(() => { + this.controller.addTextSpan("012", + { + style: + { + fontColor: Color.Orange, + fontSize: 30 + } + }) + this.controller.addImageSpan('cat.jpg', + { + imageStyle: + { + size: ["60px", "60px"], + verticalAlign: ImageSpanAlignment.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/UIComponentTextTextEditable/UIComponentTextTextEditable022.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable022.ets new file mode 100644 index 00000000..ea1df187 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable022.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 UIComponentTextTextEditable022 { + controller: RichEditorController = new RichEditorController(); + options: RichEditorOptions = { controller: this.controller }; + + build() { + Row() { + Column() { + Button("update spans") + .id('updateButton') + .onClick(() => { + this.controller.updateSpanStyle({ + textStyle: + { + fontWeight: FontWeight.Bolder + } + }) + }) + + RichEditor(this.options) + .onReady(() => { + 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/UIComponentTextTextEditable/UIComponentTextTextEditable023.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable023.ets new file mode 100644 index 00000000..2d8efea7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable023.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 UIComponentTextTextEditable023 { + controller: RichEditorController = new RichEditorController(); + options: RichEditorOptions = { controller: this.controller }; + + build() { + Row() { + Column() { + Button("update spans") + .id('updateButton') + .onClick(() => { + this.controller.updateSpanStyle({ + start: 0, + end: 3, + textStyle: + { + fontWeight: FontWeight.Bolder + } + }) + }) + + RichEditor(this.options) + .onReady(() => { + 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/UIComponentTextTextEditable/UIComponentTextTextEditable024.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable024.ets new file mode 100644 index 00000000..75d5d7de --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable024.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 UIComponentTextTextEditable024 { + controller: RichEditorController = new RichEditorController(); + options: RichEditorOptions = { controller: this.controller }; + + build() { + Row() { + Column() { + Button("update image") + .id('updateButton') + .onClick(() => { + this.controller.updateSpanStyle({ + start: 0, + end: 3, + imageStyle: + { + size: ["100px", "100px"] + } + }) + }) + + RichEditor(this.options) + .onReady(() => { + this.controller.addImageSpan('cat.jpg', + { + imageStyle: + { + size: ["60px", "60px"], + verticalAlign: ImageSpanAlignment.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/UIComponentTextTextEditable/UIComponentTextTextEditable025.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable025.ets new file mode 100644 index 00000000..ae7dfa8f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable025.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 UIComponentTextTextEditable025 { + controller: RichEditorController = new RichEditorController(); + options: RichEditorOptions = { controller: this.controller }; + + build() { + Row() { + Column() { + Button("update second image") + .id('updateButton') + .onClick(() => { + this.controller.updateSpanStyle({ + start: 1, + end: 2, + imageStyle: + { + size: ["100px", "100px"] + } + }) + }) + + RichEditor(this.options) + .onReady(() => { + this.controller.addImageSpan('cat.jpg', + { + imageStyle: + { + size: ["60px", "60px"], + verticalAlign: ImageSpanAlignment.BOTTOM, + } + }) + this.controller.addImageSpan('cat.jpg', + { + imageStyle: + { + size: ["60px", "60px"], + verticalAlign: ImageSpanAlignment.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/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/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput001.ets new file mode 100644 index 00000000..f01515f0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput001.ets @@ -0,0 +1,93 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@CustomDialog +@Component +struct CustomDialogExample { + controller?: CustomDialogController + cancel: () => void = () => { + } + confirm: () => void = () => { + } + + build() { + Column() { + TextInput({ placeholder: 'input' }).height(60).width('90%') + .id('UIComponentTextTextEvasiveInput001_input') + .onChange((value: string) => { + }) + }.borderRadius(10) + } +} + +@Entry +@Component +struct UIComponentTextTextEvasiveInput001 { + dialogController: CustomDialogController | null = new CustomDialogController({ + builder: CustomDialogExample({ + cancel: () => { + this.onCancel() + }, + confirm: () => { + this.onAccept() + } + }), + cancel: this.exitApp, + autoCancel: true, + onWillDismiss: (dismissDialogAction: DismissDialogAction) => { + if (dismissDialogAction.reason == DismissReason.PRESS_BACK) { + dismissDialogAction.dismiss() + } + if (dismissDialogAction.reason == DismissReason.TOUCH_OUTSIDE) { + dismissDialogAction.dismiss() + } + }, + alignment: DialogAlignment.Center, + offset: { dx: 0, dy: -35 }, + gridCount: 4, + customStyle: false, + cornerRadius: 10, + }) + + aboutToDisappear() { + this.dialogController = null + } + + onCancel() { + console.info('Callback when the first button is clicked') + } + + onAccept() { + console.info('Callback when the second button is clicked') + } + + exitApp() { + console.info('Click the callback in the blank area') + } + + build() { + Column() { + Button('open') + .id('UIComponentTextTextEvasiveInput001_button') + .width(100) + .height(50) + .onClick(() => { + if (this.dialogController != null) { + this.dialogController.open() + } + }).backgroundColor(0x317aff) + }.width('100%').margin({ top: 5 }) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput002.ets new file mode 100644 index 00000000..8bfe1104 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput002.ets @@ -0,0 +1,111 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@CustomDialog +@Component +struct CustomDialogExample002 { + controller?: CustomDialogController + cancel: () => void = () => { + } + confirm: () => void = () => { + } + + build() { + Column() { + Text('Whether to change a text?').fontSize(16).margin({ bottom: 10 }) + Flex({ justifyContent: FlexAlign.SpaceAround }) { + Button('cancel') + .onClick(() => { + if (this.controller != undefined) { + this.controller.close() + this.cancel() + } + }).backgroundColor(0xffffff).fontColor(Color.Black) + Button('confirm') + .onClick(() => { + if (this.controller != undefined) { + this.controller.close() + this.confirm() + } + }).backgroundColor(0xffffff).fontColor(Color.Red) + }.margin({ bottom: 10 }) + + TextInput({ placeholder: 'input' }).height(60).width('90%') + .id('UIComponentTextTextEvasiveInput002_input') + .onChange((value: string) => { + }) + }.borderRadius(10) + } +} + +@Entry +@Component +struct UIComponentTextTextEvasiveInput002 { + dialogController: CustomDialogController | null = new CustomDialogController({ + builder: CustomDialogExample002({ + cancel: () => { + this.onCancel() + }, + confirm: () => { + this.onAccept() + } + }), + cancel: this.exitApp, + autoCancel: true, + onWillDismiss: (dismissDialogAction: DismissDialogAction) => { + if (dismissDialogAction.reason == DismissReason.PRESS_BACK) { + dismissDialogAction.dismiss() + } + if (dismissDialogAction.reason == DismissReason.TOUCH_OUTSIDE) { + dismissDialogAction.dismiss() + } + }, + alignment: DialogAlignment.Center, + // offset: { dx: 0, dy: -35 }, + gridCount: 4, + customStyle: false, + cornerRadius: 10, + }) + + aboutToDisappear() { + this.dialogController = null + } + + onCancel() { + console.info('Callback when the first button is clicked') + } + + onAccept() { + console.info('Callback when the second button is clicked') + } + + exitApp() { + console.info('Click the callback in the blank area') + } + + build() { + Column() { + Button('open') + .id('UIComponentTextTextEvasiveInput002_button') + .width(100) + .height(50) + .onClick(() => { + if (this.dialogController != null) { + this.dialogController.open() + } + }).backgroundColor(0x317aff) + }.width('100%').margin({ top: 5 }) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput003.ets new file mode 100644 index 00000000..7881e087 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput003.ets @@ -0,0 +1,115 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@CustomDialog +@Component +struct CustomDialogExample003 { + controller?: CustomDialogController + cancel: () => void = () => { + } + confirm: () => void = () => { + } + + build() { + Column() { + Text('Whether to change a text?').fontSize(16).margin({ bottom: 10 }) + Flex({ justifyContent: FlexAlign.SpaceAround }) { + Button('cancel') + .onClick(() => { + if (this.controller != undefined) { + this.controller.close() + this.cancel() + } + }).backgroundColor(0xffffff).fontColor(Color.Black) + Button('confirm') + .onClick(() => { + if (this.controller != undefined) { + this.controller.close() + this.confirm() + } + }).backgroundColor(0xffffff).fontColor(Color.Red) + }.margin({ bottom: 10 }) + + TextInput({ placeholder: 'input' }) + .height(60) + .width('90%') + .id('UIComponentTextTextEvasiveInput003_input') + .onChange((value: string) => { + }) + .margin({ top: 10, bottom: 10 }) + }.borderRadius(10) + } +} + +@Entry +@Component +struct UIComponentTextTextEvasiveInput003 { + dialogController: CustomDialogController | null = new CustomDialogController({ + builder: CustomDialogExample003({ + cancel: () => { + this.onCancel() + }, + confirm: () => { + this.onAccept() + } + }), + cancel: this.exitApp, + autoCancel: true, + onWillDismiss: (dismissDialogAction: DismissDialogAction) => { + if (dismissDialogAction.reason == DismissReason.PRESS_BACK) { + dismissDialogAction.dismiss() + } + if (dismissDialogAction.reason == DismissReason.TOUCH_OUTSIDE) { + dismissDialogAction.dismiss() + } + }, + alignment: DialogAlignment.Center, + // offset: { dx: 0, dy: -35 }, + gridCount: 4, + customStyle: false, + cornerRadius: 10, + }) + + aboutToDisappear() { + this.dialogController = null + } + + onCancel() { + console.info('Callback when the first button is clicked') + } + + onAccept() { + console.info('Callback when the second button is clicked') + } + + exitApp() { + console.info('Click the callback in the blank area') + } + + build() { + Column() { + Button('open') + .id('UIComponentTextTextEvasiveInput003_button') + .width(100) + .height(50) + .onClick(() => { + if (this.dialogController != null) { + this.dialogController.open() + } + }) + .backgroundColor(0x317aff) + }.width('100%').margin({ top: 5 }) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput004.ets new file mode 100644 index 00000000..41960cd7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput004.ets @@ -0,0 +1,116 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@CustomDialog +@Component +struct CustomDialogExample004 { + controller?: CustomDialogController + cancel: () => void = () => { + } + confirm: () => void = () => { + } + + build() { + Column() { + Text('Whether to change a text?').fontSize(16).margin({ top: 10, bottom: 10 }) + + TextInput({ placeholder: 'input' }) + .height(60) + .width('90%') + .id('UIComponentTextTextEvasiveInput004_input') + .onChange((value: string) => { + }) + .margin({ top: 10, bottom: 10 }) + + Flex({ justifyContent: FlexAlign.SpaceAround }) { + Button('cancel') + .onClick(() => { + if (this.controller != undefined) { + this.controller.close() + this.cancel() + } + }).backgroundColor(0xffffff).fontColor(Color.Black) + Button('confirm') + .onClick(() => { + if (this.controller != undefined) { + this.controller.close() + this.confirm() + } + }).backgroundColor(0xffffff).fontColor(Color.Red) + }.margin({ bottom: 10 }) + }.borderRadius(10) + } +} + +@Entry +@Component +struct UIComponentTextTextEvasiveInput004 { + dialogController: CustomDialogController | null = new CustomDialogController({ + builder: CustomDialogExample004({ + cancel: () => { + this.onCancel() + }, + confirm: () => { + this.onAccept() + } + }), + cancel: this.exitApp, + autoCancel: true, + onWillDismiss: (dismissDialogAction: DismissDialogAction) => { + if (dismissDialogAction.reason == DismissReason.PRESS_BACK) { + dismissDialogAction.dismiss() + } + if (dismissDialogAction.reason == DismissReason.TOUCH_OUTSIDE) { + dismissDialogAction.dismiss() + } + }, + alignment: DialogAlignment.Center, + // offset: { dx: 0, dy: -35 }, + gridCount: 4, + customStyle: false, + cornerRadius: 10, + }) + + aboutToDisappear() { + this.dialogController = null + } + + onCancel() { + console.info('Callback when the first button is clicked') + } + + onAccept() { + console.info('Callback when the second button is clicked') + } + + exitApp() { + console.info('Click the callback in the blank area') + } + + build() { + Column() { + Button('open') + .id('UIComponentTextTextEvasiveInput004_button') + .width(100) + .height(50) + .onClick(() => { + if (this.dialogController != null) { + this.dialogController.open() + } + }) + .backgroundColor(0x317aff) + }.width('100%').margin({ top: 5 }) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle001.ets new file mode 100644 index 00000000..18db3b25 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle001.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'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle001 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + clickGestureAttr: GestureStyle = new GestureStyle({ + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('0123456789110', [{ + start: -1, + length: 10, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr + }, { + start: 0, + length: 5, + styledKey: StyledStringKey.FONT, + styledValue: this.clickGestureAttr + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle001') + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0020.ets new file mode 100644 index 00000000..ace1d8e5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0020.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'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle0020 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + clickGestureAttr: GestureStyle = new GestureStyle({ + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('0123456789110', [{ + start: -1, + length: -10, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr + }, { + start: 0, + length: 5, + styledKey: StyledStringKey.FONT, + styledValue: this.clickGestureAttr + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle0020') + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0030.ets new file mode 100644 index 00000000..048dc52f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0030.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle0030 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + clickGestureAttr: GestureStyle = new GestureStyle({ + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('0123456789110', [{ + start: 10, + length: -10, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle0030') + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0040.ets new file mode 100644 index 00000000..49b57eb6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0040.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle0040 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + clickGestureAttr: GestureStyle = new GestureStyle({ + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('0123456789123456', [{ + start: 10, + length: 5, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle0040') + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0050.ets new file mode 100644 index 00000000..961bb4ee --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0050.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle0050 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + clickGestureAttr: GestureStyle = new GestureStyle({ + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('0123456789123456', [{ + start: -1, + length: 10, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle0050') + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0060.ets new file mode 100644 index 00000000..8a717a75 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0060.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle0060 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + clickGestureAttr: GestureStyle = new GestureStyle({ + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('0123456789123456', [{ + start: -1, + length: -10, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle0060') + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0070.ets new file mode 100644 index 00000000..0f3b1d1b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0070.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle0070 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + clickGestureAttr: GestureStyle = new GestureStyle({ + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('0123456789123456', [{ + start: 10, + length: -10, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle0070') + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0080.ets new file mode 100644 index 00000000..dcfbe280 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0080.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle0080 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + clickGestureAttr: GestureStyle = new GestureStyle({ + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('0123456789123456', [{ + start: 10, + length: 5, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle0080') + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle009.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle009.ets new file mode 100644 index 00000000..6466b375 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle009.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. + */ +import { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle009 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + clickGestureAttr: GestureStyle = new GestureStyle({ + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('0123456789110', [{ + styledKey: StyledStringKey.FONT, + styledValue: this.clickGestureAttr + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle009') + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle010.ets new file mode 100644 index 00000000..8beb7720 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle010.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. + */ +import { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle010 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + longPressGesture: GestureStyle = new GestureStyle({ + onLongPress: () => { + promptAction.showToast({ message: '点击事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('0123456789110', [{ + styledKey: StyledStringKey.FONT, + styledValue: this.longPressGesture + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle010') + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle011.ets new file mode 100644 index 00000000..270ea5cb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle011.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'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle011 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + + onPageShow() { + this.mutableStyledString = new MutableStyledString('0123456789110', [{ + styledKey: StyledStringKey.GESTURE, + styledValue: '' + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle011') + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle012.ets new file mode 100644 index 00000000..12bf12f4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle012.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'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle012 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + longPressGesture: GestureStyle = new GestureStyle({ + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + } + }) + + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('0123456789110', [{ + start: 0, + length: 10, + styledKey: StyledStringKey.GESTURE, + styledValue: this.longPressGesture + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle012') + .copyOption(CopyOptions.InApp) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle013.ets new file mode 100644 index 00000000..bdb1bdaf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle013.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle013 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + clickGesture: GestureStyle = new GestureStyle({ + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + } + }) + + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('0123456789110', [{ + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGesture + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle013') + .copyOption(CopyOptions.InApp) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle014.ets new file mode 100644 index 00000000..12e5b854 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle014.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. + */ +import { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle014 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + clickGesture: GestureStyle = new GestureStyle({ + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + } + }) + longGesture: GestureStyle = new GestureStyle({ + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('01234567', [{ + start: 0, + length: 8, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGesture + }, { + start: 0, + length: 8, + styledKey: StyledStringKey.GESTURE, + styledValue: this.longGesture + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle014') + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle015.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle015.ets new file mode 100644 index 00000000..464d17ed --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle015.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle015 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + clickGesture: GestureStyle = new GestureStyle({ + onClick: () => { + promptAction.showToast({ message: '属性字符串点击事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('01234567', [{ + start: 0, + length: 8, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGesture + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle015') + .onClick(() => { + promptAction.showToast({ message: '组件点击事件触发' }) + }) + .onTouch(() => { + console.log(`onTouch enter`) + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle016.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle016.ets new file mode 100644 index 00000000..34303a4a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle016.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle016 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + longPressGesture: GestureStyle = new GestureStyle({ + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('01234567', [{ + start: 0, + length: 8, + styledKey: StyledStringKey.GESTURE, + styledValue: this.longPressGesture + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle016') + .onTouch(() => { + promptAction.showToast({ message: '组件触摸事件触发' }) + }) + .onClick(() => { + promptAction.showToast({ 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/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle017.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle017.ets new file mode 100644 index 00000000..809010ac --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle017.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle017 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + @State textAlign: TextAlign = TextAlign.Center; + @State letterSpacing: number = 10; + @State lineHeight: number = 25; + longPressGesture: GestureStyle = new GestureStyle({ + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + }, + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('01234567', [{ + start: 0, + length: 5, + styledKey: StyledStringKey.GESTURE, + styledValue: this.longPressGesture + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Button('Modify attribute') + .id('updateAttribute') + .onClick(() => { + this.textAlign = TextAlign.Start; + this.letterSpacing = 25; + this.lineHeight = 50; + }) + + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle017') + .textAlign(this.textAlign) + .letterSpacing(this.letterSpacing) + .lineHeight(this.lineHeight) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle018.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle018.ets new file mode 100644 index 00000000..71457866 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle018.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle018 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + @State clipValue: boolean = true; + pressGesture: GestureStyle = new GestureStyle({ + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + }, + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('0123456788888888888888888888888888888888888', [{ + start: 0, + length: 5, + styledKey: StyledStringKey.GESTURE, + styledValue: this.pressGesture + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Button('Modify clip') + .id('updateAttribute') + .onClick(() => { + this.clipValue = !this.clipValue; + }) + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle018') + .clip(this.clipValue) + .width('50px') + .height('100px') + .border({ width: 1 }) + } + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle019.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle019.ets new file mode 100644 index 00000000..45dec163 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle019.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 '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle019 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + @State paddingSize: number = 10; + @State marginSize: number = 10; + @State borderStyles: BorderOptions = { width: 1, color: Color.Red }; + pressGesture: GestureStyle = new GestureStyle({ + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + }, + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('01234567', [{ + start: 0, + length: 5, + styledKey: StyledStringKey.GESTURE, + styledValue: this.pressGesture + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Button('Modify attribute') + .id('updateAttribute') + .onClick(() => { + this.paddingSize = 20; + this.marginSize = 30; + this.borderStyles = { width: 2, color: Color.Green }; + }) + + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle019') + .onClick(() => { + promptAction.showToast({ message: '组件点击事件触发' }) + }) + .padding(this.paddingSize) + .margin(this.marginSize) + .border(this.borderStyles) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle020.ets new file mode 100644 index 00000000..6d1fba5b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle020.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. + */ +import { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle020 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + pressGesture: GestureStyle = new GestureStyle({ + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + }, + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('01234567', [{ + start: 0, + length: 8, + styledKey: StyledStringKey.GESTURE, + styledValue: this.pressGesture + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle020') + .width(-100) + .height(-100) + .border({ width: 1, 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/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0210.ets new file mode 100644 index 00000000..0d664a90 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0210.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle0210 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + clickGestureAttr: GestureStyle = new GestureStyle({ + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('0123456789110', [{ + start: 0, + length: 12, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text('This is an example for text obscured attribute.', { controller: this.textController }) + .id('UIComponentTextTextGestureStyle0210') + .fontSize(30) + .width('100%') + .fontColor(Color.Black) + .border({ width: 1 }) + .obscured([ObscuredReasons.PLACEHOLDER]) + .privacySensitive(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/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0220.ets new file mode 100644 index 00000000..bea16896 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0220.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle0220 { + @State visibilityBool:Visibility = Visibility.Visible + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + clickGestureAttr: GestureStyle = new GestureStyle({ + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + } + }) + clickGestureAttr1: GestureStyle = new GestureStyle({ + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + this.visibilityBool = Visibility.Hidden + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('0123456789123456', [{ + start: 0, + length: 10, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr + },{ + start: 0, + length: 20, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr1 + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle0220') + .visibility(this.visibilityBool) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0230.ets new file mode 100644 index 00000000..4208669a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0230.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'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle0230 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + clickGestureAttr: GestureStyle = new GestureStyle({ + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + } + }) + clickGestureAttr1: GestureStyle = new GestureStyle({ + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('0123456789123456', [{ + start: 0, + length: 10, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr + },{ + start: 11, + length: 6, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr1 + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle0230') + .mask(new ProgressMask(5.0, 10.0, Color.Green) ) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle024.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle024.ets new file mode 100644 index 00000000..da378a1c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle024.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle024 { + @State canFocus: boolean = true; + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + pressGesture: GestureStyle = new GestureStyle({ + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + }, + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('0123456788888888888888888888888888888', [{ + start: 0, + length: 8, + styledKey: StyledStringKey.GESTURE, + styledValue: this.pressGesture + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle024') + .fontSize(50) + .width('100%') + .border({ width: 1, color: Color.Red }) + .focusable(this.canFocus) + + Button('change focusable') + .id('UIComponentTextTextGestureStyle024_button') + .width(100) + .height(50) + .onClick(event => { + this.canFocus = !this.canFocus; + }) + .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/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0250.ets new file mode 100644 index 00000000..8e085979 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0250.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle0250 { + @State enable:boolean = true; + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + clickGestureAttr: GestureStyle = new GestureStyle({ + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + } + }) + clickGestureAttr1: GestureStyle = new GestureStyle({ + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + this.enable = true + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('0123456789123456', [{ + start: 0, + length: 10, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr + },{ + start: 0, + length: 20, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr1 + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle0250') + .enabled(this.enable) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0260.ets new file mode 100644 index 00000000..4577298d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0260.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. + */ +import { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle0260 { + @State longClickStart: number = 0; + @State clickStart: number = 0; + @State longClickLength: number = 0; + @State clickLength: number = 0; + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + clickGestureAttr: GestureStyle = new GestureStyle({ + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + } + }) + clickGestureAttr1: GestureStyle = new GestureStyle({ + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('0123456789123456aaaaaaaaaaaaaaaaaaaaaaa', [{ + start: this.longClickStart, + length: this.longClickLength, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr + }, { + start: this.clickStart, + length: this.clickLength, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr1 + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle0260') + .ellipsisMode(EllipsisMode.START) + .textOverflow({ + overflow: TextOverflow.Ellipsis + }) + .maxLines(1) + .width('10%') + Button('手势响应区间显示为部分文本部分省略') + .id('btnUIComponentTextTextGestureStyle0260_1') + .onClick(() => { + this.longClickStart = 0; + this.clickStart = -1; + this.longClickLength = 3; + this.clickLength = -10; + }) + Button('手势响应区间显示为全部省略') + .id('btnUIComponentTextTextGestureStyle0260_2') + .onClick(() => { + this.longClickStart = 0; + this.clickStart = 0; + this.longClickLength = 3; + this.clickLength = 3; + }) + Button('手势响应区间显示为部分文本') + .id('btnUIComponentTextTextGestureStyle0260_3') + .onClick(() => { + this.longClickStart = -1; + this.clickStart = -1; + this.longClickLength = -10; + this.clickLength = -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/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0270.ets new file mode 100644 index 00000000..198fe373 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0270.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 '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle0270 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + clickGestureAttr: GestureStyle = new GestureStyle({ + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + } + }) + clickGestureAttr1: GestureStyle = new GestureStyle({ + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('18700000000', [{ + start: 0, + length: 10, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr + }, { + start: 11, + length: 6, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr1 + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle0270') + .enableDataDetector(true) + .dataDetectorConfig({ + types: [TextDataDetectorType.PHONE_NUMBER], + color: Color.Red, + decoration:{ + type: TextDecorationType.Underline, + style: TextDecorationStyle.SOLID + } + }) + .copyOption(CopyOptions.InApp) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0280.ets new file mode 100644 index 00000000..2f803acf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0280.ets @@ -0,0 +1,96 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle0280 { + @State selectionStart: number = 0; + @State selectionEnd: number = 0; + controller: TextController = new TextController(); + options: TextOptions = { controller: this.controller }; + mutableStyledString: MutableStyledString | undefined = undefined; + clickGestureAttr: GestureStyle = new GestureStyle({ + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + } + }) + clickGestureAttr1: GestureStyle = new GestureStyle({ + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('18700000000', [{ + start: 0, + length: 10, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr + }, { + start: 11, + length: 6, + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr1 + }]); + this.options.controller.setStyledString(this.mutableStyledString); + } + + @Builder + RightClickTextCustomMenu() { + Column() { + Menu() { + MenuItemGroup() { + MenuItem({ startIcon: $r('app.media.app_icon'), content: "Right Click Menu 1", labelInfo: "" }) + .onClick((event) => { + this.controller.closeSelectionMenu(); + }) + MenuItem({ startIcon: $r('app.media.app_icon'), content: "Right Click Menu 2", labelInfo: "" }) + MenuItem({ startIcon: $r('app.media.app_icon'), content: "Right Click Menu 3", labelInfo: "" }) + } + } + .MenuStyles() + } + } + + build() { + Row() { + Column() { + Text(undefined, this.options) + .id('UIComponentTextTextGestureStyle0280') + .bindSelectionMenu(TextSpanType.TEXT, this.RightClickTextCustomMenu, TextResponseType.RIGHT_CLICK, { + onDisappear: () => { + console.info(`自定义选择菜单关闭时回调`); + }, + onAppear: () => { + this.selectionStart = 5; + this.selectionEnd = 8; + } + }) + .copyOption(CopyOptions.InApp) + .selection(this.selectionStart, this.selectionEnd) + } + .width('100%') + } + .height('100%') + } +} + +@Extend(Menu) +function MenuStyles() { + .radius($r('sys.float.ohos_id_corner_radius_card')) + .clip(true) + .backgroundColor('#F0F0F0') +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle029.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle029.ets new file mode 100644 index 00000000..54dc1f77 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle029.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle029 { + @State start: number = 0; + @State end: number = 0; + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + pressGesture: GestureStyle = new GestureStyle({ + onLongPress: () => { + console.log(`qjq 029 onLongPress enter`) + promptAction.showToast({ message: '长按事件触发' }) + }, + onClick: () => { + console.log(`qjq 029 onClick enter`) + this.start = 0; + this.end = 7; + promptAction.showToast({ message: '点击事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('0123456788888888888888888888888888888', [{ + start: 0, + length: 8, + styledKey: StyledStringKey.GESTURE, + styledValue: this.pressGesture + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle029') + .fontSize(50) + .width('100%') + .border({ width: 1, color: Color.Red }) + .copyOption(CopyOptions.None) + .selection(this.start, this.end) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle030.ets new file mode 100644 index 00000000..b77280ec --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle030.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle030 { + @State styledValue: string = ""; + textController: TextController = new TextController(); + mStyledString: StyledString | undefined = undefined; + clickGestureAttr: GestureStyle = new GestureStyle({ + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + } + }) + + async onPageShow() { + this.mStyledString = new StyledString('13213221312', [{ + styledKey: StyledStringKey.GESTURE, + styledValue: this.clickGestureAttr + }]); + this.textController.setStyledString(this.mStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle030') + + Text(`styledValue: ${this.styledValue}`) + .margin({ top: 20 }) + + Button('getStyles') + .id('UIComponentTextTextGestureStyle030_button') + .width(100) + .height(50) + .margin({ top: 20 }) + .onClick(event => { + let styles = this.mStyledString?.getStyles(0, this.mStyledString.length) + this.styledValue = JSON.stringify(styles?.[0].styledValue); + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle031.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle031.ets new file mode 100644 index 00000000..1701d181 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle031.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle031 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + textController2: TextController = new TextController(); + mutableStyledString2: MutableStyledString | undefined = undefined; + @State isEquals: string = ''; + longPressGesture: GestureStyle = new GestureStyle({ + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + }, + }) + pressGesture: GestureStyle = new GestureStyle({ + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('01234567', [{ + start: 0, + length: 8, + styledKey: StyledStringKey.GESTURE, + styledValue: this.longPressGesture + }]); + this.textController.setStyledString(this.mutableStyledString); + this.mutableStyledString2 = new MutableStyledString('01234567', [{ + start: 0, + length: 8, + styledKey: StyledStringKey.GESTURE, + styledValue: this.pressGesture + }]); + this.textController2.setStyledString(this.mutableStyledString2); + } + + build() { + Row() { + Column() { + Button('IsEquals') + .id('equals') + .onClick(() => { + if (this.mutableStyledString && this.mutableStyledString2) { + if (this.mutableStyledString.equals(this.mutableStyledString2)) { + this.isEquals = 'true'; + } else { + this.isEquals = 'false'; + } + } + }) + Text(this.isEquals) + .margin({ bottom: 50 }) + Text(undefined, { controller: this.textController }) + Text(undefined, { controller: this.textController2 }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle032.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle032.ets new file mode 100644 index 00000000..3b425958 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle032.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle032 { + @State result: string = ''; + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + pressGesture: GestureStyle = new GestureStyle({ + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + }, + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('0123456788888888888888888888888888888', [{ + start: 0, + length: 8, + styledKey: StyledStringKey.GESTURE, + styledValue: this.pressGesture + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle032') + .fontSize(50) + .width('100%') + .border({ width: 1, color: Color.Red }) + + Text(`result: ${this.result}`) + .margin({ top: 20 }) + + Button('subStyledString') + .id('UIComponentTextTextGestureStyle032_button') + .width(100) + .height(50) + .onClick(event => { + let style = this.mutableStyledString?.subStyledString(0, 5) + this.result = JSON.stringify(style?.getStyles(0, 5)) + }) + .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/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle033.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle033.ets new file mode 100644 index 00000000..75a846fa --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle033.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle033 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + pressGesture: GestureStyle = new GestureStyle({ + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + }, + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('01234567', [{ + start: 0, + length: 8, + styledKey: StyledStringKey.GESTURE, + styledValue: this.pressGesture + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Button('replaceStyle') + .id('replaceStyle') + .onClick(() => { + this.mutableStyledString?.replaceStyle({ + start: 0, + length: 8, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Red }) + }) + this.textController.setStyledString(this.mutableStyledString); + }) + .margin({ bottom: 50 }) + Text(undefined, { controller: this.textController }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle034.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle034.ets new file mode 100644 index 00000000..a7583566 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle034.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle034 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + pressGesture: GestureStyle = new GestureStyle({ + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + }, + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('01234567', [{ + start: 0, + length: 8, + styledKey: StyledStringKey.GESTURE, + styledValue: this.pressGesture + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Button('setStyle') + .id('setStyle') + .onClick(() => { + this.mutableStyledString?.setStyle({ + start: 0, + length: 8, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Green }) + }) + this.textController.setStyledString(this.mutableStyledString); + }) + .margin({ bottom: 50 }) + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle034') + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle035.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle035.ets new file mode 100644 index 00000000..c382cae9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle035.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. + */ +import { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle035 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + pressGesture: GestureStyle = new GestureStyle({ + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + }, + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('01234567', [{ + start: 0, + length: 8, + styledKey: StyledStringKey.GESTURE, + styledValue: this.pressGesture + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Button('removeStyle') + .id('removeStyle') + .onClick(() => { + this.mutableStyledString?.removeStyle(0, 8, StyledStringKey.GESTURE); + this.textController.setStyledString(this.mutableStyledString); + }) + .margin({ bottom: 50 }) + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle035') + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle036.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle036.ets new file mode 100644 index 00000000..b431d99e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle036.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle036 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + pressGesture: GestureStyle = new GestureStyle({ + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + }, + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('01234567', [{ + start: 0, + length: 4, + styledKey: StyledStringKey.GESTURE, + styledValue: this.pressGesture + }, + { + start: 4, + length: 4, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Orange }) + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Button('removeStyles') + .id('removeStyles') + .onClick(() => { + this.mutableStyledString?.removeStyles(0, 8); + this.textController.setStyledString(this.mutableStyledString); + }) + .margin({ bottom: 50 }) + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle036') + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle037.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle037.ets new file mode 100644 index 00000000..908f02e0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle037.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 { promptAction } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextGestureStyle037 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + pressGesture: GestureStyle = new GestureStyle({ + onClick: () => { + promptAction.showToast({ message: '点击事件触发' }) + }, + onLongPress: () => { + promptAction.showToast({ message: '长按事件触发' }) + } + }) + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('01234567', [{ + start: 0, + length: 4, + styledKey: StyledStringKey.GESTURE, + styledValue: this.pressGesture + }, + { + start: 4, + length: 4, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Orange }) + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Row() { + Column() { + Button('insertString') + .id('insertString') + .onClick(() => { + this.mutableStyledString?.insertString(0, 'insert new string'); + this.textController.setStyledString(this.mutableStyledString); + }) + .margin({ bottom: 50 }) + Text(undefined, { controller: this.textController }) + .id('UIComponentTextTextGestureStyle037') + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt004.ets new file mode 100644 index 00000000..2507c86f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt004.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 UIComponentTextTextImageSpanAlt004 { + build() { + Column() { + Text() { + ImageSpan('cat.jpg') + .width(40) + .height(40) + .padding(10) + .border({ width: 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/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt005.ets new file mode 100644 index 00000000..a78340ea --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt005.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 } from '@kit.ArkUI' +import { image } from '@kit.ImageKit' + +@Entry +@Component +struct UIComponentTextTextImageSpanAlt005 { + @State imageAlt: PixelMap | undefined = undefined + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }) + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)) + let createPixelMap: image.PixelMap = await imageSource.createPixelMap({ + desiredPixelFormat: image.PixelMapFormat.RGBA_8888 + }) + await imageSource.release() + return createPixelMap + } + + async aboutToAppear() { + this.imageAlt = await this.getPixmapFromMedia($r('app.media.icon')) + } + + build() { + Column() { + Text() { + ImageSpan('cat.jpg') + .alt(this.imageAlt) + .width(40) + .height(40) + .padding(10) + .border({ width: 1 }) + .onComplete((event) => { + promptAction.showToast({ message: '触发onComplete回调' }) + }) + } + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt006.ets new file mode 100644 index 00000000..86c33ed0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt006.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 } from '@kit.ArkUI' +import { image } from '@kit.ImageKit' + +@Entry +@Component +struct UIComponentTextTextImageSpanAlt006 { + @State imageAlt: PixelMap | undefined = undefined + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }) + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)) + let createPixelMap: image.PixelMap = await imageSource.createPixelMap({ + desiredPixelFormat: image.PixelMapFormat.RGBA_8888 + }) + await imageSource.release() + return createPixelMap + } + + async aboutToAppear() { + this.imageAlt = await this.getPixmapFromMedia($r('app.media.icon')) + } + + build() { + Column() { + Text() { + ImageSpan('catt.jpg') + .alt(this.imageAlt) + .width(40) + .height(40) + .padding(10) + .border({ width: 1 }) + .onError((err)=>{ + promptAction.showToast({ message: '触发onError回调' }) + }) + } + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt007.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt007.ets new file mode 100644 index 00000000..fcac4f45 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt007.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 { image } from '@kit.ImageKit' + +@Entry +@Component +struct UIComponentTextTextImageSpanAlt007 { + @State imageAlt: PixelMap | undefined = undefined + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }) + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)) + let createPixelMap: image.PixelMap = await imageSource.createPixelMap({ + desiredPixelFormat: image.PixelMapFormat.RGBA_8888 + }) + await imageSource.release() + return createPixelMap + } + + async aboutToAppear() { + this.imageAlt = await this.getPixmapFromMedia($r('app.media.icon')) + } + + build() { + Column() { + Text() { + ImageSpan('cat.jpg') + .width(40) + .height(40) + .border({ width: 1 }) + .margin({ right: 20 }) + + ImageSpan('catt.jpg') + .alt(this.imageAlt) + .width(40) + .height(40) + .border({ width: 1 }) + .margin({ right: 20 }) + + ImageSpan('cat.jpg') + .alt(this.imageAlt) + .width(40) + .height(40) + .border({ width: 1 }) + .margin({ right: 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/UIComponentTextTextInterface/UIComponentTextTextInterface029.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextInterface/UIComponentTextTextInterface029.ets new file mode 100644 index 00000000..1f4e86c8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextInterface/UIComponentTextTextInterface029.ets @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentTextTextInterface029 { + build() { + Column() { + Text('这是一段测试文字') + .lineHeight(getContext().resourceManager.getStringSync($r("app.string.lineHeightSize"))) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextInterface/UIComponentTextTextInterface187.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextInterface/UIComponentTextTextInterface187.ets new file mode 100644 index 00000000..35d344df --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextInterface/UIComponentTextTextInterface187.ets @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentTextTextInterface187 { + build() { + Column() { + Text('这是一段测试文字') + .fontSize(getContext().resourceManager.getStringSync($r("app.string.testFontSize"))) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextInterface/UIComponentTextTextInterface202.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextInterface/UIComponentTextTextInterface202.ets new file mode 100644 index 00000000..2e54ca91 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextInterface/UIComponentTextTextInterface202.ets @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentTextTextInterface202 { + build() { + Column() { + Text('这是一段测试文字') + .fontSize(25) + .fontWeight(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/UIComponentTextTextLongPress/UIComponentTextTextLongPress010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress010.ets new file mode 100644 index 00000000..a9075fcd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress010.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 { LengthUnit } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextLongPress010 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('01234567', [{ + start: 0, + length: 8, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Red }) + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Column() { + Text(undefined, { controller: this.textController }) + .copyOption(CopyOptions.InApp) + .id('UIComponentTextTextLongPress010') + .gesture( + LongPressGesture({ repeat: true }) + .onAction((event: GestureEvent) => { + this.mutableStyledString?.replaceStyle({ + start: 0, + length: 7, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ + fontSize: { value: 200, unit: LengthUnit.PX }, + fontWeight: 400, + fontColor: Color.Green + }) + }) + this.textController.setStyledString(this.mutableStyledString); + }) + ) + .selection(0, 7) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress011.ets new file mode 100644 index 00000000..d0aeb932 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress011.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. + */ + +@Entry +@Component +struct UIComponentTextTextLongPress011 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('01234567', [{ + start: 0, + length: 8, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Red }) + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Column() { + Text(undefined, { controller: this.textController }) + .copyOption(CopyOptions.InApp) + .id('UIComponentTextTextLongPress011') + .gesture( + LongPressGesture({ repeat: true }) + .onActionEnd((event: GestureEvent) => { + this.mutableStyledString?.removeString(0, 6); + this.textController.setStyledString(this.mutableStyledString); + }) + ) + .selection(0, 6) + }.width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress012.ets new file mode 100644 index 00000000..73966106 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress012.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 UIComponentTextTextLongPress012 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('01234567', [{ + start: 0, + length: 8, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Red }) + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Column() { + Text(undefined, { controller: this.textController }) + .copyOption(CopyOptions.InApp) + .id('UIComponentTextTextLongPress012') + .selection(0, 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/UIComponentTextTextLongPress/UIComponentTextTextLongPress013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress013.ets new file mode 100644 index 00000000..e55ceeb9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress013.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 UIComponentTextTextLongPress013 { + textController: TextController = new TextController(); + mutableStyledString: MutableStyledString | undefined = undefined; + + async onPageShow() { + this.mutableStyledString = new MutableStyledString('01234567', [{ + start: 0, + length: 8, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontColor: Color.Red }) + }]); + this.textController.setStyledString(this.mutableStyledString); + } + + build() { + Column() { + Text(undefined, { controller: this.textController }) + .copyOption(CopyOptions.InApp) + .id('UIComponentTextTextLongPress013') + .selection(0, 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/UIComponentTextTextMarquee/UIComponentTextTextMarquee001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee001.ets new file mode 100644 index 00000000..2bb2bb1b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee001.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 UIComponentTextTextMarquee001 { + @State overflowValue: TextOverflow = TextOverflow.None; + + build() { + Column() { + Button('Set overflow MARQUEE') + .id('setOverflow') + .onClick(() => { + this.overflowValue = TextOverflow.MARQUEE; + }) + Row() { + Text() { + ImageSpan('cat.jpg') + .width(500) + .height(500) + }.textOverflow({ overflow: this.overflowValue }) + } + .width(300) + + Row() { + Text() { + Span("当文本溢出其尺寸时,文本将滚动显示。Hello worldHello worldHello worldHello worldHello worldHello worldHello world.") + }.textOverflow({ overflow: this.overflowValue }) + } + .width(300) + + Row() { + Text() { + Span("当文本溢出其尺寸时,文本将滚动显示。Hello worldHello worldHello worldHello worldHello worldHello worldHello world.") + }.textOverflow({ overflow: this.overflowValue }) + } + .width(300) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee002.ets new file mode 100644 index 00000000..993735ab --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee002.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 UIComponentTextTextMarquee002 { + @State overflowValue: TextOverflow = TextOverflow.None; + build() { + Column() { + Button('Set overflow Ellipsis') + .id('setOverflow') + .onClick(() => { + this.overflowValue = TextOverflow.Ellipsis; + }) + Row() { + Text() { + ImageSpan('cat.jpg') + .width(500) + .height(500) + } + .width(300) + .textOverflow({ overflow: this.overflowValue }) + .maxLines(2) + } + + Row() { + Text() { + Span("Hello worldHello worldHello worldHello worldHello worldHello worldHello worldHello worldHello worldHello worldHello world.") + } + .textOverflow({ overflow: this.overflowValue }) + .maxLines(2) + } + .width(300) + .borderWidth(1) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee003.ets new file mode 100644 index 00000000..9314a52d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee003.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 UIComponentTextTextMarquee003 { + @State overflowValue: TextOverflow = TextOverflow.None; + build() { + Column() { + Button('Set overflow MARQUEE') + .id('setOverflow') + .onClick(() => { + this.overflowValue = TextOverflow.MARQUEE; + }) + Row() { + Text() { + ImageSpan('cat.jpg') + .width(500) + .height(500) + } + .textOverflow({ overflow: this.overflowValue }) + } + .width(300) + + Row() { + Text() { + Span("Hello worldHello worldHello worldHello worldHello worldHello worldHello worldHello worldHello worldHello worldHello world.") + } + .textOverflow({ overflow: this.overflowValue }) + } + .width(300) + + Row() { + Text() { + SymbolSpan($r('sys.symbol.ohos_trash')) + .fontWeight(FontWeight.Lighter) + .fontSize(96) + } + .textOverflow({ overflow: this.overflowValue }) + } + .width(50) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee004.ets new file mode 100644 index 00000000..58625b40 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee004.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 UIComponentTextTextMarquee004 { + @State overflowValue: TextOverflow = TextOverflow.None; + + build() { + Column() { + Button('Set overflow MARQUEE') + .id('setOverflow') + .onClick(() => { + this.overflowValue = TextOverflow.MARQUEE; + }) + Row() { + Text() { + ContainerSpan() { + ImageSpan('cat.jpg') + .width('40vp') + .height('40vp') + .verticalAlign(ImageSpanAlignment.CENTER) + Span(' Hello World ! Hello World ! Hello World ! Hello World ! Hello World ! Hello World ! Hello World ! Hello World ! ') + .fontSize('16fp') + .fontColor(Color.White) + } + .textBackgroundStyle({ color: "#7F007DFF", radius: "12vp" }) + } + .margin({ top: 15 }) + .textOverflow({ overflow: this.overflowValue }) + } + + Row() { + Text() { + ContainerSpan() { + ImageSpan('cat.jpg') + .width('40vp') + .height('40vp') + .verticalAlign(ImageSpanAlignment.CENTER) + Span(' Hello World ! Hello World ! Hello World ! Hello World ! Hello World ! Hello World ! Hello World ! Hello World ! ') + .fontSize('16fp') + .fontColor(Color.White) + } + .textBackgroundStyle({ color: "#7F007DFF", radius: "12vp" }) + } + .margin({ top: 15 }) + .textOverflow({ overflow: this.overflowValue }) + } + + }.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/UIComponentTextTextMarquee/UIComponentTextTextMarquee005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee005.ets new file mode 100644 index 00000000..f1f237c2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee005.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 UIComponentTextTextMarquee005 { + @State overflowValue: TextOverflow = TextOverflow.None; + @State textAlignValue: TextAlign = TextAlign.Center; + + build() { + Column() { + Button('Set overflow MARQUEE') + .id('setOverflow') + .onClick(() => { + this.overflowValue = TextOverflow.MARQUEE; + }) + .margin({ bottom: 20 }) + Button('Set textAlign to End') + .id('setTextAlign') + .onClick(() => { + this.textAlignValue = TextAlign.End; + }) + .margin({ bottom: 20 }) + Row() { + Text() { + ImageSpan('cat.jpg') + .width('40vp') + .height('40vp') + Span("Hello world.") + } + .textOverflow({ overflow: this.overflowValue }) + .textAlign(this.textAlignValue) + .width(300) + .border({ width: 1 }) + } + + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee006.ets new file mode 100644 index 00000000..3d2410ac --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee006.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. + */ + +@Entry +@Component +struct UIComponentTextTextMarquee006 { + @State overflowValue: TextOverflow = TextOverflow.None; + @State imageSize: number = 20; + + build() { + Column() { + Button('Set overflow MARQUEE') + .id('setOverflow') + .onClick(() => { + this.overflowValue = TextOverflow.MARQUEE; + }) + .margin({ bottom: 20 }) + Button('Set image size') + .id('setSize') + .onClick(() => { + this.imageSize = 100; + }) + .margin({ bottom: 20 }) + Text() { + ImageSpan('cat.jpg') + .width(this.imageSize) + .height(this.imageSize) + Span("Hello world.") + } + .width(150) + .textOverflow({ overflow: this.overflowValue }) + + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee008.ets new file mode 100644 index 00000000..6270cb0d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee008.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 UIComponentTextTextMarquee008 { + @State overflowValue: TextOverflow = TextOverflow.None; + @State paddingSize: number = 0; + + build() { + Column() { + Button('Set overflow MARQUEE') + .id('setOverflow') + .onClick(() => { + this.overflowValue = TextOverflow.MARQUEE; + }) + .margin({ bottom: 20 }) + + Button('Set padding') + .id('setPadding') + .onClick(() => { + this.paddingSize = 10; + }) + .margin({ bottom: 20 }) + + Text() { + ImageSpan('cat.jpg') + .width('40vp') + .height('40vp') + Span("Hello world Hello world Hello world.") + Span("Hi Hi Hi Hi Hi Hi Hi Hi Hi Hi .") + } + .border({ width: 1 }) + .width(100) + .textOverflow({ overflow: this.overflowValue }) + .padding(this.paddingSize) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee009.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee009.ets new file mode 100644 index 00000000..8d87adbd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee009.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 UIComponentTextTextMarquee009 { + @State overflowValue: TextOverflow = TextOverflow.None; + @State spanAlign: ImageSpanAlignment = ImageSpanAlignment.CENTER; + @State paddingSize: number = 0; + + build() { + Column() { + Button('Set overflow MARQUEE') + .id('setOverflow') + .onClick(() => { + this.overflowValue = TextOverflow.MARQUEE; + }) + .margin({ bottom: 20 }) + + Button('Set verticalAlign to bottom') + .id('setVerticalAlign') + .onClick(() => { + this.spanAlign = ImageSpanAlignment.BOTTOM; + }) + .margin({ bottom: 20 }) + + Text() { + ImageSpan('cat.jpg') + .width('40vp') + .height('40vp') + .verticalAlign(this.spanAlign) + Span("Hello world Hello world Hello world.") + Span("Hi Hi Hi Hi Hi Hi Hi Hi Hi Hi .") + } + .border({ width: 1 }) + .width(300) + .textOverflow({ overflow: this.overflowValue }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextPrivacyMask/UIComponentTextTextPrivacyMask028.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextPrivacyMask/UIComponentTextTextPrivacyMask028.ets new file mode 100644 index 00000000..795a1a46 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextPrivacyMask/UIComponentTextTextPrivacyMask028.ets @@ -0,0 +1,27 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentTextTextPrivacyMask028 { + build() { + Column() { + Text('This is"遮罩Text"') + .obscured([ObscuredReasons.PLACEHOLDER]) + .copyOption(CopyOptions.InApp) + .id('UIComponentTextTextPrivacyMask028') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle006.ets new file mode 100644 index 00000000..78544ad3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle006.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 UIComponentTextTextStringParagraphStyle006 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ wordBreak: WordBreak.NORMAL }); + + async onPageShow() { + this.styleString = + new MutableStyledString('This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.styleString.appendStyledString(new MutableStyledString('这是一段测试中文断行的文字', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }])) + this.styleString.appendStyledString(new MutableStyledString('これは日本語の断行をテストするためのテキストです', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }])) + this.styleString.appendStyledString(new MutableStyledString('이것은 한글의 줄을 끊는 것을 시험하는 문장이다', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }])) + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .id('UIComponentTextTextStringParagraphStyle006') + .copyOption(CopyOptions.InApp) + .width(200) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle007.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle007.ets new file mode 100644 index 00000000..7e13ab12 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle007.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 UIComponentTextTextStringParagraphStyle007 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ wordBreak: WordBreak.BREAK_ALL }); + + async onPageShow() { + this.styleString = + new MutableStyledString('This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.styleString.appendStyledString(new MutableStyledString('这是一段测试中文断行的文字', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }])) + this.styleString.appendStyledString(new MutableStyledString('これは日本語の断行をテストするためのテキストです', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }])) + this.styleString.appendStyledString(new MutableStyledString('이것은 한글의 줄을 끊는 것을 시험하는 문장이다', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }])) + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .id('UIComponentTextTextStringParagraphStyle007') + .copyOption(CopyOptions.InApp) + .width(200) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle008.ets new file mode 100644 index 00000000..3e4bc3c5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle008.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 UIComponentTextTextStringParagraphStyle008 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ wordBreak: WordBreak.BREAK_WORD }); + + async onPageShow() { + this.styleString = + new MutableStyledString('This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.styleString.appendStyledString(new MutableStyledString('这是一段测试中文断行的文字', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }])) + this.styleString.appendStyledString(new MutableStyledString('これは日本語の断行をテストするためのテキストです', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }])) + this.styleString.appendStyledString(new MutableStyledString('이것은 한글의 줄을 끊는 것을 시험하는 문장이다', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }])) + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .id('UIComponentTextTextStringParagraphStyle008') + .wordBreak(WordBreak.BREAK_WORD) + .copyOption(CopyOptions.InApp) + .width(200) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle009.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle009.ets new file mode 100644 index 00000000..74a4dd51 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle009.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 UIComponentTextTextStringParagraphStyle009 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ maxLines: 2, overflow: TextOverflow.None }); + + async onPageShow() { + this.styleString = + new MutableStyledString('This is test text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .id('UIComponentTextTextStringParagraphStyle009') + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle010.ets new file mode 100644 index 00000000..afbfda9a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle010.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 UIComponentTextTextStringParagraphStyle010 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ maxLines: 2, overflow: TextOverflow.Clip }); + + async onPageShow() { + this.styleString = + new MutableStyledString('This is test text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .id('UIComponentTextTextStringParagraphStyle010') + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle011.ets new file mode 100644 index 00000000..d7c626a6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle011.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 UIComponentTextTextStringParagraphStyle011 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ maxLines: 2, overflow: TextOverflow.Ellipsis }); + + async onPageShow() { + this.styleString = + new MutableStyledString('This is test text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle012.ets new file mode 100644 index 00000000..94ca4138 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle012.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 UIComponentTextTextStringParagraphStyle012 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ maxLines: 2, overflow: TextOverflow.MARQUEE }); + + async onPageShow() { + this.styleString = + new MutableStyledString('This is test text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle013.ets new file mode 100644 index 00000000..758d2178 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle013.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 UIComponentTextTextStringParagraphStyle013 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ textAlign: TextAlign.Start }); + + async onPageShow() { + this.styleString = + new MutableStyledString('This is test text', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .height(50) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle014.ets new file mode 100644 index 00000000..053cc361 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle014.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 UIComponentTextTextStringParagraphStyle014 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ textAlign: TextAlign.Center }); + + async onPageShow() { + this.styleString = + new MutableStyledString('This is test text', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .height(50) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle015.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle015.ets new file mode 100644 index 00000000..22a97866 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle015.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 UIComponentTextTextStringParagraphStyle015 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ textAlign: TextAlign.End }); + + async onPageShow() { + this.styleString = + new MutableStyledString('This is test text', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .height(50) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle016.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle016.ets new file mode 100644 index 00000000..329d74a6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle016.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 UIComponentTextTextStringParagraphStyle016 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ textAlign: TextAlign.JUSTIFY }); + + async onPageShow() { + this.styleString = + new MutableStyledString('Helloooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle017.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle017.ets new file mode 100644 index 00000000..496c993e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle017.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 UIComponentTextTextStringParagraphStyle017 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ textAlign: undefined }); + + async onPageShow() { + this.styleString = + new MutableStyledString('Helloooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle018.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle018.ets new file mode 100644 index 00000000..b2c181c9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle018.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 { LengthMetrics } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle018 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ textIndent: LengthMetrics.vp(-100) }); + + async onPageShow() { + this.styleString = + new MutableStyledString('Hello', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle019.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle019.ets new file mode 100644 index 00000000..ca5aa1d5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle019.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 { LengthMetrics } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle019 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ textIndent: LengthMetrics.vp(0) }); + + async onPageShow() { + this.styleString = + new MutableStyledString('Hello', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle020.ets new file mode 100644 index 00000000..3e43bb6a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle020.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 { LengthMetrics } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle020 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ textIndent: LengthMetrics.vp(30) }); + + async onPageShow() { + this.styleString = + new MutableStyledString('Hello', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle021.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle021.ets new file mode 100644 index 00000000..406f65f4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle021.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 { LengthMetrics } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle021 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ textIndent: LengthMetrics.percent(30) }); + + async onPageShow() { + this.styleString = + new MutableStyledString('Hello', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle022.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle022.ets new file mode 100644 index 00000000..99756312 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle022.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 { LengthMetrics } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle022 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ textIndent: undefined }); + + async onPageShow() { + this.styleString = + new MutableStyledString('Hello', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle023.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle023.ets new file mode 100644 index 00000000..3d2fe791 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle023.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 UIComponentTextTextStringParagraphStyle023 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ textAlign: TextAlign.Center }); + + async onPageShow() { + this.styleString = + new MutableStyledString('hellooooo\nhi', + [{ + start: 0, + length: 2, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle024.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle024.ets new file mode 100644 index 00000000..7f34d8a1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle024.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 UIComponentTextTextStringParagraphStyle024 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ textAlign: TextAlign.Center }); + + async onPageShow() { + this.styleString = + new MutableStyledString('hello\nhi', + [{ + start: 1, + length: 6, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle025.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle025.ets new file mode 100644 index 00000000..6ef8e239 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle025.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 UIComponentTextTextStringParagraphStyle025 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ textAlign: TextAlign.Center }); + + async onPageShow() { + this.styleString = + new MutableStyledString('hello\nhi\nhey', + [{ + start: 1, + length: 9, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle026.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle026.ets new file mode 100644 index 00000000..cb200f91 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle026.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 UIComponentTextTextStringParagraphStyle026 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ textAlign: TextAlign.Center }); + paragraphStyleAttr1: ParagraphStyle = + new ParagraphStyle({ textAlign: TextAlign.Start }); + paragraphStyleAttr2: ParagraphStyle = + new ParagraphStyle({ textAlign: TextAlign.End }); + + async onPageShow() { + this.styleString = + new MutableStyledString('hello\n' + + 'hi', + [{ + start: 0, + length: 3, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }, { + start: 0, + length: 3, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr1 + }, { + start: 0, + length: 3, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr2 + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .textAlign(TextAlign.Center) + .textAlign(TextAlign.Start) + .textAlign(TextAlign.End) + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle027.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle027.ets new file mode 100644 index 00000000..fa426f1c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle027.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 UIComponentTextTextStringParagraphStyle027 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + async onPageShow() { + this.styleString = + new MutableStyledString('hello', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: DecorationStyle + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle028.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle028.ets new file mode 100644 index 00000000..e4a7a5c7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle028.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 { LengthMetrics, LengthUnit } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle028 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ textIndent: LengthMetrics.vp(15) }); + + async onPageShow() { + this.styleString = + new MutableStyledString('hello\n' + + 'hi', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }, { + start: 0, + styledKey: StyledStringKey.LINE_HEIGHT, + styledValue: new LineHeightStyle(new LengthMetrics(-100, LengthUnit.VP)) + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle029.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle029.ets new file mode 100644 index 00000000..01af3bb9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle029.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 { LengthMetrics, LengthUnit } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle029 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ textIndent: LengthMetrics.vp(15) }); + + async onPageShow() { + this.styleString = + new MutableStyledString('hello\n' + + 'hi', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }, { + start: 0, + styledKey: StyledStringKey.LINE_HEIGHT, + styledValue: new LineHeightStyle(new LengthMetrics(30, LengthUnit.VP)) + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle030.ets new file mode 100644 index 00000000..8f34d641 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle030.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 { LengthMetrics, LengthUnit } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle030 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ textIndent: LengthMetrics.vp(15) }); + + async onPageShow() { + this.styleString = + new MutableStyledString('hello\n' + + 'hi', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }, { + start: 0, + styledKey: StyledStringKey.LINE_HEIGHT, + styledValue: new LineHeightStyle(new LengthMetrics(0, LengthUnit.PX)) + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .textIndent(10) + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle031.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle031.ets new file mode 100644 index 00000000..7587ed67 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle031.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 { LengthMetrics } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle031 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ textIndent: LengthMetrics.vp(15)}); + + async onPageShow() { + this.styleString = + new MutableStyledString('hello\n' + + 'hi', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .lineHeight(undefined) + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle032.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle032.ets new file mode 100644 index 00000000..46c4f893 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle032.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 { LengthMetrics } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle032 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ maxLines: undefined }); + + async onPageShow() { + this.styleString = + new MutableStyledString('hello\n' + + 'hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle033.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle033.ets new file mode 100644 index 00000000..63e8aca4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle033.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. + */ +import { LengthMetrics, LengthUnit } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle033 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + @State fontSize: number = 16; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ textIndent: LengthMetrics.vp(15) }); + + async onPageShow() { + this.styleString = + new MutableStyledString('hello\n' + + 'hi', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }, + { + start: 0, + styledKey: StyledStringKey.LINE_HEIGHT, + styledValue: new LineHeightStyle(new LengthMetrics(0, LengthUnit.VP)) + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Button('Change fontSize') + .id('changeSize') + .onClick(() => { + this.fontSize = 40; + }) + .margin({ bottom: 20 }) + Text(undefined, { controller: this.controller }) { + } + .fontSize(this.fontSize) + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle034.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle034.ets new file mode 100644 index 00000000..b7a43e6a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle034.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 { LengthMetrics } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle034 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ leadingMargin: LengthMetrics.vp(-100) }); + + async onPageShow() { + this.styleString = + new MutableStyledString('hello\n' + + 'hi', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle035.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle035.ets new file mode 100644 index 00000000..f8fe2691 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle035.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 { LengthMetrics } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle035 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ leadingMargin: LengthMetrics.vp(0) }); + + async onPageShow() { + this.styleString = + new MutableStyledString('hello\n' + + 'hi', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle036.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle036.ets new file mode 100644 index 00000000..9598abc1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle036.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 { LengthMetrics } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle036 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ leadingMargin: LengthMetrics.percent(80) }); + + async onPageShow() { + this.styleString = + new MutableStyledString('hello\n' + + 'hi', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle037.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle037.ets new file mode 100644 index 00000000..fea38b26 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle037.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 { LengthMetrics } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle037 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ leadingMargin: LengthMetrics.vp(30) }); + + async onPageShow() { + this.styleString = + new MutableStyledString('hello\n' + + 'hi', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle038.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle038.ets new file mode 100644 index 00000000..1a6998b1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle038.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 { LengthMetrics } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle038 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ leadingMargin: LengthMetrics.px(100) }); + + async onPageShow() { + this.styleString = + new MutableStyledString('hello\n' + + 'hi', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle039.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle039.ets new file mode 100644 index 00000000..28702131 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle039.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 { LengthMetrics } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle039 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ leadingMargin: undefined }); + + async onPageShow() { + this.styleString = + new MutableStyledString('hello\n' + + 'hi', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle040.ets new file mode 100644 index 00000000..77d7fd54 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle040.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 { image } from '@kit.ImageKit'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle040 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + imagePixelMap: image.PixelMap | undefined = undefined; + paragraphStyleAttr: ParagraphStyle | undefined = undefined; + leadingMarginPlaceholder1: LeadingMarginPlaceholder | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.fly')).then(); + if (this.imagePixelMap !== undefined) { + this.leadingMarginPlaceholder1 = { + pixelMap: this.imagePixelMap, + size: [50, 50] + } + this.paragraphStyleAttr = new ParagraphStyle({ leadingMargin: this.leadingMarginPlaceholder1 }); + this.styleString = + new MutableStyledString('hello\n' + + 'hi', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .height(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle041.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle041.ets new file mode 100644 index 00000000..7cce9794 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle041.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 { image } from '@kit.ImageKit'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle041 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + imagePixelMap: image.PixelMap | undefined = undefined; + paragraphStyleAttr: ParagraphStyle | undefined = undefined; + leadingMarginPlaceholder1: LeadingMarginPlaceholder | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + if (this.imagePixelMap !== undefined) { + this.leadingMarginPlaceholder1 = { + pixelMap: this.imagePixelMap, + size: [50, 50] + } + this.paragraphStyleAttr = new ParagraphStyle({ leadingMargin: this.leadingMarginPlaceholder1 }); + this.styleString = + new MutableStyledString('hello\n' + + 'hi', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .height(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle042.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle042.ets new file mode 100644 index 00000000..7dfc4bb7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle042.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 { image } from '@kit.ImageKit'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle042 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + imagePixelMap: image.PixelMap | undefined = undefined; + paragraphStyleAttr: ParagraphStyle | undefined = undefined; + leadingMarginPlaceholder1: LeadingMarginPlaceholder | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.image2')).then(); + if (this.imagePixelMap !== undefined) { + this.leadingMarginPlaceholder1 = { + pixelMap: this.imagePixelMap, + size: [50, 50] + } + this.paragraphStyleAttr = new ParagraphStyle({ leadingMargin: this.leadingMarginPlaceholder1 }); + this.styleString = + new MutableStyledString('hello\n' + + 'hi', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .height(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle043.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle043.ets new file mode 100644 index 00000000..d5c60f72 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle043.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 { image } from '@kit.ImageKit'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle043 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + imagePixelMap: image.PixelMap | undefined = undefined; + paragraphStyleAttr: ParagraphStyle | undefined = undefined; + leadingMarginPlaceholder1: LeadingMarginPlaceholder | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.bird_people')).then(); + if (this.imagePixelMap !== undefined) { + this.leadingMarginPlaceholder1 = { + pixelMap: this.imagePixelMap, + size: [50, 50] + } + this.paragraphStyleAttr = new ParagraphStyle({ leadingMargin: this.leadingMarginPlaceholder1 }); + this.styleString = + new MutableStyledString('hello\n' + + 'hi', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .height(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle044.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle044.ets new file mode 100644 index 00000000..67461980 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle044.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 { image } from '@kit.ImageKit'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle044 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + imagePixelMap: image.PixelMap | undefined = undefined; + paragraphStyleAttr: ParagraphStyle | undefined = undefined; + leadingMarginPlaceholder1: LeadingMarginPlaceholder | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.fan')).then(); + if (this.imagePixelMap !== undefined) { + this.leadingMarginPlaceholder1 = { + pixelMap: this.imagePixelMap, + size: [50, 50] + } + this.paragraphStyleAttr = new ParagraphStyle({ leadingMargin: this.leadingMarginPlaceholder1 }); + this.styleString = + new MutableStyledString('hello\n' + + 'hi', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .height(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle045.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle045.ets new file mode 100644 index 00000000..79d2280a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle045.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 { image } from '@kit.ImageKit'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle045 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + imagePixelMap: image.PixelMap | undefined = undefined; + paragraphStyleAttr: ParagraphStyle | undefined = undefined; + leadingMarginPlaceholder1: LeadingMarginPlaceholder | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + if (this.imagePixelMap !== undefined) { + this.leadingMarginPlaceholder1 = { + pixelMap: this.imagePixelMap, + size: ['20%', '20%'] + } + this.paragraphStyleAttr = new ParagraphStyle({ leadingMargin: this.leadingMarginPlaceholder1 }); + this.styleString = + new MutableStyledString('hello\n' + + 'hi', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .height(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle046.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle046.ets new file mode 100644 index 00000000..6b587da4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle046.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 { image } from '@kit.ImageKit'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle046 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + imagePixelMap: image.PixelMap | undefined = undefined; + paragraphStyleAttr: ParagraphStyle | undefined = undefined; + leadingMarginPlaceholder1: LeadingMarginPlaceholder | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + if (this.imagePixelMap !== undefined) { + this.leadingMarginPlaceholder1 = { + pixelMap: this.imagePixelMap, + size: [0, 0] + } + this.paragraphStyleAttr = new ParagraphStyle({ leadingMargin: this.leadingMarginPlaceholder1 }); + this.styleString = + new MutableStyledString('hello\n' + + 'hi', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .height(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle047.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle047.ets new file mode 100644 index 00000000..ad8e2444 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle047.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 { image } from '@kit.ImageKit'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle047 { + controller: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + imagePixelMap: image.PixelMap | undefined = undefined; + paragraphStyleAttr: ParagraphStyle | undefined = undefined; + leadingMarginPlaceholder1: LeadingMarginPlaceholder | undefined = undefined; + + private async getPixmapFromMedia(resource: Resource) { + let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({ + bundleName: resource.bundleName, + moduleName: resource.moduleName, + id: resource.id + }); + let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength)); + let createPixelMap: image.PixelMap = await imageSource.createPixelMap(); + await imageSource.release(); + return createPixelMap; + } + + async onPageShow() { + this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.cat')).then(); + if (this.imagePixelMap !== undefined) { + this.leadingMarginPlaceholder1 = { + pixelMap: this.imagePixelMap, + size: [$r('app.string.10vp'), $r('app.string.10vp')] + } + this.paragraphStyleAttr = new ParagraphStyle({ leadingMargin: this.leadingMarginPlaceholder1 }); + this.styleString = + new MutableStyledString('hello\n' + + 'hi', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + } + + build() { + Column() { + Text(undefined, { controller: this.controller }) { + } + .width(200) + .height(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle048.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle048.ets new file mode 100644 index 00000000..4cd66e48 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle048.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. + */ + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle048 { + controller: TextController = new TextController(); + controller1: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + styleString1: MutableStyledString | undefined = undefined; + getStyle: Array = []; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ textAlign: TextAlign.End }); + + async onPageShow() { + this.styleString = + new MutableStyledString('TextAlign as end', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Button('getStyles') + .id('getStyles') + .onClick(() => { + this.getStyle = this.styleString!.getStyles(0, 4, StyledStringKey.PARAGRAPH_STYLE); + this.styleString1 = new MutableStyledString('这是获取的返回样式', this.getStyle); + this.controller1.setStyledString(this.styleString1); + }) + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + .margin({ bottom: 20 }) + + Text(undefined, { controller: this.controller1 }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle049.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle049.ets new file mode 100644 index 00000000..fb1366c3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle049.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 { LengthMetrics } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle049 { + controller: TextController = new TextController(); + controller1: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + styleString1: MutableStyledString | undefined = undefined; + getStyle: Array = []; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ textIndent: LengthMetrics.vp(30) }); + + async onPageShow() { + this.styleString = + new MutableStyledString('TextIndent as 30vp', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Button('getStyles') + .id('getStyles') + .onClick(() => { + this.getStyle = this.styleString!.getStyles(0, 4, StyledStringKey.PARAGRAPH_STYLE); + this.styleString1 = new MutableStyledString('这是获取的返回样式', this.getStyle); + this.controller1.setStyledString(this.styleString1); + }) + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + .margin({ bottom: 20 }) + + Text(undefined, { controller: this.controller1 }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle050.ets new file mode 100644 index 00000000..ba2ffc9c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle050.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 { LengthMetrics } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle050 { + controller: TextController = new TextController(); + controller1: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + styleString1: MutableStyledString | undefined = undefined; + getStyle: Array = []; + + + async onPageShow() { + this.styleString = + new MutableStyledString('LineHeight as 50', + [{ + start: 0, + styledKey: StyledStringKey.LINE_HEIGHT, + styledValue: new LineHeightStyle(new LengthMetrics(50)) + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Button('getStyles') + .id('getStyles') + .onClick(() => { + this.getStyle = this.styleString!.getStyles(0, 4, StyledStringKey.LINE_HEIGHT); + this.styleString1 = new MutableStyledString('这是获取的返回样式', this.getStyle); + this.controller1.setStyledString(this.styleString1); + }) + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + .margin({ bottom: 20 }) + + Text(undefined, { controller: this.controller1 }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle051.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle051.ets new file mode 100644 index 00000000..c24b5392 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle051.ets @@ -0,0 +1,169 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 '@kit.ArkUI' + +const canvasWidth = 1000 +const canvasHeight = 100 + +class LeadingMarginCreator { + private settings: RenderingContextSettings = new RenderingContextSettings(true) + private offscreenCanvas: OffscreenCanvas = new OffscreenCanvas(canvasWidth, canvasHeight) + private offContext: OffscreenCanvasRenderingContext2D = this.offscreenCanvas.getContext("2d", this.settings) + public static instance: LeadingMarginCreator = new LeadingMarginCreator() + + public genSquareMark(fontSize: number): PixelMap { + this.offContext = this.offscreenCanvas.getContext("2d", this.settings) + this.clearCanvas() + const coordinate = fontSize * (1 - 1 / 1.5) / 2 + const sideLength = fontSize / 1.5 + this.offContext.fillRect(coordinate, coordinate, sideLength, sideLength) + return this.offContext.getPixelMap(0, 0, fontSize, fontSize) + } + + private clearCanvas() { + this.offContext.clearRect(0, 0, canvasWidth, canvasHeight) + } +} + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle051 { + @State overflowText: string | undefined = ''; + private leadingMarkCreatorInstance = LeadingMarginCreator.instance + leadingMarginPlaceholder1: LeadingMarginPlaceholder = { + pixelMap: this.leadingMarkCreatorInstance.genSquareMark(24), + size: [15, 15] + } + titleParagraphStyleAttr: ParagraphStyle = new ParagraphStyle({ textAlign: TextAlign.Center }); + //第一段落首行缩进15vp + paragraphStyleAttr1: ParagraphStyle = new ParagraphStyle({ textIndent: LengthMetrics.vp(15) }); + //第二段落缩进15vp且首行有placeholder占位显示 + paragraphStyleAttr2: ParagraphStyle = + new ParagraphStyle({ textAlign: TextAlign.Start, leadingMargin: this.leadingMarginPlaceholder1 }); + //第三段落不设置缩进配置最大行数及超长显示方式 + paragraphStyleAttr3: ParagraphStyle = new ParagraphStyle({ + textAlign: TextAlign.End, + maxLines: 1, + wordBreak: WordBreak.BREAK_ALL, + overflow: TextOverflow.Ellipsis + }); + //行高样式对象 + lineHeightStyle1: LineHeightStyle = new LineHeightStyle(new LengthMetrics(24)); + //创建含段落样式的对象paragraphStyledString1 + paragraphStyledString1: StyledString = + new StyledString("段落标题\n正文第一段落开始0123456789正文第一段落结束\n正文第二段落开始hello world正文第二段落结束\n正文第三段落ABCDEFGHIJKLMNOPQRSTUVWXYZ。", + [ + { + start: 0, + length: 4, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.titleParagraphStyleAttr + }, + { + start: 0, + length: 4, + styledKey: StyledStringKey.LINE_HEIGHT, + styledValue: new LineHeightStyle(new LengthMetrics(50)) + }, { + start: 0, + length: 4, + styledKey: StyledStringKey.FONT, + styledValue: new TextStyle({ fontSize: LengthMetrics.vp(24), fontWeight: FontWeight.Bolder }) + }, + { + start: 5, + length: 3, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr1 + }, + { + start: 5, + length: 20, + styledKey: StyledStringKey.LINE_HEIGHT, + styledValue: this.lineHeightStyle1 + }, + { + start: 32, + length: 5, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr2 + }, + { + start: 32, + length: 20, + styledKey: StyledStringKey.LINE_HEIGHT, + styledValue: this.lineHeightStyle1 + }, + { + start: 60, + length: 5, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr3 + }, + { + start: 60, + length: 5, + styledKey: StyledStringKey.LINE_HEIGHT, + styledValue: this.lineHeightStyle1 + } + ]); + controller: TextController = new TextController(); + + async onPageShow() { + this.controller.setStyledString(this.paragraphStyledString1) + } + + build() { + Row() { + Column({ space: 5 }) { + Text(undefined, { controller: this.controller }) + .width(240) + .borderWidth(1) + .copyOption(CopyOptions.InApp) + .draggable(true) + + //查询段落样式 + Button('查询overflow') + .id('getStyles') + .onClick(() => { + let styles = this.paragraphStyledString1.getStyles(0, this.paragraphStyledString1.length) + if (styles.length !== 0) { + for (let i = 0; i < styles.length; i++) { + console.info('paragraphStyledString1 style object start:' + styles[i].start) + console.info('paragraphStyledString1 style object length:' + styles[i].length) + console.info('paragraphStyledString1 style object key:' + styles[i].styledKey) + if (styles[i].styledKey === 200) { + let paraAttr = styles[i].styledValue as ParagraphStyle; + console.info('paragraphStyledString1 textAlign:' + paraAttr.textAlign) + console.info('paragraphStyledString1 textIndent:' + paraAttr.textIndent) + console.info('paragraphStyledString1 maxLines:' + paraAttr.maxLines) + console.info('paragraphStyledString1 wordBreak:' + paraAttr.wordBreak) + console.info('paragraphStyledString1 leadingMargin:' + paraAttr.leadingMargin) + console.info('paragraphStyledString1 overflow:' + paraAttr.overflow) + if (paraAttr.overflow === 2){ + this.overflowText = 'TextOverflow.Ellipsis' + } + } + } + } + }) + .margin({ top: 10 }) + Text(this.overflowText) + } + .width('100%') + } + .height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle052.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle052.ets new file mode 100644 index 00000000..4f2a3599 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle052.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. + */ + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle052 { + controller: TextController = new TextController(); + controller1: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + styleString1: MutableStyledString | undefined = undefined; + getStyle: Array = []; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ wordBreak: WordBreak.BREAK_ALL }); + + async onPageShow() { + this.styleString = + new MutableStyledString('This is set wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Button('getStyles') + .id('getStyles') + .onClick(() => { + this.getStyle = this.styleString!.getStyles(0, 4, StyledStringKey.PARAGRAPH_STYLE); + this.styleString1 = + new MutableStyledString('This is get wordBreak to WordBreak text Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu', + this.getStyle); + this.controller1.setStyledString(this.styleString1); + }) + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + .margin({ bottom: 20 }) + + Text(undefined, { controller: this.controller1 }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle053.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle053.ets new file mode 100644 index 00000000..9e9bab1c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle053.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 { LengthMetrics } from '@kit.ArkUI'; + +@Entry +@Component +struct UIComponentTextTextStringParagraphStyle053 { + controller: TextController = new TextController(); + controller1: TextController = new TextController(); + styleString: MutableStyledString | undefined = undefined; + styleString1: MutableStyledString | undefined = undefined; + getStyle: Array = []; + paragraphStyleAttr: ParagraphStyle = + new ParagraphStyle({ leadingMargin: LengthMetrics.vp(40) }); + + async onPageShow() { + this.styleString = + new MutableStyledString('leadingMargin as 40vp', + [{ + start: 0, + styledKey: StyledStringKey.PARAGRAPH_STYLE, + styledValue: this.paragraphStyleAttr + }]); + this.controller.setStyledString(this.styleString); + } + + build() { + Column() { + Button('getStyles') + .id('getStyles') + .onClick(() => { + this.getStyle = this.styleString!.getStyles(0, 4, StyledStringKey.PARAGRAPH_STYLE); + this.styleString1 = + new MutableStyledString('这是获取的返回样式', + this.getStyle); + this.controller1.setStyledString(this.styleString1); + }) + Text(undefined, { controller: this.controller }) { + } + .width(200) + .border({ width: 1 }) + .margin({ bottom: 20 }) + + Text(undefined, { controller: this.controller1 }) { + } + .width(200) + .border({ width: 1 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0030.ets new file mode 100644 index 00000000..73456f2d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0030.ets @@ -0,0 +1,27 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentTextTransparency0030 { + build() { + Column() { + Text('这是一段测试文字') + }.height('100%') + .width('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0170.ets new file mode 100644 index 00000000..776e7cac --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0170.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 UIComponentTextTransparency0170 { + build() { + Column() { + Text('这是一段测试文字') + .fontWeight(FontWeight.Bolder) + }.height('100%') + .width('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0180.ets new file mode 100644 index 00000000..02f0e026 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0180.ets @@ -0,0 +1,27 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentTextTransparency0180 { + build() { + Column() { + Text('这是一段测试文字') + }.height('100%') + .width('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0190.ets new file mode 100644 index 00000000..6233a87c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0190.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 UIComponentTextTransparency0190 { + build() { + Column() { + Text('这是一段测试文字') + .fontWeight(-1) + }.height('100%') + .width('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0200.ets new file mode 100644 index 00000000..1cdcd9df --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0200.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 UIComponentTextTransparency0200 { + build() { + Column() { + Text('这是一段测试文字') + .fontWeight(0) + }.height('100%') + .width('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0210.ets new file mode 100644 index 00000000..ae801c30 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0210.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 UIComponentTextTransparency0210 { + build() { + Column() { + Text('这是一段测试文字') + .fontWeight(99) + }.height('100%') + .width('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0220.ets new file mode 100644 index 00000000..dcfb9bda --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0220.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 UIComponentTextTransparency0220 { + build() { + Column() { + Text('这是一段测试文字') + .fontWeight(100) + }.height('100%') + .width('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0230.ets new file mode 100644 index 00000000..8175b698 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0230.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 UIComponentTextTransparency0230 { + build() { + Column() { + Text('这是一段测试文字') + .fontWeight(400) + }.height('100%') + .width('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0240.ets new file mode 100644 index 00000000..0c6391b3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0240.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 UIComponentTextTransparency0240 { + build() { + Column() { + Text('这是一段测试文字') + .fontWeight(900) + }.height('100%') + .width('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0250.ets new file mode 100644 index 00000000..f5e92887 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0250.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 UIComponentTextTransparency0250 { + build() { + Column() { + Text('这是一段测试文字') + .fontWeight(901) + }.height('100%') + .width('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0260.ets new file mode 100644 index 00000000..1d682ab3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0260.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 UIComponentTextTransparency0260 { + build() { + Column() { + Text('这是一段测试文字') + .fontWeight(1000) + }.height('100%') + .width('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0270.ets new file mode 100644 index 00000000..4611ca4b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0270.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 UIComponentTextTransparency0270 { + build() { + Column() { + Text('这是一段测试文字') + .fontWeight('0') + }.height('100%') + .width('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0280.ets new file mode 100644 index 00000000..469e4e0b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0280.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 UIComponentTextTransparency0280 { + build() { + Column() { + Text('这是一段测试文字') + .fontWeight('100') + }.height('100%') + .width('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0290.ets new file mode 100644 index 00000000..43228b1c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0290.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 UIComponentTextTransparency0290 { + build() { + Column() { + Text('这是一段测试文字') + .fontWeight('900') + }.height('100%') + .width('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0300.ets new file mode 100644 index 00000000..3a48a3b1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0300.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 UIComponentTextTransparency0300 { + build() { + Column() { + Text('这是一段测试文字') + .fontWeight('1000') + }.height('100%') + .width('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0310.ets new file mode 100644 index 00000000..f40065c4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0310.ets @@ -0,0 +1,27 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentTextTransparency0310 { + build() { + Column() { + Text('这是一段测试文字') + }.height('100%') + .width('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0320.ets new file mode 100644 index 00000000..54c59494 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0320.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 UIComponentTextTransparency0320 { + build() { + Column() { + Text('这是一段测试文字') + .fontFamily('HarmonyOS Sans') + }.height('100%') + .width('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0330.ets new file mode 100644 index 00000000..a7d611bf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0330.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 UIComponentTextTransparency0330 { + build() { + Column() { + Text('这是一段测试文字') + .fontFamily($r('app.string.fontfamily_1')) + }.height('100%') + .width('100%') + .alignItems(HorizontalAlign.Center) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTransparency/UIComponentTextTransparency003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTransparency/UIComponentTextTransparency003.ets new file mode 100644 index 00000000..9585ebe0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTransparency/UIComponentTextTransparency003.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 { ImageModifier } from '@kit.ArkUI' + +@Entry +@Component +struct UIComponentTextTransparency003 { + @State myModifier: ImageAttribute = new ImageModifier().opacity(1) + build() { + Text('这是一段测试文字') + .width('90%') + .height(50) + .id('UIComponentTextTransparency003') + .draggable(true) + .border({ width: 1 }) + .fontColor(Color.Brown) + .copyOption(CopyOptions.InApp) + .selection(0, 8) + .opacity(0.4) + .dragPreviewOptions({modifier: this.myModifier}) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTransparency/UIComponentTextTransparency0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTransparency/UIComponentTextTransparency0040.ets new file mode 100644 index 00000000..402dbb47 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTransparency/UIComponentTextTransparency0040.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 { ImageModifier } from '@kit.ArkUI' + +@Entry +@Component +struct UIComponentTextTransparency0040 { + @State myModifier: ImageAttribute = new ImageModifier().opacity(1) + + build() { + Text('这是一段测试文字') + .width('90%') + .height(50) + .id('UIComponentTextTransparency0040') + .draggable(true) + .border({ width: 1 }) + .fontColor(Color.Brown) + .copyOption(CopyOptions.InApp) + .textShadow({ + radius: 10, + color: Color.Black, + offsetX: 0, + offsetY: 0 + }) + .selection(0, 8) + .opacity(0.4) + .dragPreviewOptions({ modifier: this.myModifier }) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTransparency/UIComponentTextTransparency0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTransparency/UIComponentTextTransparency0050.ets new file mode 100644 index 00000000..fd6de8f3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTransparency/UIComponentTextTransparency0050.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. + */ +import { ImageModifier } from '@kit.ArkUI' + +@Entry +@Component +struct UIComponentTextTransparency0050 { + @State myModifier: ImageAttribute = new ImageModifier().opacity(1) + + build() { + Text('这是一段测试文字') + .width('90%') + .height(50) + .id('UIComponentTextTransparency0050') + .draggable(true) + .border({ width: 1 }) + .fontColor(Color.Brown) + .copyOption(CopyOptions.InApp) + .textShadow({ + radius: 10, + color: Color.Black, + offsetX: 0, + offsetY: 0 + }) + .decoration({ + type: TextDecorationType.Underline, + color: Color.Red, + style: TextDecorationStyle.WAVY + }) + .selection(0, 8) + .opacity(0.4) + .dragPreviewOptions({ modifier: this.myModifier }) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTransparency/UIComponentTextTransparency0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTransparency/UIComponentTextTransparency0060.ets new file mode 100644 index 00000000..dec21d0b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextTransparency/UIComponentTextTransparency0060.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 UIComponentTextTransparency0060 { + + build() { + Text('这是一段测试文字bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb') + .width('50%') + .height(50) + .id('UIComponentTextTransparency0060') + .draggable(true) + .border({ width: 1 }) + .fontColor(Color.Brown) + .copyOption(CopyOptions.InApp) + .textShadow({ + radius: 10, + color: Color.Black, + offsetX: 0, + offsetY: 0 + }) + .textOverflow({ overflow: TextOverflow.Ellipsis }) + .maxLines(1) + .selection(0, 20) + .opacity(0.4) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor204.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor204.ets new file mode 100644 index 00000000..d528f71e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor204.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 UIComponentUISupportColor204 { + build() { + Column() { + Button('切换模式') + .fontSize(20) + .fontColor(Color.Blue) + .width('200px') + .id('UIComponentUISupportColor204') + .margin({ bottom: 20 }) + + Text('测试文字').fontSize(30) + }.width('100%').height('100%').backgroundColor($r('sys.color.background_primary')) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor205.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor205.ets new file mode 100644 index 00000000..add3be77 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor205.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 UIComponentUISupportColor205 { + build() { + Column() { + Button('切换模式') + .fontSize(20) + .fontColor(Color.Blue) + .width('200px') + .id('UIComponentUISupportColor205') + .margin({ bottom: 20 }) + + Text('测试文字').fontSize(30) + }.width('100%').height('100%').backgroundColor($r('sys.color.background_primary')) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor206.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor206.ets new file mode 100644 index 00000000..63e8ecea --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor206.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 UIComponentUISupportColor206 { + build() { + Column() { + Button('切换模式') + .fontSize(20) + .fontColor(Color.Blue) + .width('200px') + .id('UIComponentUISupportColor206') + .margin({ bottom: 20 }) + + Text('测试文字').fontSize(30) + }.width('100%').height('100%').backgroundColor($r('sys.color.background_primary')) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor207.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor207.ets new file mode 100644 index 00000000..0fda8c6a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor207.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 UIComponentUISupportColor207 { + build() { + Column() { + Button('切换模式') + .fontSize(20) + .fontColor(Color.Blue) + .width('200px') + .id('UIComponentUISupportColor207') + .margin({ bottom: 20 }) + + Text('测试文字').fontSize(30) + }.width('100%').height('100%').backgroundColor($r('sys.color.background_primary')) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor208.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor208.ets new file mode 100644 index 00000000..28aba4b3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor208.ets @@ -0,0 +1,27 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentUISupportColor208 { + build() { + WithTheme({ colorMode: ThemeColorMode.LIGHT }) { + Column() { + Text('测试文字').fontSize(30) + }.width('100%').height('100%').backgroundColor($r('sys.color.background_primary')) + } + + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor209.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor209.ets new file mode 100644 index 00000000..35dfa251 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor209.ets @@ -0,0 +1,27 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentUISupportColor209 { + build() { + WithTheme({ colorMode: ThemeColorMode.DARK }) { + Column() { + Text('测试文字').fontSize(30) + }.width('100%').height('100%').backgroundColor($r('sys.color.background_primary')) + } + + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor210.ets new file mode 100644 index 00000000..35e8154d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor210.ets @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentUISupportColor210 { + build() { + WithTheme({ colorMode: ThemeColorMode.SYSTEM }) { + Column() { + Text('测试文字').fontSize(30) + }.width('100%').height('100%').backgroundColor($r('sys.color.background_primary')) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0150.ets new file mode 100644 index 00000000..1e0a8891 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0150.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 UICustomTextShortCutKeyReplacement0150 { + @State msg: string = 'HH测试223% U测72试#'; + @State start: number = 0 + @State end: number = 0 + build() { + Text(this.msg) + .width('100%') + .height(60) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0160.ets new file mode 100644 index 00000000..6b3297dd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0160.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 UICustomTextShortCutKeyReplacement0160 { + @State msg: string = 'HH测试223% U测72试#'; + @State start: number = 0 + @State end: number = 3 + build() { + Column() { + Text(this.msg) + .width('100%') + .height(60) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=1) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0170.ets new file mode 100644 index 00000000..02ff1187 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0170.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 UICustomTextShortCutKeyReplacement0170 { + @State msg: string = 'HH测试223% U测72试# 1/2 @&*ئاھ چوڭ \uD83D\uDE00'; + @State start: number = 0 + @State end: number = 3 + build() { + Column() { + Text(this.msg) + .width('100%') + .height(60) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=1) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0180.ets new file mode 100644 index 00000000..1d4b70bc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0180.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 UICustomTextShortCutKeyReplacement0180 { + @State msg: string = '测试数据12ZXC'; + @State start: number = 0 + @State end: number = 3 + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试XXX2!'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(1) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=-1) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0190.ets new file mode 100644 index 00000000..32498311 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0190.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 UICustomTextShortCutKeyReplacement0190 { + @State msg: string = '测试数据12ZXC'; + @State start: number = 0 + @State end: number = 3 + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(1) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0200.ets new file mode 100644 index 00000000..d663a25d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0200.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 UICustomTextShortCutKeyReplacement0200 { + @State msg: string = '测试数据12ZXC'; + @State start: number = 0 + @State end: number = 3 + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(1) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0210.ets new file mode 100644 index 00000000..5545ddb2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0210.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 UICustomTextShortCutKeyReplacement0210 { + @State msg: string = '测试数据12ZXC'; + @State start: number = 0 + @State end: number = 3 + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(1) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0220.ets new file mode 100644 index 00000000..6713c6bd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0220.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 UICustomTextShortCutKeyReplacement0220 { + @State msg: string = '测试数据12ZXC'; + @State start: number = 0 + @State end: number = 3 + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(1) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0230.ets new file mode 100644 index 00000000..0ddf46fe --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0230.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 UICustomTextShortCutKeyReplacement0230 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0 + @State end: number = 3 + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0240.ets new file mode 100644 index 00000000..6faa6563 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0240.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 UICustomTextShortCutKeyReplacement0240 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0 + @State end: number = 3 + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0250.ets new file mode 100644 index 00000000..72d300fe --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0250.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 UICustomTextShortCutKeyReplacement0250 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 10; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0260.ets new file mode 100644 index 00000000..2ae850c6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0260.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 UICustomTextShortCutKeyReplacement0260 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 10; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0270.ets new file mode 100644 index 00000000..8f6eaac8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0270.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 UICustomTextShortCutKeyReplacement0270 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 3; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0280.ets new file mode 100644 index 00000000..319067ee --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0280.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 UICustomTextShortCutKeyReplacement0280 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 3; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0300.ets new file mode 100644 index 00000000..2b8a66b1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0300.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 UICustomTextShortCutKeyReplacement0300 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 3; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0310.ets new file mode 100644 index 00000000..ae4ce884 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0310.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 UICustomTextShortCutKeyReplacement0310 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 3; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0320.ets new file mode 100644 index 00000000..d998c5ff --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0320.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 UICustomTextShortCutKeyReplacement0320 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 3; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0330.ets new file mode 100644 index 00000000..5bbc5d85 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0330.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 UICustomTextShortCutKeyReplacement0330 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 3; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0340.ets new file mode 100644 index 00000000..eaf5dd10 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0340.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 UICustomTextShortCutKeyReplacement0340 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 3; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0350.ets new file mode 100644 index 00000000..851d4d63 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0350.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 UICustomTextShortCutKeyReplacement0350 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 3; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0360.ets new file mode 100644 index 00000000..0c71867c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0360.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 UICustomTextShortCutKeyReplacement0360 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 3; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0370.ets new file mode 100644 index 00000000..bfd428d2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0370.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 UICustomTextShortCutKeyReplacement0370 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 3; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0380.ets new file mode 100644 index 00000000..e147dbce --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0380.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 UICustomTextShortCutKeyReplacement0380 { + @State msg: string = '测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0; + @State end: number = 3; + build() { + Column() { + Button('changeText') + .id('changeText') + .onClick(() => { + this.msg = '测试数据1234 数据99987@测试'; + }) + Text(this.end+'') + Text(this.msg) + .width('100%') + .height(60) + .maxLines(3) + .selection(this.start,this.end) + .copyOption(CopyOptions.InApp) + .id('text') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end!=0) + this.end-- + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0400.ets new file mode 100644 index 00000000..81748f78 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0400.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 UICustomTextShortCutKeyReplacement0400 { + @State msg: string = ' 1测试数据12ZXC、! 2测试KW23!数据'; + @State maxLines: number | undefined = undefined + txt: string = '测试数据1234 数据99987@测试' + @State start: number = 3 + @State end: number = 7 + isRlt: boolean = false; + isReverse: boolean = false; + + build() { + Column({ space: 10 }) { + Row({ space: 10 }) { + Button('切换文字') + .id('TextShortCutKey_btn1') + .onClick(() => { + this.msg = + '测试数据1234 数据99987@测试' + '\n测试数据1234 数据99987@测试' + '\n测试数据1234 数据99987@测试' + + '\n测试数据1234 数据99987@测试' + '\n测试数据1234 数据99987@测试'; + }) + Button('设置单行') + .id('TextShortCutKey_btn3') + .onClick(() => { + this.maxLines = 1 + }) + }.margin({ bottom: 50 }) + + Text(this.msg) + .width(300) + .height(100) + .fontSize(16) + .enabled(true) + .draggable(true) + .maxLines(this.maxLines) + .copyOption(CopyOptions.InApp) + .selection(this.start, this.end) + .id('TextShortCutKey_1') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end != 0) { + this.end-- + } + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + if (this.isReverse) { + if (this.end+3 <= this.txt.length + 1) { + this.end +=3 + }else { + this.end = this.txt.length + 1 + } + } else { + if (this.end = this.start) { + this.start = this.end + this.isReverse = true; + } else { + if (this.start != 0) { + this.start++ + } + } + } + }) + + + TextInput({ text: 'get:' }) + .height('50') + .margin(20) + .draggable(true) + .fontSize(16) + .copyOption(CopyOptions.InApp) + .id('TextShortCutKey_2') + .onDragEnter(() => { + console.log('onDragEnter'); + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0410.ets new file mode 100644 index 00000000..fab933e2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0410.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. + */ + +@Entry +@Component +struct UICustomTextShortCutKeyReplacement0410 { + @State msg: string = ' 1测试数据12ZXC、! 2测试KW23!数据'; + @State maxLines: number | undefined = undefined + txt: string = '测试数据1234 数据99987@测试' + @State start: number = 0 + @State end: number = this.txt.length + isRlt:boolean = false; + isReverse:boolean = false; + + build() { + Column({ space: 10 }) { + Row({ space: 10 }) { + Button('切换文字') + .id('TextShortCutKey_btn1') + .onClick(() => { + this.msg = + '测试数据1234 数据99987@测试' + '\n测试数据1234 数据99987@测试' + '\n测试数据1234 数据99987@测试' + + '\n测试数据1234 数据99987@测试' + '\n测试数据1234 数据99987@测试'; + }) + Button('设置单行') + .id('TextShortCutKey_btn3') + .onClick(() => { + this.maxLines = 1 + }) + }.margin({ bottom: 50 }) + + Text(this.msg) + .width(300) + .height(100) + .fontSize(16) + .enabled(true) + .draggable(true) + .maxLines(this.maxLines) + .copyOption(CopyOptions.InApp) + .selection(this.start, this.end) + .id('TextShortCutKey_1') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end != 0) { + this.end-- + } + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end+=this.txt.length+1 + }) + + + TextInput({ text: 'get:' }) + .height('50') + .margin(20) + .draggable(true) + .fontSize(16) + .copyOption(CopyOptions.InApp) + .id('TextShortCutKey_2') + .onDragEnter(() => { + console.log('onDragEnter'); + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0420.ets new file mode 100644 index 00000000..df44d71f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0420.ets @@ -0,0 +1,85 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UICustomTextShortCutKeyReplacement0420 { + @State msg: string = ' 1测试数据12ZXC、! 2测试KW23!数据'; + @State maxLines: number | undefined = undefined + txt: string = '测试数据1234 数据99987@测试' + @State start: number = 5 + @State end: number = 10 + isRlt:boolean = false; + isReverse:boolean = false; + + build() { + Column({ space: 10 }) { + Row({ space: 10 }) { + Button('切换文字') + .id('TextShortCutKey_btn1') + .onClick(() => { + this.msg = + '测试数据1234 数据99987@测试' + '\n测试数据1234 数据99987@测试' + '\n测试数据1234 数据99987@测试' + + '\n测试数据1234 数据99987@测试' + '\n测试数据1234 数据99987@测试'; + }) + Button('设置单行') + .id('TextShortCutKey_btn3') + .onClick(() => { + this.maxLines = 1 + }) + }.margin({ bottom: 50 }) + + Text(this.msg) + .width(300) + .height(100) + .fontSize(16) + .enabled(true) + .draggable(true) + .maxLines(this.maxLines) + .copyOption(CopyOptions.InApp) + .selection(this.start, this.end) + .id('TextShortCutKey_1') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end != 0) { + this.end-- + } + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + if (this.isReverse) { + this.end += this.txt.length; + } else { + if (this.end = this.start) { + } else { + if (this.start != 0) { + this.start++ + } + } + } + }) + + + TextInput({ text: 'get:' }) + .height('50') + .margin(20) + .draggable(true) + .fontSize(16) + .copyOption(CopyOptions.InApp) + .id('TextShortCutKey_2') + .onDragEnter(() => { + console.log('onDragEnter'); + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0430.ets new file mode 100644 index 00000000..d0e438ba --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0430.ets @@ -0,0 +1,93 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UICustomTextShortCutKeyReplacement0430 { + @State msg: string = ' 1测试数据12ZXC、! 2测试KW23!数据'; + @State maxLines: number | undefined = undefined + txt: string = '测试数据1234 数据99987@测试' + @State start: number = 5 + @State end: number = 10 + isRlt: boolean = true; + isReverse: boolean = false; + + build() { + Column({ space: 10 }) { + Row({ space: 10 }) { + Button('切换文字') + .id('TextShortCutKey_btn1') + .onClick(() => { + this.msg = + '测试数据1234 数据99987@测试' + '\n测试数据1234 数据99987@测试' + '\n测试数据1234 数据99987@测试' + + '\n测试数据1234 数据99987@测试' + '\n测试数据1234 数据99987@测试'; + }) + Button('设置单行') + .id('TextShortCutKey_btn3') + .onClick(() => { + this.maxLines = 1 + }) + }.margin({ bottom: 50 }) + + Text(this.msg) + .width(300) + .height(100) + .fontSize(16) + .enabled(true) + .draggable(true) + .maxLines(this.maxLines) + .copyOption(CopyOptions.InApp) + .selection(this.start, this.end) + .id('TextShortCutKey_1') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end != 0) { + this.end-- + } + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + if (this.isRlt) { + if (this.isReverse) { + if (this.start == 0) { + this.end = this.msg.length + } else { + this.start--; + } + } else { + if (this.end = this.start) { + this.end = this.start + this.isReverse = true; + } else { + if (this.end != 0) { + this.end-- + } + } + } + } + }) + + + TextInput({ text: 'get:' }) + .height('50') + .margin(20) + .draggable(true) + .fontSize(16) + .copyOption(CopyOptions.InApp) + .id('TextShortCutKey_2') + .onDragEnter(() => { + console.log('onDragEnter'); + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0440.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0440.ets new file mode 100644 index 00000000..cab8b173 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0440.ets @@ -0,0 +1,81 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UICustomTextShortCutKeyReplacement0440 { + @State msg: string = ' 1测试数据12ZXC、! 2测试KW23!数据'; + @State maxLines: number | undefined = undefined + txt: string = '测试数据1234 数据99987@测试' + @State start: number = 3 + @State end: number = 6 + + build() { + Column({ space: 10 }) { + + Row({ space: 10 }) { + Button('切换文字') + .id('TextShortCutKey_btn1') + .onClick(() => { + this.msg = + '测试数据1234 数据99987@测试' + '\n测试数据1234 数据99987@测试' + '\n测试数据1234 数据99987@测试' + + '\n测试数据1234 数据99987@测试' + '\n测试数据1234 数据99987@测试'; + }) + Button('设置单行') + .id('TextShortCutKey_btn3') + .onClick(() => { + this.maxLines = 1 + }) + }.margin({ bottom: 50 }) + + Text(this.msg) + .width(300) + .height(100) + .fontSize(16) + .enabled(true) + .draggable(true) + .maxLines(this.maxLines) + .copyOption(CopyOptions.InApp) + .selection(this.start, this.end) + .id('TextShortCutKey_1') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end != 0) { + this.end-- + } + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + .keyboardShortcut(FunctionKey.DPAD_DOWN, [ModifierKey.SHIFT], () => { + this.end += this.txt.length + }) + .keyboardShortcut(FunctionKey.DPAD_UP, [ModifierKey.SHIFT], () => { + this.start -= this.txt.length + }) + + + TextInput({ text: 'get:' }) + .height('50') + .margin(20) + .draggable(true) + .fontSize(16) + .copyOption(CopyOptions.InApp) + .id('TextShortCutKey_2') + .onDragEnter(() => { + console.log('onDragEnter'); + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0460.ets new file mode 100644 index 00000000..33be65e4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0460.ets @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UICustomTextShortCutKeyReplacement0460 { + @State msg: string = ' 1测试数据12ZXC、! 2测试KW23!数据'; + @State maxLines: number | undefined = undefined + txt: string = '测试数据1234 数据99987@测试' + @State start: number = this.txt.length*3+5 + @State end: number = this.txt.length*3+10 + + build() { + Column({ space: 10 }) { + + Row({ space: 10 }) { + Button('切换文字') + .id('TextShortCutKey_btn1') + .onClick(() => { + this.msg = + '测试数据1234 数据99987@测试' + '\n测试数据1234 数据99987@测试' + '\n测试数据1234 数据99987@测试' + + '\n测试数据1234 数据99987@测试' + '\n测试数据1234 数据99987@测试'; + }) + Button('设置多行') + .id('TextShortCutKey_btn2') + .onClick(() => { + this.msg = '设置多行设置多行设置多行设置多行'; + }) + Button('设置单行') + .id('TextShortCutKey_btn3') + .onClick(() => { + this.msg = ' 设置单行'; + this.maxLines = 1 + }) + }.margin({ bottom: 50 }) + + Text(this.msg) + .width(300) + .height(100) + .fontSize(16) + .enabled(true) + .draggable(true) + .maxLines(this.maxLines) + .copyOption(CopyOptions.InApp) + .selection(this.start, this.end) + .id('TextShortCutKey_1') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end != 0) { + this.end-- + } + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + .keyboardShortcut(FunctionKey.DPAD_DOWN, [ModifierKey.SHIFT], () => { + this.end += this.txt.length + }) + .keyboardShortcut(FunctionKey.DPAD_UP, [ModifierKey.SHIFT], () => { + this.start -= this.txt.length + }) + + + TextInput({ text: 'get:' }) + .height('50') + .margin(20) + .draggable(true) + .fontSize(16) + .copyOption(CopyOptions.InApp) + .id('TextShortCutKey_2') + .onDragEnter(() => { + console.log('onDragEnter'); + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0490.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0490.ets new file mode 100644 index 00000000..9632102b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0490.ets @@ -0,0 +1,84 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UICustomTextShortCutKeyReplacement0490 { + @State msg: string = ' 1测试数据12ZXC、! 2测试KW23!数据'; + @State start: number = 0 + @State end: number = 0 + @State maxLines: number | undefined = undefined + txt: string = '测试数据1234 数据99987@测试' + + build() { + Column({ space: 10 }) { + + Row({ space: 10 }) { + Button('切换文字') + .id('TextShortCutKey_btn1') + .onClick(() => { + this.msg = + '测试数据1234 数据99987@测试' + '\n测试数据1234 数据99987@测试' + '\n测试数据1234 数据99987@测试' + + '\n测试数据1234 数据99987@测试' + '\n测试数据1234 数据99987@测试'; + }) + Button('设置多行') + .id('TextShortCutKey_btn2') + .onClick(() => { + this.msg = '设置多行设置多行设置多行设置多行'; + }) + Button('设置单行') + .id('TextShortCutKey_btn3') + .onClick(() => { + this.msg = ' 设置单行'; + this.maxLines = 1 + }) + }.margin({ bottom: 50 }) + + Text(this.msg) + .width(300) + .height(100) + .fontSize(16) + .enabled(true) + .draggable(true) + .maxLines(this.maxLines) + .copyOption(CopyOptions.InApp) + .selection(this.start, this.end) + .id('TextShortCutKey_1') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end != 0) { + this.end-- + } + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + .keyboardShortcut(FunctionKey.DPAD_DOWN, [ModifierKey.SHIFT], () => { + this.end += this.txt.length + }) + + + TextInput({ text: 'get:' }) + .height('50') + .margin(20) + .draggable(true) + .fontSize(16) + .copyOption(CopyOptions.InApp) + .id('TextShortCutKey_2') + .onDragEnter(() => { + console.log('onDragEnter'); + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0500.ets new file mode 100644 index 00000000..626ef094 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0500.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 UICustomTextShortCutKeyReplacement0500 { + @State msg: string = 'Text测试:添加子组件,span、imagespan、symbolspan、containerspan,Shift +方向键查看索引内容'; + @State start: number = 0 + @State end: number = 3 + + build() { + Column() { + Text(this.msg) { + ContainerSpan() { + ImageSpan($r('app.media.app_icon')) + .width(60) + .height(60).obscured([ObscuredReasons.PLACEHOLDER]) + Span("测试12zx!").width('90%').obscured([ObscuredReasons.PLACEHOLDER]) + }.textBackgroundStyle({color: "#7F007DFF", radius: "12vp"}) + SymbolSpan($r('sys.symbol.ohos_wifi')) + .fontSize(96) + .effectStrategy(SymbolEffectStrategy.NONE) + } + .width('90%') + .height(100) + .enabled(true) + .draggable(true) + .copyOption(CopyOptions.InApp) + .selection(this.start, this.end) + .id('TextShortCutKey_1') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end != 0) { + this.end-- + } + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + + TextInput({ text: 'get:' }) + .width('90%') + .height('50') + .margin(20) + .draggable(true) + .fontSize(16) + .copyOption(CopyOptions.InApp) + .id('TextShortCutKey_2') + .onDragEnter(() => { + console.log('onDragEnter'); + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0510.ets new file mode 100644 index 00000000..6cfa9218 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0510.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. + */ + +@Entry +@Component +struct UICustomTextShortCutKeyReplacement0510 { + @State msg: string = 'Text:测试数据测试数据'; + @State start: number = 0 + @State end: number = 5 + @State textIndent: Length | undefined = undefined + @State txt: string = 'Text:测试数据测试数据'; + @State textOverflowOp: TextOverflowOptions | undefined = undefined + @State maxLines: number | undefined = undefined + controller: RichEditorController = new RichEditorController(); + options: RichEditorOptions = { controller: this.controller }; + + build() { + Column({ space: 10 }) { + Row({ space: 10 }) { + Button('TextOverflow.Ellipsis') + .id('TextShortCutKey_btn4') + .onClick(() => { + this.maxLines = 1; + this.textOverflowOp = { overflow: TextOverflow.Ellipsis } + this.msg += ' text:test TextOverflow.Ellipsis' + ' text:test TextOverflow.Ellipsis' + }) + }.margin({ bottom: 50 }) + + Text(this.msg) + .width(200) + .height(60) + .maxLines(this.maxLines) + .draggable(true) + .copyOption(CopyOptions.InApp) + .id('TextShortCutKey_1') + .borderWidth(5) + .textIndent(this.textIndent) + .textOverflow(this.textOverflowOp) + .selection(this.start, this.end) + .textSelectable(TextSelectableMode.SELECTABLE_FOCUSABLE) + .onTextSelectionChange((selectionStart: number, selectionEnd: number) => { + this.txt = 'Callback onTextSelectionChange:{' + selectionStart + ',' + selectionEnd + '}'; + }) + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end != 0) { + this.end-- + } + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + .keyboardShortcut(FunctionKey.DPAD_UP, [ModifierKey.SHIFT], () => { + this.end -= 10 + }) + .keyboardShortcut(FunctionKey.DPAD_DOWN, [ModifierKey.SHIFT], () => { + this.end += 30 + }) + + RichEditor(this.options) + .onReady(() => { + }) + .id('TextShortCutKey_4') + .width('90%') + .height(100) + .borderWidth(2) + Text(this.txt).width('80%') + .height(60).borderWidth(5).borderColor(Color.Orange) + } + .width('95%') + .height('90%') + .borderWidth(2) + .borderColor(Color.Brown) + .alignItems(HorizontalAlign.Center) + .margin(10) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0610.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0610.ets new file mode 100644 index 00000000..c85e9fb0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0610.ets @@ -0,0 +1,120 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UICustomTextShortCutKeyReplacement0610 { + @State msg: string = 'Text:测试数据测试数据'; + @State start: number = 0 + @State end: number = 5 + @State textIndent: Length | undefined = undefined + @State txt: string = 'Text:测试数据测试数据'; + @State textOverflowOp: TextOverflowOptions | undefined = undefined + @State maxLines: number | undefined = undefined + + build() { + Column({ space: 10 }) { + + Row({ space: 10 }) { + Button('change Selection') + .id('TextShortCutKey_btn1') + .onClick(() => { + this.start = 2; + this.end = 10; + }) + Button('设置textIndent') + .id('TextShortCutKey_btn2') + .onClick(() => { + this.msg += '\ntext:test textIndent' + '\ntext:test textIndent'; + this.textIndent = 5 + }) + Button('设置maxLines') + .id('TextShortCutKey_btn3') + .onClick(() => { + this.msg = ' text:test maxLines' + ' text:test maxLines' + ' text:test maxLines'; + this.maxLines = 2 + }) + }.margin({ bottom: 50 }) + + Row({ space: 10 }) { + Button('TextOverflow.Ellipsis') + .id('TextShortCutKey_btn4') + .onClick(() => { + this.maxLines = 1; + this.textOverflowOp = { overflow: TextOverflow.Ellipsis } + this.msg += ' text:test TextOverflow.Ellipsis' + ' text:test TextOverflow.Ellipsis' + }) + }.margin({ bottom: 50 }) + + Text(this.msg) + .width(200) + .height(60) + .maxLines(this.maxLines) + .draggable(true) + .copyOption(CopyOptions.InApp) + .id('TextShortCutKey_1') + .borderWidth(5) + .textIndent(this.textIndent) + .textOverflow(this.textOverflowOp) + .selection(this.start, this.end) + .textSelectable(TextSelectableMode.SELECTABLE_FOCUSABLE) + .onTextSelectionChange((selectionStart: number, selectionEnd: number) => { + this.txt = 'Callback onTextSelectionChange:{' + selectionStart + ',' + selectionEnd + '}'; + }) + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end != 0) { + this.end-- + } + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + .keyboardShortcut(FunctionKey.DPAD_UP, [ModifierKey.SHIFT], () => { + this.end -= 10 + }) + .keyboardShortcut(FunctionKey.DPAD_DOWN, [ModifierKey.SHIFT], () => { + this.end += 30 + }) + + TextInput({ text: 'get:' }) + .width('100%') + .height('50') + .margin(20) + .draggable(true) + .fontSize(16) + .copyOption(CopyOptions.InApp) + .id('TextShortCutKey_2') + .onDragEnter(() => { + console.log('onDragEnter'); + }) + TextInput({ text: 'copy结果:' }) + .width('100%') + .height('50') + .margin(20) + .fontSize(16) + .copyOption(CopyOptions.InApp) + .id('TextShortCutKey_3') + + Text(this.txt).width('80%') + .height(60).borderWidth(5).borderColor(Color.Orange) + } + .width('95%') + .height('90%') + .borderWidth(2) + .borderColor(Color.Brown) + .alignItems(HorizontalAlign.Center) + .margin(10) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0620.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0620.ets new file mode 100644 index 00000000..70761e68 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0620.ets @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UICustomTextShortCutKeyReplacement0620 { + @State msg: string = 'Text:测试数据测试数据'; + @State start: number = 0 + @State end: number = 5 + @State visibilityVal: Visibility | undefined = undefined + @State txt: string = 'Text:测试数据测试数据'; + + build() { + Column({ space: 10 }) { + + Row({ space: 10 }) { + Button('Visibility.Visible') + .id('TextShortCutKey_btn8') + .onClick(() => { + this.msg = 'text:test Visibility.Visible'; + this.visibilityVal = Visibility.Visible; + this.txt = '当前Visibility.Visible' + }) + Button('Visibility.None') + .id('TextShortCutKey_btn9') + .onClick(() => { + this.msg = 'text:test Visibility.None'; + this.visibilityVal = Visibility.None; + this.txt = '当前Visibility.None,原本的Text不见啦' + }) + Button('Visibility.Hidden') + .id('TextShortCutKey_btn1') + .onClick(() => { + this.msg = 'text:test Visibility.Hidden'; + this.visibilityVal = Visibility.Hidden; + this.txt = '当前Visibility.Hidden,原本的Text不见啦' + }) + }.margin({ bottom: 50 }) + + Column() { + Text(this.msg) + .width(200) + .height(60) + .maxLines(1) + .draggable(true) + .copyOption(CopyOptions.InApp) + .id('TextShortCutKey_1') + .visibility(this.visibilityVal) + .borderWidth(5) + .selection(this.start, this.end) + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end != 0) { + this.end-- + } + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + Text(this.txt).width('100%') + .height(60).borderWidth(5).borderColor(Color.Orange) + }.width(200) + .height(60) + } + .width('95%') + .height('90%') + .borderWidth(2) + .borderColor(Color.Brown) + .alignItems(HorizontalAlign.Center) + .margin(10) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0660.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0660.ets new file mode 100644 index 00000000..2ed4b461 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0660.ets @@ -0,0 +1,138 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UICustomTextShortCutKeyReplacement0660 { + @State msg: string = 'Text:测试数据测试数据'; + @State start: number = 0 + @State end: number = 5 + @State directionVal: Direction | undefined = undefined + @State clipVal: boolean | undefined = undefined + @State enableVal: boolean | undefined = undefined + @State visibilityVal: Visibility | undefined = undefined + controller: RichEditorController = new RichEditorController(); + options: RichEditorOptions = { controller: this.controller }; + + build() { + Column({ space: 10 }) { + Row({ space: 10 }) { + Button('Direction.Ltr') + .id('TextShortCutKey_btn1') + .onClick(() => { + this.msg = 'text:test Direction.Ltr'; + this.directionVal = Direction.Ltr; + this.enableVal = true; + }) + Button('Direction.Rtl') + .id('TextShortCutKey_btn2') + .onClick(() => { + this.msg = 'text:test Direction.Rtl'; + this.directionVal = Direction.Rtl; + this.enableVal = true; + }) + Button('Direction.Auto') + .id('TextShortCutKey_btn3') + .onClick(() => { + this.msg = 'text:test Direction.Auto'; + this.directionVal = Direction.Auto; + this.enableVal = true; + }) + } + + Row({ space: 10 }) { + Button('clip=true') + .id('TextShortCutKey_btn4') + .onClick(() => { + this.msg = + 'text:testclip=truetruetruetruetruetruetruetruetruetruetruetruetruetruetruetruetruetruetruetruetrue'; + this.clipVal = true; + this.enableVal = true; + }) + Button('clip=false') + .id('TextShortCutKey_btn5') + .onClick(() => { + this.msg = + 'text:testclip=falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefal'; + this.clipVal = false; + this.enableVal = true; + }) + } + + Row({ space: 10 }) { + Button('enableVal=true') + .id('TextShortCutKey_btn6') + .onClick(() => { + this.msg = 'text:test enableVal=true'; + this.enableVal = true; + }) + Button('enableVal=false') + .id('TextShortCutKey_btn7') + .onClick(() => { + this.msg = 'text:test enableVal=false'; + this.enableVal = false; + }) + }.margin({ bottom: 50 }) + + Text(this.msg) + .width('60%') + .height(60) + .maxLines(1) + .draggable(true) + .copyOption(CopyOptions.InApp) + .id('TextShortCutKey_1') + .direction(this.directionVal) + .clip(this.clipVal) + .wordBreak(WordBreak.NORMAL) + .enabled(this.enableVal) + .borderWidth(5) + .selection(this.start, this.end) + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end != 0) { + this.end-- + } + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + + RichEditor(this.options) + .onReady(() => { + }) + .id('TextShortCutKey_3') + .width('90%') + .height(100) + .borderWidth(2) + + TextInput({ text: 'get:' }) + .width('100%') + .height('50') + .margin(20) + .draggable(true) + .fontSize(16) + .copyOption(CopyOptions.InApp) + .id('TextShortCutKey_2') + .onDragEnter(() => { + console.log('onDragEnter'); + }) + } + .width('95%') + .height('90%') + .borderWidth(2) + .borderColor(Color.Brown) + .alignItems(HorizontalAlign.Center) + .margin(10) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0670.ets new file mode 100644 index 00000000..138443a6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0670.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. + */ + +@Entry +@Component +struct UICustomTextShortCutKeyReplacement0670 { + @State msg: string = 'Text测试:obscured'; + @State start: number = 0 + @State end: number = 3 + + build() { + Column() { + Text(this.msg) { + ImageSpan($r('app.media.app_icon')) + .width(60) + .height(60).obscured([ObscuredReasons.PLACEHOLDER]) + Span("HelloWorld").width('90%').obscured([ObscuredReasons.PLACEHOLDER]) + } + .width('90%') + .height(100) + .enabled(true) + .draggable(true) + .copyOption(CopyOptions.InApp) + .selection(this.start, this.end) + .id('TextShortCutKey_1') + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end != 0) { + this.end-- + } + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + + TextInput({ text: 'get:' }) + .width('90%') + .height('50') + .margin(20) + .draggable(true) + .fontSize(16) + .copyOption(CopyOptions.InApp) + .id('TextShortCutKey_2') + .onDragEnter(() => { + console.log('onDragEnter'); + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0710.ets new file mode 100644 index 00000000..3f33cc69 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0710.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 UICustomTextShortCutKeyReplacement0710 { + @State msg: string = 'Text:测试数据测试数据'; + @State start: number = 0 + @State end: number = 5 + + build() { + Column() { + Column() { + Text(this.msg) + .margin(20) + .fontSize(16) + .enabled(true) + .draggable(true) + .copyOption(CopyOptions.InApp) + .id('TextShortCutKey_1') + .selection(this.start, this.end) + .textSelectable(TextSelectableMode.SELECTABLE_FOCUSABLE) + .keyboardShortcut(FunctionKey.DPAD_LEFT, [ModifierKey.SHIFT], () => { + if (this.end != 0) { + this.end-- + } + }) + .keyboardShortcut(FunctionKey.DPAD_RIGHT, [ModifierKey.SHIFT], () => { + this.end++ + }) + + TextInput({ text: 'get:' }) + .width('100%') + .height('50') + .margin(20) + .draggable(true) + .fontSize(16) + .copyOption(CopyOptions.InApp) + .id('TextShortCutKey_2') + .onDragEnter(() => { + console.log('onDragEnter'); + }) + } + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0720.ets new file mode 100644 index 00000000..87292626 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0720.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 UICustomTextShortCutKeyReplacement0720 { + @State msg: string = 'Text:测试数据测试数据'; + @State start: number = 0 + @State end: number = 5 + + build() { + Column() { + Column() { + Text(this.msg) + .margin(20) + .fontSize(16) + .enabled(true) + .draggable(true) + .copyOption(CopyOptions.InApp) + .id('TextShortCutKey_1') + .textSelectable(TextSelectableMode.SELECTABLE_FOCUSABLE) + } + } + } +} 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..ea68b279 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 @@ -48,8 +48,7 @@ export default class OpenHarmonyTestRunner implements TestRunner { abilityDelegator.addAbilityMonitor(lMonitor, addAbilityMonitorCallback) var cmd = 'aa start -d 0 -a TestAbility' + ' -b ' + abilityDelegatorArguments.bundleName var debug = abilityDelegatorArguments.parameters['-D'] - if (debug == 'true') - { + if (debug == 'true') { cmd += ' -D' } hilog.info(0x0000, 'testTag', 'cmd : %{public}s', cmd); 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..0ca82d22 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/module.json5 +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/module.json5 @@ -1,54 +1,53 @@ { - "module": { - "name": "entry_test", - "type": "feature", - "description": "$string:module_test_desc", - "mainElement": "TestAbility", - "deviceTypes": [ - "default", - "tablet" - ], - "deliveryWithInstall": true, - "installationFree": false, - "pages": "$profile:test_pages", - "requestPermissions": [ + module: { + name: "entry_test", + type: "feature", + description: "$string:module_test_desc", + mainElement: "TestAbility", + deviceTypes: ["default", "tablet"], + deliveryWithInstall: true, + installationFree: false, + pages: "$profile:test_pages", + requestPermissions: [ + { + name: "ohos.permission.GRANT_SENSITIVE_PERMISSIONS", + }, + { + name: "ohos.permission.WRITE_MEDIA", + }, { - "name": "ohos.permission.WRITE_MEDIA" + name: "ohos.permission.READ_MEDIA", }, { - "name": "ohos.permission.READ_MEDIA" + name: "ohos.permission.UPDATE_CONFIGURATION", }, { - "name":"ohos.permission.UPDATE_CONFIGURATION" + name: "ohos.permission.RUNNING_LOCK", }, { - "name":"ohos.permission.RUNNING_LOCK" + name: "ohos.permission.INTERNET", }, { - "name":"ohos.permission.INTERNET" - } + name: "ohos.permission.CAPTURE_SCREEN", + }, ], - "abilities": [ - { - "name": "TestAbility", - "srcEntry": "./ets/testability/TestAbility.ets", - "description": "$string:TestAbility_desc", - "icon": "$media:icon", - "label": "$string:TestAbility_label", - "exported": true, - "startWindowIcon": "$media:icon", - "startWindowBackground": "$color:start_window_background", - "skills": [ + abilities: [ + { + name: "TestAbility", + srcEntry: "./ets/testability/TestAbility.ets", + description: "$string:TestAbility_desc", + icon: "$media:icon", + label: "$string:TestAbility_label", + exported: true, + startWindowIcon: "$media:icon", + startWindowBackground: "$color:start_window_background", + skills: [ { - "actions": [ - "action.system.home" - ], - "entities": [ - "entity.system.home" - ] - } - ] - } - ] - } + actions: ["action.system.home"], + entities: ["entity.system.home"], + }, + ], + }, + ], + }, } 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..3548142b 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 }, diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/string.json b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/string.json index ce65c09b..fd4e900b 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/string.json +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/string.json @@ -243,6 +243,14 @@ { "name": "20string", "value": "20" + }, + { + "name": "10vp", + "value": "10vp" + }, + { + "name": "20vp", + "value": "20vp" } ] } \ No newline at end of file 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..30db71bb 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,1806 +1,3989 @@ { - "src": [ - "testability/pages/Index", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0001", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0002", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0003", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0004", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0005", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0006", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0007", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0008", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0009", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0010", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0011", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0012", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0013", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0014", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0015", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0016", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0017", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0018", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0019", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0020", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0021", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0022", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0023", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0024", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0025", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0026", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0027", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0028", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0029", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0030", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0031", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0032", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0033", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0034", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0035", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0036", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0037", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0038", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0039", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0040", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0041", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0042", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0043", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0044", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0045", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0046", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0047", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0048", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0049", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0050", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0051", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0052", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0053", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0054", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0055", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0056", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0057", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0058", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0059", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0001", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0002", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0003", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0004", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0005", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0006", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0007", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0008", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0009", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0010", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0011", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0012", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0013", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0014", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0015", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0016", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0017", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0018", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0019", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0020", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0021", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0022", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0001", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0002", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0003", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0004", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0005", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0006", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0007", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0008", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0009", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0010", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0011", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0012", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0013", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0014", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0015", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0016", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0017", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0018", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0019", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0020", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0021", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0022", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0023", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0025", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0026", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0028", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0001", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0002", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0003", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0004", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0005", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0006", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0007", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0008", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0009", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0010", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0011", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0012", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0013", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0014", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0015", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0016", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_157", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_157_029", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_429", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_429_005", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0018", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0019", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0020", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0021", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0022", - "testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0001", - "testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0002", - "testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0003", - "testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0004", - "testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0005", - "testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0006", - "testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0007", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0001", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0002", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0003", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0004", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0005", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0006", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0007", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0008", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0009", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0010", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0011", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0012", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0013", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0016", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0017", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0019", - "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0014", - "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0019", - "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0020", - "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0021", - "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0022", - "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0023", - "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0024", - "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0025", - "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0026", - "testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0001", - "testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0002", - "testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0003", - "testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0004", - "testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0012", - "testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0013", - "testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0015", - "testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0006", - "testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0007", - "testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0011", - "testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0012", - "testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0013", - "testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0014", - "testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0015", - "testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0016", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0010", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0020", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0030", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0040", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0050", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0060", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0070", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0080", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0090", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0100", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0110", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0120", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0130", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0140", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0150", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0160", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0170", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0180", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0190", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0200", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0210", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0220", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0230", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0240", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0250", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0260", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0270", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0340", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0350", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0360", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0410", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0420", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0430", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0440", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0450", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0460", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0470", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0480", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0490", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0500", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0510", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0520", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0530", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0540", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0550", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0560", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0570", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0580", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0590", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0600", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0610", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0620", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0630", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0640", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0650", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0660", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0670", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0680", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0690", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0700", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0710", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0720", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0730", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0740", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0750", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0760", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0770", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0780", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0790", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0800", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0810", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0820", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0830", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0840", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0850", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0860", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0870", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0880", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0890", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0900", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0910", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0920", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0930", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0940", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0950", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0960", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0970", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0980", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0990", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1000", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1010", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1020", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1030", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1040", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1050", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1060", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1070", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1080", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1090", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1100", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1110", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1120", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1130", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1140", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1150", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1160", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1170", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1180", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1190", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1200", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1210", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1220", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1230", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1240", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1250", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1260", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1270", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1280", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1290", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1300", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1310", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1320", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1330", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1340", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1350", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1360", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1380", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1400", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0010", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0020", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0030", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0040", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0050", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0060", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0070", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0080", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0090", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0100", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0110", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0120", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0130", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0140", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0150", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0160", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0170", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0180", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0190", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0200", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0210", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0220", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0230", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0240", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0260", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0270", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0280", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0290", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0300", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0310", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0320", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0330", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0340", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0350", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0360", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0370", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0380", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0001", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0002", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0003", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0004", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0005", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0006", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0007", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0008", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0009", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0010", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0011", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0012", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0013", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0014", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0015", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0016", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0017", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0018", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0019", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0020", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0021", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0022", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0023", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0024", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0025", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0026", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0027", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0028", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0029", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0030", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0031", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0032", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0033", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0034", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0035", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0036", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0037", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0038", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0039", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0040", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0041", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0042", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0043", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0044", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0045", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0046", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0047", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0048", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0049", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0050", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0051", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0052", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0053", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0054", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0055", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0056", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0057", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0058", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0059", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0060", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0061", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0062", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0063", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0064", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0065", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0066", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0067", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0068", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0069", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0070", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0071", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0072", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0073", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0074", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0075", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0076", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0077", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0078", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0079", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0079_932", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0080", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0081", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0082", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0083", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0084", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0085", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0086", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0087", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0088", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0089", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0090", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0091", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0092", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0093", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0094", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0095", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0097", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0098", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0099", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00100", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00101", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00102", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103_040", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103_040_934", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00104", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00105", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0310", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt001", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt002", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt003", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt004", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0050", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt007", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0080", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt010", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt011", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt012", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt013", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt014", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0150", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0180", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0210", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0240", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt027", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt028", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt030", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt032", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt033", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt034", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt035", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0160", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0190", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0220", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0250", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0170", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0200", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0230", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0260", - "testability/pages/ArkUITabScrollable/ArkUITabScrollable001", - "testability/pages/ArkUITabScrollable/ArkUITabScrollable002", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont005", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont007", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont008", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont009", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont010", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont011", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont015", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont016", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont020", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont001", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont003", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont004", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont006", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont012", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont013", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont017", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont018", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont019", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor001", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor003", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor005", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor007", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor009", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor011", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor013", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor017", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor019", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor027", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor029", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor012", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor015", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor021", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor023", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor024", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor025", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor026", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor028", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor001", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor005", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor008", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor011", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor012", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor017", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor021", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor022", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor025", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor026", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor027", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor028", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor024", - "testability/pages/ArkUITabsVertical/ArkUITabsVertical001", - "testability/pages/FunctionJichuWaterFlow/FunctionJichuWaterFlow001806", - "testability/pages/FunctionJichuWaterFlow/FunctionJichuWaterFlow0350", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0080458", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0090321", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0100678", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0110972", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0120725", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0130072", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0140666", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0150827", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0160890", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0170444", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0270011", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0280056", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0290223", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0300414", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0310330", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0320534", - "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0370", - "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0380", - "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0390", - "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0400", - "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0410", - "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0420", - "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0500", - "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0510", - "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0520", - "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0530", - "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0540", - "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0560", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier0370", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier0380", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier0400", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier041", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier043", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier044", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier045", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier046", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier048", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier053", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier056", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier058", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier060", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier063", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier065", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier066", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier0770", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier0810", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier083", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier0840", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier0860", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier0900", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier0920", - "testability/pages/UIComponentNavTabsAction/UIComponentNavTabsAction0011", - "testability/pages/UIComponentNavTabsAction/UIComponentNavTabsAction0012", - "testability/pages/UIComponentNavTabsAction/UIComponentNavTabsAction0030", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0010", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0011", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0012", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0013", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0014", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0015", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0016", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0017", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0029", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0030", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0031", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0032", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0033", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0034", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0035", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0036", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0038", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0039", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0040", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0041", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0042", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0043", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0044", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0045", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0046", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0048", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0049", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0050", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0018", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0019", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0020", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0021", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0022", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0023", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0024", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0025", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0026", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0027", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0028", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0047", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0051", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0052", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0053", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0060", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0080", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0100", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0110", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0160", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0170", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0180", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0190", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0200", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0210", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0220", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0230", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0240", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0250", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0260", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0270", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0280", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0290", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0300", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0310", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0320", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0340", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0350", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0360", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0370", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0380", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0390", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0400", - "testability/pages/UIComponentNavTabsCachedCount/UIComponentNavTabsCachedCount014", - "testability/pages/UIComponentNavTabsCachedCount/UIComponentNavTabsCachedCount015", - "testability/pages/UIComponentNavTabsCachedCount/UIComponentNavTabsCachedCount016", - "testability/pages/UIComponentNavTabsHeight/UIComponentNavTabsHeight001", - "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0010", - "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0020", - "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0030", - "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0040", - "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0060", - "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0070", - "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0080", - "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0120", - "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0130", - "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0140", - "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0150", - "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0160", - "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0010", - "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0030", - "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0040", - "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0050", - "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0060", - "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0070", - "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0080", - "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0090", - "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0130", - "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0150", - "testability/pages/UIComponentNavTabsInterface/UIComponentNavTabsInterface012", - "testability/pages/UIComponentNavTabsInterface/UIComponentNavTabsInterface1190", - "testability/pages/UIComponentNavTabsInterface/UIComponentNavTabsInterface1220", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0030", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0070", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0090", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror010", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0110", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0120", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0130", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0140", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0150", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0160", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0250", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0260", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror080", - "testability/pages/UIComponentNavTabsOnWillShow/UIComponentNavTabsOnWillShow0190", - "testability/pages/UIComponentNavTabsSubTabbarStyle/UIComponentNavTabsSubTabbarStyle0010", - "testability/pages/UIComponentNavTabsWidth/UIComponentNavTabsWidth001", - "testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0040", - "testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0050", - "testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0070", - "testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0080", - "testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0090", - "testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0100", - "testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0380", - "testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0390", - "testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0400", - "testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0410", - "testability/pages/UIComponentOtherRefreshInterface/UIComponentOtherRefreshInterface0140", - "testability/pages/UIComponentOtherRefreshInterface/UIComponentOtherRefreshInterface0170", - "testability/pages/UIComponentOtherRefreshInterface/UIComponentOtherRefreshInterface0180", - "testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0040", - "testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0050", - "testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0060", - "testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0100", - "testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0110", - "testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0120", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0010", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0020", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0030", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0040", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0060", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0070", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0080", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0090", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0110", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0120", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0130", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0140", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0150", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0160", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0170", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0180", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0190", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0230", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0260", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabbarTabbarsymbol0050", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabbarTabbarsymbol0240", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabbarTabbarsymbol0250", - "testability/pages/UIComponentNavTabsEdgeeffect/UIComponentNavTabsEdgeeffect0230", - "testability/pages/UIComponentNavTabsEdgeeffect/UIComponentNavTabsEdgeeffect0270", - "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0090", - "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0010", - "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0120", - "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0050", - "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0080", - "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0070", - "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0060", - "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0040", - "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0030", - "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0020", - "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0100", - "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0110", - "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor001", - "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor004", - "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor008", - "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor013", - "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor014", - "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor022", - "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor024", - "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor025", - "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor026", - "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor027", - "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor028", - "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor029", - "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor002", - "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor005", - "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor014", - "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor016", - "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor021", - "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor022", - "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor024", - "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor026", - "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor027", - "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor028", - "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor029", - "testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor002", - "testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor005", - "testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor008", - "testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor011", - "testability/pages/ArkUITabsSingleUnselectedcolor/ArkUITabsSingleUnselectedcolor003", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0010", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0020", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0030", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0040", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0050", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0060", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0070", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0080", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0090", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0100", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0110", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0120", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0130", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0140", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0150", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0160", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0170", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0180", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0190", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0200", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0210", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0220", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0230", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0240", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0250", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0260", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0270", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0280", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0290", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0300", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0310", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0320", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0330", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0340", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0350", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0360", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0370", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0380", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0390", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0400", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0410", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0420", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0430", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0440", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0450", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0460", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0470", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0480", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0490", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0500", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0510", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0520", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0530", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0540", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0550", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0560", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0570", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0580", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0590", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0600", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0610", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0620", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0630", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0640", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0650", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0660", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0670", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0680", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0690", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0700", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0710", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0720", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0730", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0740", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0750", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0760", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0770", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0790", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0810", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0820", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0830", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0840", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0850", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0860", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0870", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0880", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0890", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0900", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0910", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0920", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0930", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0940", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0950", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0960", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0970", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0980", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0990", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1000", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1010", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1020", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1040", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1050", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1060", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1080", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1090", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1100", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1110", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1120", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1130", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1140", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1150", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1160", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1170", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1180", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1190", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1200", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1210", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1220", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1230", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1240", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1250", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1270", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1280", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1290", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1300", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1310", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1320", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1330", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1340", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1350", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1360", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1370", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1380", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1390", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1400", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1410", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1420", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1430", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1440", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1450", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1460", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1470", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1480", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1490", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1500", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1510", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1520", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1530", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1540", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1550", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1560", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1570", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1580", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1590", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1600", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1610", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1620", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1630", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1640", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1650", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1660", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1670", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1680", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1690", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1700", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1710", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1720", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1730", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1740", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1750", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1760", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1770", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1780", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1790", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1860", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1870", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1880", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1890", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1900", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1910", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1920", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1930", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1940", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1950", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1960", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1970", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1980", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1990", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2000", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2010", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2020", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2030", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2040", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2050", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1800", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1810", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1820", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1830", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1840", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1850", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2060", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2070", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2080", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2090", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2100", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2110", - "testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0520", - "testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0010", - "testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0020", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0040", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0820", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0830", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3160", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3300", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3310", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3330", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3340", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3350", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3380", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3430", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3450", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3460", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3500", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3510", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3390", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3520", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3530", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1010", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1030", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1040", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1050", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1180", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1190", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1210", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1220", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1230", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1260", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1270", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2910", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3030", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3040", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3050", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3060", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3070", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3120", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3130", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3140", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3550", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3560", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3570", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3600", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3610", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3700", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2180", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2190", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2200", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2210", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2230", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2330", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2340", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2350", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2460", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2560", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2570", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2720", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2790", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0890", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0960", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0980", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0990", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3780", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3790", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3810", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3820", - "testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0010", - "testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0030", - "testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0060", - "testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0070", - "testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0080", - "testability/pages/UIComponentScrollSwiperDisplaycount/UIComponentScrollSwiperDisplaycount0140", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0610", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0620", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0630", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0640", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0650", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0660", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0670", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0680", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0690", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0700", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0710", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0720", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0730", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0740", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0750", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0760", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0770", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0780", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0790", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0800", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0010", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0020", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0030", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0040", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1660", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1670", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1680", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1710", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1780", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1860", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1870", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1890", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1900", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1970", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2050", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2060", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2110", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2160", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2370", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent010", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent013", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent014", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent015", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent017", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent018", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent019", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent022", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent023", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent024", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent025", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent026", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent027", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent029", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent030", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent032", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent034", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent035", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent036", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent038", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent039", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent040", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent054", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent056", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent057", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent059", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent060", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent061", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent062", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent063", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent065", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent067", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent071", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent072", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent073", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent074", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent076", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent077", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent078", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent079", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent080", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent081", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent082", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent083", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent094", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent096", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent098", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent099", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent100", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent102", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent103", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent104", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent105", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent108", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent109", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent110", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent111", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent112", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent113", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent115", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent116", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent117", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent118", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent119", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent121", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent122", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent123", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent124", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent125", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent126", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent128", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent129", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent130", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent131", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent132", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent133", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent135", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent136", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent137", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent138", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent139", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent140", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent143", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent144", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent146", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent147", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent149", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent150", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent151", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent152", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent153", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent154", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent156", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent157", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent159", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent160", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent162", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent164", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent166", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent168", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent171", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent172", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent173", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent174", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent175", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent176", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent177", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent178", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent179", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent180", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent181", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent182", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent183", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent184", - "testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange001", - "testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange002", - "testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange003", - "testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange004", - "testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange005", - "testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange006", - "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow012", - "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow013", - "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow014", - "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow016", - "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow017", - "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow018", - "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow020", - "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow021", - "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow022", - "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow083", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor092", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor093", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor094", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor095", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor096", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor097", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor098", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor099", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor100", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor101", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor102", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor103", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor104", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor105", - "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle051", - "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle052", - "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle053", - "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle054", - "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle055", - "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle056", - "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle057", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic004", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic008", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic009", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic013", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic019", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic020", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic022", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic024", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic025", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic027", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic028", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic030", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic031", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications058", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications059", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications060", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications061", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications062", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications063", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications064", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications065", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications066", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications067", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications068", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications069", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications070", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications071", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications072", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications073", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications074", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications075", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications076", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications077", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications078", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications079", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications080", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications081", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications082", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications083", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications084", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications085", - "testability/pages/ComponentFunctionLAdvancedComponentsPopupInterface/ComponentFunctionLAdvancedComponentsPopupInterface01780", - "testability/pages/ComponentFunctionLAdvancedComponentsPopupInterface/ComponentFunctionLAdvancedComponentsPopupInterface0178", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing001", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing002", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing003", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing004", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing005", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing006", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing007", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing008", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing009", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing010", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing011", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing012", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing013", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing015", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing016", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing017", - "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark001", - "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark003", - "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark005", - "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark006", - "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark008", - "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark010", - "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark011", - "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark012", - "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark013", - "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark014", - "testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute004", - "testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute005", - "testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute006", - "testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute031", - "testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute032", - "testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute033", - "testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute034", - "testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute035", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent053", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent092", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent142", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent165", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent167", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent169", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0010", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0020", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0030", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0040", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0050", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0060", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0070", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0080", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0090", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0100", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0110", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0120", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0130", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0140", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0150", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0160", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0020", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0030", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0040", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0050", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0060", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0070", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0080", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0090", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0100", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0110", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0120", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0130", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0140", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0150", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0160", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0170", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0180", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0190", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0200", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0210", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0220", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0230", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0240", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0250", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0260", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0270", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0280", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0290", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0300", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0310", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0320", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0330", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0340", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0350", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0360", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0370", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0380", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0390", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0400", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0410", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0420", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0430", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0450", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0470", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0480", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0490", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0500", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0510", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0520", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0530", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0540", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0550", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0560", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0570", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0580", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0590", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0600", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0610", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0620", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0630", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0640", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0650", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0660", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0670", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0680", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0690", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0700", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0710", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0720", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0730", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0740", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0750", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0760", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0770", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0780", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0790", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0800", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0810", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0820", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0830", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0840", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0860", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0880", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0890", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0900", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0910", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0920", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0930", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0940", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0950", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0960", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0970", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0980", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0990", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize1000", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize1010", - "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0010", - "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0020", - "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0030", - "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0040", - "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0050", - "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0060", - "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0070", - "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0090", - "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0110", - "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0120", - "testability/pages/UITestCase/UITestCase001", - "testability/pages/UITestCase/UITestCase002", - "testability/pages/UITestCase/UITestCase003", - "testability/pages/UITestCase/UITestCase004", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K012", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K013", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K014", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K015", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K016", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K017", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K018", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K019", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K020", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K021", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K022", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K023", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K024", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K025", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K026", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K027", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K028", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K029", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K030", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K031", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K032", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K033", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K034", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K035", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K036", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K037", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K038", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K039", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K040", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K041", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K042", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K043", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K044", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K045", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K046", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K047", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K048", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K049", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K050", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K051", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K052", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K053", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K054", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K055", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K056", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K057", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K058", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K059", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K060", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K061", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K062", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0010", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0011", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0012", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0013", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0014", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0015", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0016", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0017", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0018", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0020", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0022", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0023", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0024", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0025", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0026", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0027", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0028", - "testability/pages/UiComponentButtonSelectInterface/UiComponentButtonSelectInterface0240", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0030", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0040", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0050", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0060", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0070", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0080", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0090", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0100", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0110", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0120", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0130", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0140", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0150", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0160", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0170", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0180", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0190", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0220", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0230", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0010", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0020", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0030", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0040", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0050", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0060", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0070", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0080", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0090", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0100", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0110", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0120", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0130", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0140", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0150", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0160", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0170", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0180", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0190", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0200", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0210", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0220", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0230", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0240", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0250", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0260", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0270", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0280", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0290", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0300", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0310", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0320", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0330", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0340", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0350", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0360", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0370", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0380", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0390", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0400", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0410", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0420", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0010", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0030", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0040", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0050", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0060", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0070", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0090", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0100", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0110", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0120", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0130", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0150", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0160", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0170", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0180", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0190", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0210", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0220", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0230", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0240", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0250", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0260", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0280", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0290", - "testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0070", - "testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0250", - "testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0310", - "testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0330", - "testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0050", - "testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210", - "testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test124", - "testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test125", - "testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test126", - "testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test127", - "testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0010", - "testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0020", - "testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0090", - "testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0110", - "testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0110Page", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0010", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0020", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0030", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0040", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0050", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0060", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0070", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0080", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0090", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0100", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0110", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0120", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0130", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0140", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0150", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0160", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0170", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0180", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0190", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0200", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0210", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0220", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0230", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0240", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0250", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0260", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0270", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0280", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0290", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0300", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0310", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0320", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0330", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0340", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0350", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0360", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0370", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0380", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0390", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0400", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0410", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0420", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0430", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0440", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0450", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0460", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0470", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0480", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0490", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0500", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0510", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0520", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0530", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0540", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0550", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0560", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0570", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0580", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0590", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0600", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0610", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0620", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0630", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0640", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0650", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0660", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0670", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0680", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0690", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0700", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0710", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0720", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0730", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0740", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0750", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0760", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0770", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0780", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0790", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0830", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0840", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0850", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0880", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0890", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0900", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0910", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0920", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0930", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0940", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0950", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0960", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1000", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1010", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1020", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1030", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1070", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1080", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1090", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1170", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1180", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1450", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1460", - "testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute006", - "testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute011", - "testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute050", - "testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute051", - "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence002", - "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence003", - "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence004", - "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence005", - "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence006", - "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence007", - "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence008", - "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence009", - "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence014", - "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence015", - "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton033", - "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton034", - "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton035", - "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton036", - "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton037", - "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton038", - "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton039", - "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton040", - "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton041", - "testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup001", - "testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup002", - "testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup003", - "testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup004", - "testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup005", - "testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup006", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1470", - "testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface001", - "testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface002", - "testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface003", - "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface001", - "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface002", - "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface003", - "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface004", - "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface005", - "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface006", - "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface007", - "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface008", - "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface009", - "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface0010", - "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface0011", - "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface0012", - "testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface001", - "testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface002", - "testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface003", - "testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface004", - "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface005", - "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface004", - "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface003", - "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface002", - "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface001", - "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface006", - "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface007", - "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface008", - "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface009", - "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface0010" - ] -} + "src": [ + "testability/pages/Index", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0001", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0002", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0003", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0004", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0005", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0006", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0007", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0008", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0009", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0010", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0011", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0012", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0013", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0014", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0015", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0016", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0017", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0018", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0019", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0020", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0021", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0022", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0023", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0024", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0025", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0026", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0027", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0028", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0029", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0030", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0031", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0032", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0033", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0034", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0035", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0036", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0037", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0038", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0039", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0040", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0041", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0042", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0043", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0044", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0045", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0046", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0047", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0048", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0049", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0050", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0051", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0052", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0053", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0054", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0055", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0056", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0057", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0058", + "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0059", + "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0001", + "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0002", + "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0003", + "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0004", + "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0005", + "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0006", + "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0007", + "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0008", + "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0009", + "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0010", + "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0011", + "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0012", + "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0013", + "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0014", + "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0015", + "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0016", + "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0017", + "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0018", + "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0019", + "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0020", + "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0021", + "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0022", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0001", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0002", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0003", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0004", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0005", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0006", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0007", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0008", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0009", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0010", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0011", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0012", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0013", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0014", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0015", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0016", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0017", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0018", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0019", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0020", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0021", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0022", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0023", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0025", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0026", + "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0028", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0001", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0002", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0003", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0004", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0005", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0006", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0007", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0008", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0009", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0010", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0011", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0012", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0013", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0014", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0015", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0016", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_157", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_157_029", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_429", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_429_005", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0018", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0019", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0020", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0021", + "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0022", + "testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0001", + "testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0002", + "testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0003", + "testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0004", + "testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0005", + "testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0006", + "testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0007", + "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0001", + "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0002", + "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0003", + "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0004", + "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0005", + "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0006", + "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0007", + "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0008", + "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0009", + "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0010", + "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0011", + "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0012", + "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0013", + "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0016", + "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0017", + "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0019", + "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0014", + "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0019", + "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0020", + "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0021", + "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0022", + "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0023", + "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0024", + "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0025", + "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0026", + "testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0001", + "testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0002", + "testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0003", + "testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0004", + "testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0012", + "testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0013", + "testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0015", + "testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0006", + "testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0007", + "testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0011", + "testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0012", + "testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0013", + "testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0014", + "testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0015", + "testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0016", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0010", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0020", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0030", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0040", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0050", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0060", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0070", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0080", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0090", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0100", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0110", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0120", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0130", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0140", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0150", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0160", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0170", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0180", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0190", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0200", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0210", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0220", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0230", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0240", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0250", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0260", + "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0270", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0340", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0350", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0360", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0410", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0420", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0430", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0440", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0450", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0460", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0470", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0480", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0490", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0500", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0510", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0520", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0530", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0540", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0550", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0560", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0570", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0580", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0590", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0600", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0610", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0620", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0630", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0640", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0650", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0660", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0670", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0680", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0690", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0700", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0710", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0720", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0730", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0740", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0750", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0760", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0770", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0780", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0790", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0800", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0810", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0820", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0830", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0840", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0850", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0860", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0870", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0880", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0890", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0900", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0910", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0920", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0930", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0940", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0950", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0960", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0970", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0980", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0990", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1000", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1010", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1020", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1030", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1040", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1050", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1060", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1070", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1080", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1090", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1100", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1110", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1120", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1130", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1140", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1150", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1160", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1170", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1180", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1190", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1200", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1210", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1220", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1230", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1240", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1250", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1260", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1270", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1280", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1290", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1300", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1310", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1320", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1330", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1340", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1350", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1360", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1380", + "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1400", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0010", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0020", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0030", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0040", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0050", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0060", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0070", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0080", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0090", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0100", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0110", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0120", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0130", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0140", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0150", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0160", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0170", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0180", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0190", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0200", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0210", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0220", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0230", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0240", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0260", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0270", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0280", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0290", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0300", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0310", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0320", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0330", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0340", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0350", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0360", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0370", + "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0380", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0001", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0002", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0003", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0004", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0005", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0006", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0007", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0008", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0009", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0010", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0011", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0012", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0013", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0014", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0015", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0016", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0017", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0018", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0019", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0020", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0021", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0022", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0023", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0024", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0025", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0026", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0027", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0028", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0029", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0030", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0031", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0032", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0033", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0034", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0035", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0036", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0037", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0038", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0039", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0040", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0041", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0042", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0043", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0044", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0045", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0046", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0047", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0048", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0049", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0050", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0051", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0052", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0053", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0054", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0055", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0056", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0057", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0058", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0059", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0060", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0061", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0062", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0063", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0064", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0065", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0066", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0067", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0068", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0069", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0070", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0071", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0072", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0073", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0074", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0075", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0076", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0077", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0078", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0079", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0079_932", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0080", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0081", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0082", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0083", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0084", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0085", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0086", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0087", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0088", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0089", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0090", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0091", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0092", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0093", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0094", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0095", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0097", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0098", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0099", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00100", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00101", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00102", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103_040", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103_040_934", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00104", + "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00105", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0310", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt001", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt002", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt003", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt004", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0050", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt007", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0080", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt010", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt011", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt012", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt013", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt014", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0150", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0180", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0210", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0240", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt027", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt028", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt030", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt032", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt033", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt034", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt035", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0160", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0190", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0220", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0250", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0170", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0200", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0230", + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0260", + "testability/pages/ArkUITabScrollable/ArkUITabScrollable001", + "testability/pages/ArkUITabScrollable/ArkUITabScrollable002", + "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont005", + "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont007", + "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont008", + "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont009", + "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont010", + "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont011", + "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont015", + "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont016", + "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont020", + "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont001", + "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont003", + "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont004", + "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont006", + "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont012", + "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont013", + "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont017", + "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont018", + "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont019", + "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor001", + "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor003", + "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor005", + "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor007", + "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor009", + "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor011", + "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor013", + "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor017", + "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor019", + "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor027", + "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor029", + "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor012", + "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor015", + "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor021", + "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor023", + "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor024", + "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor025", + "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor026", + "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor028", + "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor001", + "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor005", + "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor008", + "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor011", + "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor012", + "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor017", + "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor021", + "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor022", + "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor025", + "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor026", + "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor027", + "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor028", + "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor024", + "testability/pages/ArkUITabsVertical/ArkUITabsVertical001", + "testability/pages/FunctionJichuWaterFlow/FunctionJichuWaterFlow001806", + "testability/pages/FunctionJichuWaterFlow/FunctionJichuWaterFlow0350", + "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0080458", + "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0090321", + "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0100678", + "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0110972", + "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0120725", + "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0130072", + "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0140666", + "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0150827", + "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0160890", + "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0170444", + "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0270011", + "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0280056", + "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0290223", + "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0300414", + "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0310330", + "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0320534", + "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0370", + "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0380", + "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0390", + "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0400", + "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0410", + "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0420", + "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0500", + "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0510", + "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0520", + "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0530", + "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0540", + "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0560", + "testability/pages/UIComponentNavModifier/UIComponentNavModifier0370", + "testability/pages/UIComponentNavModifier/UIComponentNavModifier0380", + "testability/pages/UIComponentNavModifier/UIComponentNavModifier0400", + "testability/pages/UIComponentNavModifier/UIComponentNavModifier041", + "testability/pages/UIComponentNavModifier/UIComponentNavModifier043", + "testability/pages/UIComponentNavModifier/UIComponentNavModifier044", + "testability/pages/UIComponentNavModifier/UIComponentNavModifier045", + "testability/pages/UIComponentNavModifier/UIComponentNavModifier046", + "testability/pages/UIComponentNavModifier/UIComponentNavModifier048", + "testability/pages/UIComponentNavModifier/UIComponentNavModifier053", + "testability/pages/UIComponentNavModifier/UIComponentNavModifier056", + "testability/pages/UIComponentNavModifier/UIComponentNavModifier058", + "testability/pages/UIComponentNavModifier/UIComponentNavModifier060", + "testability/pages/UIComponentNavModifier/UIComponentNavModifier063", + "testability/pages/UIComponentNavModifier/UIComponentNavModifier065", + "testability/pages/UIComponentNavModifier/UIComponentNavModifier066", + "testability/pages/UIComponentNavModifier/UIComponentNavModifier0770", + "testability/pages/UIComponentNavModifier/UIComponentNavModifier0810", + "testability/pages/UIComponentNavModifier/UIComponentNavModifier083", + "testability/pages/UIComponentNavModifier/UIComponentNavModifier0840", + "testability/pages/UIComponentNavModifier/UIComponentNavModifier0860", + "testability/pages/UIComponentNavModifier/UIComponentNavModifier0900", + "testability/pages/UIComponentNavModifier/UIComponentNavModifier0920", + "testability/pages/UIComponentNavTabsAction/UIComponentNavTabsAction0011", + "testability/pages/UIComponentNavTabsAction/UIComponentNavTabsAction0012", + "testability/pages/UIComponentNavTabsAction/UIComponentNavTabsAction0030", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0010", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0011", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0012", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0013", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0014", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0015", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0016", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0017", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0029", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0030", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0031", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0032", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0033", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0034", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0035", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0036", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0038", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0039", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0040", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0041", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0042", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0043", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0044", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0045", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0046", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0048", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0049", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0050", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0018", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0019", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0020", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0021", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0022", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0023", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0024", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0025", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0026", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0027", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0028", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0047", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0051", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0052", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0053", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0060", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0080", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0100", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0110", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0160", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0170", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0180", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0190", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0200", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0210", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0220", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0230", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0240", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0250", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0260", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0270", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0280", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0290", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0300", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0310", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0320", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0340", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0350", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0360", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0370", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0380", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0390", + "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0400", + "testability/pages/UIComponentNavTabsCachedCount/UIComponentNavTabsCachedCount014", + "testability/pages/UIComponentNavTabsCachedCount/UIComponentNavTabsCachedCount015", + "testability/pages/UIComponentNavTabsCachedCount/UIComponentNavTabsCachedCount016", + "testability/pages/UIComponentNavTabsHeight/UIComponentNavTabsHeight001", + "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0010", + "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0020", + "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0030", + "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0040", + "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0060", + "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0070", + "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0080", + "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0120", + "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0130", + "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0140", + "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0150", + "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0160", + "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0010", + "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0030", + "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0040", + "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0050", + "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0060", + "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0070", + "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0080", + "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0090", + "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0130", + "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0150", + "testability/pages/UIComponentNavTabsInterface/UIComponentNavTabsInterface012", + "testability/pages/UIComponentNavTabsInterface/UIComponentNavTabsInterface1190", + "testability/pages/UIComponentNavTabsInterface/UIComponentNavTabsInterface1220", + "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0030", + "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0070", + "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0090", + "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror010", + "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0110", + "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0120", + "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0130", + "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0140", + "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0150", + "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0160", + "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0250", + "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0260", + "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror080", + "testability/pages/UIComponentNavTabsOnWillShow/UIComponentNavTabsOnWillShow0190", + "testability/pages/UIComponentNavTabsSubTabbarStyle/UIComponentNavTabsSubTabbarStyle0010", + "testability/pages/UIComponentNavTabsWidth/UIComponentNavTabsWidth001", + "testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0040", + "testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0050", + "testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0070", + "testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0080", + "testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0090", + "testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0100", + "testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0380", + "testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0390", + "testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0400", + "testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0410", + "testability/pages/UIComponentOtherRefreshInterface/UIComponentOtherRefreshInterface0140", + "testability/pages/UIComponentOtherRefreshInterface/UIComponentOtherRefreshInterface0170", + "testability/pages/UIComponentOtherRefreshInterface/UIComponentOtherRefreshInterface0180", + "testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0040", + "testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0050", + "testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0060", + "testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0100", + "testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0110", + "testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0120", + "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0010", + "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0020", + "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0030", + "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0040", + "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0060", + "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0070", + "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0080", + "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0090", + "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0110", + "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0120", + "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0130", + "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0140", + "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0150", + "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0160", + "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0170", + "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0180", + "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0190", + "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0230", + "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0260", + "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabbarTabbarsymbol0050", + "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabbarTabbarsymbol0240", + "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabbarTabbarsymbol0250", + "testability/pages/UIComponentNavTabsEdgeeffect/UIComponentNavTabsEdgeeffect0230", + "testability/pages/UIComponentNavTabsEdgeeffect/UIComponentNavTabsEdgeeffect0270", + "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0090", + "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0010", + "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0120", + "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0050", + "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0080", + "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0070", + "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0060", + "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0040", + "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0030", + "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0020", + "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0100", + "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0110", + "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor001", + "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor004", + "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor008", + "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor013", + "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor014", + "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor022", + "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor024", + "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor025", + "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor026", + "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor027", + "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor028", + "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor029", + "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor002", + "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor005", + "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor014", + "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor016", + "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor021", + "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor022", + "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor024", + "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor026", + "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor027", + "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor028", + "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor029", + "testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor002", + "testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor005", + "testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor008", + "testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor011", + "testability/pages/ArkUITabsSingleUnselectedcolor/ArkUITabsSingleUnselectedcolor003", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0010", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0020", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0030", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0040", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0050", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0060", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0070", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0080", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0090", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0100", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0110", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0120", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0130", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0140", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0150", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0160", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0170", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0180", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0190", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0200", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0210", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0220", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0230", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0240", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0250", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0260", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0270", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0280", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0290", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0300", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0310", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0320", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0330", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0340", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0350", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0360", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0370", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0380", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0390", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0400", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0410", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0420", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0430", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0440", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0450", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0460", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0470", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0480", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0490", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0500", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0510", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0520", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0530", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0540", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0550", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0560", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0570", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0580", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0590", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0600", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0610", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0620", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0630", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0640", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0650", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0660", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0670", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0680", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0690", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0700", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0710", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0720", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0730", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0740", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0750", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0760", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0770", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0790", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0810", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0820", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0830", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0840", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0850", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0860", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0870", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0880", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0890", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0900", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0910", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0920", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0930", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0940", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0950", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0960", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0970", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0980", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0990", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1000", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1010", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1020", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1040", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1050", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1060", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1080", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1090", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1100", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1110", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1120", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1130", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1140", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1150", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1160", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1170", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1180", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1190", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1200", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1210", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1220", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1230", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1240", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1250", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1270", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1280", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1290", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1300", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1310", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1320", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1330", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1340", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1350", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1360", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1370", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1380", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1390", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1400", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1410", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1420", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1430", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1440", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1450", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1460", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1470", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1480", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1490", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1500", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1510", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1520", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1530", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1540", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1550", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1560", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1570", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1580", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1590", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1600", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1610", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1620", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1630", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1640", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1650", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1660", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1670", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1680", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1690", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1700", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1710", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1720", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1730", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1740", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1750", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1760", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1770", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1780", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1790", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1860", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1870", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1880", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1890", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1900", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1910", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1920", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1930", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1940", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1950", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1960", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1970", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1980", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1990", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2000", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2010", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2020", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2030", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2040", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2050", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1800", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1810", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1820", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1830", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1840", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1850", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2060", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2070", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2080", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2090", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2100", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2110", + "testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0520", + "testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0010", + "testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0020", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0040", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0820", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0830", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3160", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3300", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3310", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3330", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3340", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3350", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3380", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3430", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3450", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3460", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3500", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3510", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3390", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3520", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3530", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1010", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1030", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1040", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1050", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1180", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1190", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1210", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1220", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1230", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1260", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1270", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2910", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3030", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3040", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3050", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3060", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3070", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3120", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3130", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3140", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3550", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3560", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3570", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3600", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3610", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3700", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2180", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2190", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2200", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2210", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2230", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2330", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2340", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2350", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2460", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2560", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2570", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2720", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2790", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0890", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0960", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0980", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0990", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3780", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3790", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3810", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3820", + "testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0010", + "testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0030", + "testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0060", + "testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0070", + "testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0080", + "testability/pages/UIComponentScrollSwiperDisplaycount/UIComponentScrollSwiperDisplaycount0140", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0610", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0620", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0630", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0640", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0650", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0660", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0670", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0680", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0690", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0700", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0710", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0720", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0730", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0740", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0750", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0760", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0770", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0780", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0790", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0800", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0010", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0020", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0030", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0040", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1660", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1670", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1680", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1710", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1780", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1860", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1870", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1890", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1900", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1970", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2050", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2060", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2110", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2160", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2370", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent010", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent013", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent014", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent015", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent017", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent018", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent019", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent022", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent023", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent024", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent025", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent026", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent027", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent029", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent030", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent032", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent034", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent035", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent036", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent038", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent039", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent040", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent054", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent056", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent057", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent059", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent060", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent061", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent062", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent063", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent065", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent067", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent071", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent072", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent073", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent074", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent076", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent077", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent078", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent079", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent080", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent081", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent082", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent083", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent094", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent096", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent098", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent099", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent100", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent102", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent103", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent104", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent105", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent108", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent109", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent110", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent111", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent112", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent113", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent115", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent116", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent117", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent118", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent119", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent121", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent122", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent123", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent124", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent125", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent126", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent128", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent129", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent130", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent131", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent132", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent133", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent135", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent136", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent137", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent138", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent139", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent140", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent143", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent144", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent146", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent147", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent149", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent150", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent151", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent152", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent153", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent154", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent156", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent157", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent159", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent160", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent162", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent164", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent166", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent168", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent171", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent172", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent173", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent174", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent175", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent176", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent177", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent178", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent179", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent180", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent181", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent182", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent183", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent184", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange001", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange002", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange003", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange004", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange005", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange006", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow012", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow013", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow014", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow016", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow017", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow018", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow020", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow021", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow022", + "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow083", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor092", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor093", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor094", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor095", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor096", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor097", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor098", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor099", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor100", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor101", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor102", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor103", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor104", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor105", + "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle051", + "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle052", + "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle053", + "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle054", + "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle055", + "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle056", + "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle057", + "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic004", + "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic008", + "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic009", + "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic013", + "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic019", + "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic020", + "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic022", + "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic024", + "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic025", + "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic027", + "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic028", + "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic030", + "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic031", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications058", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications059", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications060", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications061", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications062", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications063", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications064", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications065", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications066", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications067", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications068", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications069", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications070", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications071", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications072", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications073", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications074", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications075", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications076", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications077", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications078", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications079", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications080", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications081", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications082", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications083", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications084", + "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications085", + "testability/pages/ComponentFunctionLAdvancedComponentsPopupInterface/ComponentFunctionLAdvancedComponentsPopupInterface01780", + "testability/pages/ComponentFunctionLAdvancedComponentsPopupInterface/ComponentFunctionLAdvancedComponentsPopupInterface0178", + "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing001", + "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing002", + "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing003", + "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing004", + "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing005", + "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing006", + "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing007", + "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing008", + "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing009", + "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing010", + "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing011", + "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing012", + "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing013", + "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing015", + "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing016", + "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing017", + "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark001", + "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark003", + "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark005", + "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark006", + "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark008", + "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark010", + "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark011", + "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark012", + "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark013", + "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark014", + "testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute004", + "testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute005", + "testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute006", + "testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute031", + "testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute032", + "testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute033", + "testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute034", + "testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute035", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent053", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent092", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent142", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent165", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent167", + "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent169", + "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0010", + "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0020", + "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0030", + "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0040", + "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0050", + "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0060", + "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0070", + "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0080", + "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0090", + "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0100", + "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0110", + "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0120", + "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0130", + "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0140", + "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0150", + "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0160", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0020", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0030", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0040", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0050", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0060", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0070", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0080", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0090", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0100", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0110", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0120", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0130", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0140", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0150", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0160", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0170", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0180", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0190", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0200", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0210", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0220", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0230", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0240", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0250", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0260", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0270", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0280", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0290", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0300", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0310", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0320", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0330", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0340", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0350", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0360", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0370", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0380", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0390", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0400", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0410", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0420", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0430", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0450", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0470", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0480", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0490", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0500", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0510", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0520", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0530", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0540", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0550", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0560", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0570", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0580", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0590", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0600", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0610", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0620", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0630", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0640", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0650", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0660", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0670", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0680", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0690", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0700", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0710", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0720", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0730", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0740", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0750", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0760", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0770", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0780", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0790", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0800", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0810", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0820", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0830", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0840", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0860", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0880", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0890", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0900", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0910", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0920", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0930", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0940", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0950", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0960", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0970", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0980", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0990", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize1000", + "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize1010", + "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0010", + "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0020", + "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0030", + "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0040", + "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0050", + "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0060", + "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0070", + "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0090", + "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0110", + "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0120", + "testability/pages/demo", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface001", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface002", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface003", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface004", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface007", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface008", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface009", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface010", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface011", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface012", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface013", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface014", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface015", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface016", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface017", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface018", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface019", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface020", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface021", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface022", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface023", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface024", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface025", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface026", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface027", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface028", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface029", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface030", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface031", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface003", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface004", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface005", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface006", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface007", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface008", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface009", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface010", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface011", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface012", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface013", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface014", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface015", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface016", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface017", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface018", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface019", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface020", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface021", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface022", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface023", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface024", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface025", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface026", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface027", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface028", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface029", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface030", + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface031", + "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface009", + "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface010", + "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface012", + "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface013", + "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface014", + "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface015", + "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface016", + "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface017", + "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface019", + "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface020", + "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface022", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle085", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle086", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle087", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle088", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle089", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle090", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle095", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle096", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle097", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle098", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle099", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle100", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle101", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle102", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle103", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle104", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle105", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle106", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle107", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle108", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle109", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle110", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle111", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle112", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle113", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle114", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle121", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle122", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle123", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle124", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle125", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle126", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle127", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle128", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle129", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle130", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle131", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle132", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle133", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle134", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle135", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle136", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle137", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle138", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle139", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle140", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle141", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle142", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle143", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle144", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle149", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle150", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle151", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle152", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle153", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle154", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle155", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle156", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle157", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle158", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle159", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle160", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle161", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle162", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle163", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle164", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle165", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle166", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle167", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle168", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle169", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle170", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle171", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle172", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle173", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle174", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle175", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle176", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle177", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle178", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle179", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle180", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle181", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle182", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle183", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle184", + "testability/pages/UIAttributePositionVisibility/UIAttributePositionVisibility001", + "testability/pages/UIAttributePositionVisibility/UIAttributePositionVisibility002", + "testability/pages/UIAttributePositionVisibility/UIAttributePositionVisibility003", + "testability/pages/UIAttributePositionVisibility/UIAttributePositionVisibility004", + "testability/pages/UIAttributePositionVisibility/UIAttributePositionVisibility005", + "testability/pages/UIAttributePositionVisibility/UIAttributePositionVisibility006", + "testability/pages/UIAttributePositionVisibility/UIAttributePositionVisibility007", + "testability/pages/UIAttributePositionVisibility/UIAttributePositionVisibility008", + "testability/pages/UIAttributePositionVisibility/UIAttributePositionVisibility009", + "testability/pages/UIAttributePositionVisibility/UIAttributePositionVisibility0100", + "testability/pages/UIAttributePositionVisibility/UIAttributePositionVisibility0110", + "testability/pages/UIAttributePositionVisibility/UIAttributePositionVisibility0120", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle0910", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle0920", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle0930", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle0940", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle1900", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle1950", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle1960", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle1970", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle1980", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle1990", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2000", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2010", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2020", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2030", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2090", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2100", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2110", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2160", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2170", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2180", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2190", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2200", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2210", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2220", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2230", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2240", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2250", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface001", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface002", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface004", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface005", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface006", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface007", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface009", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface140", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface150", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface170", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface210", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface220", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface230", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface340", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface360", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface370", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface380", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface420", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface430", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface440", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface450", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface470", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface480", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface490", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface510", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface530", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface560", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface600", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface610", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface620", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface630", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface640", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface860", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface870", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface890", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface910", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface920", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface930", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface950", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface960", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface970", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface980", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface990", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface1000", + "testability/pages/UIAttributePositionSizeLayout/UIAttributePositionSizeLayout001", + "testability/pages/UIAttributePositionSizeLayout/UIAttributePositionSizeLayout002", + "testability/pages/UIAttributePositionSizeLayout/UIAttributePositionSizeLayout003", + "testability/pages/UIAttributePositionSizeLayout/UIAttributePositionSizeLayout004", + "testability/pages/UIAttributePositionSizeLayout/UIAttributePositionSizeLayout005", + "testability/pages/UIAttributePositionSizeLayout/UIAttributePositionSizeLayout006", + "testability/pages/UIAttributePositionInterface/UIAttributePositionInterface001", + "testability/pages/UIAttributePositionInterface/UIAttributePositionInterface002", + "testability/pages/UIAttributePositionInterface/UIAttributePositionInterface003", + "testability/pages/UIAttributePositionInterface/UIAttributePositionInterface004", + "testability/pages/UIAttributePositionInterface/UIAttributePositionInterface005", + "testability/pages/UIAttributePositionInterface/UIAttributePositionInterface006", + "testability/pages/ComponentAttributeStringModifyingStyle/ComponentAttributeStringModifyingStyle001", + "testability/pages/ComponentAttributeStringModifyingStyle/ComponentAttributeStringModifyingStyle002", + "testability/pages/ComponentAttributeStringModifyingStyle/ComponentAttributeStringModifyingStyle003", + "testability/pages/ComponentAttributeStringModifyingStyle/ComponentAttributeStringModifyingStyle004", + "testability/pages/ComponentAttributeStringModifyingStyle/ComponentAttributeStringModifyingStyle005", + "testability/pages/ComponentAttributeStringModifyingStyle/ComponentAttributeStringModifyingStyle006", + "testability/pages/ComponentAttributeStringModifyingStyleText/ComponentAttributeStringModifyingStyleText001", + "testability/pages/ComponentAttributeStringModifyingStyleText/ComponentAttributeStringModifyingStyleText002", + "testability/pages/ComponentAttributeStringModifyingStyleText/ComponentAttributeStringModifyingStyleText003", + "testability/pages/ComponentAttributeStringModifyingStyleText/ComponentAttributeStringModifyingStyleText004", + "testability/pages/ComponentAttributeStringModifyingStyleText/ComponentAttributeStringModifyingStyleText005", + "testability/pages/ComponentAttributeStringModifyingText/ComponentAttributeStringModifyingText001", + "testability/pages/ComponentAttributeStringModifyingText/ComponentAttributeStringModifyingText002", + "testability/pages/ComponentAttributeStringModifyingText/ComponentAttributeStringModifyingText003", + "testability/pages/ComponentAttributeStringModifyingText/ComponentAttributeStringModifyingText004", + "testability/pages/ComponentAttributeStringModifyingText/ComponentAttributeStringModifyingText005", + "testability/pages/ComponentAttributeStringModifyingText/ComponentAttributeStringModifyingText006", + "testability/pages/ComponentAttributeStringModifyingText/ComponentAttributeStringModifyingText007", + "testability/pages/ComponentAttributeStringModifyingText/ComponentAttributeStringModifyingText008", + "testability/pages/ComponentAttributeStringModifyingText/ComponentAttributeStringModifyingText009", + "testability/pages/ComponentAttributeStringModifyingText/ComponentAttributeStringModifyingText010", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString001", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString002", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString003", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString004", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString005", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString006", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString007", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString008", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString009", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString010", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString011", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString012", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString013", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString014", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString015", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString016", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString017", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString018", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString019", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString020", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString021", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString022", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString023", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString024", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString025", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString026", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString027", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString028", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString029", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString030", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString031", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString032", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString033", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString034", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString035", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString036", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString037", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString038", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString039", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString040", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString041", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString042", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString043", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString044", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString045", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString046", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString047", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString048", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString049", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString050", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString051", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString052", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString053", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString054", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString055", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString056", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString057", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString058", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString059", + "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString060", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs001", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs002", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs003", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs004", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs005", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs006", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs007", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs008", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs009", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs010", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs011", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs012", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs013", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs014", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs015", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs016", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs017", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs018", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs019", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs020", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs021", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs022", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs023", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs024", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs025", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs026", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs027", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs028", + "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs029", + "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel001", + "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel002", + "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel003", + "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel004", + "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel005", + "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel006", + "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel007", + "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel008", + "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel009", + "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel010", + "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel011", + "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel012", + "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel013", + "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel014", + "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel015", + "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel016", + "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel017", + "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel018", + "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel019", + "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel020", + "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel021", + "testability/pages/UiTextBrighten/UiTextBrighten001", + "testability/pages/UiTextBrighten/UiTextBrighten002", + "testability/pages/UiTextBrighten/UiTextBrighten003", + "testability/pages/UiTextBrighten/UiTextBrighten004", + "testability/pages/UiTextBrighten/UiTextBrighten005", + "testability/pages/UiTextBrighten/UiTextBrighten006", + "testability/pages/UiTextBrighten/UiTextBrighten007", + "testability/pages/UiTextBrighten/UiTextBrighten008", + "testability/pages/UiTextBrighten/UiTextBrighten009", + "testability/pages/UiTextBrighten/UiTextBrighten010", + "testability/pages/UiTextBrighten/UiTextBrighten011", + "testability/pages/UiTextBrighten/UiTextBrighten012", + "testability/pages/UiTextBrighten/UiTextBrighten013", + "testability/pages/UiTextBrighten/UiTextBrighten014", + "testability/pages/UiTextBrighten/UiTextBrighten015", + "testability/pages/UiTextBrighten/UiTextBrighten016", + "testability/pages/UiTextBrighten/UiTextBrighten017", + "testability/pages/UiTextBrighten/UiTextBrighten018", + "testability/pages/UiTextBrighten/UiTextBrighten019", + "testability/pages/UiTextBrighten/UiTextBrighten020", + "testability/pages/UiTextBrighten/UiTextBrighten021", + "testability/pages/UiTextBrighten/UiTextBrighten022", + "testability/pages/UiTextBrighten/UiTextBrighten023", + "testability/pages/UiTextBrighten/UiTextBrighten024", + "testability/pages/UiTextBrighten/UiTextBrighten025", + "testability/pages/UiTextBrighten/UiTextBrighten026", + "testability/pages/UiTextBrighten/UiTextBrighten027", + "testability/pages/UiTextBrighten/UiTextBrighten028", + "testability/pages/UiTextBrighten/UiTextBrighten029", + "testability/pages/UiTextBrighten/UiTextBrighten030", + "testability/pages/UiTextBrighten/UiTextBrighten031", + "testability/pages/UiTextBrighten/UiTextBrighten032", + "testability/pages/UiTextBrighten/UiTextBrighten033", + "testability/pages/UiTextBrighten/UiTextBrighten034", + "testability/pages/UiTextBrighten/UiTextBrighten035", + "testability/pages/UiTextBrighten/UiTextBrighten036", + "testability/pages/UiTextBrighten/UiTextBrighten037", + "testability/pages/UiTextBrighten/UiTextBrighten038", + "testability/pages/UiTextBrighten/UiTextBrighten039", + "testability/pages/UiTextBrighten/UiTextBrighten040", + "testability/pages/UiTextBrighten/UiTextBrighten041", + "testability/pages/UiTextBrighten/UiTextBrighten042", + "testability/pages/UiTextBrighten/UiTextBrighten043", + "testability/pages/UiTextBrighten/UiTextBrighten044", + "testability/pages/UiTextBrighten/UiTextBrighten045", + "testability/pages/UiTextBrighten/UiTextBrighten046", + "testability/pages/UiTextBrighten/UiTextBrighten047", + "testability/pages/UiTextBrighten/UiTextBrighten048", + "testability/pages/UiTextBrighten/UiTextBrighten049", + "testability/pages/UiTextBrighten/UiTextBrighten050", + "testability/pages/UiTextBrighten/UiTextBrighten051", + "testability/pages/UiTextBrighten/UiTextBrighten052", + "testability/pages/UiTextBrighten/UiTextBrighten053", + "testability/pages/UiTextBrighten/UiTextBrighten054", + "testability/pages/UiTextBrighten/UiTextBrighten055", + "testability/pages/UiTextBrighten/UiTextBrighten056", + "testability/pages/UiTextBrighten/UiTextBrighten057", + "testability/pages/UiTextBrighten/UiTextBrighten058", + "testability/pages/UiTextBrighten/UiTextBrighten059", + "testability/pages/UiTextBrighten/UiTextBrighten060", + "testability/pages/UiTextBrighten/UiTextBrighten061", + "testability/pages/UiTextBrighten/UiTextBrighten062", + "testability/pages/UiTextBrighten/UiTextBrighten063", + "testability/pages/UiTextBrighten/UiTextBrighten064", + "testability/pages/UiTextBrighten/UiTextBrighten065", + "testability/pages/UiTextBrighten/UiTextBrighten066", + "testability/pages/UiTextBrighten/UiTextBrighten067", + "testability/pages/UiTextBrighten/UiTextBrighten068", + "testability/pages/UiTextBrighten/UiTextBrighten069", + "testability/pages/UiTextBrighten/UiTextBrighten070", + "testability/pages/UiTextBrighten/UiTextBrighten071", + "testability/pages/UiTextBrighten/UiTextBrighten072", + "testability/pages/UiTextBrighten/UiTextBrighten073", + "testability/pages/UiTextBrighten/UiTextBrighten074", + "testability/pages/UiTextBrighten/UiTextBrighten075", + "testability/pages/UiTextBrighten/UiTextBrighten076", + "testability/pages/UiTextBrighten/UiTextBrighten077", + "testability/pages/UiTextBrighten/UiTextBrighten078", + "testability/pages/UiTextBrighten/UiTextBrighten079", + "testability/pages/UiTextBrighten/UiTextBrighten080", + "testability/pages/UiTextBrighten/UiTextBrighten081", + "testability/pages/UiTextBrighten/UiTextBrighten082", + "testability/pages/UiTextBrighten/UiTextBrighten083", + "testability/pages/UiTextBrighten/UiTextBrighten084", + "testability/pages/UiTextBrighten/UiTextBrighten085", + "testability/pages/UiTextBrighten/UiTextBrighten086", + "testability/pages/UiTextBrighten/UiTextBrighten087", + "testability/pages/UiTextBrighten/UiTextBrighten088", + "testability/pages/UiTextBrighten/UiTextBrighten089", + "testability/pages/UiTextBrighten/UiTextBrighten090", + "testability/pages/UiTextBrighten/UiTextBrighten091", + "testability/pages/UiTextBrighten/UiTextBrighten092", + "testability/pages/UiTextBrighten/UiTextBrighten093", + "testability/pages/UiTextBrighten/UiTextBrighten094", + "testability/pages/UiTextBrighten/UiTextBrighten095", + "testability/pages/UiTextBrighten/UiTextBrighten096", + "testability/pages/UiTextBrighten/UiTextBrighten097", + "testability/pages/UiTextBrighten/UiTextBrighten098", + "testability/pages/UiTextBrighten/UiTextBrighten099", + "testability/pages/UiTextBrighten/UiTextBrighten100", + "testability/pages/UiTextBrighten/UiTextBrighten101", + "testability/pages/UiTextBrighten/UiTextBrighten102", + "testability/pages/UiTextBrighten/UiTextBrighten103", + "testability/pages/UiTextBrighten/UiTextBrighten104", + "testability/pages/UiTextBrighten/UiTextBrighten105", + "testability/pages/UiTextBrighten/UiTextBrighten106", + "testability/pages/UiTextBrighten/UiTextBrighten107", + "testability/pages/UiTextBrighten/UiTextBrighten108", + "testability/pages/UiTextBrighten/UiTextBrighten109", + "testability/pages/UiTextBrighten/UiTextBrighten110", + "testability/pages/UiTextBrighten/UiTextBrighten111", + "testability/pages/UiTextBrighten/UiTextBrighten112", + "testability/pages/UiTextShadow/UiTextShadow001", + "testability/pages/UiTextShadow/UiTextShadow002", + "testability/pages/UiTextShadow/UiTextShadow003", + "testability/pages/UiTextShadow/UiTextShadow004", + "testability/pages/UiTextShadow/UiTextShadow005", + "testability/pages/UiTextShadow/UiTextShadow006", + "testability/pages/UiTextShadow/UiTextShadow007", + "testability/pages/UiTextShadow/UiTextShadow008", + "testability/pages/UiTextShadow/UiTextShadow009", + "testability/pages/UiTextShadow/UiTextShadow010", + "testability/pages/UiTextShadow/UiTextShadow011", + "testability/pages/UiTextShadow/UiTextShadow012", + "testability/pages/UiTextShadow/UiTextShadow013", + "testability/pages/UiTextShadow/UiTextShadow014", + "testability/pages/UiTextShadow/UiTextShadow015", + "testability/pages/UiTextShadow/UiTextShadow016", + "testability/pages/UiTextShadow/UiTextShadow017", + "testability/pages/UiTextShadow/UiTextShadow018", + "testability/pages/UiTextShadow/UiTextShadow019", + "testability/pages/UiTextShadow/UiTextShadow020", + "testability/pages/UiTextShadow/UiTextShadow021", + "testability/pages/UiTextShadow/UiTextShadow022", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle001", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle002", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle003", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle004", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle005", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle006", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle007", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle008", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle009", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle010", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle011", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle012", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle013", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle014", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle015", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle016", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle017", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle018", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle019", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle020", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle021", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle022", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle023", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle024", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle025", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle026", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle027", + "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle028", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel001", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel002", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel003", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel004", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel005", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel006", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel007", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel008", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel009", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel010", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel011", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel012", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel024", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel025", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel026", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel027", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel028", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel029", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel030", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel031", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel042", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel043", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel045", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel046", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel047", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel048", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel049", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel050", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel051", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel063", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel066", + "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel068", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface018", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface019", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface020", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface021", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface022", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface023", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface024", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface026", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface075", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface076", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface077", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface078", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface079", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface080", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface081", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface082", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface083", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface084", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface085", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface086", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface087", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface088", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface089", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface090", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface091", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface092", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface093", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface094", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface095", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface096", + "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface097", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle001", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle002", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle003", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle004", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle005", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle006", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle007", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle008", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle009", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle010", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle011", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle012", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle013", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle014", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle015", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle016", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle017", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle018", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle019", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle020", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle023", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle024", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle025", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle026", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle027", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle028", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle029", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle030", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle031", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle037", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle038", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle039", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle040", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle041", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle042", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle043", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle044", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle045", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle046", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle047", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle048", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle049", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle050", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle051", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle052", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle053", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle054", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle055", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle056", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle057", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle058", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle059", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle060", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle061", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle062", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle063", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle064", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle065", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle066", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle067", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle068", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle069", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle070", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle071", + "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle072", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier001", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier002", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier003", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier004", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier005", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier006", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier007", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier008", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier009", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier010", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier011", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier012", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier013", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier014", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier015", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier016", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier017", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier018", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier019", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier020", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier021", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier022", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier023", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier024", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier025", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier026", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier027", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier028", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier029", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier030", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier031", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier032", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier033", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier034", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier035", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier036", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier037", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier038", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier039", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier040", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier041", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier042", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier043", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier044", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier045", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier046", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier047", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier048", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier049", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier050", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier051", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier052", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier053", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier054", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier055", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier056", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier057", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier058", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier059", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier060", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier061", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier062", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier063", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier064", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier065", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier066", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier067", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier068", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier069", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier070", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier071", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier072", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier073", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier074", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier075", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier076", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier077", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier078", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier079", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier080", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier081", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier082", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier083", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier084", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier085", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier086", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier087", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier088", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier089", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier090", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier091", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier092", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier093", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier094", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier095", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor005", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor010", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor014", + "testability/pages/UiComponentTextModifier/UiComponentTextModifier096", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi001", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi002", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi003", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi004", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi005", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi006", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi007", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi008", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi009", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi010", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi011", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi012", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi013", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi015", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi016", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi017", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi018", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi019", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi020", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi021", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi022", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi023", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi024", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi026", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi027", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi028", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi030", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi031", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi032", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi033", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi034", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi035", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi036", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi037", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi038", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi039", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi040", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi041", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi042", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi043", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi044", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi045", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi046", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi048", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi049", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi050", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi051", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi052", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi053", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi054", + "testability/pages/UIComponentTextCapi/UIComponentTextCapi055", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface002", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface007", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface008", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface009", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface010", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface011", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface012", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface013", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface014", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface015", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface016", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface017", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface018", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface019", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface020", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface021", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface022", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface028", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface033", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface034", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface041", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface048", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface049", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface056", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface057", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface058", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface059", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface060", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface061", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface062", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface063", + "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface064", + "testability/pages/UIComponentTextTextinputPolymorphic/UIComponentTextTextinputPolymorphic001", + "testability/pages/UIComponentTextTextinputPolymorphic/UIComponentTextTextinputPolymorphic002", + "testability/pages/UIComponentTextTextinputPolymorphic/UIComponentTextTextinputPolymorphic003", + "testability/pages/UIComponentTextTextinputPolymorphic/UIComponentTextTextinputPolymorphic004", + "testability/pages/UIComponentTextTextinputPolymorphic/UIComponentTextTextinputPolymorphic005", + "testability/pages/UIComponentTextTextinputPolymorphic/UIComponentTextTextinputPolymorphic006", + "testability/pages/UIComponentTextTextinputPolymorphic/UIComponentTextTextinputPolymorphic007", + "testability/pages/UIComponentTextTextinputPolymorphic/UIComponentTextTextinputPolymorphic008", + "testability/pages/UiComponentWordbreak/UiComponentWordbreak001", + "testability/pages/UiComponentWordbreak/UiComponentWordbreak002", + "testability/pages/UiComponentWordbreak/UiComponentWordbreak003", + "testability/pages/UiComponentWordbreak/UiComponentWordbreak004", + "testability/pages/UiComponentWordbreak/UiComponentWordbreak005", + "testability/pages/UiComponentWordbreak/UiComponentWordbreak006", + "testability/pages/UiComponentWordbreak/UiComponentWordbreak007", + "testability/pages/UiComponentWordbreak/UiComponentWordbreak008", + "testability/pages/UiComponentWordbreak/UiComponentWordbreak009", + "testability/pages/UiComponentWordbreak/UiComponentWordbreak010", + "testability/pages/UiComponentWordbreak/UiComponentWordbreak011", + "testability/pages/UiComponentWordbreak/UiComponentWordbreak012", + "testability/pages/UiComponentWordbreak/UiComponentWordbreak013", + "testability/pages/UiComponentWordbreak/UiComponentWordbreak014", + "testability/pages/UiComponentWordbreak/UiComponentWordbreak015", + "testability/pages/UiComponentWordbreak/UiComponentWordbreak016", + "testability/pages/UiComponentWordbreak/UiComponentWordbreak017", + "testability/pages/UiComponentWordbreak/UiComponentWordbreak018", + "testability/pages/UiComponentWordbreak/UiComponentWordbreak019", + "testability/pages/UiComponentWordbreak/UiComponentWordbreak020", + "testability/pages/UiComponentWordbreak/UiComponentWordbreak021", + "testability/pages/UiComponentWordbreak/UiComponentWordbreak022", + "testability/pages/UIFontFeature/UIFontFeature001", + "testability/pages/UIFontFeature/UIFontFeature002", + "testability/pages/UIFontFeature/UIFontFeature003", + "testability/pages/UIFontFeature/UIFontFeature004", + "testability/pages/UIFontFeature/UIFontFeature005", + "testability/pages/UIFontFeature/UIFontFeature006", + "testability/pages/UIFontFeature/UIFontFeature007", + "testability/pages/UIFontFeature/UIFontFeature008", + "testability/pages/UIFontFeature/UIFontFeature009", + "testability/pages/UIFontFeature/UIFontFeature010", + "testability/pages/UIFontFeature/UIFontFeature011", + "testability/pages/UIFontFeature/UIFontFeature012", + "testability/pages/UIFontFeature/UIFontFeature013", + "testability/pages/UIFontFeature/UIFontFeature014", + "testability/pages/UIFontFeature/UIFontFeature015", + "testability/pages/UIFontFeature/UIFontFeature016", + "testability/pages/UIFontFeature/UIFontFeature017", + "testability/pages/UIFontFeature/UIFontFeature018", + "testability/pages/UIFontFeature/UIFontFeature019", + "testability/pages/UIFontFeature/UIFontFeature020", + "testability/pages/UIFontFeature/UIFontFeature021", + "testability/pages/UIFontFeature/UIFontFeature022", + "testability/pages/UIFontFeature/UIFontFeature023", + "testability/pages/UIFontFeature/UIFontFeature024", + "testability/pages/UIFontFeature/UIFontFeature025", + "testability/pages/UIFontFeature/UIFontFeature026", + "testability/pages/UIFontFeature/UIFontFeature027", + "testability/pages/UIFontFeature/UIFontFeature028", + "testability/pages/UIFontFeature/UIFontFeature029", + "testability/pages/UIFontFeature/UIFontFeature030", + "testability/pages/UIFontFeature/UIFontFeature031", + "testability/pages/UIFontFeature/UIFontFeature032", + "testability/pages/UIFontFeature/UIFontFeature033", + "testability/pages/UIFontFeature/UIFontFeature034", + "testability/pages/UIFontFeature/UIFontFeature035", + "testability/pages/UIFontFeature/UIFontFeature036", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface1010", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface1030", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface1080", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface1090", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack025", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack030", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack031", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack032", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack033", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack034", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack038", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack039", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack041", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack042", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack043", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack047", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack048", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack049", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack050", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack053", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack054", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack055", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack064", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack065", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack066", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack067", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack068", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack069", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack070", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack071", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack072", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack089", + "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack090", + "testability/pages/UIComponentSymbolColorrendering/UIComponentSymbolColorrendering002", + "testability/pages/UIComponentSymbolColorrendering/UIComponentSymbolColorrendering007", + "testability/pages/UIComponentSymbolColorrendering/UIComponentSymbolColorrendering008", + "testability/pages/UIComponentSymbolColorrendering/UIComponentSymbolColorrendering009", + "testability/pages/UIComponentSymbolColorrendering/UIComponentSymboldisplay003", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation001", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation002", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation003", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation004", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation005", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation006", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation009", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation010", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation012", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation014", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation015", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation016", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation017", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation018", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation019", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation020", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation021", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation022", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation023", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation026", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation027", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation028", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation029", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation030", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation031", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation032", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation033", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation034", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation035", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation036", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation037", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation038", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation039", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation040", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation043", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation044", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation045", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation046", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation047", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation048", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation049", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation050", + "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation051", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout002", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout003", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout004", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout005", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout006", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout007", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout008", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout009", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout010", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout011", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout012", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout013", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout014", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout015", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout016", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout017", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout018", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout019", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout020", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout021", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout022", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout023", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout024", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout025", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout026", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout027", + "testability/pages/UITestCase/UITestCase001", + "testability/pages/UITestCase/UITestCase002", + "testability/pages/UITestCase/UITestCase003", + "testability/pages/UITestCase/UITestCase004", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K012", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K013", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K014", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K015", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K016", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K017", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K018", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K019", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K020", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K021", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K022", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K023", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K024", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K025", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K026", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K027", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K028", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K029", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K030", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K031", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K032", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K033", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K034", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K035", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K036", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K037", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K038", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K039", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K040", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K041", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K042", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K043", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K044", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K045", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K046", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K047", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K048", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K049", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K050", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K051", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K052", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K053", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K054", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K055", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K056", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K057", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K058", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K059", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K060", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K061", + "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K062", + "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0010", + "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0011", + "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0012", + "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0013", + "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0014", + "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0015", + "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0016", + "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0017", + "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0018", + "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0020", + "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0022", + "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0023", + "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0024", + "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0025", + "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0026", + "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0027", + "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0028", + "testability/pages/UiComponentButtonSelectInterface/UiComponentButtonSelectInterface0240", + "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0030", + "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0040", + "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0050", + "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0060", + "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0070", + "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0080", + "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0090", + "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0100", + "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0110", + "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0120", + "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0130", + "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0140", + "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0150", + "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0160", + "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0170", + "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0180", + "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0190", + "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0220", + "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0230", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0010", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0020", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0030", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0040", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0050", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0060", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0070", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0080", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0090", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0100", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0110", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0120", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0130", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0140", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0150", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0160", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0170", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0180", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0190", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0200", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0210", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0220", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0230", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0240", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0250", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0260", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0270", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0280", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0290", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0300", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0310", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0320", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0330", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0340", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0350", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0360", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0370", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0380", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0390", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0400", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0410", + "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0420", + "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0010", + "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0030", + "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0040", + "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0050", + "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0060", + "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0070", + "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0090", + "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0100", + "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0110", + "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0120", + "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0130", + "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0150", + "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0160", + "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0170", + "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0180", + "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0190", + "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0210", + "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0220", + "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0230", + "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0240", + "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0250", + "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0260", + "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0280", + "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0290", + "testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0070", + "testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0250", + "testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0310", + "testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0330", + "testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0050", + "testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210", + "testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test124", + "testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test125", + "testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test126", + "testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test127", + "testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0010", + "testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0020", + "testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0090", + "testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0110", + "testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0110Page", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0010", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0020", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0030", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0040", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0050", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0060", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0070", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0080", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0090", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0100", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0110", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0120", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0130", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0140", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0150", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0160", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0170", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0180", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0190", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0200", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0210", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0220", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0230", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0240", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0250", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0260", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0270", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0280", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0290", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0300", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0310", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0320", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0330", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0340", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0350", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0360", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0370", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0380", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0390", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0400", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0410", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0420", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0430", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0440", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0450", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0460", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0470", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0480", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0490", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0500", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0510", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0520", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0530", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0540", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0550", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0560", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0570", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0580", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0590", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0600", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0610", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0620", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0630", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0640", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0650", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0660", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0670", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0680", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0690", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0700", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0710", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0720", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0730", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0740", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0750", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0760", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0770", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0780", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0790", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0830", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0840", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0850", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0880", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0890", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0900", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0910", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0920", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0930", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0940", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0950", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0960", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1000", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1010", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1020", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1030", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1070", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1080", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1090", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1170", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1180", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1450", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1460", + "testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute006", + "testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute011", + "testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute050", + "testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute051", + "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence002", + "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence003", + "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence004", + "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence005", + "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence006", + "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence007", + "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence008", + "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence009", + "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence014", + "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence015", + "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton033", + "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton034", + "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton035", + "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton036", + "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton037", + "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton038", + "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton039", + "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton040", + "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton041", + "testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup001", + "testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup002", + "testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup003", + "testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup004", + "testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup005", + "testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup006", + "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1470", + "testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface001", + "testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface002", + "testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface003", + "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface001", + "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface002", + "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface003", + "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface004", + "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface005", + "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface006", + "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface007", + "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface008", + "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface009", + "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface0010", + "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface0011", + "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface0012", + "testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface001", + "testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface002", + "testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface003", + "testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface004", + "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface005", + "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface004", + "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface003", + "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface002", + "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface001", + "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface006", + "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface007", + "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface008", + "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface009", + "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface0010", + "testability/pages/UITestCase/UITestCase005", + "testability/pages/UITestCase/UITestCase006", + "testability/pages/UITestCase/UITestCase007", + "testability/pages/UITestCase/UITestCase008", + "testability/pages/UITestCase/UITestCase009", + "testability/pages/UITestCase/UITestCase010", + "testability/pages/UITestCase/UITestCase011", + "testability/pages/UITestCase/UITestCase012", + "testability/pages/UITestCase/UITestCase014", + "testability/pages/UITestCase/UITestCase020", + "testability/pages/UITestCase/UITestCase021", + "testability/pages/UITestCase/UITestCase022", + "testability/pages/UITestCase/UITestCase024", + "testability/pages/UITestCase/UITestCase025", + "testability/pages/UITestCase/UITestCase030", + "testability/pages/UITestCase/UITestCase034", + "testability/pages/UITestCase/UITestCase035", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle1190", + "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle1200", + "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier023", + "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier024", + "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier025", + "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier026", + "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier027", + "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier028", + "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier029", + "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier030", + "testability/pages/UIComponentLineheightDecoration/UIComponentLineheightDecoration002", + "testability/pages/UIComponentLineheightDecoration/UIComponentLineheightDecoration003", + "testability/pages/UIComponentLineheightDecoration/UIComponentLineheightDecoration004", + "testability/pages/UIComponentLineheightDecoration/UIComponentLineheightDecoration006", + "testability/pages/UIComponentLineheightDecoration/UIComponentLineheightDecoration007", + "testability/pages/UIComponentLineheightDecoration/UIComponentLineheightDecoration008", + "testability/pages/UIComponentLineheightDecoration/UIComponentLineheightDecoration009", + "testability/pages/UIComponentLineheightDecoration/UIComponentLineheightDecoration010", + "testability/pages/UIComponentLineheightDecoration/UIComponentLineheightDecoration011", + "testability/pages/UIComponentLineheightDecoration/UIComponentLineheightDecoration012", + "testability/pages/UIComponentTextinputUnderlinecolor/UIComponentTextinputUnderlinecolor001", + "testability/pages/UIComponentTextinputUnderlinecolor/UIComponentTextinputUnderlinecolor002", + "testability/pages/UIComponentTextinputUnderlinecolor/UIComponentTextinputUnderlinecolor003", + "testability/pages/UIComponentTextinputUnderlinecolor/UIComponentTextinputUnderlinecolor004", + "testability/pages/UIComponentTextinputUnderlinecolor/UIComponentTextinputUnderlinecolor005", + "testability/pages/UIComponentTextinputUnderlinecolor/UIComponentTextinputUnderlinecolor006", + "testability/pages/UIComponentTextinputUnderlinecolor/UIComponentTextinputUnderlinecolor007", + "testability/pages/UIComponentTextinputUnderlinecolor/UIComponentTextinputUnderlinecolor009", + "testability/pages/UIComponentTextinputUnderlinecolor/UIComponentTextinputUnderlinecolor010", + "testability/pages/UIComponentTextinputUnderlinecolor/UIComponentTextinputUnderlinecolor011", + "testability/pages/UIComponentTextinputUnderlinecolor/UIComponentTextinputUnderlinecolor012", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout001", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout002", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout003", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout004", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout005", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout006", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout007", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout008", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout009", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout010", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout011", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout012", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout013", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout014", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout015", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout016", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout017", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout018", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout019", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout020", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout021", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout022", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout023", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout024", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout025", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout028", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout029", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout030", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout031", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout032", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout033", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout034", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout036", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout037", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout038", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout039", + "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout040", + "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace001", + "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace002", + "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace003", + "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace004", + "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace005", + "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace007", + "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace008", + "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace009", + "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace010", + "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace011", + "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace012", + "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace013", + "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace014", + "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace015", + "testability/pages/UIComponentTextCommonLinespaceC/UIComponentTextCommonLinespaceC002", + "testability/pages/UIComponentTextCommonLinespaceC/UIComponentTextCommonLinespaceC003", + "testability/pages/UIComponentTextCommonLinespaceC/UIComponentTextCommonLinespaceC004", + "testability/pages/UIComponentTextCommonLinespaceC/UIComponentTextCommonLinespaceC005", + "testability/pages/UIComponentTextCommonLinespaceC/UIComponentTextCommonLinespaceC006", + "testability/pages/UIComponentTextCommonLinespaceC/UIComponentTextCommonLinespaceC007", + "testability/pages/UIComponentTextCommonLinespaceC/UIComponentTextCommonLinespaceC008", + "testability/pages/UIComponentTextCommonLinespaceC/UIComponentTextCommonLinespaceC009", + "testability/pages/UiComponentNavModifier/UiComponentNavModifier013", + "testability/pages/UiComponentSymbolSymbol/UiComponentSymbolSymbol009", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation002", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation003", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation006", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation007", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation008", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix039", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix042", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix048", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix049", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix050", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix051", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix052", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix053", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix054", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix055", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix056", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix057", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix058", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix059", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix060", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix061", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix062", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix063", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix064", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix065", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix066", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix067", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix068", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix069", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix070", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix071", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix072", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix073", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix074", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix075", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix076", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix077", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix078", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix079", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix080", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix082", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix083", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix084", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix085", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix086", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix087", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix088", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix090", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix091", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix092", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix093", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix094", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix095", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix096", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix097", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix098", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix099", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix100", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix101", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix102", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix103", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix104", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix105", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix106", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix107", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix108", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix109", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix110", + "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix111", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation009", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation011", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation012", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation017", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation018", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation020", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation021", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation026", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation027", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier016", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier017", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier018", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier019", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier020", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier021", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier022", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier031", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier032", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier033", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier034", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier035", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier036", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier037", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier038", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier047", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier048", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier049", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier050", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier051", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier052", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier053", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier054", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier055", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier056", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier057", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier058", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier059", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier060", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier061", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier062", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier063", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier064", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier065", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier066", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier067", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier068", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier069", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier070", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier071", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier072", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier073", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier074", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier075", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier076", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier077", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier078", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier079", + "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifierPageB", + "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset001", + "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset003", + "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset004", + "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset005", + "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset007", + "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset008", + "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset009", + "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset010", + "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset012", + "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset013", + "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset014", + "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset019", + "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset020", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation035", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation036", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation037", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation038", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation039", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation040", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation041", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation042", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation045", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation046", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation047", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation048", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation049", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation050", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation051", + "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation052", + "testability/pages/ComponentTextCommonTextMinFontSize/ComponentTextCommonTextMinFontSize001", + "testability/pages/ComponentTextCommonTextMinFontSize/ComponentTextCommonTextMinFontSize002", + "testability/pages/ComponentTextCommonTextMinFontSize/ComponentTextCommonTextMinFontSize003", + "testability/pages/ComponentTextCommonTextMinFontSize/ComponentTextCommonTextMinFontSize004", + "testability/pages/ComponentTextCommonTextMinFontSize/ComponentTextCommonTextMinFontSize005", + "testability/pages/ComponentTextCommonTextMinFontSize/ComponentTextCommonTextMinFontSize006", + "testability/pages/ComponentTextCommonTextMinFontSize/ComponentTextCommonTextMinFontSize007", + "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier001", + "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier002", + "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier003", + "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier004", + "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier005", + "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier006", + "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier007", + "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier008", + "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier009", + "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier010", + "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier011", + "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier012", + "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier013", + "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier014", + "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier015", + "testability/pages/ComponentRowColumnSidebarContainerAttribute/ComponentRowColumnSidebarContainerAttribute001", + "testability/pages/ComponentRowColumnSidebarContainerAttribute/ComponentRowColumnSidebarContainerAttribute002", + "testability/pages/ComponentRowColumnSidebarContainerBlurStyle/ComponentRowColumnSidebarContainerBlurStyle001", + "testability/pages/ComponentRowColumnSidebarContainerBlurStyle/ComponentRowColumnSidebarContainerBlurStyle002", + "testability/pages/ComponentRowColumnSidebarContainerBlurStyle/ComponentRowColumnSidebarContainerBlurStyle003", + "testability/pages/ComponentRowColumnSidebarContainerBlurStyle/ComponentRowColumnSidebarContainerBlurStyle004", + "testability/pages/ComponentRowColumnSidebarContainerBlurStyle/ComponentRowColumnSidebarContainerBlurStyle005", + "testability/pages/ComponentRowColumnSidebarContainerBlurStyle/ComponentRowColumnSidebarContainerBlurStyle006", + "testability/pages/ComponentRowColumnSidebarContainerBlurStyle/ComponentRowColumnSidebarContainerBlurStyle007", + "testability/pages/ComponentRowColumnSidebarContainerBlurStyle/ComponentRowColumnSidebarContainerBlurStyle008", + "testability/pages/ComponentTextCommonAffineTransformation/ComponentTextCommonAffineTransformation001", + "testability/pages/ComponentTextCommonAffineTransformation/ComponentTextCommonAffineTransformation002", + "testability/pages/ComponentTextCommonAffineTransformation/ComponentTextCommonAffineTransformation003", + "testability/pages/ComponentTextCommonAffineTransformation/ComponentTextCommonAffineTransformation004", + "testability/pages/ComponentTextCommonAffineTransformation/ComponentTextCommonAffineTransformation005", + "testability/pages/ComponentTextCommonAffineTransformation/ComponentTextCommonAffineTransformation006", + "testability/pages/ComponentTextCommonAffineTransformation/ComponentTextCommonAffineTransformation007", + "testability/pages/ComponentTextCommonAffineTransformation/ComponentTextCommonAffineTransformation008", + "testability/pages/ComponentTextCommonAffineTransformation/ComponentTextCommonAffineTransformation009", + "testability/pages/ComponentTextCommonAffineTransformation/ComponentTextCommonAffineTransformation010", + "testability/pages/ComponentTextCommonAffineTransformation/ComponentTextCommonAffineTransformation011", + "testability/pages/ComponentTextCommonAffineTransformation/ComponentTextCommonAffineTransformation012", + "testability/pages/UIComponentTextTextinputAction/UIComponentTextTextinputAction001", + "testability/pages/UIComponentTextTextinputAction/UIComponentTextTextinputAction014", + "testability/pages/UIComponentTextTextinputAction/UIComponentTextTextinputAction024", + "testability/pages/UIComponentTextTextinputAction/UIComponentTextTextinputAction028", + "testability/pages/UIComponentTextTextinputAction/UIComponentTextTextinputAction029", + "testability/pages/UIComponentTextTextinputAction/UIComponentTextTextinputAction030", + "testability/pages/UIComponentTextTextinputAction/UIComponentTextTextinputAction031", + "testability/pages/UIComponentTextTextinputAction/UIComponentTextTextinputAction033", + "testability/pages/UIComponentTextTextinputAction/UIComponentTextTextinputAction038", + "testability/pages/UIComponentTextTextinputAction/UIComponentTextTextinputAction039", + "testability/pages/UIComponentTextTextinputAction/UIComponentTextTextinputAction057", + "testability/pages/UIComponentTextTextinputAction/UIComponentTextTextinputInterAction0020", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface540", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface750", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface760", + "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface770", + "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0140", + "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0150", + "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0160", + "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0190", + "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0220", + "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0230", + "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0240", + "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0250", + "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0280", + "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0290", + "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0300", + "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0310", + "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0320", + "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0330", + "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0340", + "testability/pages/UIComponentTextinputUnderlinecolor/UIComponentTextinputUnderlinecolor008", + "testability/pages/UITestCase/UITestCase040", + "testability/pages/UITestCase/UITestCase041", + "testability/pages/UITestCase/UITestCase042", + "testability/pages/UITestCase/UITestCase043", + "testability/pages/UITestCase/UITestCase044", + "testability/pages/UITestCase/UITestCase045", + "testability/pages/UITestCase/UITestCase046", + "testability/pages/UITestCase/UITestCase047", + "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier039", + "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier041", + "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier042", + "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier043", + "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier044", + "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier045", + "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier046", + "testability/pages/UIComponentSymbolDisplay/UIComponentSymbolDisplay003", + "testability/pages/UIComponentSymbolDisplay/UIComponentSymbolDisplay009", + "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout001", + "testability/pages/UIAttributeFontSupportstage/UIAttributeFontSupportstage001", + "testability/pages/UIAttributeFontSupportstage/UIAttributeFontSupportstage002", + "testability/pages/UIAttributeFontSupportstage/UIAttributeFontSupportstage003", + "testability/pages/UIAttributeFontSupportstage/UIAttributeFontSupportstage004", + "testability/pages/UIAttributeFontSupportstage/UIAttributeFontSupportstage005", + "testability/pages/UIAttributeFontSupportstage/UIAttributeFontSupportstage006", + "testability/pages/UIAttributeFontSupportstage/UIAttributeFontSupportstage007", + "testability/pages/UIAttributeFontSupportstage/UIAttributeFontSupportstage008", + "testability/pages/UIAttributeFontSupportstage/UIAttributeFontSupportstage009", + "testability/pages/UIAttributeFontSupportstage/UIAttributeFontSupportstage010", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface050", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface060", + "testability/pages/UIAttributeFontInterface02/fontAttributePage01", + "testability/pages/UIAttributeFontInterface02/fontAttributePage03", + "testability/pages/UIAttributeFontInterface02/fontAttributePage04", + "testability/pages/UIAttributeFontInterface02/fontAttributePage05", + "testability/pages/UIAttributeFontInterface02/fontAttributePage06", + "testability/pages/UIAttributeFontInterface02/fontAttributePage07", + "testability/pages/UIAttributeFontInterface02/fontAttributePage08", + "testability/pages/UIAttributeFontInterface02/fontAttributePage09", + "testability/pages/UIAttributeFontInterface02/fontAttributePage10", + "testability/pages/UIAttributeFontInterface02/fontAttributePage11", + "testability/pages/UIAttributeFontInterface02/fontAttributePage12", + "testability/pages/UIAttributeFontInterface02/fontAttributePage13", + "testability/pages/UIAttributeFontInterface02/fontAttributePage14", + "testability/pages/UIAttributeFontInterface02/fontAttributePage15", + "testability/pages/UIAttributeFontInterface02/fontAttributePage16", + "testability/pages/UIAttributeFontInterface02/fontAttributePage17", + "testability/pages/UIAttributeFontInterface02/fontAttributePage18", + "testability/pages/UIAttributeFontInterface02/fontAttributePage19", + "testability/pages/UIAttributeFontInterface02/fontAttributePage20", + "testability/pages/UIAttributeFontInterface02/fontAttributePage21", + "testability/pages/UIAttributeFontInterface02/fontAttributePage22", + "testability/pages/UIAttributeFontInterface02/fontAttributePage23", + "testability/pages/UIAttributeFontInterface02/fontAttributePage24", + "testability/pages/UIAttributeFontInterface02/fontAttributePage25", + "testability/pages/UIAttributeFontInterface02/fontAttributePage26", + "testability/pages/UIAttributeFontInterface02/fontAttributePage27", + "testability/pages/UIAttributeFontInterface02/fontAttributePage28", + "testability/pages/UIAttributeFontInterface02/fontAttributePage29", + "testability/pages/UIAttributeFontInterface02/fontAttributePage30", + "testability/pages/UIAttributeFontInterface02/fontAttributePage33", + "testability/pages/UIAttributeFontInterface02/fontAttributePage34", + "testability/pages/UIAttributeFontInterface02/fontAttributePage35", + "testability/pages/UIAttributeFontInterface02/fontAttributePage36", + "testability/pages/UIAttributeFontInterface02/fontAttributePage41", + "testability/pages/UIAttributeFontInterface02/fontAttributePage42", + "testability/pages/UIAttributeFontInterface02/fontAttributePage43", + "testability/pages/UIAttributeFontInterface02/fontAttributePage44", + "testability/pages/UIAttributeFontInterface02/fontAttributePage45", + "testability/pages/UIAttributeFontInterface02/fontAttributePage46", + "testability/pages/UIAttributeFontInterface02/fontAttributePage47", + "testability/pages/UIAttributeFontInterface02/fontAttributePage48", + "testability/pages/UIAttributeFontInterface02/fontAttributePage49", + "testability/pages/UIAttributeFontInterface02/fontAttributePage50", + "testability/pages/UIAttributeFontInterface02/fontAttributePage51", + "testability/pages/UIAttributeFontInterface02/fontAttributePage52", + "testability/pages/UIAttributeFontInterface02/fontAttributePage53", + "testability/pages/UIAttributeFontInterface02/fontAttributePage54", + "testability/pages/UIAttributeFontInterface02/fontAttributePage55", + "testability/pages/UIAttributeFontInterface02/fontAttributePage56", + "testability/pages/UIAttributeFontInterface02/fontAttributePage57", + "testability/pages/UIAttributeFontInterface02/fontAttributePage58", + "testability/pages/UIAttributeFontInterface02/fontAttributePage59", + "testability/pages/UIAttributeFontInterface02/fontAttributePage60", + "testability/pages/UIAttributeFontInterface02/fontAttributePage61", + "testability/pages/UIAttributeFontInterface02/fontAttributePage62", + "testability/pages/UIAttributeFontInterface02/fontAttributePage63", + "testability/pages/UIAttributeFontInterface02/fontAttributePage64", + "testability/pages/UIAttributeFontInterface02/fontAttributePage65", + "testability/pages/UIAttributeFontInterface02/fontAttributePage66", + "testability/pages/UIAttributeFontInterface02/fontAttributePage67", + "testability/pages/UIAttributeFontInterface02/fontAttributePage68", + "testability/pages/UIAttributeFontInterface02/fontAttributePage69", + "testability/pages/UIAttributeFontInterface02/fontAttributePage70", + "testability/pages/UIAttributeFontInterface02/fontAttributePage71", + "testability/pages/UIAttributeFontInterface02/fontAttributePage72", + "testability/pages/UIAttributeFontInterface02/fontAttributePage73", + "testability/pages/UIAttributeFontInterface02/fontAttributePage74", + "testability/pages/UIAttributeFontInterface02/fontAttributePage75", + "testability/pages/UIAttributeFontInterface02/fontAttributePage76", + "testability/pages/UIAttributeFontInterface02/fontAttributePage77", + "testability/pages/UIAttributeFontInterface02/fontAttributePage78", + "testability/pages/UIAttributeFontInterface02/fontAttributePage79", + "testability/pages/UIAttributeFontInterface02/fontAttributePage80", + "testability/pages/UIAttributeFontInterface02/fontAttributePage81", + "testability/pages/UIAttributeFontInterface02/fontAttributePage82", + "testability/pages/UIAttributeFontInterface02/fontAttributePage83", + "testability/pages/UIAttributeFontInterface02/fontAttributePage84", + "testability/pages/UIAttributeFontInterface02/fontAttributePage85", + "testability/pages/UIAttributeFontInterface02/fontAttributePage86", + "testability/pages/UIAttributeFontInterface02/fontAttributePage87", + "testability/pages/UIAttributeFontInterface02/fontAttributePage88", + "testability/pages/UIAttributeFontInterface02/fontAttributePage89", + "testability/pages/UIAttributeFontInterface02/fontAttributePage90", + "testability/pages/UIAttributeFontInterface02/fontAttributePage91", + "testability/pages/UIAttributeFontInterface02/fontAttributePage92", + "testability/pages/UIAttributeFontInterface02/fontAttributePage93", + "testability/pages/UIAttributeFontInterface02/fontAttributePage94", + "testability/pages/UIAttributeFontInterface02/fontAttributePage95", + "testability/pages/UIAttributeFontInterface02/fontAttributePage96", + "testability/pages/UIAttributeFontInterface02/fontAttributePage97", + "testability/pages/UIAttributeFontInterface02/fontAttributePage98", + "testability/pages/UIAttributeFontInterface02/fontAttributePage99", + "testability/pages/UIAttributeFontInterface02/fontAttributePage100", + "testability/pages/UIAttributeFontInterface02/fontAttributePage101", + "testability/pages/UIAttributeFontInterface02/fontAttributePage102", + "testability/pages/UIAttributeFontInterface02/fontAttributePage103", + "testability/pages/UIAttributeFontInterface02/fontAttributePage104", + "testability/pages/UIAttributeFontInterface02/fontAttributePage105", + "testability/pages/UIAttributeFontInterface02/fontAttributePage106", + "testability/pages/UIAttributeFontInterface02/fontAttributePage107", + "testability/pages/UIAttributeFontInterface02/fontAttributePage108", + "testability/pages/UIAttributeFontInterface02/fontAttributePage109", + "testability/pages/UIAttributeFontInterface02/fontAttributePage110", + "testability/pages/UIAttributeFontInterface02/fontAttributePage111", + "testability/pages/UIAttributeFontInterface02/fontAttributePage112", + "testability/pages/UIAttributeFontInterface02/fontAttributePage113", + "testability/pages/UIAttributeFontInterface02/fontAttributePage114", + "testability/pages/UIAttributeFontInterface02/fontAttributePage115", + "testability/pages/UIAttributeFontInterface02/fontAttributePage116", + "testability/pages/UIAttributeFontInterface02/fontAttributePage117", + "testability/pages/UIAttributeFontInterface02/fontAttributePage118", + "testability/pages/UIAttributeFontInterface02/fontAttributePage119", + "testability/pages/UIAttributeFontInterface02/fontAttributePage120", + "testability/pages/UIAttributeFontInterface02/fontAttributePage121", + "testability/pages/UIAttributeFontInterface02/fontAttributePage122", + "testability/pages/UIAttributeFontInterface02/fontAttributePage123", + "testability/pages/UIAttributeFontInterface02/fontAttributePage124", + "testability/pages/UIAttributeFontInterface02/fontAttributePage125", + "testability/pages/UIAttributeFontInterface02/fontAttributePage126", + "testability/pages/UIAttributeFontInterface02/fontAttributePage127", + "testability/pages/UIAttributeFontInterface02/fontAttributePage128", + "testability/pages/UIAttributeFontInterface02/fontAttributePage129", + "testability/pages/UIAttributeFontInterface02/fontAttributePage130", + "testability/pages/UIAttributeFontInterface02/fontAttributePage131", + "testability/pages/UIAttributeFontInterface02/fontAttributePage132", + "testability/pages/UIAttributeFontInterface02/fontAttributePage133", + "testability/pages/UIAttributeFontInterface02/fontAttributePage134", + "testability/pages/UIAttributeFontInterface02/fontAttributePage135", + "testability/pages/UIAttributeFontInterface02/fontAttributePage136", + "testability/pages/UIAttributeFontInterface02/fontAttributePage137", + "testability/pages/UIAttributeFontInterface02/fontAttributePage138", + "testability/pages/UIAttributeFontInterface02/fontAttributePage139", + "testability/pages/UIAttributeFontInterface02/fontAttributePage140", + "testability/pages/UIAttributeFontInterface02/fontAttributePage141", + "testability/pages/UIAttributeFontInterface02/fontAttributePage142", + "testability/pages/UIAttributeFontInterface02/fontAttributePage143", + "testability/pages/UIAttributeFontInterface02/fontAttributePage144", + "testability/pages/UIAttributeFontInterface02/fontAttributePage145", + "testability/pages/UIAttributeFontInterface02/fontAttributePage146", + "testability/pages/UIAttributeFontInterface02/fontAttributePage147", + "testability/pages/UIAttributeFontInterface02/fontAttributePage148", + "testability/pages/UIAttributeFontInterface02/fontAttributePage149", + "testability/pages/UIAttributeFontInterface02/fontAttributePage150", + "testability/pages/UIAttributeFontInterface02/fontAttributePage151", + "testability/pages/UIAttributeFontInterface02/fontAttributePage152", + "testability/pages/UIAttributeFontInterface02/fontAttributePage153", + "testability/pages/UIAttributeFontInterface02/fontAttributePage154", + "testability/pages/UIAttributeFontInterface02/fontAttributePage155", + "testability/pages/UIAttributeFontInterface02/fontAttributePage156", + "testability/pages/UIAttributeFontInterface02/fontAttributePage157", + "testability/pages/UIAttributeFontInterface02/fontAttributePage158", + "testability/pages/UIAttributeFontInterface02/fontAttributePage159", + "testability/pages/UIAttributeFontInterface02/fontAttributePage160", + "testability/pages/UIAttributeFontInterface02/fontAttributePage161", + "testability/pages/UIAttributeFontInterface02/fontAttributePage162", + "testability/pages/UIAttributeFontInterface02/fontAttributePage163", + "testability/pages/UIAttributeFontInterface02/fontAttributePage164", + "testability/pages/UIAttributeFontInterface02/fontAttributePage165", + "testability/pages/UIAttributeFontInterface02/fontAttributePage166", + "testability/pages/UIAttributeFontInterface02/fontAttributePage167", + "testability/pages/UIAttributeFontInterface02/fontAttributePage168", + "testability/pages/UIAttributeFontInterface02/fontAttributePage169", + "testability/pages/UIAttributeFontInterface02/fontAttributePage170", + "testability/pages/UIAttributeFontInterface02/fontAttributePage171", + "testability/pages/UIAttributeFontInterface02/fontAttributePage172", + "testability/pages/UIAttributeFontInterface02/fontAttributePage173", + "testability/pages/UIAttributeFontInterface02/fontAttributePage174", + "testability/pages/UIAttributeFontInterface02/fontAttributePage175", + "testability/pages/UIAttributeFontInterface02/fontAttributePage176", + "testability/pages/UIAttributeFontInterface02/fontAttributePage177", + "testability/pages/UIAttributeFontInterface02/fontAttributePage178", + "testability/pages/UIAttributeFontInterface02/fontAttributePage179", + "testability/pages/UIAttributeFontInterface02/fontAttributePage180", + "testability/pages/UIAttributeFontInterface02/fontAttributePage181", + "testability/pages/UIAttributeFontInterface02/fontAttributePage182", + "testability/pages/UIAttributeFontInterface02/fontAttributePage183", + "testability/pages/UIAttributeFontInterface02/fontAttributePage184", + "testability/pages/UIAttributeFontInterface02/fontAttributePage185", + "testability/pages/UIAttributeFontInterface02/fontAttributePage186", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle01", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle02", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle03", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle04", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle05", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle06", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle07", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle08", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle09", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle10", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle11", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle12", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle13", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle14", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle15", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle16", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle17", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle18", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle19", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle20", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle21", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle23", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle24", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle25", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle26", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle27", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle28", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle29", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle30", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle31", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle32", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle33", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle34", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle35", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle36", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle37", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle38", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle39", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle40", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle41", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle42", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle43", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle44", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle45", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle46", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle47", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle48", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle49", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle50", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle51", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle52", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle53", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle54", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle55", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle56", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle57", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle58", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle59", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle60", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle61", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle62", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle63", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle64", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle65", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle66", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle67", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle68", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle69", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle70", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle71", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle72", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle73", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle74", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle75", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle76", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle77", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle78", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle79", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle80", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle81", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle82", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle83", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle84", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle85", + "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle86", + "testability/pages/StatusManagerBelievable/StatusManagerBelievable0010", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan010", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan011", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan013", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan014", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan017", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan019", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan024", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan050", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan056", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater006", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater007", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater008", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater009", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater010", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater011", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater012", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater014", + "testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText011", + "testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText0090", + "testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText0100", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan001", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan002", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan004", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan005", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan007", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan008", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan009", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan012", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan015", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan016", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan020", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan021", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan022", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan023", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan027", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan028", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan032", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan033", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan034", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan035", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan036", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan037", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan038", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan039", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan040", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan041", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan042", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan043", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan044", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan045", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan046", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan047", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan048", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan049", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan051", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan052", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan053", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan054", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan055", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan0250", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan0290", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater001", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater002", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater003", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater004", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater005", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater013", + "testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt004", + "testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt005", + "testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt006", + "testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt007", + "testability/pages/UIComponentTextImagePrivacySensitive/UIComponentTextImagePrivacySensitive001", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable014", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable015", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable016", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable017", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable018", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable019", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable020", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable021", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable022", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable023", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable024", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable025", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable026", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle001", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle009", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle010", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle011", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle012", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle013", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle014", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle015", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle016", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle017", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle018", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle019", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle020", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle024", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle029", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle030", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle031", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle032", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle033", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle034", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle035", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle036", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle037", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0020", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0030", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0040", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0050", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0060", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0070", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0080", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0210", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0220", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0230", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0250", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0260", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0270", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0280", + "testability/pages/UIComponentTextTextInterface/UIComponentTextTextInterface029", + "testability/pages/UIComponentTextTextInterface/UIComponentTextTextInterface187", + "testability/pages/UIComponentTextTextInterface/UIComponentTextTextInterface202", + "testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress010", + "testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress011", + "testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress012", + "testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress013", + "testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee002", + "testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee005", + "testability/pages/UIComponentTextTextPrivacyMask/UIComponentTextTextPrivacyMask028", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle006", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle007", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle008", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle009", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle010", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle011", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle012", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle013", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle014", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle015", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle016", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle017", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle018", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle019", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle020", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle021", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle022", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle023", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle024", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle025", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle026", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle027", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle028", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle029", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle030", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle031", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle032", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle033", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle034", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle035", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle036", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle037", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle038", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle039", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle040", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle041", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle042", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle043", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle044", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle045", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle046", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle047", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle048", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle049", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle050", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle051", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle052", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle053", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor204", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor205", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor206", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor207", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor208", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor209", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor210", + "testability/pages/UIComponentTextTransparency/UIComponentTextTransparency003", + "testability/pages/UIComponentTextTransparency/UIComponentTextTransparency0040", + "testability/pages/UIComponentTextTransparency/UIComponentTextTransparency0050", + "testability/pages/UIComponentTextTransparency/UIComponentTextTransparency0060", + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree032", + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree061", + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree075", + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree090", + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree092", + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree101", + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree103", + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree104", + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree105", + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree106", + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree117", + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree120", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor001", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor002", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor003", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor004", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor006_1", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor006_2", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor006_3", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor007", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor008", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor009", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor011", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0430", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0440", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0450", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0460", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0470", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0890", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1120", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1140", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1150", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1160", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1170", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1180", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1190", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1200", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1220", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0010", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0020", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0030", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0040", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0050", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0060", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0080", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0090", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0100", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0110", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0120", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0130", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0140", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0150", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0160", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0170", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0180", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0190", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0200", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0210", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0220", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0230", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0240", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0250", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0260", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0270", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0280", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0290", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0300", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0310", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0320", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0330", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0340", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0350", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0360", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0370", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0380", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0390", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0400", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0410", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0420", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0430", + "testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0460", + "testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0220", + "testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0320", + "testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0330", + "testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0340", + "testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0350", + "testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0360", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor0120", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor0130", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor0140", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor0150", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor0160", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor0170", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor0180", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor0200", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor0210", + "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0010", + "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0020", + "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0030", + "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0040", + "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0070", + "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0080", + "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0090", + "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0100", + "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0110", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0010", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0016", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0020", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0030", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0040", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0050", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0060", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0080", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0090", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0100", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0110", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0120", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0130", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0140", + "testability/pages/UIComponentTextTextAreaEvaSaveInputMethod/UIComponentTextTextAreaEvaSaveInputMethod0130", + "testability/pages/UIComponentTextTextAreaEvaSaveInputMethod/UIComponentTextTextAreaEvaSaveInputMethod0140", + "testability/pages/UIComponentTextTextAreaEvaSaveInputMethod/UIComponentTextTextAreaEvaSaveInputMethod0150", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0010", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0020", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0030", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0040", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0050", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0060", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0070", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0300", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0320", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0330", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0340", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0350", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0360", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0370", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0380", + "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0670", + "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0680", + "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0690", + "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0700", + "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0710", + "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0720", + "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0730", + "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0740", + "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface1020", + "testability/pages/UIComponentTextTextAreaLayout/UIComponentTextTextAreaLayout0010", + "testability/pages/UIComponentTextTextAreaLayout/UIComponentTextTextAreaLayout0020", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0020", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0030", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0040", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0050", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0060", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0070", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0090", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0100", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0110", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0120", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0130", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0140", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0150", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0160", + "testability/pages/UIComponentTextInput/UIComponentTextInput0010", + "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0010", + "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0020", + "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0030", + "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0040", + "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0050", + "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0060", + "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0070", + "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0080", + "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0100", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0010", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0020", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0030", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0040", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0050", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0060", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0070", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0080", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0090", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0100", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0110", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0120", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0130", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0140", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0150", + "testability/pages/UIComponentTextTextAreaUxComsistency/UIComponentTextTextAreaUxComsistency0060", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0440", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0450", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0460", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0470", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0480", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0490", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0500", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0510", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0520", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0530", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0540", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0550", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0560", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0570", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0600", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0640", + "testability/pages/UIComponentTextTextAreaEnhances/UIComponentTextTextAreaEnhances0900", + "testability/pages/UIComponentTextTextAreaEnhances/UIComponentTextTextAreaEnhances2500", + "testability/pages/UIComponentTextTextAreaInterAction/UIComponentTextTextAreaInterAction0010", + "testability/pages/UIComponentTextTextAreaInterAction/UIComponentTextTextAreaInterAction0030", + "testability/pages/UIComponentTextTextAreaInterAction/UIComponentTextTextAreaInterAction0040", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0010", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0020", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0030", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0040", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0050", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0180", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0060", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0070", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0080", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0090", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0100", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0110", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0120", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0130", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0140", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0150", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0160", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0170", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0030", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0170", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0180", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0190", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0200", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0210", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0220", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0230", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0240", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0250", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0260", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0270", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0280", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0290", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0300", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0310", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0320", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0330", + "testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0030", + "testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0040", + "testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0080", + "testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0090", + "testability/pages/UIComponentTextInline/UIComponentTextInline0010", + "testability/pages/UIComponentTextInline/UIComponentTextInline0020", + "testability/pages/UIComponentTextInline/UIComponentTextInline0030", + "testability/pages/UIComponentTextInline/UIComponentTextInline0060", + "testability/pages/UIComponentTextInline/UIComponentTextInline0070", + "testability/pages/UIComponentTextInline/UIComponentTextInline0080", + "testability/pages/UIComponentTextInline/UIComponentTextInline0090", + "testability/pages/UIComponentTextInline/UIComponentTextInline0120", + "testability/pages/UIComponentTextInline/UIComponentTextInline0130", + "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0300", + "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0350", + "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0480", + "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0490", + "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0500", + "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0510", + "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0390", + "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0400", + "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0410", + "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0420", + "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0430", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0010", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0020", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0030", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0040", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0050", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0060", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0070", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0080", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0090", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0100", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0110", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0120", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0130", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0150", + "testability/pages/UIComponentAttributeUserData/UIComponentAttributeUserData0030", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0150", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0160", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0170", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0180", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0190", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0200", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0210", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0220", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0230", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0240", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0250", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0260", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0270", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0280", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0300", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0310", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0320", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0330", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0340", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0350", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0360", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0370", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0380", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0400", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0410", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0420", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0430", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0440", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0460", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0490", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0500", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0510", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0610", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0620", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0660", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0670", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0710", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0720", + "testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput001", + "testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput002", + "testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput003", + "testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput004", + "testability/pages/UIComponentTextTextAreaOnEditChange/UIComponentTextTextAreaOnEditChange0100", + "testability/pages/UIComponentTextTextAreaOnEditChange/UIComponentTextTextAreaOnEditChange0090", + "testability/pages/UIComponentTextTextAreaOnEditChange/UIComponentTextTextAreaOnEditChange0130" + ] +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/hvigor/hvigor-wrapper.js b/function/ui_compare_rh/uicompare/hvigor/hvigor-wrapper.js new file mode 100644 index 00000000..372eae8e --- /dev/null +++ b/function/ui_compare_rh/uicompare/hvigor/hvigor-wrapper.js @@ -0,0 +1 @@ +"use strict";var u=require("path"),D=require("os"),e=require("fs"),t=require("crypto"),r=require("child_process"),n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},i={},C={},F=n&&n.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(C,"__esModule",{value:!0}),C.maxPathLength=C.isMac=C.isLinux=C.isWindows=void 0;const E=F(D),A="Windows_NT",o="Darwin";function a(){return E.default.type()===A}function c(){return E.default.type()===o}C.isWindows=a,C.isLinux=function(){return"Linux"===E.default.type()},C.isMac=c,C.maxPathLength=function(){return c()?1016:a()?259:4095},function(e){var t=n&&n.__createBinding||(Object.create?function(u,D,e,t){void 0===t&&(t=e);var r=Object.getOwnPropertyDescriptor(D,e);r&&!("get"in r?!D.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return D[e]}}),Object.defineProperty(u,t,r)}:function(u,D,e,t){void 0===t&&(t=e),u[t]=D[e]}),r=n&&n.__setModuleDefault||(Object.create?function(u,D){Object.defineProperty(u,"default",{enumerable:!0,value:D})}:function(u,D){u.default=D}),i=n&&n.__importStar||function(u){if(u&&u.__esModule)return u;var D={};if(null!=u)for(var e in u)"default"!==e&&Object.prototype.hasOwnProperty.call(u,e)&&t(D,u,e);return r(D,u),D};Object.defineProperty(e,"__esModule",{value:!0}),e.WORK_SPACE=e.HVIGOR_PROJECT_WRAPPER_HOME=e.HVIGOR_PROJECT_ROOT_DIR=e.HVIGOR_PROJECT_CACHES_HOME=e.HVIGOR_PNPM_STORE_PATH=e.HVIGOR_WRAPPER_PNPM_SCRIPT_PATH=e.PROJECT_CACHES=e.HVIGOR_WRAPPER_TOOLS_HOME=e.HVIGOR_USER_HOME=e.DEFAULT_PACKAGE_JSON=e.DEFAULT_HVIGOR_CONFIG_JSON_FILE_NAME=e.PNPM=e.HVIGOR=e.NPM_TOOL=e.PNPM_TOOL=e.HVIGOR_ENGINE_PACKAGE_NAME=void 0;const F=i(D),E=i(u),A=C;e.HVIGOR_ENGINE_PACKAGE_NAME="@ohos/hvigor",e.PNPM_TOOL=(0,A.isWindows)()?"pnpm.cmd":"pnpm",e.NPM_TOOL=(0,A.isWindows)()?"npm.cmd":"npm",e.HVIGOR="hvigor",e.PNPM="pnpm",e.DEFAULT_HVIGOR_CONFIG_JSON_FILE_NAME="hvigor-config.json5",e.DEFAULT_PACKAGE_JSON="package.json",e.HVIGOR_USER_HOME=E.resolve(F.homedir(),".hvigor"),e.HVIGOR_WRAPPER_TOOLS_HOME=E.resolve(e.HVIGOR_USER_HOME,"wrapper","tools"),e.PROJECT_CACHES="project_caches",e.HVIGOR_WRAPPER_PNPM_SCRIPT_PATH=E.resolve(e.HVIGOR_WRAPPER_TOOLS_HOME,"node_modules",".bin",e.PNPM_TOOL),e.HVIGOR_PNPM_STORE_PATH=E.resolve(e.HVIGOR_USER_HOME,"caches"),e.HVIGOR_PROJECT_CACHES_HOME=E.resolve(e.HVIGOR_USER_HOME,e.PROJECT_CACHES),e.HVIGOR_PROJECT_ROOT_DIR=process.cwd(),e.HVIGOR_PROJECT_WRAPPER_HOME=E.resolve(e.HVIGOR_PROJECT_ROOT_DIR,e.HVIGOR),e.WORK_SPACE="workspace"}(i);var s={},l={};Object.defineProperty(l,"__esModule",{value:!0}),l.logInfoPrintConsole=l.logErrorAndExit=void 0,l.logErrorAndExit=function(u){u instanceof Error?console.error(u.message):console.error(u),process.exit(-1)},l.logInfoPrintConsole=function(u){console.log(u)};var B=n&&n.__createBinding||(Object.create?function(u,D,e,t){void 0===t&&(t=e);var r=Object.getOwnPropertyDescriptor(D,e);r&&!("get"in r?!D.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return D[e]}}),Object.defineProperty(u,t,r)}:function(u,D,e,t){void 0===t&&(t=e),u[t]=D[e]}),d=n&&n.__setModuleDefault||(Object.create?function(u,D){Object.defineProperty(u,"default",{enumerable:!0,value:D})}:function(u,D){u.default=D}),f=n&&n.__importStar||function(u){if(u&&u.__esModule)return u;var D={};if(null!=u)for(var e in u)"default"!==e&&Object.prototype.hasOwnProperty.call(u,e)&&B(D,u,e);return d(D,u),D};Object.defineProperty(s,"__esModule",{value:!0});var _=s.executeBuild=void 0;const p=f(e),O=f(u),h=l;_=s.executeBuild=function(u){const D=O.resolve(u,"node_modules","@ohos","hvigor","bin","hvigor.js");try{const u=p.realpathSync(D);require(u)}catch(e){(0,h.logErrorAndExit)(`Error: ENOENT: no such file ${D},delete ${u} and retry.`)}};var P={},v={};!function(u){var D=n&&n.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(u,"__esModule",{value:!0}),u.hashFile=u.hash=u.createHash=void 0;const r=D(t),i=D(e);u.createHash=(u="MD5")=>r.default.createHash(u);u.hash=(D,e)=>(0,u.createHash)(e).update(D).digest("hex");u.hashFile=(D,e)=>{if(i.default.existsSync(D))return(0,u.hash)(i.default.readFileSync(D,"utf-8"),e)}}(v);var g={},m={},R={};Object.defineProperty(R,"__esModule",{value:!0}),R.Unicode=void 0;class y{}R.Unicode=y,y.SPACE_SEPARATOR=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,y.ID_START=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,y.ID_CONTINUE=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/,Object.defineProperty(m,"__esModule",{value:!0}),m.JudgeUtil=void 0;const I=R;m.JudgeUtil=class{static isIgnoreChar(u){return"string"==typeof u&&("\t"===u||"\v"===u||"\f"===u||" "===u||" "===u||"\ufeff"===u||"\n"===u||"\r"===u||"\u2028"===u||"\u2029"===u)}static isSpaceSeparator(u){return"string"==typeof u&&I.Unicode.SPACE_SEPARATOR.test(u)}static isIdStartChar(u){return"string"==typeof u&&(u>="a"&&u<="z"||u>="A"&&u<="Z"||"$"===u||"_"===u||I.Unicode.ID_START.test(u))}static isIdContinueChar(u){return"string"==typeof u&&(u>="a"&&u<="z"||u>="A"&&u<="Z"||u>="0"&&u<="9"||"$"===u||"_"===u||"‌"===u||"‍"===u||I.Unicode.ID_CONTINUE.test(u))}static isDigitWithoutZero(u){return/[1-9]/.test(u)}static isDigit(u){return"string"==typeof u&&/[0-9]/.test(u)}static isHexDigit(u){return"string"==typeof u&&/[0-9A-Fa-f]/.test(u)}};var N=n&&n.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(g,"__esModule",{value:!0}),g.parseJsonText=g.parseJsonFile=void 0;const b=N(e),S=N(D),w=N(u),H=m;var x;!function(u){u[u.Char=0]="Char",u[u.EOF=1]="EOF",u[u.Identifier=2]="Identifier"}(x||(x={}));let M,T,V,G,j,J,W="start",U=[],L=0,$=1,k=0,K=!1,z="default",q="'",Z=1;function X(u,D=!1){T=String(u),W="start",U=[],L=0,$=1,k=0,G=void 0,K=D;do{M=Q(),nu[W]()}while("eof"!==M.type);return G}function Q(){for(z="default",j="",q="'",Z=1;;){J=Y();const u=Du[z]();if(u)return u}}function Y(){if(T[L])return String.fromCodePoint(T.codePointAt(L))}function uu(){const u=Y();return"\n"===u?($++,k=0):u?k+=u.length:k++,u&&(L+=u.length),u}g.parseJsonFile=function(u,D=!1,e="utf-8"){const t=b.default.readFileSync(w.default.resolve(u),{encoding:e});try{return X(t,D)}catch(D){if(D instanceof SyntaxError){const e=D.message.split("at");if(2===e.length)throw new Error(`${e[0].trim()}${S.default.EOL}\t at ${u}:${e[1].trim()}`)}throw new Error(`${u} is not in valid JSON/JSON5 format.`)}},g.parseJsonText=X;const Du={default(){switch(J){case"/":return uu(),void(z="comment");case void 0:return uu(),eu("eof")}if(!H.JudgeUtil.isIgnoreChar(J)&&!H.JudgeUtil.isSpaceSeparator(J))return Du[W]();uu()},start(){z="value"},beforePropertyName(){switch(J){case"$":case"_":return j=uu(),void(z="identifierName");case"\\":return uu(),void(z="identifierNameStartEscape");case"}":return eu("punctuator",uu());case'"':case"'":return q=J,uu(),void(z="string")}if(H.JudgeUtil.isIdStartChar(J))return j+=uu(),void(z="identifierName");throw Eu(x.Char,uu())},afterPropertyName(){if(":"===J)return eu("punctuator",uu());throw Eu(x.Char,uu())},beforePropertyValue(){z="value"},afterPropertyValue(){switch(J){case",":case"}":return eu("punctuator",uu())}throw Eu(x.Char,uu())},beforeArrayValue(){if("]"===J)return eu("punctuator",uu());z="value"},afterArrayValue(){switch(J){case",":case"]":return eu("punctuator",uu())}throw Eu(x.Char,uu())},end(){throw Eu(x.Char,uu())},comment(){switch(J){case"*":return uu(),void(z="multiLineComment");case"/":return uu(),void(z="singleLineComment")}throw Eu(x.Char,uu())},multiLineComment(){switch(J){case"*":return uu(),void(z="multiLineCommentAsterisk");case void 0:throw Eu(x.Char,uu())}uu()},multiLineCommentAsterisk(){switch(J){case"*":return void uu();case"/":return uu(),void(z="default");case void 0:throw Eu(x.Char,uu())}uu(),z="multiLineComment"},singleLineComment(){switch(J){case"\n":case"\r":case"\u2028":case"\u2029":return uu(),void(z="default");case void 0:return uu(),eu("eof")}uu()},value(){switch(J){case"{":case"[":return eu("punctuator",uu());case"n":return uu(),tu("ull"),eu("null",null);case"t":return uu(),tu("rue"),eu("boolean",!0);case"f":return uu(),tu("alse"),eu("boolean",!1);case"-":case"+":return"-"===uu()&&(Z=-1),void(z="numerical");case".":case"0":case"I":case"N":return void(z="numerical");case'"':case"'":return q=J,uu(),j="",void(z="string")}if(void 0===J||!H.JudgeUtil.isDigitWithoutZero(J))throw Eu(x.Char,uu());z="numerical"},numerical(){switch(J){case".":return j=uu(),void(z="decimalPointLeading");case"0":return j=uu(),void(z="zero");case"I":return uu(),tu("nfinity"),eu("numeric",Z*(1/0));case"N":return uu(),tu("aN"),eu("numeric",NaN)}if(void 0!==J&&H.JudgeUtil.isDigitWithoutZero(J))return j=uu(),void(z="decimalInteger");throw Eu(x.Char,uu())},zero(){switch(J){case".":case"e":case"E":return void(z="decimal");case"x":case"X":return j+=uu(),void(z="hexadecimal")}return eu("numeric",0)},decimalInteger(){switch(J){case".":case"e":case"E":return void(z="decimal")}if(!H.JudgeUtil.isDigit(J))return eu("numeric",Z*Number(j));j+=uu()},decimal(){switch(J){case".":j+=uu(),z="decimalFraction";break;case"e":case"E":j+=uu(),z="decimalExponent"}},decimalPointLeading(){if(H.JudgeUtil.isDigit(J))return j+=uu(),void(z="decimalFraction");throw Eu(x.Char,uu())},decimalFraction(){switch(J){case"e":case"E":return j+=uu(),void(z="decimalExponent")}if(!H.JudgeUtil.isDigit(J))return eu("numeric",Z*Number(j));j+=uu()},decimalExponent(){switch(J){case"+":case"-":return j+=uu(),void(z="decimalExponentSign")}if(H.JudgeUtil.isDigit(J))return j+=uu(),void(z="decimalExponentInteger");throw Eu(x.Char,uu())},decimalExponentSign(){if(H.JudgeUtil.isDigit(J))return j+=uu(),void(z="decimalExponentInteger");throw Eu(x.Char,uu())},decimalExponentInteger(){if(!H.JudgeUtil.isDigit(J))return eu("numeric",Z*Number(j));j+=uu()},hexadecimal(){if(H.JudgeUtil.isHexDigit(J))return j+=uu(),void(z="hexadecimalInteger");throw Eu(x.Char,uu())},hexadecimalInteger(){if(!H.JudgeUtil.isHexDigit(J))return eu("numeric",Z*Number(j));j+=uu()},identifierNameStartEscape(){if("u"!==J)throw Eu(x.Char,uu());uu();const u=ru();switch(u){case"$":case"_":break;default:if(!H.JudgeUtil.isIdStartChar(u))throw Eu(x.Identifier)}j+=u,z="identifierName"},identifierName(){switch(J){case"$":case"_":case"‌":case"‍":return void(j+=uu());case"\\":return uu(),void(z="identifierNameEscape")}if(!H.JudgeUtil.isIdContinueChar(J))return eu("identifier",j);j+=uu()},identifierNameEscape(){if("u"!==J)throw Eu(x.Char,uu());uu();const u=ru();switch(u){case"$":case"_":case"‌":case"‍":break;default:if(!H.JudgeUtil.isIdContinueChar(u))throw Eu(x.Identifier)}j+=u,z="identifierName"},string(){switch(J){case"\\":return uu(),void(j+=function(){const u=Y(),D=function(){switch(Y()){case"b":return uu(),"\b";case"f":return uu(),"\f";case"n":return uu(),"\n";case"r":return uu(),"\r";case"t":return uu(),"\t";case"v":return uu(),"\v"}return}();if(D)return D;switch(u){case"0":if(uu(),H.JudgeUtil.isDigit(Y()))throw Eu(x.Char,uu());return"\0";case"x":return uu(),function(){let u="",D=Y();if(!H.JudgeUtil.isHexDigit(D))throw Eu(x.Char,uu());if(u+=uu(),D=Y(),!H.JudgeUtil.isHexDigit(D))throw Eu(x.Char,uu());return u+=uu(),String.fromCodePoint(parseInt(u,16))}();case"u":return uu(),ru();case"\n":case"\u2028":case"\u2029":return uu(),"";case"\r":return uu(),"\n"===Y()&&uu(),""}if(void 0===u||H.JudgeUtil.isDigitWithoutZero(u))throw Eu(x.Char,uu());return uu()}());case'"':case"'":if(J===q){const u=eu("string",j);return uu(),u}return void(j+=uu());case"\n":case"\r":case void 0:throw Eu(x.Char,uu());case"\u2028":case"\u2029":!function(u){console.warn(`JSON5: '${Fu(u)}' in strings is not valid ECMAScript; consider escaping.`)}(J)}j+=uu()}};function eu(u,D){return{type:u,value:D,line:$,column:k}}function tu(u){for(const D of u){if(Y()!==D)throw Eu(x.Char,uu());uu()}}function ru(){let u="",D=4;for(;D-- >0;){const D=Y();if(!H.JudgeUtil.isHexDigit(D))throw Eu(x.Char,uu());u+=uu()}return String.fromCodePoint(parseInt(u,16))}const nu={start(){if("eof"===M.type)throw Eu(x.EOF);iu()},beforePropertyName(){switch(M.type){case"identifier":case"string":return V=M.value,void(W="afterPropertyName");case"punctuator":return void Cu();case"eof":throw Eu(x.EOF)}},afterPropertyName(){if("eof"===M.type)throw Eu(x.EOF);W="beforePropertyValue"},beforePropertyValue(){if("eof"===M.type)throw Eu(x.EOF);iu()},afterPropertyValue(){if("eof"===M.type)throw Eu(x.EOF);switch(M.value){case",":return void(W="beforePropertyName");case"}":Cu()}},beforeArrayValue(){if("eof"===M.type)throw Eu(x.EOF);"punctuator"!==M.type||"]"!==M.value?iu():Cu()},afterArrayValue(){if("eof"===M.type)throw Eu(x.EOF);switch(M.value){case",":return void(W="beforeArrayValue");case"]":Cu()}},end(){}};function iu(){const u=function(){let u;switch(M.type){case"punctuator":switch(M.value){case"{":u={};break;case"[":u=[]}break;case"null":case"boolean":case"numeric":case"string":u=M.value}return u}();if(K&&"object"==typeof u&&(u._line=$,u._column=k),void 0===G)G=u;else{const D=U[U.length-1];Array.isArray(D)?K&&"object"!=typeof u?D.push({value:u,_line:$,_column:k}):D.push(u):D[V]=K&&"object"!=typeof u?{value:u,_line:$,_column:k}:u}!function(u){if(u&&"object"==typeof u)U.push(u),W=Array.isArray(u)?"beforeArrayValue":"beforePropertyName";else{const u=U[U.length-1];W=u?Array.isArray(u)?"afterArrayValue":"afterPropertyValue":"end"}}(u)}function Cu(){U.pop();const u=U[U.length-1];W=u?Array.isArray(u)?"afterArrayValue":"afterPropertyValue":"end"}function Fu(u){const D={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(D[u])return D[u];if(u<" "){const D=u.charCodeAt(0).toString(16);return`\\x${`00${D}`.substring(D.length)}`}return u}function Eu(u,D){let e="";switch(u){case x.Char:e=void 0===D?`JSON5: invalid end of input at ${$}:${k}`:`JSON5: invalid character '${Fu(D)}' at ${$}:${k}`;break;case x.EOF:e=`JSON5: invalid end of input at ${$}:${k}`;break;case x.Identifier:k-=5,e=`JSON5: invalid identifier character at ${$}:${k}`}const t=new Au(e);return t.lineNumber=$,t.columnNumber=k,t}class Au extends SyntaxError{}var ou={},au=n&&n.__createBinding||(Object.create?function(u,D,e,t){void 0===t&&(t=e);var r=Object.getOwnPropertyDescriptor(D,e);r&&!("get"in r?!D.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return D[e]}}),Object.defineProperty(u,t,r)}:function(u,D,e,t){void 0===t&&(t=e),u[t]=D[e]}),cu=n&&n.__setModuleDefault||(Object.create?function(u,D){Object.defineProperty(u,"default",{enumerable:!0,value:D})}:function(u,D){u.default=D}),su=n&&n.__importStar||function(u){if(u&&u.__esModule)return u;var D={};if(null!=u)for(var e in u)"default"!==e&&Object.prototype.hasOwnProperty.call(u,e)&&au(D,u,e);return cu(D,u),D},lu=n&&n.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(ou,"__esModule",{value:!0}),ou.isFileExists=ou.offlinePluginConversion=ou.executeCommand=ou.getNpmPath=ou.hasNpmPackInPaths=void 0;const Bu=r,du=lu(e),fu=su(u),_u=i,pu=l;ou.hasNpmPackInPaths=function(u,D){try{return require.resolve(u,{paths:[...D]}),!0}catch(u){return!1}},ou.getNpmPath=function(){const u=process.execPath;return fu.join(fu.dirname(u),_u.NPM_TOOL)},ou.executeCommand=function(u,D,e){0!==(0,Bu.spawnSync)(u,D,e).status&&(0,pu.logErrorAndExit)(`Error: ${u} ${D} execute failed.See above for details.`)},ou.offlinePluginConversion=function(u,D){return D.startsWith("file:")||D.endsWith(".tgz")?fu.resolve(u,_u.HVIGOR,D.replace("file:","")):D},ou.isFileExists=function(u){return du.default.existsSync(u)&&du.default.statSync(u).isFile()};var Ou=n&&n.__createBinding||(Object.create?function(u,D,e,t){void 0===t&&(t=e);var r=Object.getOwnPropertyDescriptor(D,e);r&&!("get"in r?!D.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return D[e]}}),Object.defineProperty(u,t,r)}:function(u,D,e,t){void 0===t&&(t=e),u[t]=D[e]}),hu=n&&n.__setModuleDefault||(Object.create?function(u,D){Object.defineProperty(u,"default",{enumerable:!0,value:D})}:function(u,D){u.default=D}),Pu=n&&n.__importStar||function(u){if(u&&u.__esModule)return u;var D={};if(null!=u)for(var e in u)"default"!==e&&Object.prototype.hasOwnProperty.call(u,e)&&Ou(D,u,e);return hu(D,u),D},vu=n&&n.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(P,"__esModule",{value:!0});var gu=P.initProjectWorkSpace=void 0;const mu=Pu(e),Ru=vu(D),yu=Pu(u),Iu=v,Nu=i,bu=g,Su=l,wu=ou;let Hu,xu,Mu;function Tu(u,D,e){return void 0!==e.dependencies&&(0,wu.offlinePluginConversion)(Nu.HVIGOR_PROJECT_ROOT_DIR,D.dependencies[u])===yu.normalize(e.dependencies[u])}function Vu(){const u=yu.join(Mu,Nu.WORK_SPACE);if((0,Su.logInfoPrintConsole)("Hvigor cleaning..."),!mu.existsSync(u))return;const D=mu.readdirSync(u);if(!D||0===D.length)return;const e=yu.resolve(Mu,"node_modules","@ohos","hvigor","bin","hvigor.js");mu.existsSync(e)&&(0,wu.executeCommand)(process.argv[0],[e,"--stop-daemon"],{});try{D.forEach((D=>{mu.rmSync(yu.resolve(u,D),{recursive:!0})}))}catch(D){(0,Su.logErrorAndExit)(`The hvigor build tool cannot be installed. Please manually clear the workspace directory and synchronize the project again.\n\n Workspace Path: ${u}.`)}}gu=P.initProjectWorkSpace=function(){if(Hu=function(){const u=yu.resolve(Nu.HVIGOR_PROJECT_WRAPPER_HOME,Nu.DEFAULT_HVIGOR_CONFIG_JSON_FILE_NAME);mu.existsSync(u)||(0,Su.logErrorAndExit)(`Error: Hvigor config file ${u} does not exist.`);return(0,bu.parseJsonFile)(u)}(),Mu=function(u){let D;D=function(u){let D=u.hvigorVersion;if(D.startsWith("file:")||D.endsWith(".tgz"))return!1;const e=u.dependencies,t=Object.getOwnPropertyNames(e);for(const u of t){const D=e[u];if(D.startsWith("file:")||D.endsWith(".tgz"))return!1}if(1===t.length&&"@ohos/hvigor-ohos-plugin"===t[0])return D>"2.5.0";return!1}(u)?function(u){let D=`${Nu.HVIGOR_ENGINE_PACKAGE_NAME}@${u.hvigorVersion}`;const e=u.dependencies;if(e){Object.getOwnPropertyNames(e).sort().forEach((u=>{D+=`,${u}@${e[u]}`}))}return(0,Iu.hash)(D)}(u):(0,Iu.hash)(process.cwd());return yu.resolve(Ru.default.homedir(),".hvigor","project_caches",D)}(Hu),xu=function(){const u=yu.resolve(Mu,Nu.WORK_SPACE,Nu.DEFAULT_PACKAGE_JSON);return mu.existsSync(u)?(0,bu.parseJsonFile)(u):{dependencies:{}}}(),!(0,wu.hasNpmPackInPaths)(Nu.HVIGOR_ENGINE_PACKAGE_NAME,[yu.join(Mu,Nu.WORK_SPACE)])||(0,wu.offlinePluginConversion)(Nu.HVIGOR_PROJECT_ROOT_DIR,Hu.hvigorVersion)!==xu.dependencies[Nu.HVIGOR_ENGINE_PACKAGE_NAME]||!function(){function u(u){const D=null==u?void 0:u.dependencies;return void 0===D?0:Object.getOwnPropertyNames(D).length}const D=u(Hu),e=u(xu);if(D+1!==e)return!1;for(const u in null==Hu?void 0:Hu.dependencies)if(!(0,wu.hasNpmPackInPaths)(u,[yu.join(Mu,Nu.WORK_SPACE)])||!Tu(u,Hu,xu))return!1;return!0}()){Vu();try{!function(){(0,Su.logInfoPrintConsole)("Hvigor installing...");for(const u in Hu.dependencies)Hu.dependencies[u]&&(Hu.dependencies[u]=(0,wu.offlinePluginConversion)(Nu.HVIGOR_PROJECT_ROOT_DIR,Hu.dependencies[u]));const u={dependencies:{...Hu.dependencies}};u.dependencies[Nu.HVIGOR_ENGINE_PACKAGE_NAME]=(0,wu.offlinePluginConversion)(Nu.HVIGOR_PROJECT_ROOT_DIR,Hu.hvigorVersion);const D=yu.join(Mu,Nu.WORK_SPACE);try{mu.mkdirSync(D,{recursive:!0});const e=yu.resolve(D,Nu.DEFAULT_PACKAGE_JSON);mu.writeFileSync(e,JSON.stringify(u))}catch(u){(0,Su.logErrorAndExit)(u)}(function(){const u=["config","set","store-dir",Nu.HVIGOR_PNPM_STORE_PATH],D={cwd:yu.join(Mu,Nu.WORK_SPACE),stdio:["inherit","inherit","inherit"]};(0,wu.executeCommand)(Nu.HVIGOR_WRAPPER_PNPM_SCRIPT_PATH,u,D)})(),function(){const u=["install"],D={cwd:yu.join(Mu,Nu.WORK_SPACE),stdio:["inherit","inherit","inherit"]};(0,wu.executeCommand)(Nu.HVIGOR_WRAPPER_PNPM_SCRIPT_PATH,u,D)}(),(0,Su.logInfoPrintConsole)("Hvigor install success.")}()}catch(u){Vu()}}return Mu};var Gu={};!function(t){var C=n&&n.__createBinding||(Object.create?function(u,D,e,t){void 0===t&&(t=e);var r=Object.getOwnPropertyDescriptor(D,e);r&&!("get"in r?!D.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return D[e]}}),Object.defineProperty(u,t,r)}:function(u,D,e,t){void 0===t&&(t=e),u[t]=D[e]}),F=n&&n.__setModuleDefault||(Object.create?function(u,D){Object.defineProperty(u,"default",{enumerable:!0,value:D})}:function(u,D){u.default=D}),E=n&&n.__importStar||function(u){if(u&&u.__esModule)return u;var D={};if(null!=u)for(var e in u)"default"!==e&&Object.prototype.hasOwnProperty.call(u,e)&&C(D,u,e);return F(D,u),D},A=n&&n.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(t,"__esModule",{value:!0}),t.executeInstallPnpm=t.isPnpmInstalled=t.environmentHandler=t.checkNpmConifg=t.PNPM_VERSION=void 0;const o=r,a=E(e),c=A(D),s=E(u),B=i,d=l,f=ou;t.PNPM_VERSION="7.30.0",t.checkNpmConifg=function(){const u=s.resolve(B.HVIGOR_PROJECT_ROOT_DIR,".npmrc"),D=s.resolve(c.default.homedir(),".npmrc");if((0,f.isFileExists)(u)||(0,f.isFileExists)(D))return;const e=(0,f.getNpmPath)(),t=(0,o.spawnSync)(e,["config","get","prefix"],{cwd:B.HVIGOR_PROJECT_ROOT_DIR});if(0!==t.status||!t.stdout)return void(0,d.logErrorAndExit)("Error: The hvigor depends on the npmrc file. Configure the npmrc file first.");const r=s.resolve(`${t.stdout}`.replace(/[\r\n]/gi,""),".npmrc");(0,f.isFileExists)(r)||(0,d.logErrorAndExit)("Error: The hvigor depends on the npmrc file. Configure the npmrc file first.")},t.environmentHandler=function(){process.env["npm_config_update-notifier"]="false"},t.isPnpmInstalled=function(){return!!a.existsSync(B.HVIGOR_WRAPPER_PNPM_SCRIPT_PATH)&&(0,f.hasNpmPackInPaths)("pnpm",[B.HVIGOR_WRAPPER_TOOLS_HOME])},t.executeInstallPnpm=function(){(0,d.logInfoPrintConsole)(`Installing pnpm@${t.PNPM_VERSION}...`);const u=(0,f.getNpmPath)();!function(){const u=s.resolve(B.HVIGOR_WRAPPER_TOOLS_HOME,B.DEFAULT_PACKAGE_JSON);try{a.existsSync(B.HVIGOR_WRAPPER_TOOLS_HOME)||a.mkdirSync(B.HVIGOR_WRAPPER_TOOLS_HOME,{recursive:!0});const D={dependencies:{}};D.dependencies[B.PNPM]=t.PNPM_VERSION,a.writeFileSync(u,JSON.stringify(D))}catch(D){(0,d.logErrorAndExit)(`Error: EPERM: operation not permitted,create ${u} failed.`)}}(),(0,f.executeCommand)(u,["install","pnpm"],{cwd:B.HVIGOR_WRAPPER_TOOLS_HOME,stdio:["inherit","inherit","inherit"],env:process.env}),(0,d.logInfoPrintConsole)("Pnpm install success.")}}(Gu),function(){Gu.checkNpmConifg(),Gu.environmentHandler(),Gu.isPnpmInstalled()||Gu.executeInstallPnpm();const D=gu();_(u.join(D,i.WORK_SPACE))}(); \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/oh-package-lock.json5 b/function/ui_compare_rh/uicompare/oh-package-lock.json5 new file mode 100644 index 00000000..1faa6b99 --- /dev/null +++ b/function/ui_compare_rh/uicompare/oh-package-lock.json5 @@ -0,0 +1,15 @@ +{ + "lockfileVersion": 2, + "ATTENTION": "THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.", + "specifiers": { + "@ohos/hypium@1.0.6": "@ohos/hypium@1.0.6" + }, + "packages": { + "@ohos/hypium@1.0.6": { + "resolved": "https://repo.harmonyos.com/ohpm/@ohos/hypium/-/hypium-1.0.6.tgz", + "integrity": "sha512-bb3DWeWhYrFqj9mPFV3yZQpkm36kbcK+YYaeY9g292QKSjOdmhEIQR2ULPvyMsgSR4usOBf5nnYrDmaCCXirgQ==", + "registryType": "ohpm", + "shasum": "3f5fed65372633233264b3447705b0831dfe7ea1" + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/oh-package.json5 b/function/ui_compare_rh/uicompare/oh-package.json5 index e9c16664..1eb49e9b 100644 --- a/function/ui_compare_rh/uicompare/oh-package.json5 +++ b/function/ui_compare_rh/uicompare/oh-package.json5 @@ -1,13 +1,13 @@ { - "modelVersion": "5.0.0", - "license": "", - "devDependencies": { - "@ohos/hypium": "1.0.16" + modelVersion: "5.0.0", + license: "", + devDependencies: { + "@ohos/hypium": "1.0.16", }, - "author": "", - "name": "uicompare", - "description": "Please describe the basic information.", - "main": "", - "version": "1.0.0", - "dependencies": {} -} \ No newline at end of file + author: "", + name: "uicompare", + description: "Please describe the basic information.", + main: "", + version: "1.0.0", + dependencies: {}, +} diff --git a/function/ui_compare_rh/uicompare_tools/excel/Text.xlsx b/function/ui_compare_rh/uicompare_tools/excel/Text.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..d216d449e61cc703744038a6f427c7e08a3d9cbd GIT binary patch literal 14878 zcmaKT1z1#F*ES&_Af1BJ-Q8W%-3Tb%LkSGsf^?U3cSuMhC@I}J(jeUp{|r9q_x$g< z<~jrGti0FSduI0DOIZ%~2@(|Kdat-50(t-QLInR|0x(u~1lT($<5X#J?4unEGv5Of&T%zW2I$SNW9I5tQAQH?be=M8^Rd{ zF|*gYncuZ{Tb6Dn9n&@Y$v z6Y!jEv_Zcz;v*tPoI(GL*{^bmy2k4;HRdBO2jCNG(YF(a(LAOIoFh;u&Tp!vazDkX z{uJS-`yrc#S;Tc6Z%#_RCSM0R*we&KF5RW!C19a_R@p9-~S;1YLz$HRoWJ9`>X?aW)#Z80JIZxP^TKq=_>8jbs9ZsnA zH1W1Jho)0{z1!QyYnXq-J291ABLjw46bvuMKjAe7IGRH6^@@>G>|()|+?3uWJr<}= z_omT|mG$Mz!Nim#F-yFgllmHIN;p>Gr$UMQg+Lqa*$kXzYA_kP_>KW_=EcWwt&*o1 z9ZfA0v^f}}&=xBFubEYy+0z2av3Z8;)+CEbC9Ul(KE5QT>|{~V{alj|z2jsrsxTIb z7?+cO5&U-dD<-z9%Hqg79_I3uHlaBv_6se6D5P2WV9E!@Lsb#S*V) z8TCQKzUDT?KWoNiyMIuiXj3+DkD5&cys)K@*hKID`s2-BRp5v^!fXs9{Xj+sPoERT`hC|PxBe@g=rF*hjG)V_2tHg zR2EcEBqykOhdsj&=Qi2f4l%?-%49STIeZY7>`}3P6xX;;9@L~8zuc=KGzfng2c#3z zwZ}Em{f-xYB4F-JH72P-5`%dgF7u>)6{E%KR?Wf%r^(0DUT~+lW~X@XXZj1DOALw7 zD48D_1aEN3&eKo?40nzP)?gvn{`brR3&z&X=5bE>ZwAy~46Xo2YbOg+Q|I63A6r{1 zR61~m{F9)d@c$3*qX;V`TM_B{05YA}-~+9>hc^zwT+~-AwIx;@(c^OoX8EJu2IE{6 zVzz|L%Ig_E!ZE&m{cf2dYXzmH$ID;4j`~hu&JlgCPl%a^xrL{i@62wlfy#F81JcfR zy3QR=uFp<>_}t%23lG9`-*o*vb2w}9()S^{HEt!oy&7o0A1J)o+rPMLIJ>qtCU4mn zMr(VC3TR(g+#_x)H`KhD-pSn0Bg= zKIy1m`__O9t$EM;#`&|?Oxr^G#Hr5E!AAP#)iDX|7n9a9mv$eYn>dtPGo}58!IO={ zsMYa1bY0>(hb0gQ00NyipjDcOWl|L_fXdMZ4sN>6^9^2V1~6wv8v3;#?6-NkFU&A- z8D6I?UT>fLU|vsZ*UTrFNgzLIPdmH0FMMd{E%UyqJUh8wuJW$^#`c-l26SKV&Bri3 zJUp0dei4vnrhi+%c)uiY4vHY)f{Ti>>@OoiO(WjHYA^b5bn_sbD0Khr=aN3s!|ekx zW;>DAILMVdYNv4WVzbNf=GG^zr>kK&;OfUJ=-%n(98&G*kX& z_<)B})AFI-%5LU(V5W@=ZSY(B%;bjQF8wvIs=?>($nNB3n`nDQ~eY*E|Vrcn$Hb`d4JpJKG{rJRG z#rX`~vTXv*K2;eGqK)m2!bbgU@=2pc=RBRtZE%+K8|z9j%=ryYS-aA}292EBwDD~! zHHxY_7FnA;tEh6!CC$*4^A6pZj`|tvHi?GDg;nGbJor4G0(dIbdWybyPK$+Ih7V+l z=7`cqq|owtHo#a~>xGaSvYaw$OE1OJ83WK2xQLwn%e6~P`U&`Q%0g)9RXv+H$?OoN z`V$#bYNVoQ=*jv&U}ri=rby4iP^nGbVwg%w=*09R=&OK@#Dk3lO6XvyXyzSTYQ=}f zGg`5kDv+sYO2p$7d#=3%oj7;Vsn)lE*&_d7YkXvLW-}e6_{Fxs@=k?Hx#IZLnyI}qlg&Hgt?dG8;B!FCXp*vr&dgs_66-z2G4IIMc^~W(Zx;kmAHeY@D7DLi{THKFo07+T^gl+aeM2pc-uyS3 zY>GwV$!RG^!=tk%YvX8ilKr@Rvkcb1Z1(mR8s>w6%#Ne|i-Mx2)&HbFSKuynV86h= z4%gSsR75JW*e^8xhcRLT%D@Ls|Fu2|plnut8 z?RXm@fz0$*L}n0Z!EONZ{%v%o5G4KYfU1?+W7uLGGrY+M86Rpr8Kf$zm4u71Y4x^DK9!|#xHQ(`)3ZB> zR#S8zeD9DL!{tw@Er^w+&mHTyYz3CdQ`mlqld)zhu4SV`2?wS3^h=BZ;Uh^~O@K6D zme0+N!MZWEK}uZXsS14K{Y4xs`)1`3CR|~#p14Ony+q~mB!Yc$RgJsc0__667?wu5 zx#LVI@?p*{+cFtJgX;#Crs@Rv?MmY1(tJu?h-=B;AI%XKf|WaGyvLGe)3SjMm)+q} z!xP~Q$CB9$*zME3VPP5G{P5dtON;vLaVV(_coy#jZaVM&+wn`0HOsYP-pSf#0N$$Q zBG&4(AglKxmJ^U*v2j?8ytRtkBjotNOLY+Q(=${nv>E9^rUCQMmb2)UgxP{Rs zH3fbcmZoNQg(bzBBS}7{1o$zUW*g@pQ?1~}fL4l}7#fchDvw6CJ-oVR53nOa z6xOf!0Ki9^vyBOsa_{mEXgTMN;Rj8Lq4%VzEsa_@SlGE0AsNeOd>2c2bWa{Xmy1>- z5P|`o$2XEwyO%k=GO3N68eI$g9K_`C%{Q@)A;RB=U5>$Zv+a zRmv1RhUb(S0*M8yns;WR8B!Id8$uWmzo}PRsZxeGSjfu1FHn?57Rl-MK5p}#0AG&z2cLDB_Hem?nSml4^E`?@Uesq zQ!}B%QlxV%Rks`#B=d8s`r85+=BXy&x|XI_3--xrq+{7|;)je5yY_8&s05tykJCcC7r-GC3i8-Wcy`qo8eQG)NrkL(9qQkCqt; z+09pYPwUPi4dW=q_QOlK!YJt=E*dYBY5edLD9xu{^0@MwS0FhiY2JNWnLOQ;3klF z8jAj>LbMw!1@%_e>or@%gk6vm3du`@*LiK8OzrolHxbW8xg%+S~u>6ive zbuJLW8y3)`sVut+cRrYwXu$`-gAr=L!n@VdH%Q{{=~Cbz5u{NsDEC<`wv%9Puv-)1`~ z9GM@K$)K7P3h$eFIr_$8nMnj43nC&j+DH@CV6FMZelmjt8v#=WZKN}5##?RcQxIeo z(=l-RFDMvl>qvq9ijashaf9Xh3mQBR_-JX!$jWXn5l^vy2`o zr+-q?|D@diNh$o3^7Q>5Qq^Dz1*o>A4-;2+#aBR;Oey|>_OuD=(FKkkQedwl3N69F zgIi1Aj&`=EQm0tji`e(OPk>oe_x!SdxR2uWE1=X%0R5w{f!L?nv{)B+S>LLAsvexp zSK4lBO!~cknhk7RM_cg?<#97SL59F8(TF!hRjJN%B1j6?YH6`S>iuRT)asie$dpdG z+LRAuMyG(6>bya!4JMDJQ1|yZCwPB<{lth?g>Job98v*ra z>x`IVgqq|5YoTMNPB~4-qFBCZ;Qiy#FQ2!c4GOfp8Y@2*(9~M;^7;vbBMu~_O9wXZYm)R~ zt=A^5FZ37C9~eNVv_$?Yux!$+Qp|HOy8$NduR7ebkiIVo6pR8p9T@cCG2MCuvF&tk zhmGH@>s32-ihWCTXjTAMfyZBD%D36S>aHMotx|U8L|Y#yqy1R0yU8`q27X}6w-DihwXaq1jF3UniU3Z65d%{-1A-br&Vz8y2o1-^nPRd$S?UHWXu3>mwUka4+a zJ#3m?y(Yr0vRtz*qrF8XejJ}phZg_BhUr%%79(QE=)(7}D+VFaL9CL(DZG^iN3s?g z8|@ECleDN4e(d{b7-0Uc7PsLX(nrI2k#Ev%+YYgNTqCe>YknoSw7aIF{fo~zRkA&Y zh0t1+r4263VyR`9WWe|>xlB55yql&3=1XVLTzx*cW@5mF0NLL@nqSWUCj{=)` zGGGoxUd6$fYU&bAu>g4B(@P#x_uI`6T-4Kp#5(F_U($cP%82$SqN}x`@m_FEv&ls0 zC)VKx=966&XvuP&jL3mQ@K2$Z^{#e;j9?jUi(;|kYobu_911#l{l~ng69h)nbhbk~ z;dajaCi(CuH@O0Ag7d5eU2Kag$B9TEz>jIV!I@S8FG1ZvEoLo&448FWoquiNy#9(< zf&Opesg}4QXd$1&R#_E@f*Y$9o1eUFD)Q*8ZKa0@mB%C56O_=T_dBh7y{m!d7 ze$1IhW}TBw+JH6|K~`7xMa051b?Q}tf(#X!t-J^kO*FOawJdg)7$i;uDhj2e@kD_( zgV(tDrLh~B5_RP73^lk=-4(ElW+K-T6~MLNgB4qNX({L33rmSYjihe#$`MjB zgJRM|V*MAfRfLH&Kx#Pk$2pWWaE;U(Qv0+;_`UNzw%aHkE&F!F7cyaYv5tgYtoyJL zl&lFHHY9Y|!xwHImXxY=72zM~)nq=wm*9Tbyzzh&6jFbEVT+?x5G#eE&WPPGNH;rA zzjctk(qvxxnJt0CGRrF4t*ugPWM2H+J1s2-Q##8Lkx8*5Po;)oluGT@{vrsMIfU!J z+5k>a(7F3;l@Fq?`x#i@a6pm2HxXS0bnZ&O`dGYQNze-Lsm92F_&3hi>aSD!xm}Bj zb!jr%KFgxd1uF}!mwK8k%9O3lA;%l8H-Me9Z17Typ-^jiTg8KM-Axm45hPHVxoi4x zIOXEExM7V|((@o}1B!ewpFaZ3cfGwiK578$Os=|5-wxIsSvCuL-hT5=8Qq?%?D4Vj zZWz6Bxwxs`P4anMfd22bILI~tc(Kme!qnFEw{3vS$Z(w#I4CIk=fBoV|6+S&eq4du z(~$!Za-+B5ZTV>Lw#Jz3U_6h3)rP(wym6eJ1JtNIOwSIwWkGXxv6@ z8u#sN8iFing4*}@Nlntx1;RPv6}4oPblx5BIYM>=5^n~-_dMU{Ui;ZUiGX;9%8D15 z&)Du*yz9Y(qAfjEv<`ZHD%7~^A(q1-5ug8gU8(x8($4306sMNb_~RS2UA5{UU2g`{ zdJVczsNk5-U)er(wqmRz#@hGgs`idzTq;;t=Dw~-!jw=2$*I8D0V1U+I+j4p_ilGx z|QBVCpn zVBU!`oNH4R(_<&6o1P(X5xh&89emb#6dc)?`xc{Cw_Ia~Kgb6q%MoYV)_G^qeOU=s z8NEZ^iK$?C&d#YpE$uCe^8Ms;^Z1sHCPT}zk5kZzqQaey8%qD3meygb0bz~BGAB*X zwC3TYm2s|q-628z>JI&-6tGauR@)8b1FcLC{gz{S+ib>gy>B@FqElyDomFKut5ciE z7b_agBqUa&;@1sRn9i9;L{Qk#WHPEsitGYn&dD-)!+0K9LnK?g+c54YEM zY1E*#?4+a4ukF`YVOs4ES6ml|EYEA(yv~1KeM(YlcfT9QdVldUGMLI!1e2kK@Upjg z5HmSzC~^=1?P`_*o|P;S?!%Xcu6J79xQE@?DtLBy^Rz7kqOV?eSjXMqPJ4f+j^!aU zjKV^8>%d<$T}biWp-YTe{z4J4@a5|3*F~wV5uD}-)zXed8F(1k*G%)Q^%hGxGzm1F zw22u_J>B^HX0B1_^pyw{Kjf=oPWLeYco^og@Fo_Fc|oH@GFeP&c%n3Q326b%OH8>H zIR!PFW>gJ*o6ey&n~R7 z80KzGi;6Fp3TKUfm2#BnX3D$?Va1w#yXq1i`#oqcj)SW@^8+h`%G#pQ7@Y8%bF7?- zY*ZS3z5V7Vdh0?uPxpO2Q{!=wB^FccUolp`H7f_*$48=1(ZT+-3w042!@?1WvOk*J zd*jVovgcy6ez!h*>i!;UQ|(hj-q?=)gShQ}mW(@c*J{;VnvnDfg5^2L!_we_!LWsd znFD`KXAkD&u71gj+L{|gE@o+{NV|mR{=k@Z5-5nT?s9z_8rG$a+og3zAr6I%=a6SB zFtoNQ(S3(+TIE`K*)Kz3RzbdOD&LW!g2wMfFOW`w!0>(eW5NeM!;KZv=-1&%*57zO z;+aHNaN}+kb+(!jZlCOb^sNy@MkG&GFd7%lVI@|V87s7wP7Mgmm<_73;M0DsxxbmO z`xbiQLrKR}ZvcwMK&8f)C*eOv0%=e+(vMY#OH0FmF$o4q^44(i%Xi&2a13;d>aV92 zl?Is%tqO~3B|Ek4xDeByFLp_UiwWqZTb*)n4C(G{d;bcXQZrb=Qs@~kM?5LSgG zwN^l&^mjqo*u=^L!+5^}U2%?ve)y-I{BjkDHOCb(0Xg%M-MJX3c{(n}5~h6ZPlAT) zI)PegnZ#ubvrqaLqq@ie($u$H{*;>5>gq7!WIy1PD2L6Yf25m`nuMJ-OeCAtShrzM zSkn-{;s_fp%S|@Q=&Fmyb3WCGfnBxYGM6rjiPa&0Ayx7vRi>`Va+K2%)w+4VPm0bd z*n-KuAfK+px=G{v2NnRVT%&+t9JltM+Oxf}-NQy_W;r{jig$81fjM#_ong1UP5ZP2 z{-U-R-*XD^EBmX)c4vzg`8Tix{N^lE1GBHs8t3y{a0EM_qrwkQUVX6xPIiu1v{g=| zOtrsFZfCAq_Ck+BZRtx_rgiii$=Z8>`uCn1L30!BH9Qnl2{#lJWCI!e8R2B{*3r~N z&Dqh?&fE#IO;fHn@0ccy?gc8jLr7SfULoTjO5DSa2^EvX`w;e0SVcQ^M*XWPH19c@ z&ECQ8iTCi-eK)FfqTlnZ!h~1IisR0iZ76$TXv529hZ189A-MzDo@6Kp6uRGbNZdca zXc{U64ZROwxX7(*4<&cx^(37=?3%1>e{G^8lr=-s{6c60czk0KUrr>mWlrrNM&`b* z_c7R8@j;$gN+%Z6CtVOT_I+9mnT&bv2wKka8yrCHt)m-LCJF+0>)Ke3s@X8Uny;m) z*S|FE_9v+Q{`TO&he_&c@>|iR>BWxKs=3bE`#c~iwNBeHJKGQa7Le2q%0q0cLM+eV z%j1vDQffuk@+&OaR3ZI@wE{{3H?~6p3ogR$a}pP?yV4joHypE>Uks17^JQ%CBp!{v zb5@EqDW>(oc~8AIix!8%I}3kW`Bf>V6Gw_io)#yRkldkAdf_>yYvk9~o@EonP~$%6 zlhI-X79Hn4UoNV2wiy%U zCzTkKdNUmwOMQeN4Lm4pvj_KWhJKhb$WJd1y`C<92pDQ~S$P%2);gQ_*-z2$?F)r^ z9isO*0yNq2#w6)Tn*%}I4z}jJ7Zr?qQ`+*jYI<&%)KK!mXT++)z}k}}6lhEB1(We@ z4)>yfWjb8GX-u+AfgklNO3QH!& z_ox$}^4DoGS-PK-n3M5;Ka$!KKAmsy=FcbJLRq5nF|JU!I(eXvu-=4ch(;kNiB?kw zo_+8ltCFr3$x6~Dsd`Z@@@B}?uR~%0#&0$O+A;a*N$xY7?ip&M6j(u`H<=-(sHeWZ zUSx^9BjhmWp$tx_w4Dl5Lbe(nYDNxS6(#t<`r|Y=sT)nZ zt5r5s62x8#Uy3)XFw#biW(8m3+TE*V;^BaY6PfeK!tokep@AN6l9m((K95q>;_1u; z8!sH5+})Ep3E!X^Njs>)!A=)*EE(iCn)w`242gbYC|DGet$AivAeI6vp`0-5$jZsM zSZ~=*&K8q+paKWW{x;OOgY1P_2ZL?lXSK!%})LvDIYHOP46 zs9@)5m5YmGNEDy$gwwm)qJy6nDhHFJIjowm!lZOi1}zV%CNg>Tr~F=AYwW}EdW+pD zOq;m$c(tgh*g0Besar62th{*%6&7$NjIw}VO#LnUG><1fqvLecjsK0PRn`)zt(XH% zn(~Wos@hwqoBit>9G>tDIMn>Y@QJt;Wp~vVx#q@x`*l=X-!>Nx*1iE{wr0i6O{0I_ zI7|97f5Kj@8ZT$QPIodt9@hQ5ont_p$~GhtTA~JDGRAQ#GMN_qOnuU_7Yg2|P|&wH z3rvRRT7uI+++pK6Q%*J>iMwU;uouGruycgP)1Bfv*Lm01a7V4`J(wPM%W81(#LGCe zzN(vP3&4?-6j;PT+Cu#o7__RcDVIr8-vUTf~HY`Z**q zV;1KqnZFgMH}uhZL0jE54z0T=OeDXmDMTmU@D`P#~fq5NPcA#qXhMC z>=q}67{AXg9)|9!HHJfrT2SJRZY|GJu^7D%qwejK!WxZodP(eNKo3QT(fh%;p+olr zxGG(7V=HDTjgSHR8ALbg>#HrsjB^-?C|`W&%O{P~P{cAG(3fl4NYRw%IJ&*uCx$CV zI>;KSW^;=*rpU-0sj#UU^)J0H;T0PaCCb#lh2|yGDN=kc;fYBuS&q;G zOL+1g6eTPbx zgAo8={dk%|O&^fPg6)-A`|#!}9bei421z~pNx7<;hGn9iQXB%6HXPxsSzhWn$Xwil z`(3JAQ(Mm_5s106a`+vbH##Y;IjOT5*ONd~fx=zv&f)hHx}qdFX1ojOKzIwML9?jVou3BT(_8~=q>Lk?1 z&*`AfYgnNIt6{KfTROsU^R9VwA<4`Bu6C2gl>uPUd{>eR8YuoS323x!29=k9T20OR zOV~~c?_9bZZZtInKL!6h>#Fo#f3uazJ2i+kaE$Y2lvr~T3q-tY{;6v!bkh3S#e(1D zd;XWxJDi?8XHB!q9iIsHNJ)S4>M$nJn|Yu#SF)krv}$5fwFY10j*^T!dISUmxNUpR zhiRBKw(HJ8yXX3qqs}6eYL%Fd!Ckylg3arV;ti_@(4}Sb+cS*Tid~+pJ36j5E9oEH z-A0JdzGn!l>+TmFXlal)X(fSG?GW(HK156Xtrg)zS*d=Zk+EYT)RYg?sZ{HU?RX6QwkVE4~%oCpG?XR2duHrq} zpRQ!)8cSXmE@U_}==IvSdt<(P2iI>Buth}VydZ>DQy?1Om(UfktQ60Wf{-ecAyKr> zS5bKB>k`7&ItDmpIRCmH=gOSfnx&M^(L&0BDOE(cMqo?!B~FkKN{-1aCEQKMpg~7N zf&JA31`<=nlKpOhc~75SzpmZa0sEI2pD6Z4Wz!0ZoWr9W*NWGPbjhlo8PKU|F343< z+xxv^pee1b2wl{n`UqFM9cr>3mowNshF%}=BSHQ+N!q0I2jT|Klx+q{M3Y_m5OyA^ zIlQgSw`@IM*~N)L)fgUE4F!^+S}1CXtTv&KB!=)XgM|6H3$lb)n8*s(fCMIe^!7m= zYNZEjxulVUfl4kLaY}7VdTp9AZS8hb(a)Mlo+&D&L2!G4&$8)F`4uMurrwP; z`qRHh7)iTetORt1V!ip5_P(D&+6AqTF(UAfmd+RhNA-sIq+6% zQz(f$QAb zmZc^4h-L9XCmml%>I!0nRiSFuMn$B=kV?=rs7aw|h<>I=`#*17kYW+pNLQ8}wwlj1 zF!7v-Fk>S3ew`Lll!9-PXA~d)x{t;}a^oa#Bgmy!te1K^E*M>f0-2Od8edGJ8j0}g ztGy~Ah9nyyhNu`J#Tu1{7JFW4EnNh6H}B5s!Tl`ZxMG85?p9)X~jGY?LHk|l5zSwBlk6%@(wA)nzc`dvV9g+y|hFq@90{3TEi!Yd(}rO zuMYp7LH`rhVVa1^2+oPAx~wsa{gC_*Mc^lP^p0Vx+P1?J!pOzF3kLba`ps+2fkJ*> z$1DK`q))GU;n6^LG5I^V%Gx%qSGDY=bo!nkM2&23W;98@kFpH`yMbybOXHgE zwah>@lcR^BqUl&+e*{^ zhT>eM+~&_1sPf}W%tER13*4d>1C|XL1QHSQtuG1wyG?@m%6@q9b0vi$Zd|>H^Ay5y?mnVBU(^q%YkBvpCsm>Se__WrIJ@^!hjMt_8@wGLqwaf`}?Uoe!wH{F7U^Q@4aEQjk)O{fHg>T=i)UORQvVMz$T*D0n~}i z`k$kUW)G1DYsI9uLy#*g#}!aJ#e^~amHCn9lqI`k7%$)78or`PZB(F&-AyNBg{sWG zLtEK@Pa}l{45%%M%oIu&@G$B;6}BzLnv7+@v}_c$q;bP9^~VcnL${+e)|L&u?#M3&+Fow9uHD zgx$>f3P`@9f^$~ z(X-Tkoj1-SoyB1V zjgdu5g2@UKpc5(%L*~Xog1H=%)XhlZ{|c52gLs!SlXqI!$H!Ax3?YU3m7T9cl0+kI z^he>aypRxI(dh8CmEj~jG;&M~EEckuXnCPV{;ToaqX1CE0VvJ$6evNzA{Gb#LDV}k z5tSU+!eN<~aeLzFc+sBC!&e|qp(-Ci?1dr7Y=)wM6nbQiH+n)wz(Gq;v46iZP^d(P ziGiGojl4RXsqo-{#veE4$}t?q?YWGE#_~Uh zogtaSzA6&japV~?rj!-<0q^IBomp+LY$Nggr|S1^_n=Q0F{N@bggZDxQW6!Uk`+(r zRm>(OzjqcU8Nkzjj0n-0L7;w%_4t@+_cp#N^i1|E{DQBzt@Nkduk`3xnt)!sBJ`PO zv}VTDowFgyoO#I+V58(@)6rzyQ}iEEE)fVRB`dztLsfUscObDx8*zcD5h1hw*qXCUyocjUi#m>`_xvBR=o zS=zRB_rBUD(iI(u!cqACm%O$bpbR~u;{Pm^ZCMG^zn zg2)#CcPjoOfL@n2l|xTA?L~j-verphpt^nMljfhtMmK>08v^ljOcXKto~k2k@A+xt zEJwH1l|?f7IVB5ug^kGrxLWO$?fQ?Ux-*HC6$HL5(S>+4!#nTeUWN^954o>^xAg^?Y4R1PXB)N;@7imb(7`vHW9O?7!gb zwV8F?1;f|`hLZsN4qo#7#RfUg{^yUmKhRaM>S93;x(Hel{oaOhi52zUa3Z@n0lo?jg131OC>K&Z^3lSSWBsA@gH_T;E^RU!$g zYjA%`gd;CqRSE#q19&Wkl6uc#BwUX2I#_$mY5RCyaN>~W45xGDsW>GT$El_gC1 zDac2dFwZao;N-P>L5<3@Qa>ELoU7-)#QeS)lEEw?y<*u58zNPRs`Dk2iH*E>;OL^X zn?HS|&8dH0UzK5C`VE(Lr@c41K)F$(qfn{!v&qzFAkvq;q{pGF+GM=0ku1l%J(KPK z{>4*tr0Zl3{;7)s-adr1TIh)b?3_*QoDJ21_NGqykE_D*1Bx)L*ufW6ZC!bK>}vLJ z!{5GHHZ7)Dft@(-;5bdp@IO4ypnU@)>KC3S!?$lSC zS-SMDd=I)PjSW;R=VZqDe$k7t*0Y!?`1?f>TtQJq=VISYK)Vx^&c>6&fu5_vi<6+Q98E|r-prJ^> zcT0}{%+oIg|Nj{WqTpAX*cj{I^UuGH{yqaiBz_q^|4Zg^#QZN~kRkc&g7l<8u79+z z{oCH}4QvqRU-qc~DfUM@+wTzl-k=ywgjFOdAL!4;e^$ez+)%O(E{tbfOj0B#-n>&U|I7Jon6@V7;#e~SHm(&2Xn zzc1$ft-zb|(e6KC`(I8&nxTGOkPLhL$}mLuuhyu4*Y@wtQ4rZ*Su6ZMvVXTqDa*k@ Tz8--44Kbh)z2zK@+^p}{t%6{|aDLecQQ#2RXin|(ne94RBbj-5G&bB@H^4{#a|~4sShg&klz7kr&Fh&0M&a zhODo$g##!9r{)35){(V%GTGnZ>Q(r)^CJ$j93WS!1PG&aFY|nn)|3}CFVh;Z4 z)yv`)lzP}vLyo2ILkF*Cmt!$S<=jN1TPW3i{biOg>Z0>$h?hI)Nifxkf?%Zl+I;Va z!OH^CdxMl$>!7koY#={%y<2%m%B|yD1SUGCWJ$-ewO%aO*~{6hG$~mR2G_P2rqagZ zT)ClDYRTzS@oLQRXIex^I3Gzu@Lr|`==LkZ9@Y^I-~j4Q#qD;)Gd-yIkJ)$FTF!tC_)FN$o&}OowxGRS~QN=Ttx4N89TsdEF%}k=9@zU zv#XGq{ySt2dT&YBATS7n0RS){Js^Z)bpfnzivuI>nW(}?;5)KLP(ylM(OYcfGHwiOSz5+pMy@~!<^@-c+ z6Xc;vlbP7$jf_n-@W`GpO2>1@tL4wWX2pEXMuLuFvm_P$Y&sfA1iHon`*+EkWo<*H z9QAr{_@}hPBkERz-a8jIfm|q9mR}LnmlXJy!V;!O;}Vpp^I$MR^AP(VuN`zY>)k!hLELFD@px? zM~{C^;XG--A|g-Rk=*qosxlsE;A2~-5Y!x3h9=V}olbIpV);|;dKXqNyaR@!ptEBS zYht4Esb(-ty%|f`sX$~x0YA9zM5Vj$sn12u$tS+BHYIR9sIe{8@b)BuMNEGJq~JV? zQ9Vwf^j6q4-QqL)m_gNDg-Nt8O`+Ren-@}XRm>s3SYqSH-f(bA8xI#5jvkWB9NI&_ zfIiK11-xDlKKX52ts>rqMSLIm(Ygd)U(0uv;q6FJy2Ui;Hq~}|`M|DW+19+{(Vp#8 zf@R=%;!{}@3c^4iq0l6EG1robJ%U&8 z<<6i#R!%#AC_1oKZ(+O$dRdMlD3czyUHKG)6;XliBPAGgzL=gG0apYoZ%b@zXQDg2 zkDrq0u3o5;^#XI6+TAlrzz@$Oh9>icU?J=JN&0ich6(15Dwx#Rg;#UTsB&&2_uqtH zw8M3_o5+0`*Qu<{EvV1$O3h|vB#eFpb#DVPnbXA$=&|U8+I^euu3j3aiXR9%MSRUV zTPY@cRG@G#OF}r)cH&Mi^b$y-;%g)BIW3zkb|sbOF-jAfAzw5id;72w*Y+Zn8w!`! zodg=og!}6~mGpvP3d{Mb28uc&92x&flZb`riRrkaW-mHdLnvU?@=?> z2-+32u_>V{hiZ8gCn)EmEvr?TW+Skus`q;tpg*V3<8X9;Ay@MCc|7b{J@$q7JG!cg zCJPQR?lS8Nqw}hPvr$){KlRn2`Voi#azw|pZJJn0B}G4BUE>2fLXqp*$vian9e$Rm zP149S7Sk^`Fnln*tU=y*h_K>JL)VJ-%s!r7WWGZd?&GV_I-d2cOL_?>oR4(@+R6i8 z@Q*3ZjaLyd_|(oHeQlYo379+3n&WBkxv~C+%TRY*zIOKjXtjhq_ub)rm|+gE`1v^Z z_2g2uWq%f}6*@Sv_s)7Z-mnyYWTk=vN0Lo@O<{F^jydg=1a6^f_}N15yFO#J3W;4h zxm!T2a0F~PX?5xv5|Ic8LRkE3(M(bfG|E$R26K`Kxg^yN_28$oIW?tWYD*OA^7>6U z`5(G*n;R!8qUL#9zNnh|XlEBg3He?zF-H&HE>Dk>ZRDTplNj??;DAb(o^0)R>y?$q ze14A?W044kg$m>Y&ZJKVp-LYf&cGw1VlmEI0uOtWp9f;H1@G@~t}$4?f{}>!PN2fs z-JY$9?Jz~=1mQipr?whIi-d)#zyuqCjhpF3Vcg#Y6r;^`6{1wq=WuX+ySY&a+BZlY zg{!XhejbJT?U_k!4|XZcv*CIW2FCX3%!)h5oTC;NUsWAx&OD-ny&#MSEmwj_7+Sg( zLj+v|05yB@Vo$TYHT=Zg4!Y+Vn+ZX+* z&abjYkS?@PZY7inyyo4$Q*p$FQ`~W7@P|DoT`;>73Cl}M;tUrfy~A1!1xkFurL#HF zH-C?LgYGDN+V5aUKaY4lBFCLzkvn>8 zI%QukSETj4u35K9iWvV0NA!EPwsLFF>|$0=E9gipcTv4KYs-q78)fY|n2w$kXRwt84Zc*9D&C%H$Cz`}7C|DJnL$ zn^LEF>oA~x>5f-bl1E)>R!Q4gynoppA5Cq)Jhlc(_-zel-U$bGiA7O&-kaBxvD+!R zx{{7t$T{^9$Sj#8+IDq%t8(K|MsmRnWFtHurJzT4hreZ76>#$=>=6P=!_43}%m$;9Me65y?Qty7^84&)H|W#3+Akilb(Wlq8sLrYuu$GD@51IODGW$ zhgBqz%}Zu(=@^D5Vn$P08pg$Z=a#I8W4fhJjUd7u6h)6CfbBV7hyDHg1ujr<7I|Mw z<6*3;hAu;_@w)pom$Tq}lPM5*zHj!u^ZA;?y_#YhFP%en6LyWj(|ZN^w1Yi_2&T{} zCvgkPVRNAVs9GcTBrfS?{aL_O@+Bcj^HKMjx?wnu=BJ5cy7?2jFe!Y+fE{%QT-insX-t;eDd$af zE~Bs|>;)pM>`V_)-J`?!)vLe=a-b|)ht^4n!KaB6@T@5Kx^yes@Y!4bB!2elFm|T9 z@5^%J=y|(TEdeT9)(z~FXJv<@VGuH{qqni*NT zxjMGjC%ZVd7HKau9*zLeh^{$ciB1&dVz!q`6UAZ06_a)sJM98nEj?u3N(i7 zAPS`oe^&^xm08!Osh*NCYy%N778))dx@`)Z7H5r0*@dZLw>-sHMyUVI{>ttTS{yQ>?h*s0b=idp2yZh%#A|xYu-W;S*apx~67oibVBrMC{^15X*>EpaFh0(!=qHj_sv7RsK{v<2mpqVC@$=klK zNb>%ZFl%>a5eC$nw!WP#e^P62dIdwiC)kKGvgmwTR61A-wfO4_L6PR6LgK2FrF=u6 zLpqbrkRCapnEE`kaFc5;jnmnoSqgf-h|(iqRKPHk>UJADqkv1HBzZ~TkMX1l{X`xE`w5=vW zmRPN?;-ekvuaGEhWb$@D(iUkJ=cE?Q0rI_e$49n*DMX;>knZo;7|#@>xwi!x zt}Em*rI}M!l!&amvC`>&N}3@u&?7Mi;;R~&7wp=*ph(lxMrCEVdZny(RyfPqxOZQ^ z!K1X)qc-k%C*EupIcJCZh*{o8*7@H5Y~yt~-|CvsMt$%|ylo5tD=d8>xxh^N3d1Lv z5-^t8-eV=j#I9rnKgX(y4VHra;VC(G%_m}YD~bWM=dNaT@+0EAbJxcm9ljwUN3tg6 zT#0X(jxeFwKYOy3TXW2qhrGx;&hzgk96Am89=ZJb-PQgaO+GO??QZMJ1oJ22FvP<- zi)}bh9Gsw;+p@s=(8@X$kSMtlUZwd+LT^LSk+D^b6it;ym+>2fjg3C1v{Aj)myaNV z!f}F+W8V;H+fG}J*&Q@eY@{B&?IS0Qrl;&ZF)T5f#_z+ufbJDpQF`NKN+&bfijo0Y zu-P4%QTX&C*r<&NN+c^48y*iQ6>UZpjPy|v2BikMxwztihko%6p0t?{l~(rsrFLyL;{%6g zEi8=h5CobczoS*z?^yK;il7rNWutQVGRDhIe$CK&q*Xb#9E? z+~N0fb*bgOdO?^B9Wq`sKizU@-;UCGd9i`naH-W+Gzww`JqwN1k6-05eze$pUV;a{w>*P^3H9@M-3V@lYQ>S`* zC4_o4lMY%+_|{y$8Uypv5(5EsFW_7Ajy$yel+YK;@qqnoXRqTr)%(TdFFN8tol)lM zw?<8YLOR%b_g$#nyRdIfEl{V$;?Bcp6oPAI+?#b!w;$oR1CFo^tzdr$Q3X2pCPWit zQ&SN;dWrv_c-n;uXJ>!b)((Xl!T8MxeR$s=_Kn5GL8# zT~W6G%sZL{a#UsXU1|a+1I%{IzBgRmi5Ov$?H)hoFVJu1_4HaD|LAG2DCr|A z^)tZ*(T((8iaoXbjlbn4v6TJK1PBuc`YIisH_L5F9S zcvYPt+GKz!clJ^(Isa!ETC?B2Jy0z{R|{m;5k_}<($~W7o;hfsp|7xYvto|)ydgv% zbEM38aiDP&|=&R^QxQo-NH5j;-U$LKO0&H!}XYqWBu^;QF}%K-1}*=z#j zYK&K<>(+x^IFfhkiQZ3@*tH>$WjE#ZniIbQe^j0jB|lRAQDZz|fG!{{N%f9zDW_zk zVR2muLchNg)Vib)Bn~-*t3X^lEQpI|YHybZ=3ke(sa9Hz4K zE_&G$^eY~SIHtgcqOaH2N8Bkdl5**JpOSt{jOEq**0h22w!khuYnK? zEe3~N>y}CfeDZjyy;UK&n;55-^k~_wSk!1z4{YOU#Hb*NQkbS0D~QB8Q@gMB^*z*# zmRnwt1u$_irdD^WZr zknz+q}mYg=cH8Ey}|Qk!KqPha2bkD z$pO>tAUn0H%e}o#oDpm$Ev9`^pbbKJ*2o5Rb(o;AI1D2-N(!v{5DDK$}Sa+I|pzKqvC}1#8>UkEt;$d_?VtNX)WH z(fCY@)?c4QMBeaTPT;ESOb=6OfrPNo2^5WAqU5@5BvG~zPx`pecG|_k|DS9;jtqf z*v`+qLIaX;xx&LBAcekT4#Jyiu*#)shY}!#xkiOK^8Z{0<>2l-I;SMh)^?J8N5{}W z{hHk8`O&lTo?%0#cSW{jczrdRSh9SbzTmsS#zF~6aN4N#7MHT%Wh-7YcomggPjQ^? zCN%R4UkTFVebN>+WM=-gltMwXLcGg=F6aMy{{G$mLvdeO?ym{{T6p|-;LkP%LXtm~ zA%6}0Ycb}}fvpfX?*A{%{F>)ihyIUD#}JqH7r*}3;9m{hKY|~Se+&Mbz58p1U+u#` zGEAcWqnY??f?tnneVFfizh?RCe)>la03Z-z qiT-VO{WbirYvP~7A4vWb{`(54EC&afT>tV?gi# literal 0 HcmV?d00001 diff --git a/function/ui_compare_rh/uicompare_tools/excel/UIComponentAttributeImageTest.xlsx b/function/ui_compare_rh/uicompare_tools/excel/UIComponentAttributeImageTest.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..03b4407b5e9ec4abae19567cbcdf115b034c7212 GIT binary patch literal 9596 zcmeHtbzD?i+xF0n0}LhINS8=TOLrrUfOHJfokKT>goM&VNlQq#AcDjYk`mG-{f$27 zc|C`7zW4Y3|2%tsyZ3#~UTfXgz3$j*ib%*H04e|-007VcBpwBiIwAl7$S42+0RSEG zsg#qWo28?hiI$hMCD@3=)4`rP9~qH37k~(V{=dtAa1WGg4LEjk0b6yq#H8DFBJ(0j zOVP=j$)D11puO}=(xb0mBW1qwW3p1$u14=*P`4j_%6KF~0-a^lmlR*I=eW>Ur8mVY ziiNr!h+fORmI;1St`qw%A^Kr13C`Xg>gPH%rN&uv4qMt=S_YzrwV1r$Iu2DfCCeaU zQVgvu>!pb2)7zp0o%)E14_=U%3wVZTu-{i$&~0f^=i$|%ugnBfXmg~T#XbO4t2NbL zP|0r%j)QWIs-KezNl}U0lp_>7@K9m%hGPJ$xj~22)`6&;bo0%FjXaoLv!1@D+p;9h z*((+GFHEk4gFhw2Xy>X<)_648uEt{>Wq^;q^Yy=lMzRkYSbkSI!?^JzvGhH0VtaE$ z95lK?ox`1Q;ME$64h{#}%mWshckqtM!BE5vjDusHN5uQYmnpb$69NM9S+jt24>RJ# z3ZWBh%V4!OKbxFS07@!)NXWgX(ee+JpSxEV zTR=}X-_Ar1)Vd#nBpcA`e>Di37m3~Kr#W5bE04wp3DebkK*Q57Twb8DFuJBaaVcNw z#&e%MnLN#qRq$eVZ;fXuYb?%F99X1#^7%lz8aT?Kdmn?~EqOSRXhx7hud@Dv`Hu>O zNlDEeXn0k_quj0J(aeCUw8BjsF^Hhj_wfwEez3XqOoea1Jf;Ls=Ij%yq zUMA1%KO9MCwi8_Yva4kEYtZuH|KJ&w?PJJ22{5STI~dCL>VAaLRo1^h5FAZaya1oE z{!Wsh$0_MY@E&P~ljJ@C9l_I{^ItsiaB{UXcXG1(Ih*~PGYIf04UY1ky_9PxD|W+8 zI@V1Dmq(^MA>ND|C+&Cb?R)40wGUv7G`#-Di)1X#MtWZqIgy;gz4k`>+|M53E+Y|~ zbg&jj;Ujw!*zXCWIE@^QAfcP@Kq-S|Q3&wAZ*7SxOV39SEMW+06y zD5RA>ZW<5gv;D~Rg2xs-MllH2nW5U%z>84L@6h1dh6d_a53JU1o1|c;sIP;)s6HK$ zV#tf&cmY0bOwh3Y=#V)@KWw?OQug|2*HLhRy+&T9NLl(&)HmFXI-*~eD&Rp9cr8EU zz4qRco8;x-gLc><+tBfz)#^asPz1QLJ6U$ z1gH?C9;CsuI{PcR&&%urBlArTv}P|tAO%`HbKcAh25e_c78GJEwSLN0bfiU<)hT?il}^P7b^F+*lI+4eQ#Soh#^ezXX>yF zGwP@Hra*6NmpkyfQJwFpJO;aTv8SY{9q5E1)mySb4n(4p-w4C%_SHLkZhPDmUHy^@ zYtw_5LmFFOnq2HBvq>3^@hO9c?^TadtG*C-e`Wm+cf`2rvce+PpT5xJvegHpxGH`} zSSqFQZFeLry;XpplE4tdZ3^eQSHy_^a|Nnl7ctdEVyz0%v2{`p)$XzkQP2BLw!!si zzE{?t`7T~Me4hXA*f8&4)qdl|c_72qw>MT&-h_qL*F!4y=}|HNoP`sbR53B9mDWhF z=Jr2pL$A0?)?2tXz%T&-(7&_+{M^jd@|mWatBs>I_^177(HU`^-~zVM9pI+zb-Q0k z5i^w3e+qWph^H2mb>x|^1Hou=a(A$(jU#wRLp*V?VMtH4C2QT{a#U~HGDZsyo)tY6 zu2SVfSuy&kO)H2rb-vK};$!B;P8q>RMBAzD4&nZDc4U8p7T?6MK(>V!G~dX&4`P9N zu)s;01G+}Y+>Zgyq{wZ?<^u*qJRFXuC6ABknNMn3vx<;|hsY8XH3 z0Fe?cw)@^3oIGW$>hG@X=a|J2LM~#TLjxkZ3juu4TXKxVM6h2hFjh^vlT&9Xi^O`* zCdOy#3BKC3HGi~VHYxjBpbN%5yX3n$pY3P(-EvyXl0H(Gf&-5UEJ~-PQz@ZvBD^Vk zxSKp#)l=w=xfrotZj@G5Uov}mc(rwC{zAQBsM+5n`{79`^ke#-j>E7%KBT1(D3}M- z2SSRaFcU2>-)msvVZL9*lVJck<d@|Y!?Bs~r)c|SgB`PfywGNmB?2DZy ze!JLt9ZftkzjfTtPM^AImakRQ*dDNhbQ^a4T3*^vCHnP0l3dt$2L5A;_;telKNCb~d`DC#7f9v|=|;-aC;3Ylwv^^0+D7efNah!_sIc^eGtjlq zJ95hpYirJ>>>$fpE=rIA*rY+ zMD``<5n@$`sncJRboqDBRL5bIBs^Z9k&pD^8aR(88!IohbvQIZtL0Rw+hbex(+v?4 z)zH8B9_L3T;#koBQSNXwR9-N_^l`qNV86`HVW7Fhw#R9XogXf8p~LXd(J971nYp1- z#)vnl06_BnpHbc~Gw1f)(!rAR*Y;Plzw1AZCVK?(=R6j}KHB}kzcPgHRMqD`ZuJO5 zpNS#9hTSJ+GGPjK_pc&FCnc3q+oKPrhtUQS9|Z8b3Q4dP%K~eRkf_a&2 zO6@ZbeJj4#agVdX$D8h_b5Mv7n!r+M4|{`e;i`}TWi@wX5&PL}uF3O8Tw-QQxgDph~Ko1L!3J%7}I-P4*_%CKi`&O4dfRPB6oDI=({$@R078qAgJ zC|lkPT-{jjoW03e)=NzB9-#`|y-Dx7R8bW10=#3swS3sI@QBLPXw`jYzuM{DFYhO7 zf~LOfP6;&lo!fmSWUkwTE?r&&TAss?doGDyPp}4A|2&-fvVWrSetQz91u-n8`_gVB z$)pT*XrY3d;0dSRlJesA6l=x-Im%4cAjeF1XpgyOh0F${;sqcKjXRZV1th=gSu3 zSP2M39VyHdX5P#siR5V$RE#s#QHWK^l*_~a_555pWZU@VFiLf;FLw;~R}PEXF8nei zj=_4qd-v84CKfz-rd)LKgsSQ&a;MRqogO23G4Ll#KyY5^GDo4jS|-7g^|!brdFt&E z0_>`M|15>;BV%WiL>4ZsPC9n~nB1F|aTI(BLn8iQpl#Qq_fy%p1@*=r2SJgcWGle1C6f>5W5|I3iRNhD_ic7r32$0N2LPq<2Bda*zIj)QNL9eq3(=__o zfTS}{w{}qq6Xc3Vm91JNK0}a_*e$q9gLKSaYMc)Lb@5(b%KWWI%6!GAqTEgQu3PC5 z7)Etm305DUFTt)@@thG~e5EM~+cxi%&yqjq-0rP$e=Ho;mHOlHdjw4JTM5z`=Vh+bb`X$J**Bl6RIj?S z?9$f5q`>k^A^O^0C46nH$cq|a{yq)m~2_(dX9C5 zi;ANNrix+AltThYpRj~MJC zpI+~ij8JT7UJsWCznb{Bdd@rD3*wES7~dSK`W5aux2CvCqjyo z`oo~pv=dVD=H1REEtRTU&o820rD-{zrFmcT;%FznD>PDCT%fP49%NDv(Po*qg?#`+ z?KtXi@h628v$(d~Izw~Shsbz~<$Jez*d7YAJ}k*z4i-O>b_iM20f$Z!I0+p|wXW#1 zGC|gwH5l5OZ^!l+r}r5lvcxJu-?W?w6&k(dfNU4z;8iVtQ^*|t%zeC^EH6oe-JPVx z)8Hs7kOEG-?tZCp$=E(@QWADnww7bU@j^INn5!DX#d5hhuSkWPzd`#xNPW$&f$P&@ z`OYvzMyAkFKPsxRIqZS1eFGPgSNpOMvh+81=(v+kX0}0|zQY-oal>b3z7T_=F(}H3 zV>{W8SgYH(ZF1(SsR~qM=oItBpoH4KErWdfC$@=Jg||DCu-Kfbwq$mT+;1hm&)NWI zEXJ?^xOe_{-+hqpAqEhBCld_-!1>pt26pqZxBTU%z0n?Ugux>l;tetM7FGlMrh1wO zkQH?F1Vof1#MW_q27)D8H8+-q4QRT*ylN|P>#<$bF|W{sIji!ly`c1}^N;lrk&gl* z<$~`jAf?41yhB{WXLyN&F;TRVPMr8YQRNC2iDrx_kz;9E8(jY9wB^TXiAN7trZq3ASykkjIsXvv+0{-9uQ?GjdcA zPHpLaRl!`~4Kt;QE;{-wDHo=TUHoN%q)2B+Ib~7yxl%*0^D7qp0YfT4G2KyC;VS=B z1~1sTSr&1+h{h{u<-%dv<)vaCD{CrQ9vvT|o0PZzgH@lzmvm#ub;d4wepMA*NYN2l z0!j?YgX3!U{dLvo!}8lM*E>Te@vnPX`?6{r>`r3y5{tkqpeW0jxV!_8ml=Xh_rMcs z`WD(9QqN~%d*h>dm1GIa&>13OSMxCeF{DNhysb4TZr3#>C{wD9)crKYxVmXth?P_1 zOf6n)M>}9l671K)c=-I!Jc%)#M8!x9onHmIG$yfx=xnX=4b~M3JfojdQ;~_TJGa&E zyiJ|BZ)`|z1tQikwR*GRF$%h_@M%p+^Jyg2cGJ47p z`vwT@q5KdRc(`H)68z7FCfEZ*l1Z8V=Wz+r-tdtWj*`3``HIHSdeCCd<*c1< zFMH$b6g_78dECkS-t&7+qgRnWAkT{I7{gIY)%}Sal_x>j$T{slR3)c0Qn6m6&@B>J=4cxBIYA>+03wf#*&+m#J9rSUUStD>8j6;vLRebR)4Z}f%? zU!^ma>=6!p_t#_@nG$psdxxPK*OW<+(v}dZQ#Yst*z7!&RRAm58*ZUYe z!@9-F^s~?uGyIr|dd<|+<`4c(+U5^zl8ccu%k~{T4S-G*5H57-(#h#RLd;BJdh$3j zwf`uLO17aYy!{o+DTzX8(S4`*_>;CrcBkp58i@x+jyF1&RFaPMsFq9U@3|FC z%+;Byu+>B%_6yQ$3CK6zVYM)f=Kj~Pq12KYjw^0-n#VJfPYA_ed($*Ev5~mk`%O-_ zVrB^28271yza9bI2vE|um2heHy~=rUcl%#f_1Jn7fxFVd&{Il#-LGY=j*rALC7ylG zjoY33a7fR;9*tuwndk7(_p+9Jq>D)}Vm0^2EK4o|6N<2Ic@?dYZnqxyV_jc5S6?A{ zNool~+YytwcI^HLa^qbtnFM zxlRlN2eVF$Ny7*!v;FzDgu|GnS~(WM{jjk7;7{uBvzGU1&Ie}_~+7s13-=x=R zsK(|ZQJs%9@%U?{KX4{@C|55?ygF2{6;j=e!my>ZDf?+2s7B^S3StE^r*VDbkNb7q zEzkh=;v{PJkLOoU>c(0+%*&kxBY7yYKGS6JZ}2ebP^++cwRWcwuo|l5E1@wVS%`jM zoh}}Fqr42pkYwN+=BD7zbFnGWFly{7$2+C3urUpFaG`1o4R7iV8lyJM*CO7fj_$q? z#i!{gi~h`Ymd0>MZJ5Ql)k*OzRj*x_mYyWtS#dX8aaE!*lye(?^`&0B#m}qzN*fD1 zkCe4aIOZhkBTp_FC4*fszO7zeL`I4{e}NJIB}}+qq}u;XT8@ju%n#_;9+a=}VhOiK zt$a}m4?jk+k@?qV}teLgg^eGW8Ld2RD`fE;I z6CWnCPCGScJH{dk@R!ycu?b@uup(KMuFMdHrz0{76ab7VGBnmbUHdPohbsbmkep!AVvPZ>Q*JlY`5`*lIXj*xL~ zzgGoAr7e!2P>@vF@(l+;c;swnG!#eABsdyTUYJoS4tIepyqW+_ZH}QMFQl;yy8JlB zJsyYH#P^=3WIs9UzM<==3s%gCxU}^f5Yo6WtQ1KuC=U^3R#=H3>b8Zl-1QNa+hBi* zLI96h5qOUKX_PVfoUATxZ=p>RRDg_gWx z`J+>3tOrAXgyxvj@tck1Q(%HR`iF}~;x$n}-`NUvZW=eDWG^MFr_H8r1LK?4!iQUa zWW`R!M_&UXlWml2l+vE^SlbNB3DFt@{C2lh)vn;W^>@t+IM&^jfp_d2d}V^K@HDS8 zJfr7k>8fez=JqqSclVr|!`#Nv+%y-PtA^{{Ji`5s^3nbe{T~LnqG6$QDE-UU5L0u+ zaXh7A@$tltP)VPJI$lXZ>Q@*LiQ@oj=QHdl)$nx7KfH;M(J|gDI0t?@uE0NYz|7hC zzZ8IX*&j<*QU~0BhgY*uE^xzlW3wEY!^L&f->`a5R{`X`buER6SQLZ1?+@fyrc z@Uw{6N|lT=Lkg3bQ$K2-e)Qf$_SW4W<0H1j=z3An!17O+HVWsH8ym@$T$e4ArYKa= z!5eA0dj%cY!zffm<|V0Nf}}$VGswYW#N7{z9c{2I&6Dzb^s(;y4JVze*a=(CKo!Q8 zK;_z>m?J_b>u}_$UrNz@eo3h>w3_P+&x?u+0g`BSC)uHawmeSa1lhLi9AU;Vp_ zbGHce8|fDQk<6Wv&|TrXHG|*6I9R`g|5ib`i*PqR{TpEw`+xrae@j;11-zT>{SCMd zkCWl;xtsgF3vf5G{tfURUKW7^{EoBlir$SZev6(G-)+qAIO8tLUpUOZ;Dq|6S0(TJGPF0Dv>qpWf*YJFcdP@^bw$ogyvn#kIH>D;g-?BE_xvm!5m? z@AUMX?=QG_@;rO?&dgd*_RRavta(>dAV|m{04e|-007VcO!u>_4G{ok%pJEg_{BAO9y-EJY+=X8~`G`|NqK=@d%V94l8wY<4IpUyOG@BkYB8M zivDOXuph{(`s8CzLSKp5^K2WN`|R**Jc-UA0j}Qu?+hJ8B=N3#x(7KRvZp*GMn=(=8GuxmhHf>m)T+3A8L9O{!YBUgSquGI z_{)7w*d=;JLIbeQ6(y}N_<}>lQ+VqW1fOkfSbPjm);Z*mBWZmW2|WzotI+7EvzV$i zxn89}+TEBN`KFD{5WjGTzG=f<`m~JN(k?)$2qvv5jyNsR>w9Cz*5Rw~>)pW|6M3p~ z)y)6U+KA(M_R|2Gz{xp)id|$aVL7kk*sC6~hxrP_hh5Z5*9@x!qSGRoLFj zz_y6b_wmi=LHkF^+pl@=PyvAZdnAC$UuapU$xU|($C?71by#p(8o657yK!;;y#9}l z|HT~q<<-mL6_vZWu|p4@-GmKXOfS8`lYn@NKWm}U@bi~jd{7siPfxbg!9bG`;Hiv)s1=;}SoLsPC?UZAlux+crGl&$vQdrY5ApQp*ndog>o z#j=(*7Ue<)m+54tj-;yb#yGV}F$mt1hY~(c3()IR)cs=mqXJ=CLVd41w5mZMXD4AS zHnzKt%O?7J_n<~?6S7BN&BXj$YCsG+51h>8% zN|^&{v|!*5-Z9yJhMcq4dbQxA;ViEn0gUd_fy2STNUEYQ@Ez*!Bnfzum~sLik!Cna zNCD^wFYUSh#S>2_S36TDC%d1!*MB&J0N=vkUjDmFnVKS`ha0aA>n@DjGsEK{{=7RE z?RU-H2k3*fEHFkIKEKmtGS+4Tof!xhl2fSH!Dzq7#UtD`B!aU}wxS3ivNwVKfe4Dz z=*cJ&y6IjyWuPny0r30IZs{HtZn_&m)06lC_H2;g*B{IbBw_glv{I){lc8YSPuwqf zZQaHxhTxbPuHEpz3ReGK9$4GZK%LHFxq06t2|Gu98|XzfaYBM2CyL_*nArME!}g<7 z`W*eZ^~O@s>yuq){uTBnc`1alcoEb(red1)=02dnN9*F!8Fuw(Y& z(*w(m!T#xG_)PyDGT(cyC|2PxfFc0^58yrEkogrXWeJM03*3022T4~{?8`w3cs2g$ zrD{bH8k(ia``OWaG=z6hdn*LZ+k-56`Ic$J^YMf|lIygKv$@jiQmqY=%#;}rIISnq zAHP2FtHwB0nDRs>kgAcTsRk9(8%gE=jGR5{WLL8`Z4haQPWCcG1Y)g7vK_1^coLtJ0Q7u2Q%t_3x=r5arwCa_By zjDr>3Mjlj;Q7gZA>XB~s0e94}>bk-#+K;}#^SaFkqo^u&Ped}Y@qJG?ETv75pOQcy z!+jR#wolZ6eyRdhznh5aDy~+E@YE{4mui1any|NJn|qwft|6shhtO*OPzn4U8LZFC$(aZ@=vWSSwQe(7FefOWypfR0yYz9Ze85|9u zf1$z6+QikuT;1K(#?i{{=lap3t_bOV`Uhn!4m=Vfr0L~s%-9gF1LSZYhdA&$APw4& zD80KxT3bH)et>@;`g~WKg>omi@YM+=pVQY);admYDyE_r72}&8{cG6Vnz}J|Dg6^a z*3$VDfqc5m$SDmuUdtk4Zncb--l{FWk{V0sxl=faYMvS>)`>|a5V?Y~Sqbe&0}4)n zB6g|S8t=SBA=l&*)WJ;yGnnz+oPP(CeTGlWr^jKf7b)LjX9Z;6e1lSau$q#vjjjn^ zMhqy>ur&_ru?W(2(UI4j4=86ZMHE(aERmnNUY+jKSMn0BoR_CTNgE93vt=VdV>Md! z^wqza#3#1f$sRu;{|{1J?rUdvBg0z=D6ED`nG~z4?;7#B=?daevl9#Ccj2~ zWR-AfFPttjNF6~LXhI$xKkmP6z?-&&y55T$GO^~DsB@n50(15Yi+;;eLZcz&HtR^k z*^_@<)rU(M!`{Jzq6E^PCz3xX>TYe}V8QjrmFMT2eAj&*NhSdD<2n_?KH2}lzdj6f zs_OTcv=qS5Wnze};qXbEjv9IPB^o2(jcAfY?wjORki5~AiaZhyxc0#<*HZkO0V z^lDkX;d%O{#9DJtT}$xWm?v3or`sOqi{(&ZG{M#2UXBLef(>Co%4(kQLXL}t93$&S zTq0&lx*^j=SEAIGZ}nm~E9?tEnwTo2Gqd&(JxAsq`%;|^I%b(0?2J|7c10Z^4MOE$ zt)S94&0Mr~wHoVm1U_x`ZVxl!hZH6P-mXtn%6_lz_PUo3{7_%-pVvfFhJ>1ST697g zeQHqbH8kdq{B&u51fqdmaPb_P#urm5a1S|Fg+VR|RCAGnEkFjE7h&$4)f#@^drkQEGh2Yw&)eCV!!xy(-D#Xw z#E`_EYrCy@qf*r2FBQ}TGF&>Vip#sRY-va2DDzcAobx@wy{76F(p!v>E5Mtl5y;^b z)v2o(q~g42(0CJxObT8cnj=eQOY#Uvl3IsG$o=uGy7Ca6H5OfY{RWD{552gJ^+Qz& z%e+lLY%K$vX-tJ6%=#R~Qa&vQe@qm2>hC#Y>h!D>0$+;@|jWseS zi16-ZYO7(iI25Xi6k-fBZDx`{dTA3-gfrV&fK|zq!^^*Nd8rt*YnVEMQeErI6NSCP zX;#|}EJflRss}%K@b&2PmzTV=F539QRdp0ObLh@aPmsJA_!GpTIO*EV5h&?v#8|R^ zX4k~ey*-2Qx+`1E6S+Szb~TA-;?ioRU=NHxd)GRN0uJg`(j0l2H@CAV`BDQzFD7DKd#07d&5S7=*_8=UHx3~)|0ws zy(U>QqJ091?Q9*D*6!(rtnOCuzGUu#Mp4$LEu8??Di4g2xX~t1gM!IqjexeR4R6#q zz(@-=&N8N;+{9-_K66{5vln^91GBy0j`f%qT&heSc6CaRK$E5A;<_w#owI|23`)QG zR3&-Um1dQ+9mo5ZT?^CK_9*~0vBIxv@bV6MfhAUjU3oSp6K}qzyMLqP^E0dh{X&cpP%7D?nfm+~Wyj7dR~p$>iQ`?+VUQ9VX)|lIz>$Wq%~X_NX{(E%51ylta+6mRs;Nfs^ow zWZSwf8xwT1S&gB+`F{L>aqf^2Dodmk@J++{p?ss)Gd%XINw*CReq-n&aGn%DJJU-- zZ+|a-`8+U!3M7xyp?z3lSUi3Ro0foGlx}7lalQ~q65+0fa_6^)fUL9+~$Wq@t$|s$)GP3k?bsa9S3>&7H!9jY3 zOt61$lYhTA4U5j6ZBO7Z%lTI9 zYu*mHU^RrjhQ|_rk2{CJk1+7yEg5J40M5T74Rv?Ye#%BE-E zR8PYKT}MZMgNPE3*ft4dAXueUac6DVDo^o~Q*I+_JGF~A@RBwZi^Q8!eg`c!}-x|7U; z4gT3QJ~!uPS;VBAOT{ZfM+^);*-tbxM+dj7b%o+!~v*_HoLbr8Lghf-8bS@eZ-X9LP)sRHC2Lzc3femB8>VcJ3;v$G2o6 zM0l4~?eP_z_Kv84HN|8aw$%MNJRTNx3d2%cvlj;)9e$yq`|@Vx{E0TK`*?`lAH2EB z?RY<1hCa$W$n)t45q6>Y{9EKE@mhNXtNxeuiR_g=?4doyI-R@&ac$? z|9NC{v$n8scjNk_`XeaJ)E;)s=LRjsg75w3h}J|G=rN1+%50m7ZNOu7W(t9rshvub zH@Etd&u*=GaWVi*-=2J`YtrZ1H;P<@RqL6zM)`uUePfdnnRJ_CZj8j2AG)KFBU0u}GbA=#-xqF4k3|-{9icWe|2kxrMd_e&&MhgdXQ1 z5|y%#ZREP__@HEoRYD9CG;y1aCQ`>gd7i8^a`Ec9b*hv2w^S*9o)*QjqIs#u8IKJr zs_}UQp}R*IoE;~(M9Jj>K*ZRfRpg< znB%XbWMt_YDWe&ujNLtjfEw=yaVreosUEf~&SBb>goe`(OOIYq+Uuw=v*y){r3bw& zkh0q03qZ*m`YKNHs6a&!VariSCs;%W!`oc69-Fx{JU~I_J8vi>QcKiCIKIRc6As>2 zZ=50K<1=h04jfK1QyXUz&t%jT9zP=__M0=(#0d)=&hD8N-U9fSE;2#hkjgKRp{*L! z6camV5gTaKZy1P@@lyRc8DZk>N{g-DEfrOMMre>{$_tQ#N!f3l% zmcX_JwjI*t=M47r9)dcuBlO;NvKyzeXyFvdyU;YLO3Ls|#%=2AAY%%igso|2lYxfo z;3-y$7-7=PvIY7DlJ+c_QXKM6<}xOh%3dtfUI0TMucDO=wd2&3euC^PVNLVV_IU5C zq^@Dz1?&TrlxB)UG=xQnVR4+{Xcrr&iP}Lnzq6m&p$i%EA?N$d;eGKe7A2;xO))q% z|4!Z~JMt0|@ME4TT%yB=OLXQ=W-6{u&Td?0POcXJPA>gVnS&3VZ@em`n;R6ejB+nI z=#yc-)Q9bW#_Hort)uFTHMpc@Klw(g<<@7)V+J=g_98psAlpZ-{z-}O73yw@%r___ zvUH9#9b4Pjgk4j(HnVHC-Qcc_WQ@|vcynXhV6aJE^`Si((v0>>-qXn#jD-B4i%^sA zJqRFAIp;0vebUm#2k)26x_gfJlTs0&HQQy*gM5*Vj8jD16W~--*n^TQaN%C zZ9*Uh)}lcDz+o+VSZUJ<%z51a<@gSC%J!J$su2m<9E4a!vtN0f{6sXFOk)JypvRmf zL0V2b>Pxlz-9&Wj%ViW&(jCzsMr-zz>ZAmE@lO@zO&`(RA%-rdyv_OXk1B$&!6|+^ zyya)mh4(A)Oq`wnhdVgn{#`QTJK?b>Jd1#Gg&Vpbo$1IN`czBx9h>)D6+q5g+d`O- z6%yD(I+$&dLV@}n$72EJ{*f}jHo8CwrtU=ldTmx#ZOs=pR~C{Q<%yD^8hbmo=PFH&|#%uYSD#~e3P3UF9Ord$EjV;F~0*l zHdeCcuTJh>qmmy_iHfaPNjoznGMP9Hp!VxV9z5b`+y5~+YDuIi zl~Boj-8yZILKPXfm7H^s-FEIeXN2FR_}`6x*J}SXzQz2*_;1SX?;d^^7XS1RkNuA_ zI;Y|Hb^@E2Ihp1wOj~04Dt758u9vsD3{EKQ_i9xc~qF literal 0 HcmV?d00001 diff --git a/function/ui_compare_rh/uicompare_tools/excel/UIComponentAttributeStringModifyingStyleText.xlsx b/function/ui_compare_rh/uicompare_tools/excel/UIComponentAttributeStringModifyingStyleText.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..650f79029c43a34c931b4978b12d31fa1e15916b GIT binary patch literal 8726 zcmeHNg;!Kt+aDUFhGFRLPDfH{M7q0_?iM7ZI|S*Ll5XklMurk_2r223QbNA*#(TZq z`~3y)yJxMl&tCgH&ziIM@3)^iD)LCkU;rur9RL8(089?Etc(xI)OZ)Knv zt5mO8a0u4@Nl9xNPhg~E8n`}*KVxIf;%#)g&LN8&MeDst=x+2@g+@o6#YC;yXP9FmwuTJJyQD-VwEqnx4 z#vJsz`}G59u=V}SI*DTSQ%ZCA3K+?_TjnDp3h#S$;f#!ySK-(mNgaU z$`7y5J)S<1ssT=LYLjB%zayzcm7sOCNw$j+t*5b>UDv5pMkoHQ4~J6bkQyxn z^p$r)W{@H0+)u9#ax$9b*~gF3TQ+n&92iAaybQNc|0GF(NMgzT1Q=U-uMl9$O-mOgmo6Y54CHY7vk#}e;#aXrG)3H!o6dUj;7F+4cC z0^jL>LT113ieeQGgK#7O02lrQ95O$Hr943~_9Hhi^eE|yihU(00a)vgUZz$Ysi9ex ze3%_`pN8;zxSb_}=Iv1yyBs1j$7?ReP=#STs_*nx= z6{b9y38HFZX|6@R=Y^zvG)M9H}2^!!f zgjW?$llCej^Q4@q+}~oU5JCpuws(ml%<*Mtv5qn7CJ!W5+|{jh}$mw`l5!CRt3xWuY-XpuYF-Xu!wQdZYtKLpJ;X0soE$SF2|( z=4R?{F4hi~u0PI?0<~_rUa=pPk(_T`&=Hr4Pvk2ERac~9&#TWfPBX@h4eU#$Qvv-3 z->uMn57jS2drLht-N7H5#(%2g(Nw~=ho@)AdNyBjz>UeR?ipbl%V6T-(#@_2a@A!) zjy=y=fQpK^)H9BrO?6B1Ume zZ8{T6K8D7WXWZMbgp|KNaCo7f+FCN^pl|y&E^o1*kA0U6AGK6$Rr^Ks-8^>$;{Col z+L-W^lpZm{ef?Id7!%M2fx8yL z`Hh!uR_6BRT)$m;er&|Pu6`65KiHS+Ocd+%@GIZ?D9EvT(0$5+A48XkA-0yoJ8?F8 z?8$NrMnK%dB#GR(VRkvs)p+Xl%O>8F;+Edth14Lv^9Hu z%!uz&nDBXf-cu?2zWjdByK>}<>UVfi8$%fqYSL}q9nR=oi(;ptF@NH#OZznt4dRRg zv~Pwkrc&S>bF2!1oe`+?9As~s`VZbo*ClD@nMfK|7#ZK1o!8!5zm2rHpN69y;$7rS{RRSAEhW6tR4~GstEh>`ZuEX>OvLl=)@d{Nabz+1h})eeF4c#+To0 zKM^q3A62Yg-vZjK;P?I4gl}fp0xW;r&V4vOS8Lsy#co3kN$k6}-HtadLmgeNq{e^D zrL(HIvNy+;c0!J_P(8xA&==fqqFyPz%_x5bh!cxMj-aSXUBw_3=S2&Te=d9x0!s)~OM4_hn99d4$dildhs+14ZGh-s_F^V^s-@yiH#$Eko=tXTu5k-m$TV zw?1xn-zVFt-Zdn#+7YMZJ!p(5Q`ap23G%kHjwJ7pEZhcrj2bQge1i^-bxr)`aJ=o-Lav?E8sUAXR(t3Cu630^vhuhC+t4WqC}?f z8(wAhnuoDzf|NvVfz@gxP+!R@I?$Wqqrt?bJCDSr%E_Xf9rxZlsc{%a&8rg3L5L6j zp=j}wJ%e2Fw$u6+y=ECQqCb^AWO$RQs4oSI57#2rW9p<=feZvlN=?-2Ro_Lz8_+M~(f zm{us{e%yizu%eBImvmOUDD=mF=Mz4ky5~xh7*BYljjp4`_+`|h6dl$@I}x9DPDG_r-a_&LHx=^U?de-4!cwP zxYVcwdJLPDfL)etW*c)p7fur9t_kO6z1~@pr^3nGrfm&S-L!4wp8QgNFcvN?UFe`2 z8QIhl!lG^0$c^OLxh8}xwdGzh<*1dBrI)K~e~D?-IL!D4u5xU{Alo^~KGQDu_FxtklRejwz+sxRRpMjT0k~u}g89MS$$vVV zBajCeK=@1s8UTR(hkN1XX=nbsU!ghd0E4^YMBAe1ZESjW%?&gx;p^z=afm4Ki0xA# z2K-f86*tz#?TQp%S><-3_A}eav-?6bCTxly?F6MZoW6b@fB0VDVY%SD%J9-+Fy0p& z12eqWBhitx5{_IT@5pjF)7Q@!Q6iwp8r$5y-)PIvl3$-bp!tZ1t}1O+@m$a&lhqLa zRT+{l2!W|tgWPt$w5LQ)+DR)-K2xw`Pl^0hi5N#uW)UvJs*a(9oN!WGUwS2Tz8CB% zO;pk8w8WDTZLH!C%fv-m2a1U+GFA$WflleHy2A!kfMUAS%)$-6xwQMPPAxKs^F=hC z0qa-xYtE_ixom7nWVv(@L^nw>+(=PjnF0z72_sV~c0=_w z=wq^b&bJ4n=do`F*akCe?QPFva$gs@u7e}ZqhIBoc%-HYHsiX^sOXw%c1v0<#0QK;Y|86bBSyz49|S`dlfZw`*EZ&?~1A&o}%Ny2^FZe zgiOPRdJvn(-Mn65RBC(f@~E@ZH#GE6&a{Fr(VF!Th{*lUi>tzxcg7<0LEcfGe-Fv< zN$5`0(zD=;y*c`PG8~5Owq+<=30XM$!JOr16fb=IpqZ=kz=p7@dR2%7l`>(K#b`ob zW6`0BO{@%kwPm-7HQM@mzf0Pf!OElW5aPlK;vL7z@f zIeOt*;Wkg)M0kT=RAxmROi(Hx&txk-4#+~z?#zrPViE^oHK8e!FITR6-X2%BKdoe8 zijFiYGs?{+kP1BTi+A#3$h@txxq*}8pVSehqW7_ZQzrz@8{*%o^CM1kwK6w%bLIN2 z`^_oLOi^^q{}HgU9r%eYVmikc+Jn{V8%mdY<;rd!3J)M_bg{d~e_lBvmiRygD_x!H znojey95CZ8KQu1ooj=tg%u|v8EB5%$DHKSzEB3q*&8~Fl6=T&asslez?x9Ory}eow zn-#B{;N3Dn0p=#lrn1eluj|xiYHK{sTYYfDgl{iRu-E|8;o~T>-qJ`qapTqPBjDJr zj;*#^!Iw1C?H0hZ(>~EV7uPdVL-{t^X0-vVFge1|p1km!GvHBu05nlg3=wh{@69n8 zoq*}pxv5Jmaak!X09#v6dbCk&L%?Z~)CP-8yK_E7EB!$0b~(&qvBpPMp2@+uRX<#T$#D-Om%)15w5ASkNXmRD0i+%E^=a$!4{V#Gi_@Xc-YVT2*gQ3j%X#LPLUD; z3hY|RVLj_bepJBqvR1nE3w`F&WByMQ?rIUc9uv^vcb93|KA%pZcYd#E3#3<^(z7x@ zoo>`MMJ&6gy)pRY3QcQ|*I!JTJ&#tAo-5NLM|`1^E3%++yPeO_w?ld+=TW)plzQO_ zRmx(kQ$$>V2`<`KlYxGr@*fg!Hly?T$mv@ZMCPQ zyRpgL=9t4Flhh~b+nueyX=fYiL4hqawn8LThUh5~5J~4z@Via}V`1GZ&Mr=B)atX< zwAP=8M5br;32%=O_YqA1@^==|9qzSfhW>_PSWkEMjEADO{C^ss_}2V34ZXEVCG4xN zKEvC`qC?HSsO8;WOGWk$PVG}NS%grcZhB%-r#y`XCd|u5lNMQ}y4}S)VO-dS%kI-Z z9+%v}mWuszGIA&*lCqnUhOs7r_yNgle$q#Qk0caKn0Ra+(mING{h@OvT537&4E+L~ zCnBq_SR6yRMwqEhb!TB)@oImTX_Bk`7IALlm^1$#s=NcE&D%N4uOG`yk)nJ#s*9Dm zq`ZW!wv+vG4;qTiRlbzN+;h3?JMolho3!#Kg{zJ1`6aq-gcmoDTY8^0r%D|kj0CIn z#u)WXaH;Hd{%gFpZ3u-*z$0f>c;t)+PraErnyR=sI=OP0I=YzuQ8fBr#tpu7KJmu# zz1-mb6_ifNVegEB>!8pEq@+iJz;fn}kPQbmKIamtrN`9jY#Y*mwXC*@w8MdHMpk&$F1tWfF#6VA!J(iAfKop{^ zFr&h&i)FIV8hme+MTYL&peFnBHIYR3Fl-`YA2b05vj~D0oXuNJNCOu1dH8CPc-9^E zOGpJ>DnW<`6onZ5enz-j&1JY==4%>BqUqJsEQg64{nW1xgUTM8!Wv|S_e_Itzl zdCgY?WWBV_g$P;Y1N%sav&~Z|Q1`LjKf>I)DD&%L3YB2$j`V(Ob24gcKCt=nkkn`o zlnf=8sX_HCZI0OHV8#hSl5wReq5{$={1=z6uZ6GI}?Gshv+LEWgM2ORB(U#G@xh|qN+ zqk!d;_pIf<&2DceRB>Oo%|1n;iVECL&N<5O&Kg6ZDl#ca3K1k3m0Lg#6ea3=Q0!oh zX>Jmq*RP97`f@D(o06@t`9g&pbQN5#ImsLrJX?<~O9hML9`W<@eROksa<}E!ElXwd zQow;?@N<6V1vZ$R&m9#B4I?a=Er@Wc(I%I+1K}YB(j^wsq5r#b1g96SV{^(1T@*Hwj^o|&_1{c{=686_>;mHYg`NFOPn+l~L!_vlVH~CaV&f5rEU@KTu z21*l*-@-EA3zcGgze(DpgYV4mct$|vfTtV(y#oK|{{7kiOFdpi{_hI@UMu`l@JF8l zC&^Eh!(RpeUO)L+unnGy`~Ryczv}rlss5LyBlt%KzogiI75+5``_r+zchql{c9%iR|UVuX@4m&fafCN|KIgLQQNPgzxt_viKY<#=hgq=wf?H*@7DA$ v9RL77JRkZG+xn~c-_OLK#jDAG6940bRFOx4?=Apv5B~FqpRxW_KSuut%Aq19 literal 0 HcmV?d00001 diff --git a/function/ui_compare_rh/uicompare_tools/excel/UIComponentCreateColor.xlsx b/function/ui_compare_rh/uicompare_tools/excel/UIComponentCreateColor.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..cb981f49adcd3cece8abab975b76d2d85f584513 GIT binary patch literal 10197 zcmaJ{bwE_x)~6(;J0yl2q+1#Z>F%yUy1S*jySuv^0SW0wKtLLlE&+*e(D&}W`rh~U zA7^IPtk~y`O=AU(Osv}j0OnS2Z?P8#px*0k`T(6MZR1w zA12_s-06aRW5`WRg768g1!Gv@8fEL1-TbtVu#^oqe}|5>FqG;UMZgk)Ole_T1C{#) zc5Qv+JI%0M8b(2vZQLa><+?%*q##dYQxe5{;9D1h+;Do=^8C3dMbEb*QUVK*z_RFt z-S5qV6UDf|xU98XJJT2ASMoCM!UWEdI)Xdmy$tKqipZ`i^o|7rzSP2BvdA_~GQP1x zY^Mu%b=kFDywtk8YrTc~9o`Ic$xr-XczM9^qW=?KBO80r6TV)tGO~S4Xo26wKa-vD z*RBXOs>VtBw&h`92$4D`@yU=I4%Q)?$@RE#VKl#&nURMvH0$PE>qwPI=23ZLqpvf! z_k1cK2fo47xNzh-A6B_*6kxYCsl%Gh*c26o{(K}{8IOtp$)$-|-|HCzBE?|}6aJFB z4c>sPrI1}ROfbquQEk|dlLkr-?T!x0*0eEdKkm*q`TD!Nm4I#f(&}G`jj=RqjcVf0xVpN4sx&0%+>syY zsAl}e@pYJ9XDNBwUtZooD0?0Igyu^~n@Qt5ORYUknEHr+3NzIHSzsd52l98YfpCs! zv|zB&!C+(l2DX!fqm9)Q+=a0^QhiKVLC4P?g@?S-q8oL1mZB<2NOievk5nbotOKcl zGTbjVd^n9{PkRYFc{7rOcloF_x`v5~`c1hj6~+0W-pOloW-b+6HhGU`KpJwM=JvCUCQ46<6`I;yo^jtYN$E`bPQ zCa3t|$)YO7=DGeQu$gPA8$dWV;cU{(hb+q}#lKEHDY?uJ^nB^pK?8+Bsygs0FQ7_+ zH+(llB%p?Uq})}dOPDF6?>Ur;l-fPR+N=2~hTHZ2Pt4@r*wZ1fDuVU`G@Bt+o;c$> z{b5Oga-Ud12oF)z*JY=2xr-`$52rnsmQ>aYN(-Dk%nv6<6#5}76MS>|3gUTdmM1rw z$$BOvPtgANXaWs}*46T79Qp4ID8Cq7Z0s!@OhF*WKV#03ynx!xGYE)lG6)E~|KR;8 z!u+&Yk!e~s`CNEG$7)NDzAf2k!bQ}S_%eQFI%cW_V_8)|I|5}C4cqkb?zM>&qPxyd z`!ewxgV`hz>oS|;-5qM66RPDZ)32g5R5MI5POFw-w{GYU_Y0fF?M!>hsy20XrQ3iz zVEf6)*@E6qaFN%(vtpSq?d%HRGqBMoB#&Y3Bkeb;G2QvuI;$mGr3;H6L{2|cP13uR zRK!jl-7!@(6oQL-g@42nj5%v1h18BvqS5X3x?+<0&uI1Mc^?Wh6lRZ{@Mw7lVZoJHJ=MDY3Mse^xy1 z$Zj&g%Y7l|wULY3iQ;8q2)KyJlKnUtsv9iJ*^KFfn^w3QsT;jXfzmvbp(+r5tH`)( zt38j3zpDDAePG|&PG5)s5lx4U94S0{B4tI)?xpydZWe<3dhlYoxSyV3x!<;MUT z#>r+8L!}{y8V-TavV+1;W_cDNhkp*2fDRTnBzAnF6oM(j@V_Wo&bJehs0`1;2(nqI z(0|H(;5~z3snRIwI0YIJy<-97M2L?%$dPU;7EOXFRR5w37eL_$+aJgYtc0m#nEdqNejnGU0n8@-mQRs#XP@)QEk|A?@&Re6Cl_L`4~(X5j0;!|3-zRPH^45g={bYUXCoC+{q;3va zJ!L{b;~|OO2y>?upcPLm15)sma(E7W3`8WO)3TK{~}neT(`Gc-vj^fKYU#z zO&(^=@<#ZNnawcvfT!?>qm=64yW%hGeyM~RdBWLqI7I?HRT{z%iYB0Gm=Ugow@*%~ z5!;i)s}Z9~r84h}<0sb%+?(K8S-Pu|KRE^Vf5xWZCrtHBCV$EE|46wY#NUrl-+x2+ zMHggV6gXw0{=HDG&ELrw`OQUDn})1=di&ZTTl$Jgx^p()h(O&{Ye{=f0kYE)XZGY~ z9y`zCy~mRIarAWkZK*;-vd^8>n@2@5GeQ^cT(Tya{HX3p@uI_8ff6|W`-y=wpZ|aF zd3uut?>&yDAS=)xZ?e}>5gO;;=@taLiV(XSTr#>tynbf`?)j(IgkVm!4Ju8;xR=6 zdBRl<07_c#_rYu-2mVPv#zqJ6k2tr!4$r|MT%s`J1{BhF+m{}Aa3QOUPnT@3;a~8# z9(cUYV-razY}uBpJ*l?#xtqdnpft+RM?Fxg4b=3e12w78hC&3zwtQg8=5Em5d>xxF)3lWo;8BM)7`ijq$WXS&W#Gq|97GG}g-uhV!!kg)mf<+Yew zv67X#D{>f6V({gjeP!2T)H^ zNWk6uZm)TBFglv#-q5}I;7Xn#)!D}T?sn~%*!}VD_CB3@Z7VnVwD&{z?M=8^_u~!6 z_Y)@khAywGuQ&C{a^3FtGnm2OUql5_c?x3Cbr4<;wU1$>k^Jo%jdVxtT`ig$c#S7hKG4^-n)eLXBeVNylD z4w8PKs({Ml^^!M}0*-EUA|o-3TW@EBEJiyb*`l8-1J^jJiW6tIq_@+AaR2-$!?%tP z34uIC#&AX`kC{YSV!GHuJk38KYca6Klv`a}^=P+H(*SZdtnB^#kUz4@NVQ52OvIPT z02&mP%rnJ_^73%E*hJlAX^UqG>-Phe&**4Zl(iRR<;EEF%!^AJM0?e(IS?}OSNcRE zUh`^YnqRQ7jcb0}$t%F&OAOOscuo*GVq;{ts_DN{$1yppjF{&BhQ7N?!=Dl}r(!$$ z%K?gB{PX!Jc`Z#5a#vIw@hpLpU4^6wq(vdXIA)b7wVHo`_$Z%bTvBzBUc$Q~O<}g? zVOaQH9;qsXy0fZS|GZ_2}6`Wh2(9WPX3 zp*PJr-invR#%YifiIw%FNi?>ZO|jdfShOE~6r*(rGG%ZtDx@v5Xj2&tW3qvkYUS07 z=Tsk4dVV;4aMJ3?C}r(X=G_MG+dbno#V6kL{X9tt_ z-I7^aK<@2j>vCZSHeWA33hcz(O^>zPT<@f5SM_Y_e78YLH)GAZ7g{t*$Hz>0p#8ha zoWnluw((a4M9n(V-uE#ZtN`7Ivu5Q{D?r>WYV=z5aeCrweuyCsd_5crQ6kGBtJL z{855e!nsz-%8{|sA|i{GUs9dI$%-SgE4|*{>(X)nup77?zGqA6Rr`HY2}SMhAo z!q}iL&ft*oz}YCfo5{Y5u+Nc$BcmqmHr;srQp12)7C~H*@CRM|!)VGM$7@#tJ|x3U zz1%m9ql58i;iw}wcM}VYKS;XkJ_Vz_$kpKT)NSs4MW4V+^+?^}*o7l2wi|cs(P=hO zjA(!S5#LOAB$F|@7%6$AwBXlQ38% zuMsp0i^`_yRM~=^mwd93b5~}~Hui6cvpqb!JKFd;*{_8H3Nl0|Qy0(gSuGIWDW_n!>_mv11d6-9@VTq`+T!{!e#1HmB`sE?ScZ%q=O#)(_qKyl zdM!blP2Eh5DAw{>PhbVSf=s0La@T9*qUR`xxhZ))BXK(v+c%|T(#Qb6S@r!3kf;{I zriz4xJsvGoi`B7R{yF~w+N^q+j1V>uuxFO+vW0v?hE~k+YD#krHtX;;RyWQKX@gN2 zpZxSk&d)75`4wMQFzJ=Cgh~Bt- z{-l)|!XF;<)xU*4L)YN>h+U=tyuP&DbE0MB=l&UUnaZ8dsD;R{Sx=Kg51&=BPh^ay z@w~I5{5bddY-aQvSJu7$v|eu$Z(OX_lQTSM$4^SPOkF-HhImwgceGmQL`u{XH>le z1TM|=ycJrG8PtMTNwbwETTuEZAFAmi{!7M-(dQpukt0)9RU&Oaqto5_-2Lip5bM_X z+E78QAHi%Dmms~j~oAKQ^p6_tL}G=JF{J2+JxzFN=A+au2I+D$m> zD5vwuI;dyr&+ppY@nGI8-*l|;H{8njjPTXL+7^Fvzc+y>)@3{98J#=32o z)0(wM)v>cby?&xgyH2~6jF~#!F5kB(nGPi-7Z=#Ru0>SO!b21|AszM&Da7`3cQ^(d zl|cLzTb`T&t8Jd)#$(-f)t1T*u_&L6zPD=+i<8K@Bef(;8y?Nr>?EPRo{bV+5qmz2 z#I?|LCSP%qxSis4#0vxXOGRj$%9#vEx=C%jy}g=Z2PhtapwjPvBPADM9?atjc`6by z7nkC1D6TQ=7$AF)%iv?Heeu2^Com4aQD^Wn0b&wGp-2sOtgBx$L%{9vZV_qeYt8=6 zqy%2Bb&N$rcmVwm4u~Y}QC57l#932r=aKq&k+JQsmzqv%Eb#D)S?DV=-Lv z81Tj+W??}TBKd-vW6}LY?^I5-6YDmzJlNl{Rv5k0EO4Sf7^hvQ`=TjFS)PKkz>yT> zu7KAOCh?#cDvi(E(=lB)hFPGnKtGe}$F?++`?3qDaNr2!NkW z4#wOXk~kGHAg;^h{MK_v=sG3J|3y5}G0*5%X)>{D29eLv1A7Qr8Y0AN&3cmMVj0{j@Tk z91kBwe^unxE~_zprfrv9E{uR)c^}?$p_WG^T-QJ9O@6?$oBSzKd#!b3kIC97`jni6 zeLS{kEZK7Hyb7^=RjpXMv4HNmp*978PkHPd4M|F*|J)Fiv9c=lH~s1+OQN8av<>%A z+vt9pcQQqfft8Y#s^vH%bLNdEd;N1GjPLH!bSo3t<@0MSOJtX;{jViUmFcl9(iF6v z5#hJ1heqStR+-3eED%`Zx|5h@VrS1h9NfkX#LgBlOelQl4XWr`cLF8y>vsOZL@hOP zJXWJwJHHgMRZTf6{-D|0kw*qWcTmCp^GC#1w_(aY1!hqr{ld5Rv^f}6ma+W|&Soxy zwQZ22a>H}1s+`eNhF=+9%^sN<%axvy$S2uV=$Q%6EblBobk zRIsU~c-Z;!%#xa^H@uZ@u`lY-&Zw`Y%sc+>AW4qJ?1=8S?92Q>V{j^NqH5hfaiLZz^nl}dtx~e4KvQ?5+?Ea^&oG}vW+BX_{Tc?-P|rR0J@`Ip zJJk^v`Hj0blbkNCM&%0Njpq?l_PwB?L);uj;bOnNc{vg}@^6y$Rtuly&bNCWE* z1A=%KvJqs64UHCT`#yU+EolM?V{uW%9%J2riWqE0s#5q>naT}BF?AXPY>8UrPQ<9K zSJ+<{pC=|qh$ZX^p;lofR9pfBX*+UeHTeR=xQOiKgvd0ri{r{jXVdT{Q_DwPBtWQP zQmV=#PAEjf!aO{w2lPIEK{If)R$rzqX-m-q`-tFV$4cT#oPCv8%P7iljE8CskH0T4(GlBHX46ItNY!x8qm#70EXDQTqmi9(C(G2B_ zgIy`VsR;8>fUNy4tZC}XlE2;4rE%2yu&3qeqG{56^(EwO^OZh*y_Sdkhs%R`;tI-Z z_I!;OqS|ng3*{i<>ehN}*M@6d_tHj}?Ut8%0dQL)BmF}N@vdPdi~clCc&KChM!<{D z>}>(b%llby1}h|?B75qILoc;nwOT=zKC*O}I+A6XS_HP#0;0NJuew&2=NHQ{5_dyq zr^Az%Gz2w4Yhi7=%A)hOe7{sf6+7E%y+LMBIpj8 zEUYJxn&9v-xJzn$_gx(xAJvZFmZ6_w41WJAzgG@mW*pHA+`qb$kSrq3BO`~E75?rn zH+8rBupK-x*zJw=k?b;krbca=`ZLq*#(8)>ZZhh`xPbevVO*B7s;rz#f$T8R%sq%)vo@GHF4567A@qjl9 z1kEwx4&>wDf2QF-vFDN`Two>3G}7y!^#tS%HmODa>Hk0`WQ9@=ZhiNQ-#;SiMQm2hyzR*RunrQ?lC_5 zc0w_dNa0bqQ<@0F|K11KAhJ^6g8tBiiz4Hq)*!a zHcyR<5WT()t3FhB-BM)htKt@wdtg0!tc7^&%O1%L4JY*a6NR#JeK3s~N$Y^Z@<~m| zP@qg921lrF=%O#7Z3(iObAszL!``pRHypT7>16$u0M#e0LI2iD@JlP?qkewDP@?NI zQXKbZ>ISfiqd#piYsDFIJWVs?a~xLduX!ZV*xytj2VFtlNE5Aayof%8)O%6BOvK$& zd2OPzJ!mt{`HJ+`puG8j$68QhR>k`c)=dd^0O)J?jmxz!7+33y8os-;&V7H6Zef#; zzIm&;L3J9dV|hY(;?-}|#%=^>W_EjfVyCnkM#Q-TDD%EOQm_nu*h+Ha zXV(+AKcg>q`Tw!}S1I_v!8v5PXnz2Pu?-9-0r(S~=Ko@QI+FZ%Huo=dWz2sbzXz@g zjdmqvCMim8SxS;E&-3}l3?zlpBaB@PHdot{*^w3y+Q8Vrc77idUtXEu3SpF&Z-c+Wie7Wk2ih#i|O zZz7YUK*1rYG+rUy|L6%_g`z^Z*|%ASHrNH7UJz5#%+!y^FP54(uQ5hnPHVEa-Ds^xArp^Hv%r+4GlMJfBN@zDD+9 zi0mwMQyuWiC5q|nU~sPc_mrpPRMX)tIM+o6m&~6I%e91UtQ|qtj(W;&wjc+cr+l|E zVMG>+87t^JRaaku7ORr2L4<++I;fOl1A6xAJ=;Z6mfy)$7Em8b=v_p*1oz=h_v2mX zbFr5eVU!}Xt8*24m+FwR?u9EACM5C6XIa=O0ZP5DaO_&pbyFv|=1dxJ@BPYN%vVSN zd2OTWAYay;K@yEgdo=*2n8sbv>={hn+jw;HFmy_NQB2iD<{;wjQKplo%~HGY*rf0i zQsuSAX{tyIMTeIzcX_6oTk`%h~WK)G;;yVg5DrAAIM`J0Hb^B|E{H9yO4XF6$ zWL8vyB#j;E>tS0<5tz#?K&JSC^dOoLjU_}J`&`!5Q3+9a=Vk0X?8Ay64xf;$W2x`1 zO}7Jt#tzKM$ly)!_w(_Zz6RjsFyi6(mtFeTOI~IBtCwA|P2F@I=RM~}9CxttQjkzs zKg&_ST5|qe8SvsjKthm$ucUzgx=z0o{P(l?r-<`wJazYklKdTiemDAO1bUMBWwi1y znV(P0|1$RUNd6j6#-7GMx{iLg_h;YH6Z0>7)c+LwR~OQs5dGO!^S5*m_?G_5=)aq6 z{uKYSQRHv&b8y7?Tl}xKk^klNQ#-`3@#M5D%)go=p4|QKOY%EPbEN->Pk&DI&p`HM z=NC$M{}lU=u=b~(KkJ@<>%j(hCH=Q5=${(?tdRVzfgbyphQI11{|l_&eIEt`^w%-n zpBDc-&->fr=|9E(KHd9M!JpN literal 0 HcmV?d00001 diff --git a/function/ui_compare_rh/uicompare_tools/excel/UIComponentScrollSwiperInterfacemix.xlsx b/function/ui_compare_rh/uicompare_tools/excel/UIComponentScrollSwiperInterfacemix.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..7668f484cf1a4b0b423cb8ddf50f4f64ecfbcdb4 GIT binary patch literal 9549 zcmeHNbzD^I)*cwTJEXfq7$v0<=>|a>L3)5e8l)TPl8~0}?v$3!5s{P*Dd}%K=iKW# zob!FZ@Be%E{C2&2uV;3wXT9rv)>e@RA`k$O04M+efCeDW=QnBx2LK=-0s!~`6!;gC zU^^!>J10X8H+wUPKBud#4RtmGJaZ-h9(MkJr~lw5P@*wl*Ts#~s=X~L)ut7i6%BKV8BohJibI`Hx=uSrb!UH#QK9>{&sZfQ~F;nkuqPlZrua>k!WvJh0NG}c^F z$!-r$5M=6CT967#Qi)lXz!li?P+{-}q2g3NB=}DK$_I&yZn0^wfd{R7!PV1fM~0*+ zeYLFawc)jp-*|L{W~TCVl}n@5S`_+m3gmbf)Sp)x$}y;GwySiGdh1GJ=6MQc&pjsg z9o?kPco==;)*65U3Bs{l1bk`Q!#yE~l)`VK9-V0M5g!s?#bdpl;^&V_TL2`v7!${o z37%pg_+sozI$F$~MUY<q)2ExVpbNOF-{s(jNPq$tYtEk+~jS+P4>^ivre0nh&M?&63{8=-NhPRLGXYAU@ z9D1_Fb|!KhjR*cfnK!N8*MrbS;mGZNnzI#9NjM&X5M7;1X;9Lo!)s(#M#sdb4kgPy zxX#n3(`P9%a&FAdtx>GS4Fy^9150#ICy%5maYi|{AE4srkp~eyN%7VFsHpSBk)XzH8U#QZHx(GUTJ-H8;!eu&Ad`7+Ob8=BLL2b$^@0+tmf8IFRq zZiX*yI*z4M+wpHaIh4}+)o4L@KX^uE`WP}#-{{tWj)v0RdiYSgi~A1;{KBaUzQB5{ zzmvpQBtGdF_C%UsBzXWpfpfLt`kf~(U`J~cFxdKMZ}utGP^yO6w5F-2mt~B*swETF7sz+DTz~zTHwYB zI!L&rVqfx)!>RH?DOM{8)6gtV+|P*Qr6IZvv3Uijd2^6XFV{S6a5fgVM|zcVemYlt zRjjo}nwB&}07~hJ_ra};-_RJN3RWIZ!=q|oX{+wIQMCR)XF_@*6=;)a;8dNa~7meM$*Sk?@g1 zfW5%M^IDthXOk-&{3DBvwzS5t{X=pzcs{!`Gw8CPGnrC|vetMhn$wYfC?C^Bd(~Rn zg`jGKb1?|UtEMMqFV{}cIONw8T2?$x*eMIkmU5tS&cje40`=v!c8J2wK2FtQ9cI)? z{1{()SF_TI+k<3}tt0|*=;nxzS2@xO1lF0cha3rq$K?t^YY$bsdhdFjn5hUjHyu~I(Ze_OSQiuP1M`G#Xh(Z4tn=$ z5_FktJGr=PSHEa$-hK<_I+AAZI~Xf0X+%fv>m?N(=PP*p*%XW{SwPHXt}*gaednLO zVdyBk;T_ByjA6Mk!SCJxu`qTtd#Uc^XleHf@-u$4Xo=fFxp7*EH>nW5u!V)C@(1Qp z6OxOGnUK{5o-uMy2{Ka0vNl?!V4a zdp)t4R>4n$YhkQg2zFE}=M;&QU5nmHba^VNWY-x}y|NlSED+&Y<}5HzeP+n~+5{NZ zJa>}$r0TJj!->3yq(0cU-VW$flw%o7uHKu+7{l%VF)ht?UVMlO7~d@BE)_OBK-;}? zezW*KxG%yaX8c<}C#&Fo+6EdH973?4P>2Dr9C^{XT(YZxq)zXYqR0QFI0H)I)_%k! z!?N*Mmn>3q=SqsUWzS2fh9%P5k}AuCa7J@W*0bniUPb;+V*5+%x(O8L5k%(3n-^DP zTX(&UejGE?&B;6EBW?ng+eIv|w2$YVc=R6)IX-M|u}NGix_CLRF**IxVVO@~b1C(u zQ+&WQ8RE z`)GiyK(vua_A`Ng>AmkhCgM9TXBpOBSP1#H!$ZessQ(n(hKd-2bCCdmxCcLncE80o zCkr!MGp^s3zuoq(&Wms|J_2v96H$!g{U484hw#7^ea;i+e5g813{h1a9`Vx=!_U4% zqWVS)CrD&PC$QysQ1iY6Xd6?d>HzH<9s30(4qm0n30ySi zPGZ96>H0*a?Co{C*S&P$jr3;!tSXW+Fvz6StTTksqYBYRLu2m9TZi_CA2P@R3&*x` z>~k^&)*;8TAb|rMm9CxaO+)WqwRBB_X10l>eyM@s&CAm&wAGt1E8Y|=?MU~GgXsmf zD>SiQ!7}ZGY4_TMCx~J>xF?|XZ0L#5h|=t6#RF!qnz{X%=IJWm*#u~& zwFjlkS2utb3)pt=718@CHs4o2H)m%KPt}@trZHRK1LJ$HtT$r~i;;%Dlu_e9<$AuX zxU@6NmU2XnIA1ZyIo}h|YocBzy~!wl35XU8LkOj)OkPHPAkKpv5^F4xM!|zgb7anJ zP97$opw_Mtc=vr)U3rks0-dh3ZVgf4hi=T;>Y=KHdG@+DhL%3&_mhFR9FM4|{TolG zyW8d#0Z*EUU!jTR06{-3l6nDG9%I|N!Lx+YXqafPC zH{0XYeNh=A*Vh;4*z7Y<)Cb##aG~5ToXe8mSi>{@iEdq!TMQz_Lqb%6fksf1CMF4> ztEF!N=4@v^dO1@j&*QHb7mEHn2Fb&Sl{KCZBQU;ln$~pV6$3d3>pAWTzzXhDuUg;VuOeNPi+^v^mr_e~WX06o|V1RdV{f`h*J#XFby#j^1anOn}?cTyuz)XKMo=zSnh{C&}a z&-$RKaw8J<9o|`wWpA#}`*#Kne39#uNjrL3;w{IuO}dRTWW@XU5?dM1Ra&~I7t*_1 zK>Lze3mOIK>sEAp=*thGj3f<~ei{@^#w+-=U9C7HM!tqx&@q-#1?5IwQ}UUcqUU?z zM-QP^=iE`w^ZbkDi9?RycVWmfv|L;l#g224=T4r4s8haY~bGur-CHYY}Bl$pP$|3$d z8Tg^i!LMmnxqJd~+oXWv5HqB;7(2N#vSucar2GXosRin+yi{2U`EHy@hs5;D&H>Ah zO)0@snN0eXDr@5>H9VoA$ew zHIypuTxXuR6(wd&O7Xtu#ngRq4w3N|$bQ`6VSgmV_NXv@#ZT;5%GQ5L3lcDm4;DO@Y+co1V+vVsQe$Xqx*I!S zoI7L;ks(&{{ib10DA(Zj42S)40x=(Gg%ym&pskn^=rf)ICQ2si81)}lNWR`w=sv#;v9bv^g^_maKg5NYXrJDsqw zhNeIkZJT;-pj-QjAcE94=h6wVR%*I#mX7T?xow>#v_ z6|-eX2BoviQ-k6vhgJ--?c?lIt#WyL)6mF_*|s_{py0D$>>rv`CyvoZTEH_O!=_?erv5^sv4w6N*gG}h6ugsh^VM8hM-!naP~ zG2k!LsyMOMZq1%s}jyenhQafcew zgnu}mlz0}XjZrZ3h2(?Qo?`rxjD6KmpxxTK?MO*%V%geUl9Q+y@#r z-_=Xo6^CT`EH<_TvMf3fypyE6H_MtwOfuaVLal+rbFYdrZeVzD8ovTV+~9Z^LGi*onSv=A%CKQl6Yy%TPWI*or= z1LXmEpSu#HfuD$y=-I#XacGET_1D^72MyNd^S`8@RZ)@-uf4F+>AFjpdSIYOZcad~ zW@Mhb33ft%#>5bjp6cw8wA4`sk+*T}I<+LCvCyM4X%CQUG7F!z!??vM?WOE^>+^lp zxKwayS#-57a46O`ii87!DW6Js>fIOSLfIlHuG#i&IrZ4)(=Z{PB~=?-MeyDc6<$># znT8d0ALc`6vs#5AsmzFdExAf!|M3O&Bk~i`dnW6Ql#e~~lGs#Bg))O2)W;8hg zcE`5BZXCT1^&oI9OOMbSrBptg%20ahn~spto)$sOB#wvCfUHdZrEJyh=CG{QsEmav zBFv!JAS;Vd%5U#Yti3x!+D*CDHH;j8r_L@q1c?Fx0NBF=07(9p5&z1C(~_6sviWiP zmddwpk;BdrSNYr79jvvTcQ%%b%Ix-?-_uDcV&ZW2IBeWr?)fk~0drcId%!N2lc@Py zz2E9V4hDgoxr6XYZuqmfI=Ln(w!rhHH*Ig+?bEvs**8K5rM|X>cipsH-_-YtZzY*9 z1vqp_Y9Z`@O7`5plCHsL;Sx>=$MBwKPIm;>yYCP;5(#rgPV~H2Vs!ByG~3Xk+_=P} zvZ{`WLD8&HmNsW)(xv|_cHOJAA-%^D$?1^fcvCehD$P35*{jPq(UPR3&lI_#3{|jf zQ}Vfr9C6jS;sl3WX*|^>v@#X8|EBG$wjpyjj;uT+&FLv!1Om zhRuQ{y}Izw^M)M{mlU^Ku<`B4oo*p9o2OqEY6H8R@9P0NI>TN$dfBf*>e0k^3DtAf z$z7r&<1J<1t_;fN4HrUtgAVYI>jkfA)|_7%t)%d^27=~nhF8y32yoef!~2S*OV1d- zB8a4GEbJlZtbsKfcpf)*w7MPccZw_!Kg|;@uH?y%8#%E6E(LF&lO89hJ9TVsSRgFP z<-{^9Yb7}(OQQSq-agf%2Z{&_Pn0M?Kq zA(hsx4Izsw5>jzKqZ}SnALC-D~#nY#dn^ zDs|rQeA){ZoS4IWNjQ1lVZ~Z~g{rmJu=?QNLyFeyXwT09wkk|<#f2%ZFTtiNj$nHT zmnqoM?2p>ve}z_9to4i?vFhf=2{;IB^B-SKj2Fc-78*-Td%!%Em&ZqAi>EG66syYw zHk?<|LzakY=Dl=wR&5d~V!edh8Pt6h!iXT9Da|3@Iy&~EGBkFbza zd%Jv~adzFIi8XL0>1(#w#9P$3EdTQ$-8MkYs6fp33~MrAMYJ5b`11&II*((~#CwIgEpnIP#B5^Z z^YH}#O3Qb-Db5ciyu(E6M#~qA915W?P{rI>5%Gx{%55`N9B{F;9lq5se{9BE>t@;H zb60b6@IdKjMlkaF9R6Lz%aipn^Lre@r~z8WV?Rz({mQM~Y6`d0Hq0r$DYwJ+o&olJ z5M!|)`&?Spe6lOtNn^RF_$~TBIo_KS?R{z3bNvjPf9gLl-PRr^(K(qps+&1E{nYC2 z??2=;v9vQW%EaKV;;vqVd(c@j+TYRNF~A)T4WL8pUwIW`WCA~dt1v7!5z`qU;SpWS zDPrlp$8<~~;ekagEK6C`4l_v?8ukYScYfwYV1ya09Tpv%vXY{ zgX!O_%*v>(ctYn&0+SV{kuG zpHBF}BaYVn9}^>1#3;|h!f{H*(JbXIrZ+d^%DJyvri~D(!u>WAGY@h)(}xkMKA03H z1PYK2$;~79i4ylbDzLLeH#3RN?$tqm;58h3p=2#&HeV_?woFi>InEp$FkOo&O9hSQ z9(?o0`^ojq(cL$2r!19~7rz}v-$qW_872YwV`n5FGHP%Dn?KP+y;T-%8=No&@EilU z?^9g@XYUFbo>f-hYCX)jVq~tTGp6!-xX)SIJ!r@p@WGansJBWBS5C0Q8+zr}kT3ld znlfy?{#Zriw1ub%x`aWcr!>lV5uEl(un6_`I$`~%D*Ag!hlA&U>D~YQNyxw6-@n%X z@PUYm{9gh7TCDz;;m`F47)kzAy1sAt*8<+34ToXm``^oX_i^r5b$%h;!Ib@bHJ)r>rKWhF3 zPywrR{Jf`skD>3I-XAsmGTkA*e>16-qC<0|rqKRW;b2JFWOb7NfEpL_oUAf;WH literal 0 HcmV?d00001 diff --git a/function/ui_compare_rh/uicompare_tools/excel/UIComponentTextCommonCustomDrawingSpan.xlsx b/function/ui_compare_rh/uicompare_tools/excel/UIComponentTextCommonCustomDrawingSpan.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..ae81c4990231e0d312529cbc3cf342ad247c69fc GIT binary patch literal 10218 zcmeHtbzD^27w^!G#866iw@4|{-HnvskV8mFBhAp=A=2F)BHb4Rkr+Y*6zN77;tk$= zf8NWz?|t6?zu%cNbLOmb*7xka&x*a)+G>hO$Up!p0384T&;Z0A1&rGx0077+001EX z9r2l@gS`vL-o-@A!x7|c#OZDarp`r1WX=H~!tejz_Fp^#&77A8qpw7F2|B3>$#9Rn9Q3-AO^-Cl2iS zMLgbJHEeWlsry z6$`GWCQcx*GZ*LW@Bh^EzgQ>#()IFqWz`;T?2tXV%h18I>BU$)2}L(?xi%UtUqAVU zdks-}^bZz0naJ_9?gt{tzV7h79EL86Mr{t#oPOaik01bw&^5YMgrr=&bVXxjbV`@%Gpd9&v-qPT=*SF3?ihoJ()%{=xk;=SLr2Pa!I2M60*Z}z9oAi!N39Ob`zE7wp~ z?1h_jtm{y2w~SXr_;W5?wA)}E0NIleyeERU3nMS>*QsMl%)?JdxyAChYre8y=IAb zUe8Ty)81Qgk$?@ebV3i=M~?R_)`kYAm*H>vpCYr}dqJ@R7Xt_q0B{d}2V7+SDlFv* z$}#iYcp-a97gX%afeCoEe&}Ty#o=1oWy!nQQG7JS*ATEJg7(#37QI5-wDIXg!VVcM z?d)W>3|6MIMwXfK3CN$;o9Kt%nD|v|f+|$?LnZ-LGfPV?DyAor>fX%Was}t7te8*P z7>JQvRumF-FGeHo^Pdqy{koJuSzi%Sc6+^7{Zihcq8rrkM>`j`@Vij6FFqq}EY0_; zAgVwmM1>&rAq}53fG_2yzHkVREwu%9uRQ;4zF`zTw`krh=< z7+_jjUaZ&foMcRz6i8oU%k8Urq4yu z$tS+BJ|*BwU~@;R$;EyGyQI+szq0e_y_#`qRoADl(k<(7$Be6CmF7{t^o4G)4lj)2 z>X;o7$;9S@-Y{rNhoAr@p&^FL49-=*s1f~CC8}W$3Drehy$bQMWqcpi?iXp|zP9h| z!(Su#(=Dg?FH-HM7Psx27VRuLuN}A!q}d1dCQ8a%u+Rqj$izN8Di&BUcR-UYCgHNs z8td2G`gdsv>(`FCcRSA|1^|G+OM|o3b0^RXO&2F?drRkA`!Sk2W}nH8Hvkt2+`+TM z=c588epZT&M4=#EBQ;`DT_U$wx2LiLKMhlee@R2M>8o4A=5n z3_&0b@Zof==nd~py2YDETOK;CmETmV!Vvf|{44-D=af&6ke?p8cq-pB73-Kg-r|4y zCKH3yPZGY*q7`!h2)O}--hNld2&YqM?kVR0@Fo!=sX>h%C`spmlP=GU4VS5qX6w$#~d+toRqI`=X5 zY#+}{En|kEI0lGCO&Q>6hi}N4O z=;sN~e_T;eOjmd}H&FTv=~~j=E8$Zxwxs4G+Gg!a^na}ulSeXn_rPVpMS%>^I^hiL5cDb9E4NGd7{VFR&xL|8S! z>hxEnJ-)qjHPIL)u}{9v$%lDx51mImm?$r`u{$(DtLIW_*kfPw(G3)Stf7Cs9qmIU zYM62VJp+V`LLq9X|Ew|HbTOVBHLc7tCqf?B3GpHk_jG_6c06@b1 z+j#P)L3ObL*@3uz{{HOtw*Iq-2akZhT*qSAN4q}+R!0aNss~<8T0FwgXJUw{5 z^ph;-}c|Wnv+f0(YNdMHu)Jfy%&M{;Iier%t*)Njuj}(x}4N$%WlkujB-@#_1`KJ~M^pW3Et{b#myX9Syk z&TT&vF*od0tiY}S?N;#reK6uTAKCmZZ~xAG+CR}~+nUB{M+{Evh1qVzo0OrBELBny z%5dqeC@*i#u%#W4qs&zgbI$b!^_gi_N^dYKUI1dBh9iej)TFLp+!yCXgTz0V$fV%K zp*gT%wjd8zOw#Do3cfj<(NrC#v%;dQXk0^4`e6{awz{t_VUfG;i>+gXb9g+IkmnT> zvwP+3a&!HmgQ~7Ei6w6d1*m%B$@LEQrK)OA`1SSiSOl6$p)%EgGsVqzsOp=mL+Hq; zWQ?<}=+)+jx`CMNCzqG!XZP4YK{4)c?jwY8yK$~aeq)Wu2_(LDPi;4j5{E$4k%CR3 zX01#TNbc7D#W*uvg;-TgIlKa&&(Dcs*5ZFA}+b zW9)7b&%~wGNx>eRkjrnML?IA2Bo+w3v*~%%Hj{;$*J$i^;2#$B+`l;Z5}?@=_3eXU z&Y*>pA8o0KH(J<)jFUrLq>Et;7UUSH`SrLz)%jW02*$B4)`hehsn@LAcUs=KFlv}U zh6sd*Vh#iohvcRu@r6lJ!0?wtfzrPbF@pDvETZwwabG??=yx<>nngbwl5oW7)hdve$^lqzO@yxCB&dkWKhXPSO#)Dc&1MT)c5hT&(<1l=J;n&yCa=6r(1(1Z#lb zn{ZdGc)^H2rplC*eT#3#YsHsqVfV(k`BBvRRLYj&Tk-azhE{_X*#{)Mgc9Gg_0-yX zrsuPI+WB`S-_C0lXRX`NJ;GYyfijXdTL)-SFg^c5NZZ|kH)iT@q63{^8COzm;WH=y zbXBUi6LG);wK?OCc{L}vSd~2D5;Xbpk*zCcdLmxBPMLxaSCmo}9 zYc|}c6%OXBkCU53xM3XTRczj%r7XnN%}pp3mqJz{SIA9fYwH|Fz0ZcDzA#LL7vz>~ zNcdvihz?EsQD7t!p(ugpYy-jf@5e;IC)1c)y4qJ`UA2rElFet`2XFcEkJeZNfJa-P z@9%k594|FhI)oS)JGoh70dT;@v=V@VS8AT^(Elxk(6EFvW|1mG@*m=kz~iJJ{uEcy;XzZ zUF*%n9^>pjBSe-&#s8a@BauS0ha4XJ#ia9^mVhZ_fne@Fes-pZgu(7k{PJl)I2BL< zr&D*o)VO3~A37}oJu6$!HsN#?NfP0%fpD|JzAq|L;pT48w)v~C+ct53I4s{8g-A;m z+UtjhH@60}=z^QLkvuxT2qQ~pKXxb->`X(WvS;2UaG2+OEAf8u4sgb541Eoc z1O6E$4D&z4z=L1OKm!19es^llE*@ae&k13^_K-ak9z&6Ah@rQ$8Gu_FX;>hu=;*PC zDDj9LlLQQeE3|4ZtW6sgDZcWm9V8vcw&BNo!XM4pl;^=hQfrPszK)6hCMa4iR96Wp zEe7Hr;u^ldj~k8*rFLX|<`tJpH-X$>{8G=Sx{@0yA~aJ_i6LQl zQVl%VP=h`yzxDEJXXGU2O+VW}X04s=Nz~i8BIi|LI4Cmu?SWfrno!F<=Z|Xo=GtA7 zR&!DPF%f)9vP5O*3}MjA#mLu@WJWBWmKqc{Up2)k6KjmreKf_mduiH9loRDl&0V)5 z>@cPY_v@j&{Jv-IB$y75#Yhbu)BRpH$Fm0NY_9VUHxvrKpr27wk&b9Mx6$vuN&0x- z*pS=;NTOkCk-y>Kf+feq5Sf+n$}460eWkM^*uDG2nwZAQkj|_#NU9YSF=LN?jaSh} z`99k3aP@hG@bZe-YGd$7yj=__2QpJ3mFUOxCFTEk!SHZkOAkmt27Y~uU&XcRcmiMDY$iv*d zT)%Fzp@Wd`5sS}*PPb<0^B&+bY_u;;u$4T3pzq9Bens&lBn@yle$3eRpx1)9nSoYf6 zA!5RGYSO{;p4GjU@yjqTpnGLjq~SQF>i)-U6&e35?7N*E><1*v7Z;7M=c3#IjdNO2QRoPs^mE)hP!$tAYOAH_Cx{ok++=fu)CVKQ8XN;z+AwC9WQA7D&u_1%nFJ(pR}^BYb3=qfR9ZlhwR?2{D3J>pE}sPdPEu-x!jA{Dbkqc&|A=k zDs&o536_q`#lU1-`xc3vIw9@M%k4X8W+u9zBF~0Tgw={6NCjzC@ny)FmEX!R2~zE2 zgj8#jf=q$~G+*kC4i5Rs1L zewe8i!+%_S}HkzCPxUYi~L@xO(QbypwwML7J_Fld|bT_2e?6eD~4)`@b=L zCvyq>9yPb=$^s(@K`?le-`}M5jN89c-6-ula)(|!cIdN;V+(xClmx6|E-J5z&DWuO z;El6%7hR;P@tzxJ9{j=&NYZna=*Di+-$)XA7|tt^jhE+#$On?KYrt*h^x>D(To-`eDp6A_fD5roF(egxsjM|28Q?>lfc`LTZqdr)5d$@Zl zX}ZA4pHsDHCNSRR6J#b>_s1QH(igD^XC|;Zs+8hw@HYHGo?7TpdG{$jw@0W1@moHo zKUbqxfHUuypws;&VWGb;B-i|j!}<$n@TH1Oz%Hv2A1uM!g@WMeM}%0@Qe38neshfI zVL9acH4J%Ofx`{;VkrIAJ+Y8l^bizr26~PjWx2W+U^xTS$kSOKl?PHX-7zweLHPxo zh_3VTH8j>_0Zs)ti1aH=^fD5Y8YKSuvA4unIPnYp3L3-j#JHbCgL&J2J|Xm!pf@R` z81f@{gp88?A^D)xA^-QZ=;`33Z|U0ujQtFK-h)MfXU{a z@|6SihIKrWX_@U;>LV4y^}|1WuFve{NtmKeuGP-2_f0l4)EL!>gf~QQI7tAU^c?~! zr2CXsOy9?zL|OB(SI*EnP>=Pb4oFACm)4s9!f34XOK*K*+azj@)}|%PZ3k0;bwG1T z3*I_`b%h7L8WzFOCeuw5@BaYn6#tG<^^}KzxA7xG4}0HiZ2hQk5}O^KV!^d5^G^`$ zTaZc0aSdxc#W~h-ios6uzUCLH1*ACgBcGFP!GE^GT+xUZ-e5SjI+4zfxL2cb_^7>S zTq9C3jZb0>!~bv;rLT^hf`d!X$6=y08QM zX-Durcj>ao#K*}dU5C0yMn#a<{T#HkZA+H^+g?}=&cfUK2k=cRa5X-mEb+#l(z0%^ z{^018I(hh#y-#jX$$}cP;C~r&lA7$KJAX^v(tyhlh#LLpxE&s_C!y3NRveDLxIuc- z&oI!5DTw3QJ0MR!vnC2D08hhT9C8c?-Oxc5qDtVT6M^nLUNWy2G-SES0+zOD#1EEu zAfVOoVAiO(j6fi(LOX9PL||fThPZL*;ik;PHjZ$M1pQ|VBg+xH?`$rt*k)dxk!6-H zR!iCm`=1#!Sg5AY*}N*^2S42wpu`W^x=bVk=mFvhD3q;0w-cv;w(3ySf+E zsw zUJQ8QV6Num;ONX{?%)LaqpbbE8UTFgyyHz2d$@sp%P5_aLtYvAuskd~G*&MsYC&~x ztf566@MNr1n~&Gjt1=2~s=dcdonE^PbB8&l8))Thwpn!PctC&R2KEz9S%(a5?-<%| zEy?Yr57#!(aXBKO8A_y#HdtJZ0;WC~oS5`GsoX;IUJj)FD%;{OQ;BN1sluS((E#5hqkQ)J&d@4f&*jmj_IvZM@vIq`OoX}VL%9Ccd@i-4lAkDXtj%%sO z{~|;f=Q<@-#azL>b~aWhW2q)F5@PxE4eXE**!i!b_xf0OR~mk00sduzf8j+1M|l3& z1>~d&a&fs$B;P&f;WV?hH#5z_=C0+gTSU0uRX#rWe(?PecLX$u4rTC*CB)PWaS~r? z^yy?=SCE8PYy+Q!5Oq2RMEv+Qwc{DKObvXB^)E^wY;=sD4p)NP;05omO7Ps#@qao1 zAF@BT%=j*N3_%nUGlx9YQO{@doUI1Pd+LIOiCGl`dhZWqgHk9^w{c$0 zLtWle=G8|Psz5az=wE-Ck=6L(4V^6yPK|U!$xv}h_MdvkZ?9Q>vbniNI6}ax%eqAY z1fzvzjjYnuK%P96LSmuAO2O2j3nBX^KQmFxPcs*%aX!nO&u`yc#hSM=xdlTdKb#U3 zTdkIMWJqLs?l6ctpdYdKkfUSw$K;p|3A$c*1YY?EOlyVn>5YwqDsEW&v?&TzM8HOJ z&R$+u)+h>9ky%Mnun^gZ!W?pd7)kHLVtZ>WkXd|gpFY-opV9bp6sMEf;OOo=I-{z@)v=!qV`OfkdrsxUv&&i0Gi<^dRAfg<+*hlE zuOR&17YYk#E|ivmrj6RJ3#dIgX(w)lE@M*}s*E$9hi3jJT#9jhnY4bJJ^$UPBOr3X zi!uMcUg^*G_vi6nRxhb3{vF`&D=GeDyge4dmE$1GHwIR!ahNQ~^K!V%<_xKMUfl}2WyKXl0HjQ0Dv3B*a?2zJOc%o*a z*HqhZ@88C2Qq^zb)7^Q~nklJO!FN$B*-X5qITOGuTcptv5n8ulxzSRfGC(SbDswt{ zasTS0xPM-$dQ?qp#Ir0sl%pfqnL0Sx#zi9*D~d-7YMf`ah@9WMPUUw*N*US#*%myMGve}Y^uE>mD(Mi z24?A2S>W@Dk_uUtLKNC^kRo#iBcNBY15e4!ePLNCmzswgIS_jm-+CGBN#ZqUte4ln z(ZA#OpNfrC%Tk!Dc5AZQh(S6_bw1nY8vIli#yqTTx-Wl)@bDJT)a$~YDenx|Z(^G) zlRfsty)6*lIT+n?39#IJfN@UbTn4#~aB{Bx9QPRaHW4*?mWL-MeG!o2W{4YC&Ub+f z?T5TC>SVES8A)_q0zzHN$Pp&}mVAOr_yFeF<0BM6@h>#3Q)8n%2kV|JxE2XaQ++2> z8)sIQpV$A=^FNrAf9iT^yqrQ08*=c`tGkfFtGT6EbP*Xh;a4r>sy@C_U(xEKa;XTH zI%tW|RS5#1B;U39+zo@41fq5a$uHNqN+U3V{FL=>Wx**oj&I-?Xq=KI97|VwF^ z<}OnurQPXV+hQ0>8Vj>!hE^ygW=_Pa&?i_l2oSJ75e4JCNcGe1m(yA{`cV!sC!%st z7F^lzJZm>$BJJILa{dmAU?{Kb{&Xt#ptF(rmvXN`8}f^50yPy2Udu|OOea1HcYPC^ z&NH#J4y=1GX8H6%WeP6L9~={s1Jqd;@3d>VPDV1^d!HlplnfpZ`A3izE`wLBzmvr8 zWn#)1cto1PBq0F6L%g+N{hcRn_Damk5XkhnO?9-M|uch zb4zo@#`xmGO0loDhXy}XOAn$U=kz&WA!KOQ)%+~O3S}Scel#}Vdi4x-4GQa`i?J{q z6WRmI=7=B0e(Y=v3f}0TjKp6O1`Bh4cdz6C3H5_BR@2M)L8eR~&(;q*YW$GgdYXP`f|MpptHx)4QBZIKaP6y}DQ^xh+xO zz)w&44CG4fP4va6Pux@-+ zWHf?+>k13x+a+t7u?3NG*z2|Ko6-&ouU*9z?VR7lQj;x(;hTWaTvd**9(2^&OjoqV#DWa9-g0J?_yrY{+KA?DW!=z9 zHt5&G_LwzP_)HZVNvg*@I{d40XGweI;W=WCq^_Tk6>+!*KDBiULdUI|F@zU$x zA8VmI!7ePQuj_U*UaxN_a!Mk;p3@2pTnSkJzOyR4PsFYt!LrJj^B@a9U)o8ByFfBY z+2G0+?#1&JVID0@y8)7HCX5bQAyA2c*LpuR@pzljoN`y6aswnbIJ2kYjex!_7F8ubjKG--z)Ug98E52a$`ewdMVi3!ft zI&S#$Z7=@P)iP>rQ(u|4PAjjW+E!+73Wbzr0$OBWyiP7hj_^t(wAu=T|EhR*wC=LA zt+v`Gu)kzCXZ$p$e3(!FPKRZyPv>)WV{)1Udxea9l6h)k%BDDVgw^$ngg#T^;DOb| z@{j8{I|tqSQJ{~xp7W{WG-Kx-`bBh+(E(qWe$+pv)t9VKQ4L&ufA)hzYM@sb>5=!- z<3AFa-QhAOf>Mtl-Y-?r2t~0kx4uY)xw8#jM-Wby z7F*e#>ciEt%GVt+ZFp-0@V!vhdf1QlCKa&D?HGS`IuR(v8*A_~=N0du_`#{Kk?@|| zWu~<^Ds;Z>=*Zb6!atd^kz$&VJh0*>5d7T9{btHsEKF@pS%16!*6n?**Aaxzfj+F~ zg2-owKe*RNFzqV`T&K;RBWTf5$5bWlr z-Lo#m$L0&>NPei2)E@alwUk(E;-+QB^)dQohV%K3>*d$7P(C=G)xbXH2Cw`LJ|2=P z_OJrxtHmsRi$+vjIugoZqpwc5?_0jt3*LQWTErxeu7tWUZV%G7qwBRP(cGY{1h-L`4+>w99#+#=&GqEH`SxyI3)M_tkj7@=H@bFR%C z&^iB@{QN{E0iAd4!r|wZxoW@peT{jZ2JdU@Z`gEoM`f$G_kdOl@N?fS&c|6sKl7iD z^Pi6|lw0=ZP+B2_5_@m0x8wCoU`LkA$*?3?HCN?U_U0K=Pl#Z?R1ULz=?&~NQYjbT zrjfY;#0rH&hY?r3Uqv7g=70;0Hxx-H=0G7oF{3jh3YSSz?obVSJe^lj7^bv9qAaW5 zfRX*79k;Q5tR!NVv+0AZu8VSdK9rE_8547O@8$CNFx5s{Q=deiy9@(VxbR?Yzg?@S zIO2Qva6T3Rr=KrJI^azFxF4eM@%|JvGAbJ5tRZl}J5@6fllk)Q?)nOi=`#p{VD}gz zjLnT@RrEVUL{`Va{n4#@ zp0~_rpyt-=xt;ih1seJl2HgQvdZNBh>0}L>Ir&l)^LxRCO-eY~$3?p6#2|&9168)p z``hdiY`JL;PS#c6fFFz%N0{$fXB4QIq$jZ!}|5`QLpiN z)aFdeo=&!K>sej1c9SF_?je@QPNt?}YtP(bMo%l(p=kD^YGKBv73FiJRdx^!UZbVI zDlx6$8Wu%&8~T`mpT0V1l72!~p^4L&=<|KC=0U^>JILyaEync=&r(J5h?D(?a5zZ{ zR@Unhrv>X!pl-=`&&nkCx{{3Iw$pgu(px^N+J0F~HKeecYV@3A4$NZng6QP< zlx%GY$4$hn`fx<1bRtc=I-M1n2?zt3AUcu}o==jHBiqB@(yj8I^Cs-#14=?oVK?IJ zq{|6gXgyQ%7a7GC$+ADCNr}kxphr0-XWVoRS@t)lhRkNs>Q)h<@J4y8+xBXQ53<{4 zRh0v|Tv1=!mF@Ome1RX+K7_u!KgJs)b8FN&rr-}b%pudbO+k{6s*#gW zEGz~sPb8g_%-GT~3`@X>qV#nb8$Hl1SqIBxQ_<2AiEtUYL$3h+E&dxbD@Z}uh zo`%}}SXVVonrP!y_enNq-q{9&Kk#hNbf=Sj)!|M>zKxg0A+rgyTHrBSPBwLa7cQJ3 zWZFs0oP5{}s5`3Ch&hE#d{KYucbR;FPt<(ay{al-`S|wp3-{vW%o#DxkDMrKaW(n6 zvMb9}6;;EuN&#vNOIDyx=Q3-SI#kR#KACj3z4q?FETs`b&O)jFJr1U4{EW|vGS>Ws z&ctj3R@9vX=dkSg&P3bRwHRqbH=C8I+nXOJk7yQ-X+kA&<^8^^I$%pTy1znax|w#~ zP~|oV{fha803$QqT}1ovAb#c2Kb#aOjnbiUT&!0#c?_Bp0bP}BX6m!N;ZNdcs|saf zxZPQjAw|vErfBg~+O%$9n>sB$7!4H{&$rVG4{vM^qSvr#V1sh+SmT2h`|escZLgk| zp`EQ|dxfOeFhj=`pj|Lo26JK8LHHxe>@j+eh^}(J99FMvo^EznSn=43TB>7;X|_%J z)4?1lDs#R)f!R3gdy$t(JK%~z5A+V~f&bk>2qYB)pQiMcEr(w{!+wtmqObEldd7CRHNqh2riaX>kYjRGD<% z_C0x`=prHJ?(_mQh*eEpJ8Ax;*4_{0bh#cN1M-N1vl)?BK^n+~pO^6p)DPqmS0pWD z8~hzUFlY_wkOB%R&(iZZxaU(jogJDbAr}hB-Tl^YY}Xv$%VaY$CJ|;+azVO?dic<9 zc*eb_oP@5^bJX;%EN6p?2ubIWrA`>0RtkxxJ@g=H1CW2E|61xPRIt+BT6!|U^Uzgs)T$%WB zOGTI@u}W9TTSbtqm%J5MF7cIt@teH}TZB2R<6000m(SH(Ttxd9f_OR(AAB7f;~4_f zcQ?6)>+*R_sOA;r#Utvjt+cuylV%C@bcoD=xXK1*dE53bNUvzABQw%mJyTXX%bjIx z-gaMD;*eYDP#SdviZz=?%-bP9pqKTLbVmE0t{ax|t*i>J*9VQn+s5EAL(}Gy3e0|3 zrYn*v24R@)K2(rRZcBvobF3)YV941YoRDHx7ZIvjkqw}*yPDR?j)-l~UmbOH_yh+Z zN*kAPCt5NbqC>LPc(9gPbIh6rKg&7F@$JSRItkv1STYQ}+?%J$B}Ap(Ze5;aEFuhr zKbSY)g7Lt@3Yfhq^{)@9s8iw+AyvSsFdIqeZ74W2vWk(Usxb-?{i8W)meG* zz=fATf%j?b8yt1pNvjc?gIbD>h${xt2;0` z{!X1clUSWOFmiUI<305_H0TpumiUf4=1h%X<{m$wY3CADx z^#zv#{Z#YDrG~6O1Xid9e@r12WOCIJ7()5P06?pg?T%6&6Nomg&&H0!u(v>Y1nQ`Y zb>(UfRAVG=lqsq8&kSual*51&G3vJY`P~03Pvt_;o>K+ib`GIl#Bi9K; z7D8hpvv3Pls?h}3C)3oxw}>)7T97z0)@6t(UqZ7V-TLZ-#Ba&{({W5*7k~7+imJYl z5Z=(@Y76Asb{aj?kTr$f1FYs2U8bF2rgz#avbTNAirn}#lCo))5QzJH>e+(%>!P<8 z`XSkErshyz>bV`3-aJky2D(f>k7T)&a9ASL)s?hQ8@;4)I9S(7A7nl>se9HV7Pl#K ztP8lsJ|7C+UW(a5FJqnz+tum5Fw!xhIzG;FX*u!Vy*{?g`3rU1GXqNZV z*ow1qqOlVH>gD=nXQ=Qu;ZMtg<|VTdQWlmDrl^WK8BjotZ9tzIpHM1_Owhe^yQ=NE zpfVg?%6L4gVtM*A;;cq+i8imhT~NQ6+bK_vKW)C?D~~i>IuB4l$T103QJya7`Ki~Z z#XLc5R)fYKlE?Mo8r5{tvbSr^6> zMIi=QRS9@*RF~#chJ+NjQZJy>LNj^`v5+nXdf5@cWmIkq{xBtTgk8cPe=6&eT(n)h z4~)nof%~mJY~;m>4Q+_HHimCPPjc#N5r(F6e98(Y`rl1~ftCJ% z71P+X1fCHl@_Qr}%_72Xh#`aF8f28>S8xI8!omae)Ob;6{Xa(j`bjUL;Zz&(i z7LLKwiA+<;3u$Oc-DWyotmWQw#{UFSZo~b5Ztk{X9gt(n`p)IOBiu0(DZT|40>N9oa+Ch>b*PHI1~rhdG54)uNs_3g1JErK8#AYqYD;NSIT4bSf~U@d1#pO;V{Vf_Yw?c znx+uL?xVOaf?PUDa%-dV{Kc*c6T?h zMlcyP81{&PHgI7XBkPn^p)ZBRpy(-)QV`WCgYmyh%}*9`k$;I(zFwfq${W(26*E#@u%JV|vUA7hW?w0=;w!(Ng+)ZhJeSg6+0- z&H#oq!hbtC>nOJ?V-$w8z^EuGh!=lE`U|wbAa3uoLOV+&Q=|BtJ}o2y@6q^cd24>t zFJ;n`tH4sVDY}rrxjGanQcx`0@Vj?DFYfM79>3dnNs(H4^Vks&Y~`k3q5z4wU16c% z5JCbO18}Artgx0W=C1&M%_{#(@aMe%Op-t4n4b#%HPiNI!BH^z z{`b7wQ=F&imtRPa;LlT@Bx9ZmKaJM^5=KG#P55uI`=0Ha{rz8}i?~la^UM2xit<-i;THw~ zut^92{LOKAD*n{m{{k=|`RyhCKgRzl=wB`OFGv7j7YzFEclyJQE6Tw9TmS&b;2#ZG Kjho4Tmi`AmXf*Kv literal 0 HcmV?d00001 diff --git a/function/ui_compare_rh/uicompare_tools/excel/UIComponentTextImagePrivacySensitive.xlsx b/function/ui_compare_rh/uicompare_tools/excel/UIComponentTextImagePrivacySensitive.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..5854a83b4a906eca0b8649976678186b31831fbc GIT binary patch literal 8747 zcmeHtg;yNe_I2Y<8g~y4fj|ccB*8;)cS~@$Cb&bOp>g+M!QI_mf(L0NSOUR=1^+rT z^L{gvneQ)nuX?SzRb6$?>Z-f48Yq@cWW`^FKfdJ2b3A5IZD(5_0O@a0!G`(| zcB>@N@MI>@jwbki|ObXdh+~QiwbzGc=4aO9Lc3HuR`~B-TV_O35vVh+p_^WGoJ7 z;H~yIVHfKZJ{^R0eOAy|!4nuRng(u663kdxvU(bvY;Z~=L+L%2h+PamDA8%DvKpy0 zIb9{mwu4z3d1qf6Bd%}cX;V}d33NuLQj>h zn)!$<3^{c(Mf~Xkrse@k*3eqwG9J5e?_Ob|T)B~>ZrbH*#x(-U-c<^d=FF&Q69rOw zTaM2k1~MfSpYpQ>_!JBdH41bp?i*8j+2v27Z6ZtlxFZUX3!R#epY+m$x`^C|6w4jVlt4A|KqM*O zHlLee*z&W8Z-aE_>!4C7KA{jpy=z%;(v{;|G&Uxu#FvhxYrS|bvuCsCDN-`-EG}(P zY$c6_*|I~c3@@jTC8~hqk2J|K2tH5-6F*P!*XftnUNQPnjxZ~xx?dJt*}$LmEp9x` zcP=r12S*t4RBmr7g=i3LWWG@DHE2V3c1f&#cD7IZw4;oi%S(Ni*bG!y`(DO`a^sDF~g|3!S#3H*&T!%0F8 zKu2)1;rg8?uJ%sWM)vmBKcm-wID-HWVQ?@1-CL=OylgKwunp@jgxfXEg$QrKnTvi; zefI(SP%SHriH_Ijbd`dwSzqguEEke}u>0ZIfXl@b+;t>^vo7|+FnnYW0-Hl26#KE0 zF(h=O{W9tRDHHGiE`&hWCV1lL>v4b3$gaTiFurQK^30>Rx>puZ+t5Ip%4)WC-y{w@M|~gQPBVEzh9Uh7#~m=aJwwO-qf7D} z{d?<;nY{Z)>#p1@>@CU?S?b~^&%J`3X+s93Xna{?!CN^gE$WAB&SKZYtR1lL93!WP zW}8C;v#ao#{wHMidatO~;4pw70RRu+cfcX@SFn`E$ww`61A`9}u4p(`1LJ_ze&{7C zg<)#yC5Z=_5xjK7cMuzM1ohj)jE6EUvj*oAarZSCTKzwC)4q18d;mFQ87J`6c6VPSIZuK%82@uiGdi-WkDrYV=@XQ2VD@r{JP{! zGrk}s9rSu__$9TYqU%(FBEk7hAZJ>RWnI$x;yk}HqB2whR0vWZ((px{&CRRnbxwh? zTm z32H|IdO~aRCkeadVL1|xG%g>om54zDAKE&F5$5>PG}uO&v=jT|%kFE}yYPBZ9UdsW z06X?@#>XoiYrI3MH|2mFKZC~Q3Bl@)l)L-x`=DS|Ed14e+M(qoU$2WfH4TUAO3Gh)9=wUd| z;oSB=(|Ut3Z5e9@|HAur5j5*RsPg`~?b1HJ=7uCEHFf@7Xmh+nROU z*>fFBats_!6qPn%p$+tr2~YAD@+}$Lqlp)iaG9x%^{ejwI~qbv$6fT`Xh4Lcf$(=U zfGyrQnVP6NJ6YP9gMY3cc`98pJtBmySa;&{Eeo}f!iTI+Bo+ee<|R%EKW#2>n5_2i z$y)k~+)$1CME#(!Q%9Cn+&>;WGW#-SC!q7KUsuFDp$md@ZT_QOG-AQG%(DCmR%Pq+U^H8 zx6@A|SLCLoHB5HA zH6Xjk>N;}veaiyw$sgiU27C2&kh^H-2cl;VulGsaNU@`CyE=tooXD=e0(bBQ`=8t# zDP{`EgJ(l=4JjGql3eYFyS;UE1hK`c8uv6WE9@JdMr2?tdB;FfDSHacH8M=G^SN@rx@ z;c|SfiL165=zZji4DjiW%lT3nL=a72EvS#P!7G1LP=LDXacBYO#bTDBMI$Z=3pK;A z(UKEMa?96x;hWDKi}-Yrl}KmC?eBE#SbA+rv^E)7Ufy7*t&z6NYvI!&R1DP$C`{1J zM_5#;u+4_y(O2#EvLMzZF%$4~f22|L@xI&dSv~YY^*uPRj-Y-QY}94i1!3~6MzK*- zn?Lr^rvDLu26Ds&+BQurB~#%ZajppxIwH{M*h$|u_U+e5)+VUu7>Vnb85rK0oK<6P z+=f~4rr>Hucw`>VF0x-^iu4JVYaY&e)FnJe5y{0n1#RWPPKCx4=Ef_@S-flK4?eZb zR{PKGY0e2Wcwbt7CSs{OEL*$21+-egkNd8P-_Nl7oBuqV`*d`s(y}{?(~9^mzW3UC zJJzrSb!4TSmf$6q)|&k4?i_o{F(t}E(P1X!VWxlw%xx9G5@d<`O{_O}Ml-u>un)p{XXjUNcom+CN z0i1~tWu$knVMfi&Vn}Y5{)ISmUHMoQ%vn5qpD!=v19uIQM^UP3y&i{Se|}_K+k;<% z^k}#q^x(mlkKq7a-^O_nf})OAuUDIeo&Qe6+% zKwwWri%C59N2cy3(R5sTjU?>BiC1~8Qz-bNdc=GIK&u}9mbnbv+JRmdiM#HSeW-xnSZ#4q2w#xIvo7G&+X^xR8~ z!7!>Ki?9YjUIYiig-iONsEXI59J{=8o@+i_O9%G`jr_xT0j4dk$eyp{}FecJQ%K$Yh<~QpE^xbX1vDf~F8n6l0 zaXG~%USrBnx5Zlf(BsE2s|)TZmj!|4io_8o`_wQrDS9rh%Mzz~YY3r!$yd+H1oyg< zjN-QMv3{l3f)8u^%4T_!py1XtF9r-{^pdBnJi}gDoUKE5gr@1y*gook8QK6$_YU(xVm;_-+J&C(8qKR zkk4f=3#=M$BxMv#Xk!{?jr_RUK%!w-&l|WXYl*vhCZ|N9DC1=M` zUK%C>2Dv8c5twZ0GoXp`2Zl2fJj3^xufyNjIVB=|F^jpYseU`wRn3$p-gwb{oXwke zvdI=ec(QA{)A@MK;YL-V?J1K(W)pt(v-?PSxs<(cXklz2Q%(}*bi-zZ`lG6i_>)9b zXZ7Fx&lAtcD4P$u*VGg$@7+Ed6W zT|Ey7qal>R>CikXHYl1ng3XG-E=smC4IjM~N)Y0%f^f54?<~vG;O1=8xA-e>SvPP` zelOi0g-A-~+i8b|H8#Iv)wF5gMsn|17eto$>QXjkuaTCaldWxgfo0Gz%>oM4DVQij zIkW4a_z_`tAGu4(QaM+SYEU-EGBYfybY#US-7(2A(!B1>giY^ z8|diKh$yj$ZBzJ+1Z(t4&TI|aWl28Liftrqr`BPoyn-`E?DC5?PbD@Teta2w_EF$j z>C>8WNO2({-gjI*6TFz=@GyEYdoFy>uu>W0m^Vx)p%aN}+uS~v^rfeXF(*&x77@{v zB`wO{K6OoJ(Qw4N{SE|QUS&`6O@f7-sQKp9yi!r7f(@Bm>=OW#gL zD514CwVWl_1NNE@T5vKg_UfG`cHyTL(gKZr`S?{S3%P~>hg3H0Aw3#EA;U>}{wCjC z3NP59SqgE!fX>~2HJ_Er_)y(;JhLIvsMFJ zn3_6+xqcgdOA6DIDqDH1aI&z74iUgmru@`?+~&%?A!ljqnCp3ZyA26Yo4 zm0OSfqCPK~%%9W?v`pnyK!zo@s^~`tlcWN^;NPQ z*LH%NW#Q%|A0J1bMCpQ^T-7CPdBtsQB>jn4n3^Q;(EHP&U~Z)x+s>z7Qbv_g@=4HL-APW22UGmh$nx+nQN+6=fc!7m(O~ z$L0C`Rp*NR|HfJRN#@B;h6lHOEHLVP9CLx=g-Z_bEhKjLh|u#8LA zsg9mua=#vSSr-I)EM-hK)Ih6em1id(XlXtXlmgMQAaasx@90Oa48Ls^i8;}eHQ*2S`*v8D~S&gy*;%JUAtv+v-eO!u1?LTmj zf}#o8kMx|z9kIg4L?q1f2$80|V9iLc{IgL}7KP*p!tPtCOP%;>oQDUC*nD~36o8i= z>xLOnE=g(P^!KbqQ|9Z3N55Z>8auIWu+rN(*FaQ?k?smYIiS!ranlRxnO(Y+Z#=F? zymY|4ipV6?U!q3j!9>uaxyWf%q~t}I`McRfSJN`wDZu;7Ec zB!QH^_2@r^A{xqh>>l%#0BH|RQ$b=j*??a1p-j^xD%3q3mqnO!Cv|RZ zM7{z{)&8OH`ka)?x)*G|^j&heD@vMzQ=Q>nOGw%Ri9)D37W0L zk*0w~a}WFa`aHk6J-+{H-z80B{Wj(`&Y(WLK)Wm(&8hA2-oj$PZ zfW~~um#~yk>n%Q|7iX=+&9GH$8a;(^rpu7@kAlS*cQ*-J4DgxxJ@Y|8vnTDqjWyQE7(kQhQr=?*32H=c9v zJ?D7N?=QG_&GYQF_w4n4&+NV4cYWXbzEM*|K_vp9126#q03E>WAj8H82>^J53IGrS zFp>48ot@k*o!pJJyj(1yhFmWk9q#9%B7?I5$cXX(YyZV>pe$iTrH2P7d->!>dV^D8 zu|@*(;eOBnh)rFrt2e&C#9Tkq*7hzl;ul9I={>FFM36H!V$AU8ISwn_uMb#3g?fXJ*$DwI*!5R-@ntY<6? zJSAA^Z^kXrD-s%ncYjuSx=bKAT>KHZK1n!jXUpnibh^$dj~Yeqvq<7$l&?njOq112 zquK2$S+N5OZsMCUF-KnJ347Cyzw}`Ry|qJtMj1j;Qyh6#qSyb%p1sr8z}LGI{5tAP z?W%>J*v6PsKT{%*E@)~Fpk^OcM^et~H2$(zoH$QusN{g1vm^T(G zWb}?4pYsPYWmJU(*n<2D2Zx#jyHxkhseGLZCNVZpWxw4KT@Y-yoOVe8hq~w(Uxx30 z9^4l3*_+tZ4?Z|f+V4CZ(%8+?0m{ww^Y}kG z{ugWTPmf*}r>xq;gBy1E_VQBCy4@io<|0K-!3*rs z9>Z4JRFtDQw8HTCM8f^9r;n2^%mR0{DR)XaLm!gtVt?)*E2wx*4cZIxN3n=rkXv4um|sZ3fY;jJ&H zO8TG%Jp}ZPcU*3ODf`@CuMToNlHt`WfYnnvcr+9gMO(Ct@KApjNuXFl@+sntv>-%6 z0l-9h;lTa7PCT96?9H5=?SFc&e`^K_;ldDB{<~Y5hO%NW53n8QM>vmXng=n#ygN7j zp7!oN%%M6~I5Qoe-`NT!TZ`edPm0_q&S74MV*?(S5AoMf2+zCOiy}d&-h>W^B52NI zr(-CXX8YwdL2_t>puL^l(tRBKR48GySll2-CXwKmZ(t_!@Vo+gnX~4pFo@j;p69%F z&KYsGr?OgY-Ze|ZFVM4syl5v+$+6@`@w@<&Thnyx-@0Wl zFi+ZUtdzYz*mvh$;ciluD$MEem{Irj@F+w4!W6}(yD#9>MnIX%-RV*;TSnP zwAvUNm{~#0^xrA7*Ly|1il6}u1pv5*7=fV7pUF}duNx=}ibA zXh`^?H9;G$I++flZDMV%LC5w+Q9YbJTq)=Jlo9hO6ASqjw+*#at;J{*1>}+t9?-31 znehcF`JmT#Js`OQ9aFCw@)}yu3~|5Dv7}GdQ1ULIoVXmF5FLinhcbLw?{M?v;~J;n z*iy42z3KB{Se_Q|qBodHkK>ZXoLZc%?xnI719@TPgdVnad-;1*bqC=0VP{Y+BRNN< zPNLS4pn=G$@@e93MP#mwE3HR9t{MqsAiup!9BGz6?J3(Rvu;v$_n+C2*G5exk6^_2ZpJw?dD^Ps#Muc-G1jsLN~E!GIHWCdl5{_BD@oVm?bqo2yv7QGiRT}BNqBlFm=(P|4w+p5cfMZ)|i zw>Sk&s0wzE04>c&5;1E7cntdI(UU}Jg7&HFHl&a=ojpXiYeH?>`J5=nbhmApd z3|Sa9Ew@_bi7ZJ5DJn05-4j=DA1~H%2@QLHif=|ArTCf*G9YinpNI(CzXD&cSB-*L z*7T5Ys(W!q13GBGb%x!WUc@S=we)y3E$yYL99NgR5#L%EUdL9;ma;rv;FU_M9V^l>)&7HkL$(o{c)DCE3c$TqfV!Y2jOFbtb5x{rnb^g8}^b1~+Y$tV8)3hz_Z8s7_F2f^II_rdoq-CX#@@dbbyhT${{7$ou{S zt*YP4ANxHkhkoe(2NyNbG@)T;-Im=jW}g}~2Q96+V?SN`Z$TIkSA3vj^Tgs?YWyS4 zRbe7mBw9Tu`P-(x{aV?&MD1KNX~S|O<6DdK8tnDkNISk1e4S|T%)^-l_G@g3KH&Dtr`DO8z}Y>WS;5Aa-|asWgX<5=SFdjY zZ8nJWzH5@KY4$+tpQp2*j?Oh&cW3b0kV6xCukE+uj7!l+mMiWPKIVS5s=Ts0%bs#f zg*IO`%r)N|(r2bwA-lz_cm;SP5s4Z>UHx_yi$anY0~Tj0l}^ozM|W%mwxWtuOw{Pq z3cWj-)l?m3u)$#{Z`eRn`lc7Vv3{g3WtF?>hx^nJ@8oPKKF=p6=HS-X{qDzPJ8f-4 zB5U3<8jX&E_ z1vr%~*}VLpzkgQ_-ZgqVidJ3c``{JsXD;))9#AO?*Kh;m-n}o!)5|Y-XI*s&gsbYQ zv*$2foW)SQnE2x*VR)%J;7GL8H8LDIKl5uceQ(cTU{7VMMFP(U=J(B#>GrxZlN?We)RlNXiATSGzEQ1$M)$%26#ElOjYz z>K;_3K|bLpJ;eaZDmolUSi18}SgM#T%-;6sxsw@#V^zN{#uLNVc8Ux9By?QIZ}IN^NI8Q)}y)S;**VgB(cbENB&F zY}zph;H*A?Gm|yh25C{Vn644hzi$VQnFJa?g-@`KE2%c~nNxkbEqS&db^HKscgYju zF)z4OnKa_&oEnKCN6*duz0_^a9!6wX`qif@(W|~Rqon;LE}-mMn6a*338ak^aa9A% zJ>mtGSQoy}wKbi5^CdY)@3HG9c6LJ~Hb*+uGpBlk6~%ER6U9(4&4^&W9P-H4@aJ^9 zcLGB3JLG^;m?io~tdl|oWh;wMa=`+-%)E#qAN<*nQ6?gClz3P`D;ox|u9?0D*n!^FT4&m;pvi%mlY3`v3DS1g30 zAn&<)(DwEjF_G8|_O6ch?O1mWbDDJ1<@@6tzIUe^Y(Ye)yO!Hs4^~}nG*#M#m|ZfP zK{cXxua%Wj_I5BL*}|vXWUT3it%wXqHJd<_#MI{vCxI79=j2o^2k%$4RI2V?e0tmC%?K-|^XzuK56M;^q2w!) z@89L+cqqdDusCBaNa9q+F?i)EG-QU*S@=}CeO;HG1-99u!PL=mH*v^3cf<^nBUK6f zs^vng(B$<5$Z<6V-O%DUfh~gODF`yty`=OG_TyGAf+A^&6!1EAj!KM*CywAVQt->t z%}isi=OT$BJk>BBw(IRBMOysaE&A3#^-cRmp2?H4{ZW{#Y=M(*WMorID65V`BM*vK z=bA98%vX={Dd(qY8G1Roj+Zz_jUT~~V7bd8{cjTEs+>))tT7clxrkq}bDkbPLFs>asTF&xJhG*$fF^m!jx`kXV|vsO;xT z-WMy#x;#x$Oc(0dRiS!aEW!Ccz3?8=>N7(p1(C$I-qZ?ko;TctE~@bKqtug79o(W% z%VdR5_mvY?;47vnhN~mliqXxk5Ux!1XJ~HP^R_Iqd9- zlsOC#WOr$AKh_PO*tZN5sP#s!&t6tl@SsG6rwb}E#Sc%ZISkfUV~)!2y58=OoX2GK zvk#=#INF~_=foC5*NGx6U%k#b_I#Tn)O-&*t)^?P-7Rf1AKf1l#it}kT#CsQ0l!&# z<^PJ@kk#8-gZl1^rX)>5wW0b;O>v%Hx;9efgeNBE&v&C7v1SO5>fpQ(zsnb-*v^l{ z$qZal16-Tp*n*$#Y(j?X3j{3~XVp|>qw2rg>At^9oTe}`pt2$&)iAMox8>}P^Mr-z zRYsbJPx4Av1ys@D#rtzx5;_|L2D8o(nHI~aStr~d!16wtuGax4>!#(xE34w`4WT1( zjxl7Ms4NAvqSL9%;9~g_IDzHPkIMTKTaP0}cvsXN2$Y@ok7+?Q#gtlh_XqGEcv#je zjmT`xULJOK`h|rZD43V?C)lzb0FilWy}8Tnd8e(y9_AkA2D~R9Iu6^8S~3l}*qvp} zqr_+0YFnOQFQ$ZH?$26(LGvag44%F!3u*|jtXGFf(W;VET8+f_HWnV3*~Q2)R#|tO z*l(Y9en|saUHxWKW zFDf!#8I04Y9!+PeJPyo2&FoBnMam)x!fnD(rCP37_qsi*Xg8@~WqB28RBDuyLo5@t z?;q#l&6IvyX?KGV$KRzB<1ZQNfsoD+LN{c;OXugt3~FO(=?>-ot@|w~OixyZ{H@D>JY01CacWbYU zDzZFipd}B>l_WcgjCgM37jFFJ3&nO2jIMU4vTAjuS2 zfUFc|P6d-V)|nDxi@eZQ-sQ3u2f?ifM_N|hmxL2#MX7L^UFA>N_UK2`6wP3eF>;n5 zM@6Gzt|vV>CHMVPHtR)Y+2@&76&BhYb}5;MDWu9y=yk&RZO9TFet2m{gjHY{T@y#M ziu5@-w;fr2prDg2p~ockjJSF@zNU*Cn-ujNpLnYQ15Y*n2x%;90`e+3szI{Tts}Yr zdG^+h2)Cf7FWy%o^p-nzI-|N(YY7xgR(%xeINroV!7sA0A>)lMA^v&moCkT=s2%lf85$a&5|n|GCb=T`L>0e z#gZ{e+1zKS>o|_7?cQwDD;5w=yc7R$CPpkZSPz~p&;rE?@2MLP_OLU|aRhBS2|eo- z5ybGQd$Grnjbx2up>MKcW}^>WF|*JY{Z8_+Ru&g6vou7eqEbVIDMz=bw|J_t>3PW+ z=RrE#%cyG2eCG$({)tCh2FCdwQ`$Rn#q%y7^=!^CakD4>X07D5}lkHss z*Yn!4433wiCZs@=XIJrJR|`W^o=6@@4+8T2XXT7Vbg#I&xbCA@ot^v7mtI%?F|_v2 zLt{)1w;m|fCnri$4lvF!^fG#YZkexa6EX(?ZdezX4I5 z+5)!-_6W>CA`wQ?1YVkx48J4WnHf$V=gC#c!Q}TCy`$we#^hp5Vu0~;@^AS-slKZn z>v-}T%JRQ|6MS;Q*d~va*6>K^C!mF~rLS2Zc^7v%TH%N)=% zt$}2=cIs*Op3VuYcpYBwiv_3AiO>Rg2?l`yyZY`Uy~+Xh9Fs?4OO{8&y{64%GDo`# zp=yPc?Somy@00xhG4D2})n+J-xTB8PHWMK7ZWhkwYHrRhP;PT)H_LxjjQ*EyLo8yx zabtFfib=>}Xh-nmQc{9A$W&w^DV+j5ou4m2=LphNB#F~waW(EA+7|#> zY1jd1m=s9_Uf_QWSrf0sC|w-G$l!G=naWa{+otjyP0A(3xSUK3uC`5mm*Vk2$}dv9 zVZ3sw#I+c%k0s&7hDJ!zROy(x=1PFCVr85Mm2f47}Sz?&AB_B!h99pWf}FqZ~#%sC8w86h}E-hvwY z2i=hVla~-SJR?X&Fz;uO1^hGfOkG_5M?3`M{?*dsx)HG^qBekbg&%eho$dq*&rMNvFWhwQWH5~L}ZMtGgQOGBxF!n8E}%ZpE87zf0dt| zD1y+<$7+0^1HXefHC3|ZtxoM;qf?!H6ct~ul67H9U@>(bL?6(NI(*34e(-H-%#IZE zS!5KjY!cg6;rqN|>GSz68L*IcUN{w=fi*gW9TZZKF0y;XYs>I!X zlzGhzZe%c}efi*ktGs8}m@TBxk%pwN<|%=KaF-waI;g2Y_AxwV)P9p+P3*jlqy@f$ zOKYGq&ip+*{ey4`){mRSO$Nlw{2uinA#);2F48m28Q}~G6Oq1Mpql_wCD~=NM_W4A3i@&fn^qK#Ep=q<_mrf1OM{=qFeeAhs?PqoYVmgfC+ePPbaz zkH>Yf)e8R3@C_jm{48ocdcVRo$_BUn^!Nu6Dcd*v%{l-P2-Q<^zj-{F!raDcO80ZD zimGsL&5$hW*McsaIP+r4mAM*-0iMR@M2ZhIW-fSHp$x9Y*;5gUo@N750yE$=MUgYx zS9QH3`8YH&>C3nF=C6h?RH8CS;@kzG|79CHLdQi-gjldPMj?z4k! zriiq*+BcrlY2Dv9+(P^lUT>&2C4LaRJRo?{{tmB^Ezsl{U$1Bx*)Aqj|10tDB&Ylp zivpT-5)^_u3h=?o#Ln@2He`mqmBj6%9U&PF1yFrOY}bIpC34ZJ;~6wJRybjbFvA8*yFXL<_ma8Z6r z3`2Zl;@AV{CVTR2YHFKL-l^q@0!55DmpKW`xKm7oqwx({I+$C^-FCy-A7_~c))AE! z1U4E7Y>a<^?d0HSYx4|uZnTb67ZYZ{59lY6KCk4+8Xcbbh%ZFMx?FZgs*=e7e@Yse zH?P({a2m;;bmF)0rX~b#^HFKE_7f6(HGlI(QJfFLTV9(pZ9f0lLMsan!pLfBvPG5D zpUPl`rKv@NBb%_>oX6m!2=%8<-)GWn;c&VO>7pqjw%2P5uw6o5(p;D zWaQnREUHp$o~tYVbzJjpr1(Q4&Zc#I$g-SL{Hs)>k_+rKo^(FV)DY;zsy*DF{Yn*h zL$`xO{mR(~id|J&MVL~%kRVi~)E*d@xu?e%Z&$z0GLyZ>8V`a|5d;cQuLqTSVh?Y9 z4T<-cn`JeDe~h5IE;^CRnp4?%Jn6WwrUc9=&2aKCKOP&A>j$xn@J(eah<{$TKEBaR z&@&}^KF9w#nm~e}b+!J9{eLDv`9tt7IXvN4J;Srd1To1a-c<9OU3>3!j1&$d&!kPyDN z!STo#cs+5noxx!?)rRzr#tDkmv5SM>(#u_ZBI`|mEdjby%&Ra0<>h!h{>zbFyFHTz zqR@HDA=ToPYKDErbW_)z55_1?T$6E_Mea5x`S}v=bFp~0L=hJjiDq}TPgysYUTy(3 z!w;F*U)d@Ld#7{SYD?YO3w&j1r}C7n9OJHbTdIa@NiiNqIxGhsH!se?Dfv6r()aSF zmwPvdktMv6wmtc&wkM*L(+(kC5j&?y4(Y*u(Nx%DS+eP2JRuKBfGTOQuJS@SNZNSr1&+?)SwI|nVpBb8M&a-Hl8-I?gTncd-sxZmLaTlfr5wlIc0Ntx^yiS2~}4#Ya&Jv)=+peRf6$;J9?P+~(<G(G|U^~AK zQKjBItMoVW%~DPT`l8APwRhVObZQs|EYg$sVLXfK)QGwHrhwWBkCs>uSf&4Vzd;T6 z(}p^`c;oj#Og}qekOnO-DHZ`L1Ys@`2#gtqREn+qh&n0H&M&67Lnf_1ph|&1<#2=K zFmwP4`kfHXB(}Cih2ZL-nzCr08Im$Eph>=?9|RO>KMN+8f?JK(=TzRT-(00 z7h$$?Vyg`NFBOgcRpjpq^%p_r!ZeYDKeH0#`Z%4z*Wn!mu>DjLi!ePz_1&@@f1C@j zZx^3v!1-(+F=xp$K9ypHOkcu(n>0<0RgxlCKc&x^^L!a1(s3xdc~BVyA@d8Lgmr-i z89D2Gv+(>=jYr+f5hqU3aNhRpP8Eoh`V7L}h#xg?!ZAx1sB%|N&hB^No}i=bJjx~8 z*D_<%1=<%c*e! zpTs|d@S%p3Ej}k|E6&ab^@EmZ<9)Q3(U4k^_2Fqy(J`d&EEDEUx^)=E`y&8CKw1P$ z>L~06OltStENZ+=aJ=fk$Am`ls62tsBBj-&6twT#1KENOeBxcnE)H6OGNS-;}F3E(3hHAH%AqFiO>baiCP; zulb(dq*jGC7%U*VzMCbrvjuG(KF01_wqoBH+O>?iMYeWn0=lT;vXlY@z&1jRynSi; z^`q-U*F+oPd-$ivOJ1=A;Y?)&c2xN#HMDY*f{NAp&!~p9^RXU*LA9Q6IF;Gp?}@!4 zNl8}4243$+>dm(*3Tv^F(ay}`IrBXv%?%-So&-dE%Qir(*8HNf&*T3AITMIAW8=8L z=)NikDUaGN?ZB8fG7oU5Q%W&FmVcaDZJOAzR;6!V{ovq#CM)xx;fmb@6@gLMn)1n7`oRTT*~7mIorO!zg_-8 z=>Bwn`;bDlypfe~(%Id1dlRbG_H@H>b$EjAZCm?gLUVym_h%;Pi!0&86nK{3LA@t7 zml&T*vrwpYw2qpfv^M!Q;Eq0eCdXnUiY_MEy<;ddF#WRp7#o2)O$)gP2zC}8$H3x^ zv^$wU)PK)hbm(lo`LH>6?jDG-tyEQ)Grn*4Bw}-vDdCRTwO&4-!Y_UXYjL^kVWE3P zuh&fcnhkeD;}GKPp?1lO%8GNDOxQwCmSzdZ{fQy-%#ROO+4=T9IJ8S0yG!kYTm%de z$3Dk~cX(r4wC4fWq}-+Kx?h6aw3KYsM7ljm;RTNu9d8;rEdAg}YFx-0y{$EpDDAKW ztFK(CIK~mBoY>n1oh_#LyJttKA1nC~;mHzZ3@3y>GZQIGjOSa4C;R%P&-s^|zfsp# zJ=)IIGytCrDQchY^F>w}C{yWx3R@ZVqef9lJ5?MhE)I2zj?+z$wt|jbedw`o^w3h`lxb3&xU z7^QEi)O`KK2l*sp;>+^%V!iV;McC^4Vcq)Oo{PfMeHKQFxP$wouT(Qq~rHF?tp z>86&FK~zFN2i3nA*+ph6PIb@WL!oM=tPCMSx&kdnF=8sdl4eX|9C}eVnP^&R z)rvW3MNRaMEp)6TJJB$`t0or5@mwVua@~@{OuQgEMuUt%tf(VdqNdSej2(z#)pYbt zjMgE*oY6fmm$t~NQDrcM$re(ofmiPnr}~f*(&6~Qaf9P)DS$(%lhmExXDPwX(0lI2 zBN{v(Ase*8&w03I{pI5aa|Me$TNu3F^A^c|S+^Gr3%Si$e4Q^*U`D2HIsk4{oulTh zWs^zMZ3c;Lugh1xP$N;Azop630KG>u51+vPnZhnPXqVf8vZ`Rvd;fFY0Q8J-FgF02 z7%MpfEdXW?KhvsDW0Jqps%4UmrQF2;X$zjcS$!NpSIvq}@S;5(o5YYr?>V?AQ4gZ+ zMQ46=OTaEI^#Y)Wm@4XNBtd{1wX6x9Tf?VES|XznIS@UnFxdonG{J?J>O?KnwHdZ8 z=_5x3Zo$dLcY=ysQ6ieb7)HbRvda1%}TAsiUGFkd_-{CaWK6bz;;Iw+qJMijQ9%mQL7Jfni5#9?ANzB^1anbU5W%Cpj)@YgUFnK2`=$E$=ywdLL``=tA ziQY;~wtdMz&Lh&~!Hakoyk0-dkw!cA5ew%nN;peZvCn>5AR+qL_h2qRz^k`)k)L_q zjp6i;mYzkLUeZAe{L@4AV?rr|AP+5rJoMssK4oZYYxOgYQqr+aVZ!vvsD9GFNlT0z zg~BWlhS$u^D;lR?Os9MyU5>y}nHFt1{~-f8YjM(IZTFTi!^5+!xsjif{aVN`C-v=U z(i|#k{FzUs5tP6WRx5aKRlg)Z&*hmq{Ye=i;&S`+}`5R zn>ABNFUM-LsavQKL|a35_?N&b$b@SzvxvVnX|f|}34J*K$~lYS_S*@k^X zTy0bYa@{x1@AaA4B`b><49ZwSE@*=_lOMfE&(&!bRcExW#a=vQjd2QFU0|2<54@Wo zc<1tcRx2%tKQwC3x1J$Y*8pk2K1~2lUs?`{U;!D)H+3paxdoa^i0qp6Bq8_^x|Dq+ zbugL7+lJ!X)c4bg!806L_o|aBy>;ASu?kPl(10x;DcvHCVSKi*)kV=XioI-jRjMo; z3SDH&ETJmITZDK>JDP_w*iIcw$p+D<$m;@}8cK|Ba|Wa*Tko5eWjB^=E|=3Q3pXw} zBxWXV_7?#UPHi_V{N9gq@;PRu30A4Rcu%JH`2Tb~p?NKf04N9dkplxm{@1PP=w@y5 z^PZg2-jBpr!+MJ7equ_7<5zaI841%{xCoeSB2%$c$c2K3m*41}YZNj1)Ud8ZCPVxg{RuaI57?8k>YEf2`2 z$qE3WMtm7q=woIP;mzX-fP=^Ul}1aCelK6`tzG`QdrQEJd|gf+uFDcJ55XXJS=E8f zkU8D1qvEhGKv|rhMA_6Sby}|FmS+|7HKXJy$RnDhyUXd0?XkA@%>!pdcQii& zZwU+!o@^2s7|s#B@+}?tBLz;CbdL(f6n@0w`2m*#VuSmlsS5iL!Na?HJF?PFck#iP zde{n1nP{)DNZ>}{S3*tVa-_>x8aluTCk9vVo2^z8&6(~adW>O+`E$|AQ;9KCBMZ0% zp<_wP8!2)YgJY;Ogklc4C^4NnNi&4;C{|z5ijC1Bp0g#d-&p5FeH4|UQB!@niF|+=6{vbewHLo%-3z03d8Hq;qNTg+he5&B>g0~} zP{SW)D$X;EE-5Cky<0lNHDpySPeF!TAF)XJ&;v-jMDOy0zRA|50;Y5zH!au7(&KVq zT8uD-V#*e2mz21-C~AD7AM$Iv=xbCU{;(gd@|rODqU)j$!Z>!CYQJ1ngB``!RK~tV zxc;3X<}#)4>37*e#lqOLufPUv=JWg8O&r1ZZ(pm0;1xt`u`8P$&IoxH%2VT5d%Z=&77 z@jWfp5)$ibj=#vt3K78u81RvQ@{rvuGYvXM!FSE)?bjIC$ih#j^r2%mRkv-czar|1 zPG96BZEN+A7K+ zO)N!-Y)qb$c`NUPj{b2iYYCnvF*?)+3etE9KKHz&mha$g&$~tQEta+3xZt4VU?DMD zv2T5GVLqzH{BoAM=7IEno;~~)aAvW+&M=bWk>Ywr zGJte%jU0|>A)P$uY!Np8O5ZP^r=3Gag_$3Fd=3E}`;%1v-~wj|P>{9U--g4_d>^Aw7i7C#rs%+N6|uadW+h z(0H%9AgG_fd_aUpAZb!nfS)Xw3-`m8f(fLTQV}^VAk+3u++>iNZz}9FaV?MX_}wpjxCx+5ec*hWkl+Ngm6(7iBV0k-G)qej z>|1Tv@QI8mr%|q4&Cfym_+@+=%^SnmD<|`JQVcD0RIhIEcq@2QxmL3uEO`AVtzExP zuaP7>miuq%bV<3^qygMe;~%2M*$NvOqYLK9F(jN7qk{yIMgeg4uSGGL{hM<%Ro=;E z$P%_8F5AF0m$C)cLN*~};|`+o)?ZB}ybx=9oZ1X*L;NQ0uxfk|zHG-TMr?MP(VLxb z8wdr}kovKenT26{O>RV}@0utYbv$sD?ffFpA{lM`u(u&2U|hV-M``@k#YC($pQuO? zZ+_N7m6`dY$J43r_WCj}!e&(RfW@rVh7thR>v3-5{_AGfS?G)9H0g;?mVLXsl;ajj z>mQyDPY)jCiD{%$!M0+-z$Y+2QGIyzaQSdTG~7eVv2A%{L+u zgg1Kr;yFhdypNc%_{(1Ol4Ql?;@UzXFDPZb-@QcN%|St@4%ZZfGDip!4Qn4&U5ok% zM~ECG>e`-T&5Op1hZ=mX|N3FD{_zGj`ws0*UkNu5GOUvvNGS-sq>mvbg$NL3i8*W2 zP8A3f7nN?m78PcBJU_Y~i4=SBUZC-V?fnT3+Ls{2Yt%r$c%kw2TxZZS%kSj`u6MDVmdu@s=gAhEny*+kDipNHS$M~c5Y-)lEEjS2TCd7XXXN2;p z85Wm_&&~Db+q+L!{OjfZE~@^-Qur0|cM&lPTa{=P5G|Avi@`v*RE&b)qpfYU!K{>YK{#3%@`xBO{%OB31K=qpsQ`HC^48RqFtK zXNc|mRbsXqBnB-S@lKG!+OP$^0-SS29)J9R`UIidZwmi3nhuIXBxFv#|l`JIE}`3JoGwkVQ-w^ z-dlidomb6gcD&ab8!GCLT+V#0CwT6gzf}FBp5H`4<>q96V-tHPAFSsK#?u9Ob0|bx z|7cb5-s=}ux&0kkg(m$Cn%qV^sw7G@lPE0E*}6PjOmy4~Y9A0uMfhdwJYqO?k09+D zBx^hQ6=Cm^&w7s9y+^v;yeqs z2Q;z%v#sO7<=p%Py0#2zzajob!}v`3C1ymjn+dh&xr@BjD&vBMHs|=7^gzbg>tmwy z(Fkv;dy{+-+X z3tbt@pFL#%C85FA__TOM$qj2sl7(r$k5N7G!3^+2=e>1hb|m)1Irz3vwlFPML*fgI zBV0kRr6*y_GHE4IcVx<2eqegCmAS|f2i4TM!x3UhiZ*Z^e^Zr(htn&b69oSy(i=SVi*tP zFSbION=8~HdDTa98oaJf%Iy-tbb8P`)%MQ>sNh7?!3>o7B7d&pucKTNWKO+dD+f(9-r=We3?$846hvA!)B_(lMrCS5zRQX}hgQ3lC$9)QVz~CNc*BZ-+9y zG;O-txyL%WkB}-a0K2v%IT$r8o-|si)p75mA^;vsWs7}w=Od@F?@6|w^Oj3{?NRvW zU`-)rY~~gODUSM6Ac2>lY(P<)O2q8>L}9!j9-|V4OEO2_>>X`jfE~(JJto zF}wEGa1G*9T>|S1ym*Z*>Fa(wYf-3+bka2O1LaLc#{<1L`B!Jd+OHS;F7(=buXd zj6lykzmx+1;`w>U{4ZtCx8$$&tn7LHZFJ_J`u-fAc_#j)kLvGi{~D$F6QVz7Lw<7y zfR6NEO8-46@+bSB(+@1XZyufFg1 z{ru*SIcM*^p0#G4nZ5SRnx!ZM3x@*rP=e*x1Rs9?F36BS#y}%Q2cVtfb47?49^?kn z53w;}U1%0)D5w`OP*7O^7BjH3V{)~z&W!DrhGoGD`sViy%c065JS4$7EN4xOL9=~e z&zfXGPS{jeJG(C&v775~W104X$doHb=V-&`+5NZxSYg9sdZs)uWUkdu0i!>|m#w4T zR_!o-^KvJJje1{N&m9pS40GJP1db2iffcRwVG!eHxJaWN2@tFc5?>dJ(^IA+BayR+ zq+cx?BIZ8Z>VTFod`U`%ynxk&Go*BZvGKxwZpvFk2KbV{P0v;YM*WyNV2N0+q_Cy_ zncFFTO{%n-8huN@h!7B$1-`O3e=_!6QO-?-*f~;9a7(g>X?02&-BpdzsX)MoM&xrA#ky(6 zE(g?Rx=2Tdeak7m&dp8p70mDS?h9{1@j>Y2fzXTnZ+eY@4ki!$ddAAh_cCJzo=dJ! z9P`&?-W9)(Q-ztqPmDo=sj1tuAi?HIvXOL08S9O0g11czqQsK9Zok|bm2FrkdFckb zTPnUC@(fNaM~sTTeQ;8wIl_$AA>0v~~xD6Lvsn;IQ_g@FuS~dO-D?lIM{E`h3`{8V;b8 zUl$Ace#e*&SOZoemaSyNXF6=DCW6zMRmjdW82gkSukdJ~_cz$YJJ0kXT>`wcL7!am z`xE*1q@n0Au1lIv%BqLnz#m)cdw8{(U7Wi-6C;d3MqTlb5T*1Wllh_k*nJrn9AS93fOpG*G=*cBN;CL0O4}gmEV2CP$0j=4()ZTc`3EauHxq=j zYIs%iTuPbAa@-Mz6JDlhZ+VjfKN=rthl`{8*XIo-eg|g`IdVmP_qv#I4d(3JX^!&p z>9gi$jU3?opszW~v!a+&7^x33> z3p@1;@7Sh;mfjes)Vv(k&Tqkn8qa$_p}bCabJc5E-E6siXsEsCt;zT$R=oenP6sT2B zsD7?rW!PaAYCh!ymS`XF0^OMV`*UwqC9c(8HS!iuGqqt#>|wsW6iXPVDIE1chrKK< zt;OyPu#v?UA2Gn3G~L(D*>1-MR=x z5ep{939+&flGo|7mQ^=j) zrWZuC4hjoQMz9jdeue+nU3cR+$gQ-M368%7(Sit^#Q~^Hz&0jyH_%g)*U1UpicPH2 zT6S-D-#~@5Sh^mr1mw0_JcUqYMG(ej`5FrL?CzN6bk=_!ipdoAG|A0 zHgSr9PafGDm@&oFKmU^ZI-e9pBx9sktJcyPDq5|DC8sWyRa%I%DY(bZ@!T${Jk7Jq zDA5-416?6jSwfE~SudSQ0-H)kWJoIL;Q`KH4-Rc-NbHiA;?(MBT+62_{4@*k3=@@! zKE)GlGH7v-_z%#5o`X);_LIanV~as>idTW(7*2*9QG4{05d zbvZANkn>jWMlvHBBws5{IoMNrl>WWk4||L`PUwRg3urcd7T&OH2T1*>orDWbVREG@ehdok8H^`GNX`d7ID^)Cb~Oyf@nE&hy|Jq zG|I{_3z)3th;{?Wbu`Nl3zuib5j9zA%stlw6M9Xl>XN3hUZW7$-T?O(fKZcI4ob0u z+Rb9LeWi+@UAQ2=;%4bZ9of2W5!@<)FI~=%+L4(+f3rMt4ly(#h;wxB}OO^S`V-JcUuV zhBTTHu@oxme_!U;9+`CpXYS!bbQKFe2;U(TxTc`~>KoVxPX|B3ZrGR3XC2bHD)8%c zozHIr638>ix7yF`*2`TMgiKt8_}UQpw#V1b+dP@lnTkIs3HVfLxG6RCE^ptp#%+_% zHoM13ciND7XPyf11$4x|s;d8>B+YR*A>CUuK+4`T?XC9x9`^rs{|{?Pi2HXkH?cAK z;{$vV6`^$kaqRRE$NumE{zvSG@DHE9uO$N{;lk=5-0{}jYmYVF#eNhEs}tQ6nF$vg zM=4>Mykzo0k4bVU%2vpM4h4@khM*ab*6m9!EpZMsaeeSza*JflJApir%6iJDbY5M- z>>+#pN!Ozz1CI{4HogwcA|jt*un-0mGIlzY?74HJYf4TPZ-O74@;C3f3+J(mCKNVp zD%2cS*?Qkh;@3Yl%6N^rr&1HB?Zsfyphg!86%^a_fijw%WVmf|N3>}r$Zn$@N} zEJM1b1oz;O1`i~{+I(m)a?fZ=idFI9=eyDROC8F>I&4&Q^9#hze7C8Kqi8)xK~aPG z2H5r56>7UYf!^pj4*2snPP-ttRRvf@tS(tcrg!5@wvLS|=?3VEceAUl(>vDc3~j64 zj)5oga<^Kp=tH*}8i(z#NNUYjIcNvw)emPajq>&09}*|5@6un0zb#U+(R4)*14s?f z?>JO+EM|>2_(Twa9DCB=TUOPuICcnjThgj0qp%p3=r+#bIAtG^LgB?wN+~PIv+)W; zGi-6@8Gj6IRLIjTWj05pTKD3|3rVEFpTvcxNwvPrHbEkd4xCSZ{_3%So7c@wFIt_RuH~FaNL+90HxJKvwCFl7e^P~C>&+lI^ z>yi~Z-EOCGgU_Et1wHc+#9?S7x%k*Rij$Hv7Bz~9dAZ1dz(Sb>AJ*O2`$nUm;IJQ0 ziO`mC8PGN?B%#}76@N`I?=?ab$4#jpjf?8qMFcWgN%h&KONw3XrjA_czWne3B)&6& z-x{f0)&-J6fRWZ^T4rf5|CC3YNZSKQ%4!+tC*m=6iN>O@LZtpITOE6PfDI(XHj_p$ zHfJmdoFtXXVNxL!qJ5v3?%(=}DZf(7pzb219MOA%S*_D;v!E`8)GMA}b~WIny7+9i;l1vadr}a2E~Mog?B# z0{7$DIcu`RSQwNxK!#KB0Rb8_48$&<#43rrPPguR}w}xk+1F7oH%PWjB>01^R*NgRN+HxXiJ_7ZMMhNrjWLloGvyW-- zZsipa@Fj+6F`*Gh4g-zsKWY1eYB?unR8i90Bp5q8wEUmq=9F(nf8N8;k4Kw}Qq<8F zrE?qtWmWkR0KYj!UX~r=Q^aPFsY%aR>pahexIox%Rj+ z)<17qtUn(cqd?2qNYvzICtTq8`<}NN>DgrE42y6>py*yIpd`%=r{7a`D^*n(5z5c- z3QxyPB|m2xQy7PzHO{1%)>?Jo%~;WrNw9}cmglD!X7#>LAapuai-ldcVsa1>GNEkB^R;HO(Kb}i-R0VB+YVWYw z>A8%pW91u}>wr8N!JhD&7cB<>Vm~1p?2){8L{&r8Q+tcWAf7E;Uf(5)w1C{Jv*zW( zHhjLGM;Hj>vzOhrZ)bZZ%sZ-PQs+7iQaYbkuXGFJ3mC z7eF>?iIDHaLlgq?jc_zKa4<1eadNP*HFJDe_*W!!%P$K;Vh)K{7;~S}&k#b)O-Pz! zV=3W8U(49l5|~MsySa>x5k2*Un&Fql)LreGR(*>;hm1qJDyS-xmH0gy^ey{I3d^a202NnnqF50XqsYiNVyRc}((eXj) z^xHXT?T+R1j5L#W9VaavU1)KkpV~2pkdLY)+_&}(wS1b{>yjq&dC{3!#9546%vSMJ%kO6Tey`IDv0$R>;1pDfmrW5u%5IlCDp@ zZ>qmGx!#RkvQ5CqidQR_qGQLs6(eRaYkMjSPS9o7w9t4QYYpEWSdOG57pc44A&mYG z4Fe@NC9iupZi{;JvV=kwozibc^UJA;m=5x~nv|6T5gkmE%{Tk}6aIOu8O>5TA$$Pk zjzzM|2KpfdRuSimNo_Df*1j-aC&49oy-_Kj;?yA5N>fgL`DYL=qbk0T3--wS86Qu| zQ%wL!eO~869P>7Jl1td?jG&r-SYrCIgv-i;PG$&yc+6M-CdQ0c257_fnF2_!WfjmK zFQcRRXUt}*w!_m1QC+YdC5P_AS8|MJjHL1S+B_YcT{)f}IU$sHt2?UGUnd$9ukqjt z58CpRc~z=4M#3Jk3KGqH`ZXU}ohFy?=__>0T%kJDE0iQyJHTxfVvnAsbhGGv^hGh@ z`)9a=iw2ZOTVAbT`HfFD-@#e6B^zg)QuEW7yCB=!H=UQP{JwXKiUnqs$yOP>#P_B* zB)<>*!0s)#C?pIprT_(n{@3g5^w!$s$9p`hyBkfSfqx(M;hs4SiJ!c!!K}Y(-%Vr> z6ifHMSlKTCj`rAS?+MFyhIRXTRACgkX&ZWYWPBvmMA{1B3qbXdn_PVPXC2Ue!vuB6754m3Y?IbW-BbjGXTmw_FYojY~ZyzPcZ z64XpSb6xERt$(j5b+bgD*}Vqe^ndCScvGG(k+ezQl_yYKD$(KHmOhH1Eumh;vS1%w z!N2mQ=~dNgZ^`^9MigJ!Bq>&2R{X3(vth%0^)=mk^|IAdgDERlfhVM9+P2@CR+r_L zYi?DBWYpX$K=ZAh^H%In6wf}C1!Sz+1-%)!eS6Tgf5Fp5x9j}Uc{pv7S%1WB?n%09 zQQpC~vtYiuZOnuup1o_e*$^hc-q@~9Q;G(@sT0V?pSUsc8|{3D`@Z%;!!hxTJ9~s| z&ucT0d2hyEuN_=)Yen&*BHmV++=+?kz57wflh-V4jny-$>3hPIPfsnL!j$kd1FkRN zeXq}UPa@ghU5?Yrv=cgHHNThjIh4gnH`THea9M2eHGGb{WxDO@ZH*U|u zjnzao15@WXYIueN>U=o)V#__0>lZbNdz`V_;-v0yLS>0~yW4t7M{x_3<}0RB{n$4~ z$dwpgI5{eoq_=3%;cPRNA%93E_#A*VqY;d|F)Wz#Hs2{m$C66_b*|Js<8-0pS|k5% zrD`t@=h2HGq0Z->E7hae>LnsiH7)5==*u-V+f9U;l2ANSm3IC55;x$)7b>wZ57B@Ym4_0 z>}EV09&CDR$5#vWsPJs?Wx1MqWN(g^if$FwK`c>U<6sVNqe`hN-KIy4E|UftU#Hh4 ze2o6&aAF>U<%T-?tk(4#EPXn>p+FBYw&OB+Xx|%-R4qj=5>sk#Dg*IjE*#UPcx_KB zCR^?i$vg3$hz%h1NFn}w8@WXS=i^^OFYD^B=FqH=NGeAE5wrRV)8#NM-unY1c}E|V ziot52x$M-=Sw0HrcEi>3Gfe(|{)U>daGfWC?7w99g*x6yMzUh4U0f!ScYJ=;z*1HVSz z`9^Ji5NRCjra^NmpRjY}g>!g$aHCI;VfX?~riI#49f`{ zdYxQ4%di5^!F0;-`}5%TcblnBKwKcdajI{2MXo(Xq!imSQ>0Q0Y{a1x;=;QUy8Z#- zmpVc{!u)}Q4U8v%5fYo!erEVu6XIU;SEVdIuB5hsE7jU7al+4r;lE5WM-vM?KJLd1 z<$5X~p@w}bSH9+E1+^y=0fQN}@hWhQSz>e6k451n6g06AW+k5S{3sw0r7dShoDaT7 zM8VgwsffG`IHqDRhJ|zfxNwByU8{%gtiNm~0lrcytj$~VZJPL{uLEY(*of=nyrtGT zK&EQ)NM__p-qKZfpferTwn)drru1j{Q|#3kGqKstlgJ=lXk^@Z^<67+!7n z=WR1ntqxPMRo%G5y`i}LOWFM@lA}Qy){I#PCRlSP`hkS&5nFc93{DKe8VB29qPX>g zGv04vi;MhAW66FJGgPA20gyT4MR4W0qY z_kNPhcIe#+AE()V&P0}_?{PY2oR+1kF0a5DXzOuaLmOG%L~aic z;7{R(CpD2Qz!jCuVYh_F&H<3)u)y>hhl;>Zy0VkwtU}|q9f=;A3sSH7w+piG_Y9t3 zN}N+U#XNG|Kp>iw+Q5pdGmFK;#%6Adi_N&dT)Qz4r8I=;e~A-!Wacv9?Z)nQ*gARZ zzOK*_VJ@cICBa8sk9N#f@8mPIUMRJEdXa6m-g=MTH#td38Ea^Hx>L6Emc`0kSu&!7 zJ35PSGDm9C?(O-0RW^U9q$q>AGDAd%2j}GgU)ROXVDGSkKvvuRi(tmKdpbC+rI7b4 zjR_H~$&n%WJHAqs1`MWDYltn9IGlZb)}pdPWa2&IhVnB^9N3zN2Q>jgcSrIr#$kMWLQXc@yEnP zE1AS>%Qd)3u$zPMnsLfSQ`HDrQ1!!FP}Cv!>Z*I?d!9kmM26@tsL&bU?k0wyH$ew4 z#h6NjYLGuG{}h91N>Tktd8FU)L93PI-&!etYCXi{ln&Dk)qpbe)$qYLCGWHTVXF=v zU~2Tx%#Vzcu|L~k>r0s&y_941Egsl7sW+_zCOw>Oco~_y4i2+bSM$1g<{1l{N5*@W zs598Jit?B+`hIDxK>b z10XtE>h{$dv}nG1PQkh%;?hd(K~jSNB}5?b$g{j$=X zfD(oJalfTKZ%a{UEYA?&{r$so^S>W6AwZU!`VJ=6e;zNnb33=)L!N;l$AGB+$S^%f zR>X}lwE>X386$6j=LPPr#%?CFytdq43EH%@E6qg_aeVWtH!I`wiZ9qeJ; zN&+H(#quty&F_tppCIs~bBEHQhpQ&YPqMsy7WS>GT@PIA*JH!$0RJuCge4~GSUnHr z3D#g9K)l7|7ga^UY#t7=q89>2RQ{apwu-hx$Kw6jq>6I9eV^z;+*=XsxdYoSfxyz; zvCn*|`6A&cqN9UW_}u;UE6yA{|^_VakXurW=@|61K9b z+iA~`I-o007WOn}^iptodb_7Pc2cK)Sn_4S)4bh#YSw`d8%b~ZIrJqRjv32b{%h^DV9_&>v z3gjX08{Lpd@nt2e%YeWJAh-Eg^2f7SQRkzAE|vi^z##Wy4t$Ed@l4JFCC8+ac%^jz zg9mn%-W4Lwm}MCP@eA5Lp(bTnXzsr~S!&?Az!}*N$$Bm-xn}VZHblG#L#sQRiIwW( z@X>i$KTqaFhvU$)o-)Jm{A*6D9y>28-U`Dc2mUfEwAnN?FvXLP6vv_Knv^eGqL`2O z24*{d-vt#PX*-%hw!i3*pvFVsTSo+F>ttf2XEm(1ER;JiM}G)igDuRex;JSyv1 zPdUjv=8EOOWZDIEZ|7lZm-(!ms*TS1n73P%L6$B{F$eABVS}#m*tzfdmQogyfw{e71p|j!;@#aEHSKmqq6% zW7WO&fU_Z#{jty6jKWKvrC&asb;LGwGPIp^pBQo8ASlW}!{Gf0Ed5Mx`Ez6-g98N( zMGmR0DgNs?{Z#OOdz=RaKQm=!Nq_mD-;Mt1fgTV)jb8qP`SHg5FJlj{b``xBSm!kq7M0QA_&|?61@jMH%>qHE8#=YN{(Vb=d1)bI zEse~Np|D*XN1IDjSI>+&vNVr3ttcMH_*Z2&-KM5X{exy(d}LAj(!5#PYps=!Qn#*m zlUT?OB(+^(p;sYJnif}MLw6xXs=esmaME3+P!0PD)C7ob2*zkD&=3xPZ^o#-@(W#zU*BzPxf$SiO32)H__^eOH zQqVRLDiGyMepSfrQ7t*UR_hVQQBV|~%39NA#s(x4J0$wKI5kY(`?`0qQ4qq&2(?a0 z6j+|FylPtybh~jZ1;uwOe#tkDJC@WDU)ENd%$e$~QfoIDL_f(MPu*O!6R?$^>8V1< zdCbd>r0WDKThm0T-rk*V@P6#*P^50wl~P+HGQ`rTGN_C_;cRcGR-qzB=L#R7qnPp; z#nWaI%20H(J3qe$Q*!_A8JsI2WhR9Kom@2#Cp{WWDX_Bj@c!@)@pr7LVI9zDKv<)L zu*Uoi>v#4JK&vOTKSXN-dYG^RzC%9>e{xTWtkdRRj3^_1@s`u(P(?Du+Mj}2n(O%& zPYwf_<8FdBp0vck9bQWH_CX@TkEUE@3gWyF-f~(T>5BzNW}4Y>5C#@A(`_mw{*-!a zuUgt9*mH?`O}X{FgsEb?ed~H440=$7X8Y_dw%E&vjI5S9538(~B0_~uB@m35Ny&QM zUa0_B-PYIq8#os`NC-y89E}@zk!3gleCw3sl1psVZnQqFR1g?1RQg`$_?64^gzf~1 z_*JqEl{hQ63p1tlAVDYtRPPy9U(Zf3+^m0`XD0Q)o(zIf7O>-|+6XFl!x`QF7?R*G zJI`VS{}4fWReUU)y`a4NaNKonNnt&wILE=w{BUGIrW^EXjCUqiUOZ>j^5|M4QOB70 z3EF=TCXgU#oh^Tak$)#Z`AOgew6m}`H8OJeGvwH%b?u-*gMnG$fPp>xFWMh0%umh= zPtpeFa)O+ty7=hTn2GjcijfTuxxQH2OcnoNhmBmu7l9Medg|ep7e;vW_&CgkMLL7< z_I00!M8GX0&%4SNCOJtBsCFmn#QMF<#lEsA%|HMo@V3B^^StK_|EoYg!f%oi+HJMPEK_7{=8};2sQovr!!>OO{H&|(jANCvO~lhVX?*J2 z0FKg*`f?ZEU0-$OX6gLdD;i*|X7y;jJ|;ASisr=_V}UHwF+9$t8b{rG;zVwaykVn^ z)9Y5Q%mC$?CWdin$qG!P-XUEFT7Y6-%dIVJ`}x43hfa@jttRpLx61I2d?&lu{-Z9n z6WOv+NSEiyC&#igg@c8>Y4M!ZCTsG0CYo2YS#{}dbd`z;@kKiEa?&;7Z&JEm-vDdp z=d#3cU_E$miTdnM%OWqn$+feJ?ryKT03(*J*fSQ0Z|*{iGb3P9t_j6%KC-?m@KCHM z_CB%VDbJfk9)^DuwX%|RCal|9n!ab%@u+DInDBiMTyyK$nQ<;lqpvGt$kjvNFuiik z5Cu*ur?@*f9|rX3aNK=!IiKhv;CS{hdU&^y?rWrRsqA5&3|_ufZQVjX^%0+=FC%{0 zy#PIPV3%yJzj5*}7<^^@drw(=IV2P6h65^aR2H z?a2oc?}r461NaST4fDwE5B?*s+_XfyX!)iPx@gNy{Wr1a0MKR_`0%V|Un5gDu{~m2 zzZje8X%%i_ubN??h-XOvJU^3F9D!~%yanCkmR|gPbWrag)6SdckLrg?24PrI?gIe` z?u6}z#Q-O1L_weh;su=MAVJO$YK`(CYF?g~5rEQB3OtF~Eo1zBj75y>fT`az1!` zJB@B$MUASqeWXLjhh8N6L}P$oIsCOv&5cAMQ(UU>qbQ56VDP)!FPM6sXi>sc%-J}p zV_wi7XVw2h5WuP{xbO}qGiaI;1Jk@p0$EMYEBzxS$$2oy2um$UoH%`x<6v=j66Ti) zbZPhK8+2Gdt-%=e=&K$J(iPDcqF>)P@t8yug(3xsfH&bkwby1Mc@~`{2jIL-&fNQJ zMcoU;o)%Nfm$3|5$Tu!sxrO9u_rqiFx`J$=G{>oa@ey|6u!d-KFO1!3;fBG9RYHg7 zB-mWA@XtY$cB5Mg<_3|Ynt1jaUgDugyg)3^2Hmqya2NF>o%a!y2kCn~#P^f#Nqm}7 zCi*&DeU|(*$l6hmwZBwd#=d1D`K3xeqyWhL4;hkGHCG~y_?CifPmB=?`yhDBVKn8C z>-=gmbFsKXW&KLJaFm4UQf)58q<+X%w|TnRAxNDu+x<(8r|&;lwW>RscrvRZPZCx; z74Of6tz2sDX)>q38$BvH2~QV7@?@)5tT~@gLDn7DO%y~6`4H84!v>wUkn;2^A3fHe zBVfUnjoiU_T*_whhM}!c4EcUpe*FJK^3(nf6p|fGjjW9R*xy}6gsGo`f-NoH&p*Xq zWIu?1#MuLN0FZzKtsQsQQ*FO3+HemYFB(!avN1dzDmsQl%sg??s8^dod@#aV(2fQH ziz*7I35&|*Yc>^r7C3%w;6q}wcvL=rj&OM`2|0~NXCQ0PzHh?q$Z$X2A;;#o!5LWi za};J=zYp{sc18QHoXBe8lZ9KWcxQY~`>sMctRitA8ngugm0b1FwO<_5Xibw~Jd8+)`@qVEe7t<;>6L#QSCX?N|)+7~j$>b=6AE!%ge)|ppS zG26EbbeU7BBqA{D7il%jVmM?T6M>w7J?~WeaE|)0n54A~6x2JD)8ZeNOh;qe+Nf?;;ET+;!dCyDYjpj@=TjP|~?90Rtha#jwO&Z@Q90 z6;IVoosiMo-}j8$*eMc?wgQ%HO{y~b><}G@i*6zbV`xgB=RZLtk;R~hD@aurpX%GP z!jN08?sSwL?$-|?4|@%suYzBZ9V`+&v;{^!Ep^2gQx$6HIS7e4hmAq=TyL<|I>_H< z;qxYwPVVlUpzvoS{;a89Q9Fq~hRoX_X3Pb>4acyUVgG|zR`#mQ5N100&1L;bXnx%b z%$)LU6e?}a!xkvbEk1R)Loc_KI2=TgnW`^(EHt*}Ik zkDO_^h7si)I6H;iZN>y&PY=_)s(BINNt2}Yrv!7DiIpTK3oOJ_eEl*O{3}hl)U;F% zcRpz7flr4Ncg}wDMOGfFQ0{^XTO0SILQzgXQ5Y*J34I?O|29#|0y=K}zRwbxj%Ha& zYfeUXgh9u=ps@B$x0*FOd^+B8k4Tshk7m0087u3k#@=>L9u9AOh&lrje)tg3z;;E$ zce$Egp<7$g` ztZ54>VlmdxiPGF8{fwTvI9!J_edBy7`bA z-$&32eK;roS;b)Gg=_cPt&rtKBe z$+I1LNga%p>+WcgD6IqOa@2O-<5>rfV816$n(LV1zM#aZ3zRrLoeY5fBkWD}?2HT* z9qi1kP3(Vc#uWh8OH63Xu)ELU4lM>pU`$#JX;dqBuQ3`#RzR{W2r7Mw1mc63Vjdkag;n{H- z3t17OIsr1I2kIwAUsN$Z66U!Q+fG2vwh-JfKn}w-AN(Lm(;%KKagp0Q99mr$UZ5B! zljpk>mAcue-ITdqyGdGI^UX^45%!VungRCJYW6dt``h=5Dw3f`2$zwvTvC>sRLaUZ-6pFLX^H${8Fo9x&swu-`wDqB?p(KuA#y4I` z8o90BPM!3i1^N!i!8L!lnZBGYspAC0e=jD{$oT9I`gf-_P6(zBgPgVs%EwUu&Z6{z zK#L##Qq%^fGGV!A);{W9rzb^@LtzyP!E1cTFP@}Z&Y(b*szhL~PLDQU^vp!gUY<7l z^7V!&)77n`wV98D?Ml!uFYV2E@&X!K!l_TS0Tlmt77KW9r6lae?J$uee{tvMo_Ces z8l4|TuUW<+q(mzfijmP{-oL@8GifE4T8-0URWnm1jJAaC@-Kyxmk!rjY8OJzM?yi! zPRi*TirFUHx-NPtg-qfzt@icI=#3`)hO&f(-7^}9Myv0(xu<+{Xwz!N(t_C3B)evb zPMgR_FVPCvUr%VP!ekr>VRhhKzo<1R=9QZq;P~8_m0P;Dj7hJAE$DqmgB_W1L$(Lv9#e7Zf`5{ftk-IQ^TjYGA=d8H98y5Mn$XKI6?!q zeE@HZ)kg_f!`7EY(#gN&!mChbj>q&(3gjR*hH_>SOr z$1hi-`}2S@Zy#AOFyz19R)_bNMn7KD8LhoY0#)qCh~7u06ga*Yt@S2-6$dWD`^(WZ zb%hE(eo#~=2K&#MFX%RGYY~MIq^GQCq2aONl;Ww%gsuc|sDebZr5} zhk57P4aO)u!fF(FDo!7k?GG)Czu!oV$sek%bUNNDvvtHOVwbGiEje~*Dtp=t4aX@P zt#RBO1Z-TC6}y-tPw(BX-u10?^1mxh6-(Hn?abjXEEa3`Y)u_O(GXLqV4k;)EaUt9 zwefAmdQZ{Z2ucKR$pjHvPDbpEU6X$OT;(mzM&*(Px!$COGyiiU6AkO{jq6L&OI7!Z zg8*fhvgNrJ_c;sJ=W^%0C4On^HUaO(tluAY9$ayE((E~MIS!>vFzF1t%sx+bF336j zejdnMvx6F!z`cK~JQKt~y+68V)tID;ZS1gY<%{1C|D9^C-St4@u>J)9^@A-;ru(gl z@SG=okH;?NYD-z+f*jU%iS((F$fN6V&~sg8mWImd<5@w`6*}jbkX$&6^_j zsQI#<=SWqY5%7lc+8%G-hng_%DvBWk!NUE}zri$#rivdKj=^-sgsM|)6vuo+?zeVv zOe^%)YO}5>PBD&nAk}I_SJmSsGnV-5JD-~WiLX!W^~tn8Dm|JSjO$<=cEipL)M!;i z6EJy}t%`fduf~g=H@ehKp>{zHzuOV5HAdnABUtJgPgiSq@d##~{9M^&vJdO#@C$jm z*ADh_MXAl|G#EP!CGfq;IBR}z)2e}(n?nLw?{giZG|fqMbh9NM>8C!}e`(;`D_82l zU_X8xAlSj!@wsvYU8P8vT+N&|iMCWtt<6ZVF#*9XS$@ywWBex68~WY3@l5cuG0Xno z<}I#+s;>BZ-e)9N33D9lBJdHwbRuETGSpnW$%q=in2E9X&3kMzr}*?r18^|q1`QG& zRhk8Dy-a$74~28VpN(yL4jala5d)ClEV2xf_{Y-V(w4lfP?{wJu&e`ltF5s zVetpi?yyZD+3*MKxz-nEaqNVD6LHnl-pnFdz!8*<{35gX2GMCZB-- zT*gd&VB4pwLV^)3(YwZ1=<+PgpTs{>;Wfp`kB1EJNQ@vJMEOUJ%~K-3%n`>C5{Y8+ z3)079KUvt$VM=*kJP6acCOcAFQ46{1Sk@d}@v!+gAP%$`y&jd0G4`Afe$^kT%VH+=^B+ zo5nmO&wU`3B=qqzuq}Tp*#U?Ni+ZwWDShxoMgLy?m!c*AfK1KMF)4Kc(XAY)SxY7$BRo zKn0MkQ6LEj8=A%;N@F-JD&v7*n9_8y*^>Ys2sV;U$a=PerlJI@FB&cusI#xy>R>mX zCX3{iMPJek&{QV{Jm^A~1x*_H4HsEKds((OHO(ma1xf%cTlbAR%Fx8m3lKbST|J9F zIBn&T>iAM71Y%OU)$)fIM5Q2C%xmy054|Ye=|EuY!y8$LP}@~QsrWpG9ZX>wTa>9q z77o`7b`XGeDI|if_z6&~{O;`R>*g`{(Q-iNo}|4gcV!7vNEcFe5#8nPFkwxG_!qs?C9db*(q^?646Me!jOWLNM@O@&2S z^AFyW#fjcvr^Or=X674ydx@{G^%{9OgID-8^EQ!~kNELMo+@x!OQvUqB-5^EH*}10 zhmnCeL&xoG)G#GONmxdfBU)yN@Nusq(S+C!LPGBg6jK4ztx7&Mh3vztn-SQJ)y#1I z2TgG?N$8wh-Sm6{Pdmr!uf#$KTsr>Zd54)i4@hwYtL}7?q$OnHT7n^{6f)joco<*v zP%x;%H3Xnc5rRa*I>%MMM0vpxAqR;#cjj60p!49P1z+hh-b=OEoZR(H+`~OLoF!}m z7uCaf?YFtFPWDCw3Mtr-Y{#>m)ALz$P?Fbiu%F@G!t!w@Q8>|^wZr4eRV*W^20HH1 zOB8r|-#aAw=SnBeW|Qo^4?7E2hn~W=4t{~+c}e)ZH#9D9hw)ReFmf43b9dgbnkukr zt+?Or708lcpd+SWA?7k>NQhxUw)kFMViXfQ4u1|kSPo6t$M5+(% zA{`_CEOa60%G)~JPuiB509|qXdsJm~5@sDh8VaYCkxmb7FFpwQfXA-0vcgJ=qgk!O zhFza;@wC>Di&s&iHf*k~3 z!m&xJ3TGLBRa2$*Bo+TZQZ2-PNQJrc4UZvF{etbKwuY_ik0;LjLsze*V93IgnIv|I z3Y$Oe(9HU@MM}TBc)RIp;ZR^d-2m%WS0-byd)1JWsvJ+;A)(XmwF@iTX0&SSKA2N{ zvcd6bh<;oaJWP}FfdJAO7uq8}+eCFnhj3Oh-d9+0D9*mlu5Y|dC|{xQxgmmRo1=}c zik(LJ10V?LnsfP3V#T=$wR4MR0pV8s`M$*{K?@`-ALb5pAI#wD=3Frim)W{mnldz+v<-E=c-Wb*ZP>Z+Sz3&HY>x6Jtw ztv>JMeFT7?9NXoO+?>^xeZ))KW+2}y*>pp-d^^#<_4D24iCbhKi`I5i7=IPWO&x1C z@l{DqAd{QzO~Gq^15#i1HfuTS!4uKGOd>gHo{uXuL9Q(@ww(U0*Fa$L-sl={a<1?g z3+<*-box8XDC{s_x7_&-wDUJGFt5k#-ti56cajV&EiPrZw zhaWlXZ>X?&Y5O9N00;$yX}cT|Us@jH3}Td;hONk=kwn{-u59~`<;Gg!B>N($uE7P4 z2wO_LvIGdM2XdN@CVo1P7I8ez>tyaXp&sBQWW#=$GnUStCvTrn6f2+Vd-#N|eEtX6 zX_E|nAa-7xJJ^I2Gv(v==Zp0mR~W-PK^cr9;$O@@K?aEyps06cGQ1-FG<1Af(#M@X z-flm*q^&?VG^fjM(QV^F%2TGFV8>Ttfi#nXwEFV-rB=uG>m$g3#~w01DEcF<9JZ)0Sy{gnEa#SO_oFk=N=QndHvX|gEV=!NO& zt{WAReSw_5=wv-h$nZJ3$e`AR5cCd9mEbzK?s&XwLlUL62q71lUYRM?IadRharv-Z zYD^rPc#?sgm_M5;N)W(D z1fVO8*Ov;!dy~DSK<3YQGz1W@+g&l_*5BxVfrxELWI@GGP~Voi8nm$#fjZA1Nf+Oj z>PHi#vIL7^o5{F1EF=tVJCB})c~};};T4o|DDv6?cG!cdZ$ljo^ma?a&J?x)*<4Id6}y@1Scv?K(AJzk`tjfJ0#YI4}CyN%E&>K+XXJ2YUgU=RniH z`01yB|3Bh@I6>p7DMf(j@A&h((mx~66UR@bhQD}zyfObv+0!feb37?~8vkgP`CZ?i z?J`fqKlM@mlkKnOnLi==vm4}Z?f}pu{Y&Y8dPDwX|Fgm2Z}t;V#Q2;2SG&XiTJ%#H z|L1sGv^3OTMg6Dc{<}+lM=6Z>AMxo=L;nn9PkMf$RP#@^{|ak=%K7tP@^3k`Afx~7 znDS2ve;$_nEnxu^J)R`|Iy(7ZVEw-KHPBZO>wn5^zds>=7To^U2n)jX7u(v2IwDTqk>v5 zm|uW^yaojULH;M1p0zcDlchykRHp?gh=JC@LPfr3~AJ#SoGiwW5W6R!586XB%0PNo|6<*)G<-4ck_R-hrolQs>b-6$Ev z<-FQ$d+}EP4FMs{JaPl-p!_xB_G_EjNe>}Oz#HBcZ7U&Am2)!RMO^8kyrx-)wEu&ATc*KTc0@JGMNNjnSSI)rKS?}~LXY)mR3I4RTH=kj?{3azITZyBW?vVrWR z2(`7@G+oka-rqOgg8mL~d#C3MULd?&KzLF93GaJ=t>H7iZc)-Q-Au@S-^G@R&v~m> z_%vw6$@#VAVS<#19O8K_N%i}x5lm$}KXRhhcSujkf$N*LbF8%_iSKbKivV=B)eqq( zd^4eI3k{1na5OMNoPtUA8sl4v*$hmO5JxVCLX@y6%;3J)vFp0QFu;->CoqK zWh?}262JoxH=F8$?@nv+EE=3P@H)T*Db&37qFus~I_58hr-}3SqjqOh==ovcF{s8@ z^^)c8kFRv&?rJiXM^lS0UC@jUHq&eJID=bV_6AqyS*0i8m#~TXKFba@2RKYOOb2Mg z@Zae1VK}y?me{CWX}w#hKv9WQdS7SzmdkU8 z>;($@Rsn?@tJJag7W_3S?84nh1Hzm90wQk>di`w?a% zwI6#tn!1=aCp?n*!t46yulZ3@k0HrVV^PZQJrwhVK(@WE(@vATp67Y{(1>;;fK*&U z^{xVt{f05cI&mZGZusT#nHnaEdB~gwt8HQ~nleMDhX>8r1LxA+hT;W&(>AH3uy&A9*~yg2pNv3aV*#0^XgN zi1mL=AKIyIO1)E_z{WE1nYSb(^EfutG;SR3eo)czBGj&3BaoOE`S8U@=B49?SPu!CFB5nCyRsg^66gvq*Gql9-hjzk-em{2gVw6Vn0qI)FdE!YG!zzV_irJj z<~-E~J0qb^F0oyIJ!MCoGp)>De>#(QvMvx@CPIEMzwPfQz3p zaq5gC3YZW6oPnR7xN&OczqVY?%Z1G@#}zOq&vnycCx?;MQ31Nu3$wOPdo5kx>6G0k-udnnf!iwsYB2anM`x1Fc|1gJ4B7Py@MPWn(}5Mi!8+IA7r} zLNKs{4K3+3jra+1Of8m%iHrH^(+?R0!RFIKdWe)4*72pqi2RPR6TRz4q6b-=>)V@tjI0DFjLtV5=mkhmS=UJ>8~( zQqtF}Bs3v_O+7SuO!bt^gX-1AxITR}$5_AyA?}edp9x65{qgrI$fo0hewQmhe zmurGUtanLpMCsz@bynF*SvZQ2ebJu#H!FtE)RK%bur_>S^mmPv69t$nYK0lPldCxN%*~`#{;H`|@r*dY@=Ma;Q>Wc?nk||#o%y(Cnau`dr zOr!=8R;_%$5V4|F0KNg)Nn;Y57kyn*q37zZ;BDp$b#&0?q9uSn`7>q6g=e6 z9MCEPITjcm-_SU|Pzy8&RKnsKmR#3lG>FT>JnI~%()^t9&?D_Efoz3b>MgoJ^LRu_ z^;zgG#XneM^>a2!maQvcH|KwLi+&bq*wDr3`Jq)VI1C70cPCBY`yz|`g}KT&w_jsg z%S1;qC;laigX;4y=G`N}u5ro%^R+c0g0{sv(pX7AU-sU;`hB|NnBf#u9B0?pvn$we zRSxdZ*{_B!vs7gJMRBL6Zuj=yPhQXs>e?0joAY(H_aGA8juE&@T~mDO-=4t!?`e?U4gc6sUWbROUjUsuEzr3?FT#J5{UH9~*N@dD0eBq9ZCLvrYDcY628Sp( zQDB-84Pj~EQPCuC%@P(3d$bwE2E(lcY-wQ8sUk5O(W#ujWKrQ}zQC;wcuZ&#i_GWC z7AmhLA*XTg2w)97@`=A28ScY5;n+SHoPmP5LS)AB&7*I(Ejn`HL{Jl(EZkYcx#Vp; zauLjC6^_ko*paO|t+4XApTMXkf1j$0bfj42r{PX#Sf@-A1mYjn(8H42)rztO6Ky?^ zqtHKraxHCQnxj>ofGVu8CMgeU1qc@<>sVc5d~|x~o@ys>hk1JZ#x0s4n5hKIhAg+L zic)D4K}L2IhE5Hv-dgLpH6XOw+?BqML!lO zTB?uuh?~^d@`%3Vzz7J?=+)QNq}Y6FVd=?MYYd3BLG2< zBoSATm3hT2_=0YiJ=>r^s9rW(t(eIKj&#eN7dx_a7gZ$ebtpKjQ{ zpEBXpwz+*fxT#5yZFhc{LJRngAMQ`#%8yFdf_L5DJc62-IT}6!g>RM< zzRal}QCsm|hK##F zX0!#pEr-zPVZY-TR`#llU}ie`?G^n=2tM6!XxZgih*a8|C(YoRJG|=9C!Vg!v6yhe zD@oRG=_~Y%%GMrZ!;xoczz(c}90VuPFt{VE&lZn$-I3D#V(*szpc5LzWYw6(?Z0^ioLCV40`cUx9Ub|&ap-+XsRPa zy^7`hM4x%#%Y&`taC;vV(yfNst$IZ!1OkU;lWWO6y1ggd`+#j&=~!_+C{AWnPP$T9UGiNH6L3lX_=3Ze}s}bIpi<4B(Y92Tk z(nM+fDS>QeLM8FZ0&}rsAK&x^zety-ScXhlt&H=(T{LqgheXnv;X*r%?Kswo+SrF0A6gDVl;qyRC>dv}veP$80a2wCzmBeC@~17d@atNQ6gqiXXu^l5V{!ndp;6Qwzc`sv-DVzKNmm7~D6 z%-D^^3ZtUcNneT9X9u8&#fJruT>%?%V zjVQt&Pad5%+A~U8*_D5gyz|YLk6kfXIeD~DxWcuI#_hFe zn(Ui(d)2s<*Mh;*g@Xt=HgnTy^>LETd026& z}WDYzICd!Gg@oJY2h1~#04|YYSon=Ssx@R2bBT&hUklCHyHsm`vMUJ(QK4Zzu=AxhkE`et|)rza5 zgVC3(9ECH}ykJJ7*Bmj8P%;kgK)1~Q#UP@jyqM!d^3Dh4>4lr6kPE{$xZI?Ggl>5U3`^z~_5+zxDpO-T> z^Y}h@Wo*WAh+tnUUZ>#R{^RcvN>TQaS-GKt^9JE}i#ALMqznTsx&}NPBKq`f zKTdLr+JF=$bhnJ!C*7O0#E5Zl^g=-xjlBHgNxGGE3M8pYSoZ3)D6>V641}zeY17Rw zw*(n3uI(*Nyc}%T0=~JaBI8L5$jI>*-qr8H`M$m~hw)NM#Aw(J6+ZP7bHewyuRLgQ zdK|rZH4Z8zTB%TsfD-*t1eeaZgi=!-xu@9O%8A@H)Q6NuCJicD`5yYq6~kU_H-k;RHI%| znbW)$MS94Z;1D#w!mQ*SdOP*f~%W?CR`NaTS}1AXc{J@_G;G(KouDOvcJO9=2j zsWWLxtq_y~q}Q*`5`vB)%Gt(Jhm*OyEXfCEmd~e#FR)~sYtCwPwy;Me4ooXcT^mxGu!{M1eN2 zpht4H>)yO3v%PBhZ7sdJX#0v?d~WLIaK-B3L;DR2uh-*(T&{6>f_W-8?vv3y-tUHA zsYdbR28IE=WkEm?{xg;BKUx_6n8Pz#hY@(H7*F9nPfW?syhJT^#=RBC&O%2kQ8b?l z6})}Hsm|XY;WK}u+p?*J6NHtXvZRH8!GKnZqbd`;=EtN86wQ);OjLbHyj7`Sp0|l8<6ZvJ z@UCK`yJ&6%F`TDlf&e)?J!ZzXQNM1k@{VS!a><-rZ_?a}51+tT!|H3p#**|>)q~=o zq_T6_%3QPCoH;AL+*MDBZ|a7%|A#TFk0%|+*IXSmhYoKXhLR_kbcUU0@l%`%vQNHV z1@P4DA;rdX9o;F<1Ts(`jUHMyB&uQ<*{@jo;MT`|rJ8GVIo3F-JI8(fXakwyc4sU! z=Rx1?zK^!nTvoUshrU}PePJm42>ugm+b6C zB8)ZvW{gU*70WiG5pN#H#Uq?$fvD-u1;2jGr}PW5p{=0@;M8tMrrXOXni9pVG5nC4 zHxoZws^SulCxpl5Z2KX^m~mh6Edl@}%opVVvQace?9^ZkvLiY~onosv`T(KN%Gn{c z&`+z?s-`&EDEyIBs{ut-kB7`ieA#C{CBL7y_wDQRX?-MmWHm^a!B~v?y&3S)s_;fY z(kxpQ*N|_GCp%A6sjEWmf*Nj@19D5W_#-I2_Jl$)1 zJGr8iCUqLrJ%$pPo+Qk5U+8Jo0JQBP{>+a#_K})qq&m7;;!pHbd3KxiyocpV-Kgwm zul)tu8QYgDM^IFXgviy*XcK8m)zn%I1sdXEU6bSwy+6logNxAb&y8oixE!f!I=!N@r|As``C2ICUb#HuQUJ+S^mCWyuC`Z zptXldPvEg|E@;`vy8EQQ3=Pg7L1gjOFo|Cb4Hj+5y9%XQGRapP0G?_q^!_zxgPD*3 zqX%oAY7m^ftARJA$|_;qnd*vK704%1*q`eMGP&y&i?>->w(4Y_cxr)3xFOhlSb|5DON2oiU(bT>56TW?aS+dp5Ia$;Ec6-h-VxVyH%1v!}am{=wtb7T;X`P5b-K8T4 zWA0q(s;c}zs^$(yncyQ}CQa&*3t}*k;}z;qyu84 zP+}N7qI#1NNMUU6S(Tj`sN-Ntniq(>O3syE#+vn!RlBjCcRlx9y$0_J zK{VKoUSkrEphMWTLr7^ry=Rwx$UJ45sq&ZLN0ma@D;FE8$ql8ZJ_FiRvvEsW%`6(T z;9R$X6q1mq?*Xm(J4yBcGytzbl2=AqmJM;3_^Ty`F!?61&{KP;`TQc9-af%MngU&d zynX|9^cU2_c$P`MOc2$ExZNi2ikUr~2(0{;D>as*1u2FgzDzJh;PSmZ??npYAeRYM zM!A$O-E=kwIg$(oMGD`3=eNo9c4x+$S@sRc3tR!Da&&{a5o$l!mdt5U9*8a>SueYW z0-_SYsG^MsGV1r2dBbe^&8}KAK2m9z81hMAmLE;_C}S26`i#j?pti=ii!Cw%5^=(x z5iX?*qH)j6A}{#YVrhbkA*dZRGs#U-73k$V#5HQEv3;8G&XJ?cBSwkhWI15xH zvos1MBtwU$F$q!`E{e*yK^dkrovjbW0mlLjWD~L;ZNRE1o@!IW*&Jz>rS%ik)^lZ^ zw7Td+nhvZ!Ndb;KQDlLYMt=Rb%)rA;o7Mw8+As zdq9r;k-rNHqbT-E7At?ay!^6##&x>l-*G5mXTnuk!W7&I-|6F`<8h^Xx!RmS_`ps^ zI^q{o#o^vPg6)+$&`ubU{zyYc)V~9M85U*w8q32KQLxt|!Z(r^z96fDPiiVO(u!~J zfh<<^79%zKq%b4j;D8ucVdpi%N;;3wMaEqMAur+6tvpr0w3bZwDoKWI_kPG2m|H@H>@!Y6{s$mfI1it+k9WzDG^5 zw-ON9Il5{2cpkP6H(v+^Vc+QZiRGSTa6iJw;;p&SNsyM1iD?N0BT>kBy~RQOl8cB+ z6{f)tZUP%99NICivKi?KO@I(6?9`EK!HvR=iyU;V%lIJGY<+&;J@EjIZ!r6^@r9@! z>TBQaBXu$nVQ}~$1F}7jHck)hsK7+evmjrC`-PRW41zF%dn@~=)$15WQVkTWQ({CI zdY^lEdVHmGC(}uGp2xj~>k|(l8++dXvD`#lo?9B{cf+{J=%_i2qd9vbtR@PqTB~k% zhXt}Es3>sB=x{lV8Pbn7NKCxW=cngW5tLs&M)lynmck0ev+L7;rzg)DHYC-DaF&i1 z!wy*py!NsR^Od$?#zRpY{~B2tm5BC9QW_kyg^^AV`7kaJ;h5XDqq4$Mila%b!kS&5 zcQUUb}?^>p)KdAKDh+l8 zk#cZad7~MT;jX!~a&KT;58Y94Ol1&I3@HiLH!q3#9%piWFsqI%_S^;eO^iU85{_+B zRcH%;^qMNQXQ{Y0`4@ZpohprwAf#8MbVUpOwDQy27 zhh}E~4k`Wq;@!53xqX4%bUl>or!txM``7i^Davt#?czFZp8HU;t%hqhZiCsy=UW{8 zL-gaaFG4jbAMwDPupr#yvW!({bY9L%#Q6v*4#nDivh5u&6Um^9wHdDve(BjW)B^OSImM37}8u0oL?r$1~XUekZF^L`~;(FE8b$ItutUBm8`qKn-9+Q?|glBxnma@$fC4e6~+ci4?r%dr#`a-fAUhHFz%Cn?WEa&HZ_mCeWoB(uUKof?bY4HjY+ZGbUOS3$lk-hOj^e`ir zef1UA#5P2^cmQw!Wb5}4v89zU&Ok<~X{d@!8VTfm>B`ox=&r04jIsm81XhQ#0l(55DZU=LpG4%lFOEwJR?6EZVTzR|rq8RxUpOa^F<@58Prj66} z0T{WhZXgp<%#=@G@fYhju2F~g0@E3V#Wqd*!2(4K5Y;;~7+6UAht9s2^m3(*x7iIY zX)DkT&FQk6cUilWa+m4H+wzu}!_OqcuMy+-6Q2idsgb;P3}-q&>YHi*{q$3KreS9c zJoX|00~yc3ZcQP8mA#>ry^hjHYePHjA90M>AsJ9+bpP)ZZQZ$=uN1BILiKbv42#G% z!KS};uwKTed!K$wr`81(@Cr>4e{+1({&e38FG_13OfEdVI#a51rS?L`Id7%Zh%hGM zJRKv^SFy_picJ%&dgAofj7c4;!@C%Nwp5&&+d91Z1#RW|i8h75TV&n>D%@6>b*0Hc$f5BhQHpK$2c8O6Fc`|a zZ1ek`90opTIld0NjvaL;Vc9_%0?e4qt+0~p4d=Em-S}nvi`$jM=P##<;`wpmBvF*c z>q`0KyvT?t5ctxc3?vCRY_Az|>TdNnL1XF@ULoPetM5u(4_aFYgI}eSq=_9#^&tyT zS%5^d&7^-jDSR2ydKEPb`MAQ5$s-_RU*x$5Xtx7V-vvJ%>boiUelc3vT}yp62zxxb zzDF;(=vMq?^{OqZuAQ#sqVwWC`#q$b<`A6!`@B02s-gzee zsgLrXZ2w8+`4gf)b5nkC`vX7ezm@)#sq!cLpV=0_*e`${;}`qixflQIrJr*OewOE# zmI43aZvGd;?7Q)B?&kg+@}GgdUjnR9f9U-u zZ2xP}&q*Oa%d>?6KP~)QipcLH|1(MCnfIsFQvQqgSIUT-B*gRf0GMlq0s;l3dmwrK G@BaaLb#-$9 literal 0 HcmV?d00001 diff --git a/function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextAreaInterfaceTest.xlsx b/function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextAreaInterfaceTest.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..4dfbc6dc10f5b756da6554dbec6719f340cfaafb GIT binary patch literal 9919 zcma)i1yo$i(lzcHELcczcMUqYyF-Gz3>F}`2X}XOC&3+pyGwxJB)B{LL-OuTZod28 z`g^hZ3_Z20`s_YkbE>-Jr68dYz@FL%*)@Tu>t78X^uZ8lAa4h>v1gD6iD7~U;C_gW z2x@~ffrEi@L4bjw{Vt|wV?*z3WtkS$AqmNZ7I5fuh-Oz|77`e18JxK$LaW}=yJv|% zCnIRAt(oyT1h#|YXk(G`>bWsTrq=O>75U>R|BBp(+vHTKf8b1$j~q%*sy9pPM{AX% zl+Ej%L>AJ0$v3XB&?^up4GSwVAv=)5)n2qBoU~WTltX?3H36dQfao`h)I|6)W??j| zB?EYz=Uc7dV*0ON5W&x()ju0hxI)?BvYnam6p{kI=4*aqEd-%@Lh84GCsUNy_>tV@ z46CXp%v&=!i;_XWX%lBbRJl4&12MqO(3D8=p31}tFDr!3xg=*gT+z*BP>O#RoT@lt zcKfofceDV9Dms1T#@3W@L05K*B-xTwdtyRq-zn95O=afqD0j&DSh3!*#{s%k7QD z<6PPB0CdywKFJFEGkN+os^HXZ&6CFQ$Q(jWR)&#LX1zpH+As4xUguc#l#w3|IyX$$ zTlAiDSAlLPV^-K(d;a6Brfa zRHlII2Q$Irx>;Y9gHaz@F5BXPL+Qk#2-ku5wU;OdWhF2Mi?tHm-}U|OF!||#hfNCW zl7~)YU|6^JQ(vx))HjPE-hZOu<6maEyXB6_M(pu}J^+YjVR1uoQ%B_Nrr3E0$Bs!z z)9W)+eTyB(CE4KW5>wOBK@yn0d`L(PH;^=7rs*dm!H5r+3ltL=-+Xv~u!i_gvZ-Jl z(5OLVql3uC_y^hV>>YqsPju%+y^-o-#0)rueiZ6+PmcKXhI=8rjOgWCPMZT&$z*GP zaw?hEglnE02C~PU_$@rC2_Lq3DKuIKUJ!gXeO;y~&I{o!ug#IRP;g|Xl?4Z3U@<+_ zqDt&fq4$-!sYQZ4=S8yvp9(#*T_Ocg7R!f`*Ro08)A%dq8 z2u4gKq}^`Js#2_Ot6%-=I2YQ8@rOqpjq7-kWjUnyRw>3L7ul%XXndL}A)dWd?cvJy zD_7tN*$x!;t7IE2aaL&+VodEqf>4oCyQg2_ni;3RS^Yf6MB;%p5eTCqV8>6n9$4;% zJ+k#VINo1wj>QQ6A)Ml>_*gD$US;RuxZ~WC+WcGIIFS=Rh#>nhHXLfgwHz0|Wg% zDf>hryk+@o@`o}v|*+_=P#q8blyUpamP1>y%+A^#d z^%fU{ZYIb>KDER%SO}?mx&puN$T+&^EyxUE4{}CZ6*;QhHU~XE>>dxkAvkX|brLDl zYzX2vB=TH*xSPDmZA^H0nHR3>SG&>;TNZ&TF_8c}k9jXhXoRSCQEY*Ltkble%kNk{ zhb$tKmOHp9Gl8jsA3?(7kbx_-f2l&{PpyML|J^oHcE%s(@jmPI#iZ$BlU!KcZZO8s zyAxm9;NyY!Jhj9R$;Erh6&EfF#pJkU;~L8pmm@qW(MXu;rTIH=-$v-@ekGAUC@QA8 zXOebeCOzjF`R1UR8h)Q`S%&ygV2?d2x$Q!eEqhF)`3)-fQI1sY?i=V5(^|go8y*;* zCaC&xpKbIq@09wLBKX7_oo|$8s;BH=O~}HBaGe#ue@63!HZ_AGf-~;Ro|;bCs4nMV zGSOKjxaTNL9DNy;%67CZacIlQ!QW^~arxPztfBa^%<-l&=x`nWRw&IQYWfu5i~Ia- z%lAg}P2h>ljKE5Fm$alxSK<+eIkkP~dLh-a*yXzO{L2>qbwp9UP zOeRK62UAo&1Rcd^y`8zKyrsG^Qji`TJLCbMypVUm-52R+`%`dxm`|d>CwW;C2fxNf zH6j6U=aZtm+G->ipD~)r+hZCdme^l2hNUvMHX_O5a?lIO_v|OFCPI;b$H25$M>D&{ z#M(O5GD<7U_dv(k2tbe{yDX6!U6E6*FSAJC;z%cd8DlXU+a;&!;*h`{;-2$Sq_1y= zZ)Dwhmk_(!l#8_GFC{+!olplzfN41ZsY{6Mxbsp1jch6S9n=FVKq4z-MwJcyp{rT3 zi1adYdGsI)WJXu?VlZc24Jj@y(qjPndc&hkoJy|tS$7!9)^RZZ_XOx)wX4k!z#K&8 z9Sj&bOzrsx;5*@o8P`~ijWwMGjK1&H1V^BnvCc@3_lEE z-EI|l6aMp<^#AscecIpOcwUih9PkaCkL5LNhVqw6uVB{?{6Ig+XhD@^Qmc`r-cOCb zlSQ*eFZC(bje?fUAR31*nuua^B+h^Zmk&ieEg*smRBbJR9*4t(N;`fQA3tZw5x?gL@13d~8B= zv6MHT?lKEg3yWwq-d6?fhY2C7S`cM)uq7|UpELz1TB^ADX`!eB2*ixAMjpVpe@sEK zgW%~-uq2N;aenD)6Z{R#Y~sn*#>>K>*_+{a#KV5l%aOevQfF{X>&ei#UA&*8d9aGJ zVh7$^g0JI*lJV&^3MJ`|gqd>-w>x*cmLojJ%q9fsh2*zyh?HToFJQ;uGIZ8~kFfvU zi9fv(g8Z(7sgae@AFqU0;h`F*Aoomz`}1e?Z?PZ3KRolkh7=H=1FaQj$5VZ;CCYFY z9XAS6E22Iu4Js;{Sj;?O!KnKUz4$=5HNcJ<0h2Nky8)BZ@#Gg+E7O!tu+aYqKlbbLB)<7oRBHT){o# zYuIxY%w`pi&8y#(t2(N%_PiU%`bcJws*Ad(ROPSfL2Fd2LLCGa5LMsJoZ8ufz78L4 z)1RZ*H;#TKV``S8U7qkvSaC&40m2#>E=tj#}R0SDUV~QTEQN9!;AY5Fc6*FpD!7GN%GpIj*nXH zAPxJ{aoyd$B)T(()fA>!(!L}C10ktRzsOW;x|~fJN7+dgpWfKp^PJn*DFThA0+#fv zbY;}p0Xh%|-9!?`(3CFMfBc0+CcP34fbvsZif_|0eNMTC(@|EKUoV6L>@|44Dqcla zkZ{o8CK%b2^c7!pRfwVI03^mN)-!5Cy@6)yK!2P0FB^{S`TOtcCcOZpSg{JIwy+2vU%ly9^SnxM2c`841Tyxfvw zu@Qxrl5E82D)fxYRvu!*(PpS2zgq`63Qk~P@kH1hFYN1jFct4RT5jHN&Y!t_z}Qx* zsmq<%wRse>I>?l8LF`(uTu9*)KZP~BSaCIbdr7O){E~t7`G&?m#OZzQvO9$Z#|nv{ znT{;gGLFk5UFNAD?{j6xo4cTpE_LiKwR2J-Fhm^NTq~ZDjcwtc`{zcLP8C-J5~RlE zB&$Z!?MVu#-0n0yX{4~UL!+s2!LN0;)?P(whbCBj=1j#g3@_)v-Y)EHF~ z&5H<6k|?7;3CLz5QkIw~unJ{4TtKGWxmtTI@k(g79v zbLq3ESy{PZdL8qE!jB@I>elS=X}C*W z!l8mZT50BItgIuNyIa}0*t~JU8uUnbVS_*e+htAPrE2!EDP@FY7csiFRt;Y=jLg!_ zh_8DnIx$Ey;qqFV!X(b9*y8E@N81YVp@{PU;t`B;5ehY5Kk*@6$>{ise4SYDd`%(N zx&autPHw4k`0A7LDBtWwk)9lMlw1u*17V}rZBYKBpE}>GrDPD5(#}H-EJbvY0L3Zp z*nP-UEtHiZgowXF%aM&5i+@csd}SDNUN@C!Ty4>cIb}gfB*q#tUYe7rpWgK;7RTXC zB?@xgoZUpcFe+Mugg~^oBU$28quDr{9g0QMLBA-qeSj&wOMV`8u|=cGP%tA9QmTPR zCx%0PSP5x=V(+NIfkDdJzWklktzWj3KxfDuSK|Q{o)5qZeJDHsdBs5G#NK@2689Dc zkN1LEvR~HCdBb8}GZt?rE(*-(^mT{z`{~Xx)7FZqq?tCo#5RV?Rd=)ql;-|4c`7^a zvCREPuz!YH+yb@vzMxQx1PTo7DVYHJjj%V>vokVOa@MeU7Kt*|QhC3uL*K}u+sAv9XKaF&+MTG1I3q2U1yy3lzc4Hy&>hw==IV-4m~?b$ z`gs+W!fBj+ER8$_Y(DsYY+jXQB=>@Aco=k5I~G_`a>mU=B8`ICmc*oa@Lb<~ZKI2+ zUZWh80rm&=&spzw7p$(jv_ckI7q=(_L&`xS@)%C8Aca%Dw?X}D&agQ zJ8Y&luTaE}7bn**whtqf670s4-T|sgp|i0OF4p+H!6Xo%4oQy7r$cTGsG>IVT^HZ! z7=9QdPQjb5pEn=Ss|o2wrkR9tq$1rIIXfD$vQ;3T{774E=ko5oJDc40`=o-E3oW}C zawGQ9$rKH>jfl}ZAum>QF#N1!JQ%A@*|5sPh5OvWYwiR&h}JWx)N6NefKI!aPJ1PT z?i4E8)ni@z5=F$Hi&j4lNErex+6pLwL;V$Z=>vflKf*1gH^3A|O!thBkGj`si4kK^ zn1zDyntA!f6SPa|2<+8qQRWMt8OT{nQ)X-5ZeC=#y0tYo@^P?T0sL}PMaGim z(a_>geX0$h_zzhu;JuX-vFf)%g^&Ejoe4efD!4 zCX-%?)n-*UQzMA7gzoS!g;S6T(_U;9M9xP-LC8wX?ih^TBHg?$dL@la>@%hQ?aW9- z3w~Wi!ou!3HAKDDp>577-z?gcda(=ui;8&1EWv35`REl|0Xx^Y<_b*uz942B_Vvq; z2F1Mc6a5@t>N9gnzb;|WDPsYg(1$)vdASpxsZ%Yf&T3tWqTXkXa|l|TV^{JGicJ!T zIenSaN(a6-5VQ|n&NiAl zl+5jIMb@{rQM!l^aJ$z?P5H+hUCoeAdv_CE+x(?>X?Q6j?ZA zZ;{Qj05ym=2=S0MRQDCIoo~z~8-yPtt_pEJkz@4F>k%Jsc{HuaZY*0}tfW^LZJe`9 z%uZhKE?M8dYrAIV^M06@&owDeut?>>do;eo|L1O9sz&$c0mbS*a$sP{|Jkh$?=6jf zY}0A&-3WX&tjF-~N5*70zL(9lCOsAVE<$@tQPiIb6@C1mC{GOb2$?Qu*KI!{3L?l% zTG2qmW5FrMQI-i_31CwOie||?BrWXTcek}ST#gL!&bAtil6!>KDDqUCJ}lWESQsDP zNQ^2Rs4urW-m0**#VBEwtk^9&wrQz&+6)fGsu+FcxY-X_zbGqqF-M--y%7AC{})2={GbZJ0nlvk^QD@m$z{=1-f}d_%0P+CSkU8#Th| zG7v1x5B)n#gJ_EQk>Myzdvu5f`Fe5mcjR7c7su2>f9)3Qn&M>R@COp@dUQ2CUQ%O; zFTQgr`F(snVq7Ov`lxhh>M*VYu~>E6(@-N-;SIo~8MZ3!LBAR=cHXE`H^qUf=w zXwA_Q56^<6pYwDycNPz04{l2B z1IEUnK<4`#he$1R5*^(viATE0Jo~jezTI-=u4nAWTmgVKhPE%2!|19-LS*XZG>J5& z>gp{G>|1d$oDTV5d~d^B4ThU{-v7E(MK!D|Q$tC+ z0_`B``RBU+OrAQWVrA-0w<>LVH6-3Pk89{io$)R+VQZXzrv zC9>e&cWg--@*Mcaq@E;tq9+{Bj2B`w-7V;?Ifuj_L_0$_fTTltShLM9&0^UJehIy< z`FJyfWC4d?HvG4k#dnByyFt;e9~kimnt&t}Wratk{ zl(-Gi3S+@T+Y-Zw`;q>UqjMCCl1%)FS{Q~uI*-z%Ta@mQ44cUo({6N=|g*nF$ zm6n97w#Kq=j5h_7HMnu2#cAJ&$4t#Y%P7+Kvg$EK$UX>ByCykOSy2hP>R8qsUGcE_ zI3V^n8F7usL>qg~1u@qH6t5&;>2|vU5UV$&98n^L62p*CG#ZU5zH)f?Wey&N6vp-( zSJ|6GI1Qwvd4qYV=A8Rytk~>Xx0&eq)bY&LY4R<-h=$zMYe?c1bPT(43@QCk=hdkn zGDneSrt&TLLA4O!+|`zHVpX}Z*N`UFe9VeQD~sAZIM=;Dg*fE#@-zuqx5xUw4ugmmp zF_V|`3v2%`m6~6o1<41Yzl}3S;PDfj^q>ZDkjaLspr6TMAa z7n@xP;69+9bX?A}71R~QQ?6;cSfI`@w|s(Kf9fofmKS_U(m~xPY2bbbx*Vv}%&)u1 z4BXAMy{TzL!7EUf!nAc?|3ndz@MRu?=dG(}QJ&LgE{TpWMf?X03b&8^VFi)N$Q5&% zJWGQwOSjt)7 zOX<8qrx~{iM0`Y#Hwu&=rnF_dmWea$x^_ZFDYhBtiPCl4&PEKA)0Kr}y#U!D#b9B@4@jdMvufGuqBD~h| z7tcM&;CVob#b0r!l_V)471ss?qms*di{U=|mW%R?GE7qd$`m0`IJA9CbuH2h?get7 zuycE^B@a3e9$L_qF2lWalg-Ip*Z4ggq2UZc1GuQ(GcLc4Jq=P3VJM^^L(*-}R!-07 zQGtnG$3cFEck@ff885nkkZ7Xg9KAw;r}Mo-q9as3aW8S_~V!${7y2&<_gtM;<{?QVe_@iTP9WK6^yh76epTU16q zmy@HD$q0%=&k;Su!%_r5Ji9*KB^_DLkP(SKw2Mr%`16qYz$oUQZi83%?z}9XuENN$oo8Y?UfZ)(j1NI6*lbpd=q)~A?FAtkYa_ryLOx-`ec$k zUtzqxF*B;(u38EYeODanaq+J~k1COh!r#Rj5fv_fB~lJWqhLHOGSoSnR_+5D>!#fc zj;Ra+sUac8x$u^p>vkd2hqP|bV$YpdSi=g0FX7lAQG>G#z^tiKf6|KgmsSh$A6jAV ze8ZxN)z+}Q)W2fs`s0c-{jk+-2?(BlnkKOwqTAbP0}s`rc)*8r#)0;T%Q8`$ z)*+aYjPn&z8jQ97WY;rRCYY~SNN9*4+Tv)Vt7@lN{vZ{Ibj`VRAhGP+fZD!EJ&$lJ zPPk_=g5LxQ%ZITI-2*eQvN2ms{aWuk#(qsE`)vkZ6rnKD=;9;)f6p(%fL=3o?2Ih` zJo|CwbZmYEeYXNSqeJ{#hW<&iEP7P3n-Q(&>8N?DRmKSmecpkAcu&UA-78W0af}=z zT4TSp1)xAX)d(ArbiI|b;%3-{zx47gQ+{}}&pQPl0brkFtHP0+v-*;ccxlTtZ`>5em_Kk+#h8tMQ)CJZU022;4honZML*Yz1p%w!DN}k*8-E1+npUz<60jF#b5i8W$!+c zGWT|G#J}fb(-F5jp(}Cv?_B;TSNm^t_F2x`?SW`)1ks5Hx`N{HpJGo3YJUZG|6y0g z9CXm^f9byr7;24Ai&vD~u#|kYIK%4|*%Kc`2S0q)TUTN8%JyY0J`f5B({ed1zPL2X z8OR_#1zV9xEs3@xQ`vHe>Bd^&B=<7#Q=JRk3oL2z$`T;37RYHjlF)Y^CG2>d+s@Q$ zLer=JS`{nYu%CcJ& z>Bye!{A6kCci8`NYk%tbGcox~&s)%>|1C}Vr-nb1CBHNvfij&>8vah5{QuuO2I!du zLH{~#`{xt#=YiWVi?4r&{W^a8bIN}v_I@eAc=p5Y@3j4|Nk3I?{A^Dv4E(vmztv{^ lY531djwkHTRZICl*k5%W@>0-0HY+-)BnlQJmreYH`+pd!GPeK# literal 0 HcmV?d00001 diff --git a/function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextAreaLayoutTest.xlsx b/function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextAreaLayoutTest.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..b47e6711bfd5fe43001f65e5ba5015a42549ee42 GIT binary patch literal 9818 zcmaJ{bwE_x)~CBW1f;tpmG18DkglNwq`SMjySp0&q&uY~rKF|#27UK>_1*97KlYh3 zXVw0#IcxUXYspK2L%@MNk09AE{Lk0F1}yM{5#X)7J;2t1Q65N!0sI2y2icgQHYhVF z2*_(N5D=7qk{Q_AGPqb}CSq^;L>b5mYIQh+zS?K(C>V5(r%3E_sfYmdbuWhs_IB+#F!(2j1c3TqLOWBOfkda2uhr^U{C@kQ=H?r${z%sy*9VIj2F1Z45`em&I z?2;gYkiN7whTfgj<6AYmY~Xi;3sR{2?8dr9B6lxb2+t4~?8WTNs?zhrAz)HXtQw@s z-ydD-C*0L#tBj?WUbvx~?0?CuE8q<6aN8YPU0{`&LRiKj=KCl&+!o|C(>xQT1IvG7 zz=!GViL2VeAfWs0d_3wq#?zy0fteq(fsb3Xg4xH&9@(MIlbuHOY!(2giHK(JAP zV59#A_B#hhfb}!n1u;5OeM}gE-yola20c=v8g#gpA}feq>T=p1t4gNY1W-`Rydn7F z#qn15v=_gFJ3T3AmxofLbBOT8N3%B-isC$AKJwZe8B0Yc=2|&0U~esFXF60#0w@jE zU$u2eu;&qeFyk`t7NUyl^=s$@d)tRBIM?rBxy@cdXl%X0d0b<&92q8fE&*rEOiK2_ z{gtW|tNX@!KojRu7YY98xRXf}527rG6z>M*gyb?CwL7hEI~5q(OV$3@x&D<3++n-H z!v584!(}ciokC3MeF$JGQfdzjYp>@f8E!W|E-;gNVon7^sqowLQEdiSx?_#)d<;zt zkXv9ehJB2rye>VJ%UM*}dpzyAw4$(?SDNSGVtzb%OQs+EYMf^_PeD9)&FbVvGfB^c z=o#97k0#(iXkDy+#F2j|K>A7G46wI!Ff%rG{4?grb1`axL4tr#Vu66*{1@#H7UpMX zMI>thHrY``*WfSsU|jWvW7}JLt_(#;%zUuaFK){R9qEM8bV5Svo;rm>Vof=%Vv-^} zxcgY*uU~6eceOXkTom5s%&joUsvU4D>J%Wq``#Y*bia8zt@8r0@DRy3kESIe}$n0FRlnO@_x*-a#3{ zKIpff^cq?b_TCu{6|Je{(c~f7s(u;F^r5WKv)UN1NPSE%a0pWE*9`y25#2 zkz6N-iT&uUH{LjKI^%wj=l3SDDgw3jrj0jwnxQkw^eV0MK7W5V&PRcFAjXqTW~D@L zCe0$-9Xsl-*b&^aw@X25`J6z^`i6Iuw<2k+!Y0R!X$_xq<>Wn^F14xDQL&WsPV2_5 z@&0Ol8S9;y+wsyyk!4qljz|6b&D4$E!!bVI*Xo5HYg^9qnCqGhca2R(t?HW*HI&9( zN0;Qj7(FVuV+Erwx79vc+8WohQ#uIqU^d+#7uH>?6aXh&H3ezR>XibL0!&{uqk6%! zQ1=pX{Z3 z$BC%@5t6#6L_)owun6W~U(mQc!4ts{i9-ykRGVgIQA&k$L-#_Xfs!=C!qJg~{dg3- z&Q4Vw599vQ{Uz#4u)BAk7-I^A*Zoc{vDCzs1t8e(wDqZN7~Nk|FnKU8y?vper2+p@IHD7Y{P;X6dhH~*cWsIuar0;Dxk=;ac{_va~glK z2eRr5EWX3a3Z9`vL$`nx;}rpQ!peeCB?Xe=&v)y}hh}`FB)JUv;ICe5dnG1aJ07er zY$!;-acD|+_tPS@G0&ad)}Iz9+Fr5n%|nvnYS+A?7ziC>cj7o zByy)epvJY01D|QwB0fK>J7oD=#_qFCV%3oE6r?!sUJvt<_M%z|=*$2u90MBux41hA zMjX^#f@n4EuE50$ zO)o7M`Q}$p*!E%M)aGb8bssL6tlX_H-seYWQ(CW2uH7F)$mwI=cUgCUeN?by>GFBf zk}CuLy%Kt zfCR=ge|VMN+kv_X8*BS1PjPS(^;*WvJWsna2~AjWO-cdG1`sJq*1fvM_~`P`H{C_( z3H$VT#Vwj7n5_)Qh9bYJhFWc0T(i-fi(*K#6z>)k+~^L2U7H8$`O+hbgm^=AnDHP= zZ>dvJP>Y3>W_|(BiRU3@aTKBVG%)g0o&jpTW`)WDSAZ8{wms&&wd28x>xLY-JW98; z14H5Xl8r-?Qknsx{NwCK+w`85DqZ`AmqWn0tjvRk3*yj&n%YT+E`F`q1{>ADyz0rU z#oIich7-K_%>&wN(f374*6J>Zq0|xsw0rgyor{^{jo#rnD-OMB4Hi{3%nqIWJr-1| zNpQ@DCE87MXpUK@gdiBvBoc~pvMk(!pmaOzxkiH_O>(*FrA%hS;jDgQ33NwjJhxQTs`minl=ZbqKF<0U7HTC!cq;0ow+9nYw*gKuo*aGVTs*-gAU9mXky;3LW01 z8)wD%bBgx?O=8SO4_UJ4FGR%Y&9XgAAH(WIR0~^o`!m7vgB`@FdHRoaxv`k(C@+ zyT!d7Ciq{^kJG(tdEjA5lVuF21#+2*lqIH$EX7m({4*B=s?FZ0YpWjb7HArP&V-hB z&kgz^sti}D^gx8KPxwCZz&%GYpuD{TCx3nE~=q4&L7S{6|` z-6F)$N>m>yK%DZP-IrX|Qdt>Hh-4j7j(prid_BX6*eL9>X(rjE*0K|0#*&Iij5Tbs zJTKWWv#%i@+wnpr27J?k-Bi3dCRT&=g=lF{szgJp`6Qb?l4aZRCs7)QKr;r{!UCF7 z%T|?>$Be{h* zRYTQNhl|B4Ts!F8K1=4Q{yDdoEz1S%m^{6>NKoUmH$67*XL~2iI;&<<=DG}$yBMoC zJW!&L+COE;Q``GYWFI|&{GKZ1E3~QV0#hYLV5; zCn)wv_VJ^1z(4lYI=7i)Do7|An&-%C)xhpimw#P=s%^6~Rn+9;zj({-GV7;D`hdt$ zkv*g9pW*W!V6r+=?dg^S#||CVG6@P`=N{uXHHkei?~ZGBw(Z4@ok7>YK?KzUJ9BF8 z+9gGEXut#KC8Zhn@3w-HH0+DdCU7taf2;wM zE974(ks$zJ`6Clj(gCC~VR&TKKk46OBu7m^U=$0&Y8DihPSLGoQXorL!?D+9#8@nO zWg+IQ%$R@qdP|t)=HAub%FDraE#RM@E;5m_h=P)M?pym7g6|uPC9IEfGG_BmxbR7U zxC?>Tef55`%j4J$%LJITXtiP~B5Le=5j;B6c5>;pcx_g7bF~*SR**dbSd)L6{d_h(a*i$QT6bEfw}~?* zTI0?U7P#XprCX{ohR+(lu_By7zMluHN|}RAu8U}qBTxr_3zrCPOZ`v<-K%3E*&_TD zbzO|zK!N^g(SYQ1$Fprsc5Bu8YAv(2Wb2Y$Vt)GOV8!O)UDwSkUZ2NB`FzvLB+GPe zyeE@;{NEkFQi~eE4NRkb6X|MMa`zPB>|@dnOnA4K7+VLnBEcw$P0;eFZOXxd+O zvH?Jy6T`dr24(`_O`&Ya9-j%0`C2rGp=kgVoigkLmr;Q?Mim6sH zFW5y@@P7WU+V%RueeMhrdy=+NtFlFh&M?h$*Y4fdl zV_9ao=0RylO2xHeWxma0-jbC-{_;bafBJ@P;Ja~~_s88w*IeB+2TpIChEpe*^hR9g z2+~}Na*w}V2JzJGBF86k9p0(T1~X6}jvZJxC#zwaIIdXx;WZ_Eqnht@JJLLEJi~ka zXa|+$ac3$t??vC|xre^iR#ChtkFirGb8amBIXn zeRmD%b9Z@g9>H38GfpMdfo-4Fg1><4<`wyB@n!3s8$r{!U-?%QV|!ySz=^}QY@d%w zEG4Q%OXLAHZ#F@$bkzkuPZ*Eg>DEJ-DdV1!7$N{9!XI@Xszo$S{KRM+syjAJgJQEZ zb{}!T#?>jkI6%9@rmi&AB=V6|yBSr@fQQUP;r$6H0rm#3NdWG!A!9dvEC|dcMMZ#Z-zf z>(-uy%s z=*76zKuGKMo1>bZga;lRlIz5IjtybhNI(XmkXHqA9`00Roqz1)`1{raHraDLdgV_r zP?c|+B)V#}iaI_p83;TU&xd?AvF$rp;0Pxh> zU<|Ig8qJ0UnLOC?)Pmp^Tz+~}uA&;zm#v|sU4?QSgY&WJQ#N;#QmHb{wtI~>gBk)) zm*)*+wBF=!LN1iWmMY?`#@#y38_p5&N73H!Edbd_0p@)BOY?a47r%(!)Yae4Ay~rTSB(BmX1Nd6Z9gp9_k&0L zkv1>|>6L-{vSSB(`6zXdE4qfSVbaz27iF7$oKtmeVq5dhQJ;#ZE`5;E0@_fSmF_ei)Wd*_Hxo5bDAzAEe zBJ{mSxN_n%XB&e$2Cs|pN3})on_r zAY~L823QT4qhue2XxvhqsI935-Sn*LPOiDxd>!FGwHd!2lZiF)S_pa7ETDKT0Zo6< z7YJXwCFO(^EtDLAfTYoCLb=Z2GnhSm5>_1Fe_G>U0p>iEmf-{9shW2gkhNxeXwzkC z;M>GK-=xXALKq9aZP1d!Bj^-y?G#oX)a2c37`8x}VXpEu^ij1K?$XVUYHCBdb-;)= z-D1L;Rx5|bA~fIQQyNLw)Ayi`!tE4C06KuzD8(nMBFBz6LV{(PAwr=QJp9BFdZDm{ zrhh>2jg~;KAaB5@M*4H=5q#^EekRCTW4t~y-BM<67ebqW&()frV+AROA-_&CMd9(i zIO|6a;UJd{S3$jyDgWYX334bE4u%}Lr5o^tNo;%8ms#!&2q>NaawUe*{3vw*TzmG6 zC=X<>kerW0bJ5E(z?hPq2nyQw7X>41g>CNIvwqSUSeOba;MVWWb}8eQ_6JPKP@y-+ zxl66G0g?&A9}zEPiem9jEuzo)*WzhHN+GG8w6e*~(iQ0yx+Qv+!RP~!z>4`OmFDJB z16jkRayW}rrE)ZjB&EWKXRrv<8O}>8xWO2vwOnlvBmhSO&192uUY)?HB$4WirmH3L z+^dcT=*{QJGG%qik2DiFHAn-FdQjznlV)MlRd(<}w%u)AD-vFjvJ{4$$7Ta%SkmW3 zFm7EpuaW}i?R-)_Kgz@)bV~PnzKEjeRK%(UP41Q9m*u-%aE$%9qZ?rAd+JD4pT{vn zD9qwYvb4z}U_O8x1)_Wx6h>7VlqywucX9D`>y+zcC9wNI(!q?Yx{N8b2cgH$P0#C6 z|6;W*iRgiyjC3?0u7<<2ZxqKT{ZkiFROTZM*~`Igh>M6A^Vis3?nr|DUQzzhya+`( zReaLZ;n6mHLl0!}qPLjovB$+(g+}|tc#7Mv5mz#KgwC_>l8AVTo^BPWf@ZX3`&LP^ z?ECh@#wm9h8Hh6V+%LwAQZto>WaT(wWQSio9aJTm68VEk7<_?XDuTFEEu^N9dwg{} z3cb0O6~XtYB`zijnVYAdQHbwl?{xE(ND%IgUVwQ1aTfO@LOlMO2c0Bo8JW1YKqxYW ztdAHj+Shy}G^z+qeh4$TVBzrY3Dqyr-Y|rS!NM-x`BvPh+;}J<*ZPbP(rvb9_kEKO zFa$<(FIqrF4bWcuZyjooi3md=gcyE3KCNEI zF_LPcVxJHr!P5KPBhV8lpShS%vGY9cE?ysd3E4UN2Z`q=fqAKry5w*jGN13m;s`4Z&@?bJ+72 z6~15w!yI@0lCghl^&Fa0FlT7dvQW}nTXt3{}s1PhvEG965 z6YX%a)mOFGtbCLTM!4ZzIhI&;X+iGZrdfo$6DK&d9K&w|hvr4!h3tnKTHBg0rFmnp zkA75_&3>1K7egRSG`{@A_q@&g_wo!BaGR-TZ*28vS;mdisr?D~Yz>$b!v9Uf@Jv|| zJ1+Tw38nwJ3cS-Pk;l$lVeZ^P2yki#py|QgDMBDzE;hn$V4tM+#16hoYyW+&F zATH`S^U1Hu^88s`Y$8Rk`QDQHv3JWbfH{|Kta78w|~bw{LNW1sJz029#KR)AXzE&^R{-E z9bL+Rwk%O7dG_cH|Mc{3Z%@pmR{gN}8-McLgD0|A10S{$-}AERiQAvimpT9cSpMf2 z_TS(fv|6-31j5(~gcA>V1*X_P$)4+Ce3yi;y&WvKU^G4i2Aw zFYD*ZnCNsETGmmd8=lu^x9qj`B;~F!Otj}MvqYFpMOY&y7$iOm*;FTa?HtK;b~rHm z<3#&c_d)Tgrh_Rk?L`D0S3g&5wS)jRj>a~Qddlx@jU9BJQ{RgCVOcO{jKJ>{oqhRQ zEK0Tp;RgB}#wBE5z-O+ySuYYZeNV13srA7Ge8STt-W=U@J>7R8h|*eyk_*qQ&X((4 zs)Ne97Oa$;5XB{(Wnw1#EA_fSvuT0XPM+LaFlj({`<4>Sl}k`_+eX%c(pH~=z8IDE zs3)0Z8goIhXE5moxOH$bbV#i$rf4Fvzu@jsrjw@0RJ(B7B=Z$e<+j0UEKdzV2~Q-6 zQR;Nu_g1ul#Z=j0TiEmFF!DRi^LN^D?ruDe$PLjHV8&wZfRkcxKC^$}!7m$F+NBb? za4}ty$d3mvg{nN!Sk9l|Lq<%2$d~zKBt^7gf6b8Bcx(6tEUqbu1sN|`aIi8h0 zkAJkj{I2iM=9g#UpZX~O$@ZUCm_H%<0qs{U>by%joB(il5`z!+@V2{;kF0cgz25vUukG>9w@~;{DZf XAuk2_ygdN+Dxrcv1L=53p6~t-vAX!0 literal 0 HcmV?d00001 diff --git a/function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextEditable.xlsx b/function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextEditable.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..4bcdceb22ac56e7a62ace63d8ac442f42163198b GIT binary patch literal 9526 zcmeHtg)paTE^YJe!8|A;LD0Dz1F0005#h%d$M zY@JMOo%Ge*>`frL9IiIj53-RFnKA*0@caL_{1^8?iCVvHCl_9e=9Y*=t43&6NKp|w zMH9tKx=pks*Vq?yb?anIS6+;!%IcNq9rVi9BQF__gh@;18MMTnu3B?kXerVeVCF}b zIvzg0e*R95GO=`sN8lb{XF0-iF+^o#Qt3g+u3ZYczh(C*DCahFythoS5 zZw-tSX6ja&lL?B0o?4V36xi^9uy}(p@G7|pzdtbZMdhSjXc}nXxz{!C>S?eoMcS0U zT2}X3|4PVzEIL9xQ*o-wrO|RN3iBu#a%~qi}|C<4S7cd1A+wdqmZcU(CtByn0EjykZv@R`CAwtB}64sfB1fFO z?>u!fb($?0tzeM|N;!vUzZ-hgW90T~CBAEDbvY+-xd96jGA7uzr zVye5P!4>s#*>NqAVy|$WuAT3)FZ;}f78OPrj)F99 z`me0pk0estfY+Yv3Tb^RG+=@sJR?%Q^qD6<+BM+A!F0E7K8&v7zJq@Ma8SV_e8&1G zN&KF~Cmz9jqzO(EasWDlt2O8EJaMsev@)`@v-&xk{mB^w_>=}m`R`szRODs5;U*pP zCWOl+)tLx?&WV#|M|~R?y}yPT#z4*MeY|v^rAhb2v@9o*U9j8!aIf>(L!1>P;7JE- zK^OtDJJ5Px2*qyrXc!6IXt$KgUkU|Cu(P#Yyo-sG0s%HYiS1*{Amrcp!9-6Ml9NXx zaoji_47U8l^_s^LGD<&Da@wpw~gYkQ`C39 zY&XEz<|H-ij}FOG^zY4Art)r|tU7Wou+}MxWvPlDKK2ZDdJxhl1@d8zg{)^Me^B3F zb`rZBU~YqbXB#};H(l%RomzsA^gmT*r~86(8LkFUBme*xeg|A-{;Dh`aq>~~TzJ9z z2^S!?rGPlRDqr+sm4Yxe_2RdC8Iioy#5YiDGX(YP{d78+4^w)lqj9@rm&s=*v&EOi z8f#=}iPMDOlD>hExYzBu>YLb#imqJ=egnyC1Uo%oTX;!YSCs2pN>qvpM1>;t zAPt<=T3c7rj*P8bGePZuUq@(J{wQI)EG%2X0p$E1ONkiV`@W@J1Yzb;ss_stgVx)R z@ujylD;@aVsP?!DPaqCm?D6qRhZ;dhbtY`kL*ekaTp?KPfpTZhZI6?zqgQNRO``uw zKtoHC{>4EYo4D>MSROKjTRHMT@%2;Z6tilaVZDmWGUG^Zx;&T577vVqil|*7@%V=K z-J!6=7XC+6KphOH8SLwi!n$-5WvDt`B%q6!8U^BGv)CTc-ijn~&xdbp0~_Js6tfBN zMUu_L!j5hIf{kh0jUDHqBwO$PXkkesCR%R~naCJl!K2T{c4*=SB%G#d!yi?*|6Lmd z?x~#k!L?x-4FDkgT^k_ghK?q$RGl0xY|S7)?MHLMl4SrF;m3V6548U4i1{*~U~TQM zPiN;l37r`W^K701&EDjA`Bl!$on)BpJbZgICn;+;EyjVh=DBuBk9Ph>=tV-%;WMj# zN5puj37F8yJbJT4gl`iL|&|H){I4EUhDT!*xHSTHi1Q0 znB)5)NnHXZn7f~ex@zno{d*YFM9jthDcGtX!X|}|EDQB; z*ixrI>exdarx;(gH>vD?p~3T9dJ>3hnBMIvzDH|Jy5yH>+SA{Zm<2P*2yGagw$(Y`m*+s{5Pyiqk^}_Y{7w#}o;; z+BbZ?)7=hW2kjL8l<)0h@o1k++yK@hL7#>UdmZQVY*MdRm7STcV3fu9ySM-97zx?% z$acVoN(?@1w7&=pF*h-Bg8X6re>>s+kMR$T>Im!PB9uHsx)FEvh?@?=5?AG;X;A-) zWOOl)3QLSWBfR#grZ8z=U$-Awf0TMDTzKCUCx&gZ2{CBRn8du|z+;}hO|+7K>oXw+ zyKuDO1V?KMl7fOvXm9ijBFxGlWx8w9F7NKS$~PE=(N8w!q(j}f`p?7fkCqf!+I-hX ztKn3r-Dg|#(hLxMtfFG}7OKxu(!gD2U~1^Og+zxx`AZo8ajSb5nJ_1F6B`rG-?qQK_Kw!e@cVp(-kirGSVwz5 z9<2@%*j4m8kDKygXfe`9Rk3@-PelwpUyQ`?ixy50%Zh&6Oemv&p(KNZ4X(kx=3I!4 z&J)R&N~x669-O0Fh_89&qGbwx_vT4DE}|YAR7O2U=Mq}XWp71KUF1nXg>Sd ze5Ss60}crj743l0XGfBx4`1sb5R^u|~`E>t?rWY2O>wXYaHsk}4?J zsKcZK%HUCjVy&h&d+4o2^TQtv?0|!3(>VG$i4y04eOZvu0Rg0KD}CM2vs*1$lc1h$ zB(7Vkr+@wGr0U-4b(ke@GLB}Xd&d6MJnQAXr#*sYn)_4kwF!?=p61{mgV(cR$3nvj zGb0t`OkOp!d($7Ls{CelG-vqhz0R$^5HZ#6mo8sk1Deg@$32(C?@4mF!jMXnj9b7DX0DQ*zVp)D^dxkankOF0{Vt`|=JFv${wM=r8LG}U= z{WJ_Yl(I5u8G~Gu2Mro)D3(UagH3&C%4A9rCYzwrrWSPjeMVJrfYuz7wzO^yMec`o z%-ZUKvY2W1x;K`FF8251{^8?A_}46i92WOb$}4c<-)Nn z{*@&>Gl2NUHK|!IQWOeRMhY^388tDAA-P)k6=2VFW*0=ocDj=vNSQ1yJpZ{5qzS*=OqLOH(A|i55Eg%+W3;!bv9z6M9Ujx^et53Gy<1 z5aU=A^FmUI)MM7=8x2oP=!45gsX|b0$~luuQD}B@0&l1|f1B!jic%jtXH8r2!)ePPf&ze^&NME<4<-=U&hB1&fSoo_^G8(P` zX*yf*h7J7mHDII6BXWw3yv7vM*F`UO!w>gVh#S7b7oh8{31OwS1CaOXH_fm+1n*(3cEOYq;;l1PT+l&(;!r`*uu3_+;wdwx;^^ za7PtGs(8a$=V2Ca?$H{HKjG1~$+vdyW&0~tg%$w@`;10{D&gBV@^Z;LTWDb{A>)n` zX4C_wgt|kj4FqFElqYrH{Z8MWkWn=4buOzZRNT5wKXxm6n=v85`;He|J*GNOS8i#M zuDo)9Q8_@JWx*2G4k@+bsKp_e5|mBj+HUO(%v2t{&s!kC!P3@5Z z^fSR6Ietc(o0#_AZtT*je;9~R2D?r3ph&N9^Z+&`20JTW&(P<1EtDX{RSD%{x%{>u z3&P3Xr1{{dylz#`HTJz^cL*venP;mN7S_-d#H?vu&xPdHwjziu@zuF>+)g7kT{}z5 z<_uG>eu4=cpq)QjigIGxcK=7D>Ft|s3Z{ygGE}|N8K%hrQKbV*dg-o5jkSa6gL{jOZlp?#;aB5tBqa zid?Jb@WQL2j0-6|B#mE=K5k%K$-1w$5`9Q|+u?e5@FeQpN7ml7DjTbl$gG%r$SPr& zNyMA1Lzkpvfks@&q>`4gdWX3AT;#{7a9%knqGELVP}tQ%gii#SF0;Ft3gzvFswh=_ zrLMA4{Br~2*W2MX7*oK58W<1Q`^=T(p50>+QXTsgUx$WRmH>^db?`uK z9{(%486^eD@Y-`rt8Z{hiA(Ke5Ls*2&Jzn_ zYI7Z0qqabaCX?_PTdW(r(jKbzH@@Fj4NC==mPJ6o7Bn;N^H)Y?YFgg2M6!T7?(bZ zw_w@BL*%M<=Pb42nKTW4n7yCv+ey}c82l}K!7%W2dxkFOJ`Vk6^WrFL;e9Cj?u^+6 ziaQV(FnLkpUl&qds|*$cDH4~P4#suY=kFO=MoH0Cm~|LgpslXOtsQmL8!qLZx^xnW6B^FC96f zEiHnCQIr6y0Zox&v24}t`k<`Epp2O@B22GXFDr{k!hhE%*4~{y?Yi9Z3QmrHQfCJf zf=Y=D0PGR~0Hpu$h=2LQX-P|Q+5C9DOXXWPXklk4tNd+j4py4Z+Z)S8Wwv|H?`S3D zvGF*%9X4(*c72(gkaC)ty6s#pCNT28^?a=dJLm;*wQ)fJvaF7YL07L)lr&{w)TaCV^r}Z;LvoirlEWd< z@w#e6M3QB=qeq)zyg5-pmoaif5hiERs^EJWIqa%-$zcb*RC}gPWN9pH|5ejZWkc$A z3{7!RlFhF@Z(+;`*q}dqb>GAOdOcfi6qgxCa&?~D^O}tSpA5fCu<_0Ct#%;^tEYb! zMgyCS-|K!_TKygwI_WRLs?j933DvV!Nu46YW6fn>FZIgi^yfo+g7<+(^@3N_YtCi{ zE6IE;>t=XwJ@I3m^-r{z!*YRYY!K-*?Mm}S$Y#M0ZRQ6Ej3`#D8fx4& ztYSqC7ObtWfAFKNAT476X&R{}$Wd&8D>#NKJ?x#iVIG0fM7;2I0#c@(RN+?ETl1_d zNzISDa0S6o1?6LI*b}+ggBfG(97DOH_9V4KC|4n(u}aVJm355-Aq+Z>rxDz;EzMt6OZkkgI&wm8Rw= zQ0SjUOPl+9dz3Lh9GFqvK%vM0O7lk}7RwgCq<<|r13P6sJ!!3YXEejksKG3bH0N$Z zEOeTt;e~;kn7Pmv!y3bmy|}s1y_^i*;K-r~nPS}O)7ANcF3hee<&fY}=SeBAnw)!d zrw&1r)YMk8EnGTuuN$aqC{0vAy9I)wUOG&#pQE#%blR6rE(ee5>9JQTud7&?xKw$a zRCDs__xFWG1P;e&^nZLd#q(ZW2-;Ls(4~zpKTBbOHpT{i;78IrIfZs50CauTbMXAP z))GVx-0UY_Bcfkoh-yfS0^U!<0a&0#LP{;)HiXPCNy$X{403pkg|H89%@-k?p|338 zR~hg3+4`l~^}N%uGtuA=osG9aFql@~HdyJXRc^E)o~3HnCfh`qbP?Lb!k85W;!=%8 zs^ql_TzC+qGto$jY8|u2koZ$fr4P&VfC|mx%Y?JFHlvw@|tE3SI{M zr%9m>|8^z;53rTtAviufvHHr+Sjo}O9>QsC=VLTMB4 z_ejmXTqT~zQ9I3jz_09y*}tG+JsvIb!OLU9xtJ0QwEvi~&0~*#ZY#5B6Rm{RDxEe3 zkI;{}mhFT?$}aVF^V66k9a+68az`iR5RIN)c?K+CZ4k-J`xULoBq*`Ya!C}sEqqwU zjHj6mvi{;|4liH!croqb+~;WhfnzVzN5Oia<2d4g88Q4+f-#p6Y1|W5g!J4m3lU{r zNDdfw+e}sBs0nf!=qr@*0UPG4e&&7|rbqD^O%vy1o<*$bcn|tH^Np*w`>sZ$?82f9 zfQ5%SsiNJ>CLAj&+`b`9=$68^nO$@d6yW`yQIe!S#5Y0=Fx~r@bw4hocbJ@rIjcHp z$e0HT|R}D*Fp}KAH>!uf0JR z?n%OX_A`8C{CzgFhv(v)OdM5BoSc3pR-iu7LWeR?(p`6R=K3f5hcGol! zBxaHI?`*{mTgKxYqZex!ByHy=#!@sNX)dDiT5;UgUP;1&x{s;spn!;&S#l& z!L|+MEIG^L+n1;m-zS7cRx2d!>Ejs~+yDOU$DiZ(=l);51W}UxJHX$o(tis6+~>nd@|PO*UBSOs z>i#M?1SjAByKZ+E=WhAt7t$^K^OifsoV&tzv;Dt>u`z!W{zvZrF2dd9^Dl&UtpEJ| z|1TAN7w~Q__ZMI%JPL-t&)v-KU4XlB^DlrzctHaW0QpZ8eOL5u-0(|uoaFAy{E8y( zqWs-e_=N!g&{F^a|8N}cir+Q&zW_3+etU>J#{OT8|6S0(TkcF$)4R-}ccQ@W9^MUYgwyHi5xrKD3zxhIads#M0-)iR0}NvH#cxO%6}o zfoEF~DmVn!W)bkEc?a*90t|uQKsz|r79`#$zDmN5nHCa?%~}AYdYBT&SBRWoBKl)) zOSxLlokmeyltHl$JG(k72r}2-}MRqp7j0r9GI7 z^XL43^!zX8*RJV8mNn;SD^@9A}D|Jlr99IhnDL*i)*t)|~=`Oi3Y(FF|Tiyh1q zxSC{v2y(C5{H_O~i(=86{j{em{N<7OKvDX74@gMrrOOKxHYV2;S(ozV9z6G%lbO?W zIR#G^_qJHJvc}>((7+PC?9_pDHSQRv4jCH3JBkpZN9q20AC+{!n4MR^%}8qOKtie- z1amhN$1-2drWF3b5)Ttr+@4G)><61YpRe%gx2HY1Ak)&Y7PhG}%W)N<^E9@w|8OLo z*+FpQ^FTSPU!9I0|D1PBu8%SIJA19?A z!A7JRMiMdrD%?wZuHSj$;pA#(=Hz7e)0_Rt8910rgQ5I)Pvz=LpdOe>$G8pU_Q-T6 z#G7~HqTANm!a*IVWrZ@)^7$Pvk+U@$KKlgXLU0Q4+#Bh0KYNJ1fgBEa9?+$!6_z|H^@G(Aq}=g0vHeLH7iBn>Snq?0~wnhfE$ z9p!$(YYQHy9E9o2Q0?05%OH(yNI-2v15F02)%snN6!aANO@Jr$#1Sc)ycm`zU}9sM zmi@d_<`ng?_1a3wbJVW0;1YA4q6|b;`tXrYh#O64zZ~@|)&%f+etL`6-m;tI)gWsJ z^pIodc+YBWpl@ag_N4!*GTS|ul*=$R2txn>a9~HkROYYBQl6+3yTFYbvX^{G&9M}i zh+Fd-wM@M@LQ|_OWj809kCx~*%>Fr?*3DivgF?%U(dl^N4(V0;*~whlRhjl0X;$hd zAb)yK(rdi>q;Hzz)S)U9S@_hAtW7n@=w1jad$W5>5YA88v7d6#;G?*#DJ9=q3`dgj zpAkS`cPd(De}hZi?eSTCo!X9!s#nb)11@ahccbB0)F-Jgeft_h2tg)54nycg7(A=9 zzkWKk@<3>0vB`nX^hID;fhO-~FBV2Ujx%O+N^!PYUnMJg(xS?7J@n^okS;_ud)$jb zC;ayeq#Ttx$(s8@2BOPKN6A|i5&6BQ?ncE(YD40h>$kd&l)pdE}*Z^;pMAQqYURuo#duh!Lj*Xssy^-USikm2at8!stu!a(WkB^93#EEf1|?t~&$Ow47aIr33s>)*BEgJ}e? z3#JW0m;eCqcWnS$o4Q(BXt=rBI6epev>&ahBaT_zxP35{!0taYA+NWoHw#ynE=XQr z*bJD?i9<-_z@G!+%IOYb zf?IBvl>8JFcajsc{y4^BPv>cIcbqCYZJt1vN6_~div4uctzvk+L5e5jdQTJ*&8@k< zq*AyoIzaX zl+qBSYt;IVV0O8H3{8zY1KxPQr?C96zV1A>E|7U8Rzhxt9nUe{3?IB^PHbJZ@4fJ# zL!w$}^D_|bfmodB6lZ$|g0iwgcwgKzLX7HQHHI6KZoi)S>KL?=xX0h-<-2QDJX z$IDA?9S)6AYPpo__Bhsjbpk~msq5Zu$M{l0rtA+x)lN-qzKRBo_qw zaUF|e9_^kBtPbHjRrR?~S_z`*GBd{3Jn&AMi5h}uWCIXMHdaH*8{(UMl0dLnRwThqb?N0a7o*(k7 z-P4+As^Ac_PRq_PChr;~dri%`13z85^8gfn7i?UIrt!~dl-T{sYddPOR9_GY~5k{=;GDZo4C zU(bggi;gJIj#ZJd_}0$terlPi@t@t+nH6gAy|DXA$WpflS-!dfv|7W~d#{MzOtbqx z|G7H*Y5zpMWorhj6+Sqr=gMv)!MF^0=t~6+fh^avWu>L9S@!e;3Z(g}LC*P}pk6bL z3YiTi&?O-5Nd#gzWp&yz8kqzyN?3xaWELea7VUu*ixou#C|SKjGx+XsRzqcw-Wr1* zQon|zc&-<}wz{t-X_de3hpBCdb$C3GSl}HSyL;o~c6U3`M*Y4%nYG{x5>VyDi>v)= zrLuBQq)3 zK3q7r2j{ZXcecpfK%(21X{|=l5@BI#2*D;$vu0*VgqJq{#aOeQg&390xx4~jFD{e< zw~W$;k*aHbc%m@Ba+=q6J{)W3O9WEJ3JHdspZOJuzL!TJZg*viMH2TYQ&*Ej7B-!BDrW!q)3>dYNca*4L;?Z0 zw%vj)v)R}M^+p~C{^3EU{>8!90FCbG?-K^O{Z_88=}JX?P{PM$U7g~i+zetd!j6F& z-;O_~f%UV8(2jL5E@f0nyyrZA(DBBH(_9H;iiYt}&Rbqdgyp9v^My-MUg0f;0%b-C zne6ustzvL5uw9-Ud~`Nuo5WI`%ZcUidG#{g3-tCL$E7e{MnE{w$g-zV~cOrd)bfc^X{Ed zqhR#zXR58;GYi?>t^B)Ec?+7w+3U9Sf*8v@P$rT_ zn*dEpX44e{x~?|d5fgu7ZRj}bn4(G(pE<>+o6=`Hkq10b+cWN1_j#ek%9J5jr;G>` zIXW(`i!#?ayD*?(*>~@%WY4;??9#TwgxBR)A`G=374fw&!Y^xZ^Y?l2OP?2Y<=dD} z#C=Q6)01^sN6)Q~Kw?w$27*NW5-haJV=NeD!wq z5p1E8uF}tG2d#jH!y1kF6NHo}^@skaDJP^9&AVO8n#xsoFF!rjXP|94GiLWM@pr??!K zli)Q?0h6%L`153VIa!{Pdb>LbOQ!)5)IbHS4xRl{qmuD`=!_)vtZY5UnDd2bvM6_T z7&qJ1k3|qQcK!xki@(~sT?6;TVfoH*n2b!Jqi#e*V{FAwUu4ZzNwy;HEb0XH4Yvr0lsY#pOIjhPSuUAVFQxtC$G{*+;(gi zam*(&ZN{#&U@t7a=6wEbL~K+@tX%kgMObMu5bqG%zydFRFe-vh(uoV-JEB~{Jl>QE zDSSLdbA#LOg0B2HCI09k?E*Zinv6B%g|J5!n;}6=8GM*qub@ z#TS8Bff1HbF?k0bY3agEIN)hjU30BYDeL*@kFk+_igJWysEpyz>&2*7QKW{fUeDDj z@4jhBP$g9xs`+Y&bNA4;5-TM=H8Fp&73qLBL$F^9<>mJ~dr6G$^hlh8cwq0C!?)P3?5If#!tB{BJd-<=sNCyr=enc*s2AyurG8B+wGj6ng8D}pc z4@2FVef|x}i+~_-`m#KrKD4q7~2k7&A6SlQtjn#eVii4O{ONDyl|{>n#Qify@4+)vZD;fs8sf+ zbChNMvk`MTvZ9EYCGasDQB)|tRIGa5>{qmzRIoBfMHrPC<>e7d2kg8`aQ0%%x~a6i zhLPi+)ZvP5_RU2E0Jcd00ND4>ocNE3_*X2Pl@4`X5rQSh4Yo_2>sQtBw9M#f8R2|& zO>?D?5vqz{yxa%}Ps{l3$2YYWG+Q3;-e)Z~Qfo0r;9%+6~A zTVpgC70$=>egu#=PG>e&)P7|r)?9PpB{S?pO0}G`NZSOv7N6)@(P_}B{a`cdxB<7te z)wUy$Xl_hrv22grGwZKSgD~LE)u8B=e_s|9@O{c;+M3n`e?#AEck{#7m1 z?Y}Rd3pD$m+v|{PT|<37p2jOF*2MbH&VIWiAmS0VmK%RbjaYe=yOmiiYEgsZKie&| zn$pyZl~SfVh-Exn>xE^~0&i^S(sD5mlm#Q%mW&c|s92e|&(jd2Tb3R)|d1kv_hS5Kx@kPc>i2byO_<0Fw#jE`c{!mmz2R z9Qy0u&T*_9b+m7=gGaY$vjmDW6WO?#wYc3B-)RO2m*htuS)mqTZGL-;J}gg&NnQW@ zpHqH1#@E?qfz84t@L+W$DPvOBWE165l2;7E!VY^O&ahJ|mww37?8KE(U`$J7TM!}@ z+Js~3lzoxd+*5=fwHeQlHdD}9MJ3O^!wr&dLlwY?Qb2|D5iV11%O~cF;ZP~D@6y=y z6f?`mRbT8*(danuP31PfdyEBl`tof`O9~dRJZI^1!80g>N=ne2QAS8bWgmOpGBz)$ zeCdHFgN5i62bzFl4*%M>lV^nj3lcfuCz(vKLE~N&IQ2?7{6VKat3AlV%)~SAldswm znK7gYq2kOX6pL zV%@)xne*jtLBKb5fbm1VtHy0G3+SX_f zQgEJnz6qMwlIUg6d$V@OEtEy90NQxeGI}Rgo+OX~LReK|999>vFfbN=e5+i2{;yf? zaTjvB6fDPAgB6GIV8vkzCv#O-CucC1xs$8qA8pS6)r4W@-X}o~)XfbHUP8K)8t~4v z&@aMpKwloova@{DN5^BVg zNWB!V)PjZ)wsyJrBLk4p44JDNVrWY5juI0lL0vGhK6zC;A~8~eyJ8x}PMaX6IrC|5 zBPc)$#YJDg*Oz4no1C-#9D6?~PFVYE(^}3d5lNVo#n_9@u1z08`dxl@yqKSMK3@G|j^!=C zV`C*-!SdwR6*9%)l$iKxm5eiE60@mOKXRXL6vmf<JK;-+}stbO(Dw=UzYRzVQ8q#V=tjjNgR+(Z0BkaKHTh3jq$6Hve(@ zKSKZCN8?ul@LMbOKH&Xo@-ILH?B4+I*Ou=C+|S&90nEXAGO#Q9mB-%~y`Q=K5+#5o zGJn6BU$=1|<^BZ;0PMg( c|8q@$*l|@5(oY8fz=VC6U~1e(_jBw20Ba$%lmGw# literal 0 HcmV?d00001 diff --git a/function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextImageSpanAlt.xlsx b/function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextImageSpanAlt.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..5b423bfcbb36c9ed394988d5ffefab2d33853d2d GIT binary patch literal 8745 zcmeHtg;!k3_I2a#jawSmV2zXDA-HRB4-QQrxCLk|5Zr?#xCeK4f(L0_5)wRE@UJs7 z?>94<`Tm0UZm)Ig_PTY>?OU~X)j9jLnj#W15P%9m2LJ#dfcZg|tuX=s5Qhu^5CPB; zpGiAAxm!88n`n8tSV4>)zI1eWkcW)Ok^?}5_y6DVUpxY3i6bgK-1xE=Pj95RI2D#^ zB+&Wyg9ixN)E{^DCiItBJj;Im{60J48eb}x*iNvTaD2&!_jt^<#>ufh7~0>WfgKez z*r{zyDah3~u*cXzN*?cKpnsSHq?F(xH!+E^&H$vkHuPwKW!5DX$|!7!NgfAoW-Sir z5Uln$VV4*b2@k@$)>L#>2!w`X=f$~dubusx2l*=8=RQOsHAxLro zZT>gIuw}8BZ-b!o4RBc$AyAaQ-m^R`<;wL18XJ>a@)Osx^o+SZQx6jd&1ZZnIF~JLmv9yQI+8v=x3{WuEOOLg!^->Cky1lhHwR>&vN< zIjBJgCj7xWE;qoKa~5Dw3qBsn^6C}D=qVjM8VZi0En0!^Q2!)J(Bs6E6ZnWU!%0E` zKu37#!1X&%Je}R_&7Ga?f9_uY;S2(N3xj+4?>@>jloflq@!PQO!nr*&JctPv+_~uX zw0H5)hiX}2Odvl0(^X2gW+S~%id;y}VP1!010EOrxEn}BXI<il zOi&NQF*8!T6?pYZbFVzOwxQucI;-{eeUmio9QAFm7wzN;IflF#ju&8ZX9mRnqf7Q2 z{d?<;wX)Yo`>y;e>}{%2MVb=+N4{b155foKXaiW|A=`OrE!v0c?o!votR1lL93!WP z)>}gZv#ao#{wHMidatP0;V^(A0RVXL9&pI~6)a^5%CU>w_+f`hSF{|fAqn_3f#{_g zMUh(CrO5}`F?=ABJE(&Vg7)oU7K1{|tnv9o!an(R+Qr#?>2;~j7I|jMCm=YjH!+Z) zKJl~G1Z}wLWF{ePBWqI)DyBD*>fzksYWc%YS+Sq8F%YAz(fn7>g zS)UP74tjkz15?^j(G9A>uOS6ZVD|?c%g@N_OWp;R6PKeBp+b@RkcKbn9B!UYZ*U5Y zEjKyRnY{>s=4ZwG`YBt}lNVM_7+~78m3JenJK$dqI}?6jAm^ym zP0~6NG8A1`K1tfGh|H65rS*7^twsVKc;D73jxZ;Xp~E)Hq@UcMSbkr-(M8aU>Vl{8 z7~3b1xjIVVkT#kC zD?>){s>dIwzL4-pxA}lOW?Xe$VG-lcP~dsp=7UjG6}vAgo!I!kHv*Q@CL};ZWQgHD zhjZI6X2dXEfoj-8N_+LDR)yr$CccmMU_+LqujMPp@aHISy3I8BD%Ej%dC#d~+0nY= z&YA02mSf;>qPVOH3vHl}TzpcnNMOmr8BMx~l*?LctY35Y-_bx^-o2y_M?(V~4Zz>g z0I@Z5v$E85cYE$+1Npgrv?h!z^hn_M9|j-dpF0V18py^clI0;gaDow>&6Eq2ABeVC zGf%Y#{t(IbqdDeZx)Uxs)yfSwO1(^76};~9&VTQaNouQHK4Ej4JwnwfmBjzhH~D>o zjqWH9LlrPa>SzHIn-ZmvIh$u|ULX9p6ne`4rJzUxb6S&Pf(C#fJAPpU5Cf zL6i>VUfUyjE5ea+tC4Gomn`)S)!WFCopX`XQ1^UWi*))^8vDCDwKl6{@ z2N@ZoQ)oR zx)OsC6epG>l^d7b3REz;Qd2;}0oUT)axKTl6^Q4_rB}-tj4UuLC)Qee>RW@~zJ8nq zIsNK!zElnsK@(bk)yLW3Td*Y}L{rTZQOJ3*m}6qwh)c>sLqBZ3@}*wCB=%)WC_Q*P&Ezi=O4l4R*#lS-Y|xAqb&zs8&d20yH0ETdl!18%aP{z1z!z z_#uUvh`0MAt*XD@-G0yNp+9QC!Ff##O=y^TmsJ;($)^UzK}&1?*k7OSM=%=L6&K&J zX<{jr8uy5ET?FWgKx^P6f7{r%|3S7kNjuM6+Nj*v1}(teGY zrS7nN{rVQrY74*ayC!)%!yaVw^K$Of(V0fe?kr9#VrXLTwf#=KNh#{cO2q@BCtP~# z%B#C`>}khTC<|4?4;Ol0^_go{$nG#HUIF4HB9SAgt5er8C?t8&pz&r>nbf>Epkr$m zYpO`aB#jQO(EIOmnySO}wpjG#^;;-PKMdY%Z62vhS?6v0W9t~Pc4jUPjj)mxo z-F}<=Fc6#l_~z#F0*~Vp41?m^5kdsF=fidBFKkgcAtZM%Q(KK=B%x4sq)=0sc{8&V z(#z*TML2U^1z45LIlKaEmzT;RyT+-bDAl#TJki)|4=rkY2uqP34%dV6@ID{Uti0r% zbJZmfsj8#SnMZeVevIVBD3Blt#Yxv?i9|`?Aj6XLx40&I=It4R-&5IQnaKT-sk=!s z6PHdW1$%Jf>ATh`6hcWu5`kcRyB@)oxh&lLdSlPypomvyK}DfA0L`A5FO!BjgVt_= zbS0v`Xb}@n+??M;yBo%0K~I62pHKT!AE2;j5PrEB{~o< zS~3F1R+^G=?DEa|tow5<9o!o?3dU?tr|cT$O17TVH5)X^QIZ}INqx=MQ)}&+UCiof z1s_P~E@~BJZQIccVy*MQn8+HR2WwF?n{5!$b+_SbGa~d} z4sm2>crDZJouF{SH*!EJ)CzU$jgvwJWec-UO2Hz#%;JOG_Zjk1iaq!-uE|+fT|>|N zo72K)a+r;(sc?j2yf+&#vXV!8XnP! zg!0wCc{+t~&os=d*tkPSQ-G_Rmrx=pgRDZOkeAHf(lLxm!H%Q8G)#>D$}`!J$a33= z9!*j(B$}B>jL>_&j_~W(Q)1xbSS1Q}5N)<)J6I>A-2P!5F5#?*VkY-) zd-tmx^$|+GBKiJZUJiaycK+h5jbMor8OM-S9muO$B4?2k>9$RMc4p{yvj$^(^Zmpj z)BF(=RE|_7=!=#Mu|lKQQ+$rADae+VfGKo|aDjp#JJU(IcB062fd74BXRR=))l@3e=UVDK26bVnS$mEFLhsUE}%-9$%^Lqv&3Y?~rv zBwD9ab7yPVDNpg2S8XG0JGGBIZ%+6@i-_pzvbN`9cl^k77HX>WhlEuS~3^b^Q+#;$sPRTbPwQQ?_FN{k7^Q)&)_b=Byj z^1H6L`y*$uZ~NH?GHV>|&th`l6hbzEkyg>KbB{e!(}bJwATw(E7TR6XwhJ-+u~B?V za>S+Rj1jP#<>-KDawAr68x89F&zh1niPc8xewyOky`WZ7<;16^7B6Dkq?pc+#K{a@(gR%^k5P{8RpbfWTWaX?ex3vlV&K44XLbwq#CBy z?{=Ksv7RzBMrUPs_@u0MRzMUTUUr{7Cjr?S(wld@l4-VznsdUw!!Pfn>3kjdebcO5 zWOZG9vp#er-Z7Sp6PdYyR%|AHg{4@&1V&)>?XL2{#LkmQQQlQ`2Lfg1{bO3fnqo>V zy9Wa}JRVkcN+U8ma~Fpl9sXfq2MQMD0*TMr4)77VKX`MM+w;y?hw4;_bn zjaoK)b-p{tkWY!rxYN2a!Cp)WMc<#Z`HbRCL=-Y}RTf+yURkFOmZDW9sk9zR=xr!G zFt>}9W2my}GJlS?x!LEIHfp%~=nhO)Fi!SXE?YPyP+eJIYLGI4iIcmamddk@w z&lay~{3gN&__87^+Hjmk^=KwrLI6L4(*@S-C^FertXU z3Nv*_obtJW%dz15z z3W`TFz-pB`?e`ILL8w^o3Bwjwd@ZoNA=AItNTp=X&r8nBI5^5N{rz_>(HB{n6~-PY zm4gCE%g(k6w!1C9)31)>n0da$%x6KlyB@nz3>7=oI-V)_p z2gHdU>)La?D%{i2mv&@ofvmBF6&eZhyJMvQ@)3`fo%aT zs8;SqA!FS9^VpWHTJr^l_&k(!Qsk@zB?-k1H$%u$M4gW$d_Z5MH`wVp+c91-1^NV% znD`wzJE0FhjdDiJ#aN@s=`+ENsEn@t!Gxa6ou`s&WTCFrr4$l=-@%)g6=hEtMF^&K(##uUBsJS`2K)5WN-K_p7BmGZ}^~VyB^eB>RV!S@pCa@h*_Pv+Fm{hSUoZp>k9&?WtE+>LGP%E3M9}DaeC$> zkXR1l*Cr&F_;p-q6X^Ixevhm+0m;I$F=C;rA;RpE}KRu-|v8@?2lNl8j+AKfrwS0gUav8kHnnjij*+21}q5@ zE|VXUw^=Ogz3wEM6hzI8ipf?E*(%VEK+wfDGfTj~B2UEVlpr0B zyq^&l{$G)2=Hl`{;K7INk0Ud_3m$mF3kE1xxM2q|nNBQW5<2Sd*uCeg0P^0tRw5*9 ziov}UL)lg-)Tnzn9*Z#dPMZAMm;x1;rZYpp#+;nShA(WsEHpLR6D32%Ejehq9qgo8 zb@uJs7SRYHn=acfHP8VqB5P!mz8d;iLI#PI9xDY?hdzw_i~QU~5g4@aM&ojxVSUKAwOr^!H=miJ5qGL$SC}>NzCU8m$N%N z36mv{Au3$vKDlU0I_jw1wuyNuk2zBMJ-1!Q!O7{6$XBv8>GF^ZN9$DEvm_ zFIDVCtrp4^Cf0#v+LJ8duV(9Ti?Ny;84M|^(4uOJ5r$6jExUoR?2`p{Yep^88@mVWLGi()`)=*`f=`uX?qeuzH z-A&RqJ$z<<4}lO6IpGTAzZd2IGk^bS|D{B)rucUUe=i^Y$M9#H0w>8|iiy7({=KB~ zSHo7gNcaCQu>9)hSDpP&PlxdT9sHuY|7!fJEc>VNE#_~={}5?^_3*2z_@{?J?0?l5 ze|7L{2KT1}ZMaGa|NW5v%jbSI{WXI9(=?9c|6ctc@$9c&{=S|5=>q_ehbyK3*j#@# k|NENwSMwgKznK5ALaHgEz-Jc#z=VGS;rn+2?ay!j5BB90!vFvP literal 0 HcmV?d00001 diff --git a/function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextInterface.xlsx b/function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextInterface.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..7514e7f5802ca89a9ee4cee7bec3a0edfc47e185 GIT binary patch literal 8724 zcmeHNg+_=>|c%q=ynDBn1Wrq&p;}8A`f4MVbMJkVb(41Vs8b zo_p>+=XlQVFSvKl^L+bzp8c&g^X>hJzUFG~<^Um52?&yFaVzFB6N7lui?^Pm<0!*mL=r9Tp?VH@jb?s&sg8HVMy~TcIushR3xNE`40VZ0&eJuLh*4EsZ)UGa86<Yryl4?2w=?5=mLn6)6f!jr&~${Po*EEI8+@+DB{1``0dy+s3P{)LwHdV(w`NUW(MS%-(DrJ1{plZOER z&+Gr__+QMyKfQWIf|^FJAb$A4ldFiKv)QFMA~_Xr*(a?`x&c8-i+Ac{3Rv$hb#l-W z>C%LvDF(I&T#dk&BxAk~F@0YHRzOI|Bv=}}q2Z|)ZZEL7+1*nfyH%|A5qr&^&VEl< zRQBQYYLDeEZz{=C8D3#|Jbk24Lp08BK!ZbCNE=S^Fg@64K+SO3@<%1gtenn1G`za; zLGIVY@ytM2O3@brX|R~;-c&mIkcZ{-g-ZV+C#KVL8a*95G5c!E9CvYMA2VyGu49GF zPSR_CKJ~02ZDt_J5210zLAKn}K%+X~(P*|$-vgZ9@}a}w5C}ubGBQH_og~3hNvX%k z8EHY1ga&|(^3qA*Up(;!xjR~dK#o77*S|S~f(&6uFaO=GLR(FxPmrh`?WCZG*GzD!PubJ*?qz_G}6;WG3OW`&dHsc@jf zN5L0D4jvP9BS_4Q)@=k`yw=%+hSW7SGG=huZr(P_!@py`4e?=^Jf_A`k|gi}OzzAu z@%-q1^d0+K+m)@F&qv4Zf(!gj+Hw{8vilGH!#x=zh7=hBxe`1!^V3`P4pu$oE=RaJ z;oo>iPY!H1h6iU?kSqOn$n5o9(5)h207e4(OJ3U9yyFSQfRc@U%{XUVnPkotwb~;~vS+2i9os~LA z22Afu3LM^AQlq zdsb@RDuZO*Ls4UiRkh>f-O8wZ1vdt-LVQgM;9y~Umoy4YBvYUJ1G{0$Koaz}ZmpZR z57YIIx|D}oFJDrU=8=9FT7wNQ_(&3x_)Y>|f2h^df7|b=;{Gb3s4g{REwrgU&FtbZ zkyqYi0;uNk;ZDssqs9vvuZ-vK3CB#UFDtEL0$7W@FWdcaN~&Y`CFGNu3i~4AsqLa7 z^rXf(o-l&z0Z9|q=}JuFUP^|G_&RlpljjNj42ZQy6#cDVct^G%z>Me9z>75J>7_lF z#wBOl&Kr=x(Iei$gNf3LW<0FHeroB-2PGnlRv;|-5=sGE-LV0k-G4^IAgYkx6C@fW zk!T?M7aBb5EZl9Zbv)heU7maV+&|j1yOn!oep05l*89CZVZCxjK2sR26NLRUU&U}8 zj`edZFXsI_;Li1h1LDA5wP)ys#kddmdNLc2moqJ{hmB_UFpPBUX^(@~-7(X4^Lu8~ ziib}u`_h>r!z%9gq=C8)m0Sb1?#h4oo=<(8P|{4%v%$t`PrC##vMqhaHr(UIraB$M ztBNC2Mv=2i7?wcpp0Z0gd_gF-TkVTrT%dyF;bZUo1#j> zy&*vlcef9sV}2{n`?XiMG8xUWG=nCqvbH3CU%icMe?xZ@lEQai+jzb$YqF?jSBB1E zu__i~hBGZ%$J{{96@2==@5uze&5gj4>7HT~>&-s$26vS33 zMIrW*Cx>nFx-RguuK_|S8na+@n#!lr`(1o>r}U41%x^}^*dyK{M-pj%9y@;Hp{JdV zvyH%S*Ly!Fe$Vh3& z<0O;i^5Rn3$dt`4G?mc^fOU7S1(p)xilp-uGinr#Mi*F@lIpCz4Q+vM-$-S9oP6>6 zz6b@2V~MW5?&oXtFWL|nrLVacSND>r5~erR zXs1>kVMZ>TeNN?1H&{3yU*Tu2Qgx_3C1FCT8m<#npJ1Agv8&PMo{b`AuG#J5M17yi zK`PYqkwGKi)y;nI%0U2TAmV#%41HL*Ww%W?nBA`y!%0_n{wTnZ`9}yA(2bDDxp`tS zjgIh;Z&jSk4TZtTMd`Y!fB*fXx@5h4OL-HhsoAylX)W&hb(Di}I-x;~Z_dH&C!R}O znSSv~gM(S$`s9ZgG6lpZz|DO4iNu&XY`mI=^HtqEVy<N026I|b?*3?oU{G_ zx_WsHXtP7!_g_-Ho#6?7{__?#cX+DZx;snIh8mXCcj>s3U{;Pfx?IUf`dHxUs@lpf zj3@nw7Gt4$gnyy$b-$%f<)a;Tl?yV?Vu4?5EaKYV^Y&)4 zo#A~$GFQPe2ARgGuRzD;T2c&+hQf!EtE59->4Fdh@T!Z*xO(Ln&@vrnQ;I$b!LIXkq4X%N7nfw3qh5 zB?PeUBD^Y&Tp^Lq=jUpnyQXO$Fly@j??vN(=C`WrB`HVaA87#IxwCaNv;0yB=4L=F zUR_U@JCE%Ol0x%g6G@Z>6J!{0Mqy;EQQ;{DSY1**^YsoT>aA+EP7?gc-qS3bMaZn5 zia#{*trC!<5~77&WQou#Uo8Bzj^O3%tG;zjF%#r65xAu3pSUs z;QaJt;YfM9OX8IXvPU1u*_{qeY~K)_6S~P94Y-zq9=mPg<~Bs(@@COKb*VRAQ5i=uR|(^!9~CWBL>=83 z`JCnO?txh1S86~x*amYW-bK0cZYzghYSAYig-?umg_%lnD!oK8ZYkLp-NW_+E$I<6 zxf~`nv;<-?zU$6?Mo~leoO5d`$$(yj&s?Bidx;mY$BYo@->(m;#u&Yuj1QT`!-VVN zpG=|LvX2O-t|~_EqkVX(^=0^p76Wl4ek)K<6WCCUH4X9uXNPg z#n@eQnn`LUZ{Mh?rtf{lisFu#a#wiHG-69;@mnaSF3h~~T;JII#y%r*Ktl%8FqVMr~mJ}p@EZ@Fv$io5NY|&=xXt|v@V4pu^ z2P;yl2XE`Tk}Eg)JR#z}nDW@r6)^`dk}S{==VbZF86ox)R=$TsF_0+}bQ&C%nU+o* z!e`~+XXTqYX8bQCk|hLdz=GVDUzSuD2=jNCTZ6SW9UBEFzg6si06%(E1Spe4Sh0D|As2~Qswc4{joJB`B7A|LhOAdxU7VX_#2_IHF5k% zbQH53NPxsIszTW+-hv$?aw0`{M=;==x#A=x{`fxACsb^$M|RK`V%}NYCZuo5(F{pY zIGS~79p}q>N|hhE>Zhw@iFNF%)4nN{;p@pNzJs#*)Wk(uBDt+Eqmr}07jDi3DL$T- zdlF`VUoy8$Rjj|Smb9X1r`j0en!#;2Y|H>CVL8q!+7N-I3wyY>D5B06Gx-FsUpTM1 zrK#lc@Fd^OV*#Ri%KHXzZTQ8fu}q-Xo4P%HRb45F28qZLRb@*YnbLF`s;|NRptS3D zy+3*y`*wh5Fss(t@iZnczSv`(EXpSOP2Q1rTDn;C9gi7JLo2;*dAo&}fmn#Jsv>zg zHd`e8YAHG}n%acR_qjIR?Us%#eNv5y)+-%p!9J!oO0}dX=2kCuAPK6H*E2FaO>WzJHiGB~l#*PANFiJiw$5<)9lPQ+@U{UZjF+S0qa4vd2Y z_q=TCRYw(eU}p!NodMzD2xTj%NRmA_f(TXcy{`b&QE0|C{C@sHeoznf@KN{|$dbkD z@4GP8g1dxlJ8jDoJf(NR*!!^OTNu8iq@gnx6(J1~RrOjxIR*`iD%;V-zQ$sNr9-SD zYxVPPOM9&K^?vvC55_AGZ-7)q<5Y!XpRw55kJ>B+UG-9(6mR@NkO}kYDUk0SyF1O} zSCM{XFDtX7jmPOV4rg-I9|vcn=X7R8Q*y|X;5T7u&@NZ5`&=JZwwqUSaYRR%mYe3~ zkt>Ak2PU}svSnRYIb0#h@ptO@sg`iR{COrL1OTZ1IG1_Y+1Pk`2>jOlmK0_gjJgyE zk}bsoZ-eG3};y%M$#wrNmLtw`=Wp=M=Wio&+s+XG(m zxNpli=F|vzqJcKV>sWa|j+pG+T%7wiy3+BxQmcJWsP%!8q3a_%;4xlSvdgZ8USJ=VNSJ)jKO)pd!B%SBnFmbIHvNPE8E~zRst6i_hTDT?-qUoF6 z53t*=Wj&P9V=S_b73Ts+=gV0;06^5#Hl`=3Y2ZB>mW=JZyBIRtftj4&=;eOA!awbR zoGn%?G=7S-4>@c8@$rqBU4se+dXDe9A7^OA0Jjv=2o5ir!r8!-fQ6W7uvziYhF1vp zTBFDkFNOV%I>j>W-f#|{{*`?Vd%?1;e?#zY&2=En%V2!pemi%Oklh74k+aH7)p2&$ z{WVqojjhJoj0`5;LtB&g1!!=+x%wXWV=SJ-X|f%;7YGX_v(T+_D2Ii6+{k1i)y!OI<$4E)1#^7AEO$P~ zy%GT|lTm+-9tCDdsIG#BrKS}@OU_x&>qrF(tWt1JU+zb$r_f0`X1sqr{SZ?>ur6*$ zE-q?E3IA(+@GL9e@81e-6=;@yl5l08(Xi09jD$MaLc*djE>yB@ zV@38WZdB`xD9xK^IS&{I*iMFOuwF|uTu+a4| z|Im%j=a8Q*IuapEk9kqBxW$0v;@{b7;VL&FhdeiHA%!<$r0`}9veI-1xq1j#f!u9= zFB$z$Z$nOb(VV=lODO|SMfj%8nArl*~-_V0H$t$|rC9f>M>k-s? z_OhlPWmm;ji_w1Y_3*^9U$3B-<(;TjR#8u)#(KTQh$%$%>Kfz#pn+{@j*+8+5OWEx zp$6}~PO_BA06lvF;1bl$mGO(Pmpgh33)Mq>4OOQW)B6(3zULVwVXHC;3BCM0(mfAU zn^JA1Vv_D>$lQjx%r?#JL(y|3lS6Ru7GWY9M@`rf(K*Q3t`ygBkn7&c0#ZA|QJm<7kl8 zaVzl={*H%PK*$y4KLJnNKmP-1|`362B?20XmF zKDylobt^GAyb^Vx8{8_$`c6PbE8>NThJ_RHnkSTEs?i~jxdTO#4($vd4H5Ld0>$;E z#|M~(szCc;&Lul%BZ~#Yt9uB3Xzz#__v>P3dW!y9ePU(tt^oLDNK?_H$MEzIj+-Ky zQm1VcE$|h524nSc_Vb9WkK$!GH&@AR%gP3Hy!3L}+F!Pt`a#S*}H69i=)PZG-#XmWOf-=t8!Y&MMWj^1J||ybcZ1Pm-B#y<{g4#N{4d94UB_ht%oH0B$o-eQIi4!(HV1qWak$o zu@yom*vP)v+miMcGp7-h=cO>*`OI8#&{EO?F2xO;XScUV0F}Scv`&+o?ij9nPvNy# zaGDz0L#!OQIDcOMOV9scPX4LuWpRqi-Q3tgd$L!-eP>hiG58V+&f>ByG#Xw$a$oT3 zBJ=1e<~x`u@ioZ(kz~Bvysidd^CFSo`)E#Az-8ftKw-Li=klQB3%l27tc>Byew6B~`$17>!T3i7 z!jy#iPI*vO!^7Du!Uqr0?kzuzw$RI~tJ zvHngH-^U5bNAMA8hLeOGfR5l|#q~Q+oT2uwjG@q1KUcGVaRvdtq`^`CvyU=0MTH)? zNyoYg=5|hZx<@eU$VI!YxrK+`U&{hxq~Y^AUZh}c)_?X{feQ&5I}| z^9pFCj+@4Vz?Pr5U-Mczj8YB2b!M=3&F3OOeY@PRwxNMKjm2#Jwn-9piu%US6*P84 zh9M_{;|dttn51F*(J6h3e%N|trs(?VRcGD>_Bv&$!u^s5k351Lse}7uK;A5I4(qw8 zEt-4FjuMvxEFG{z_QB&lv$g(@Q;YDK{=3R-_gqjd!_^=J2>`%@w}7k6pOvL7UNL%( z8$W0-@dCuY=pTz)70E|Kd=p}2j-YwHmq{<*GG%Z&8oxt!nR<3I zQ+ipdwMLea{22&N?Md(XY1#imqD?j&dky0y|Q(&p#)vFUj{QzgLb* zgc^d>i!^XnXLThzvBDuRJl|wZ`{K2KNS+4o7dK`GUG_636Dm>GT2DnYI) zw(>4yRV)1S0Vv@+dNTG(?L>`z0X^Ym#iPWnim+TMJCM^`Y!zbg$G2_oMG>a?)3sQK z7^zRYmUz zOC~hF?Foe?w+ZmyC(^@koW{BSAfit{QGu%0O#-@ztyLmEHjnEC?XE}@_qJ@Z4}1*= zr0=C^Gc=B>>-ZlGKT((E7iMvKduu+TpCl8KHzEaLxS0!5Q7BH=RA82+HX z_0QU{^3_Aa46Y4g$N&KFcWrR6cwrAQRd=+1X=Cp2(|)vSz~sBd@I6Vcf+35;jMZWC zak)A2IrY7aOV6Lhzod{gGclt(LF-vOnB61r?%qMkdCO&;gV)0Ckm6wW$)NSLjD3b; zGJ);5$z(PIp@4PJZskazS+r#(qPFKLF=pqtJ+W4*j4T(av{YUCH_CMtHUZg=m~ZJ7 zG<{IXN}Chr0#2k-QvQJW+fA}%eo(pf788R%ty{pzd9pBXdlhs=oJ(5N!uAZV)CWa z?K1m`KFnGt%0wU9p77e}8&AMFf}iL=vQ*fbSD_PLBLSZqx?e1Huz)}u9saQKzZH1? zZQ%o=JHxuTfzoG4HL`rjn8#md+YPpo^_Sn}vwf%)2sp;HoM|pxoZ1Orj z$sUdb$O*<6J8mKINTGaB8Fra zA~AepL=q)(Vv<^c@`e{G@<=$~TD)tn`M8(@(Oj9dY8lQcEx9eGzgXbwE{|`G&7MF)oQF$VFa|*TRqH( z?~<8_c)LD5;LOMej-D^;+G&E)oymV-P_@ROAaPh61 zM!%#`;qG%R3jysAK)N<^*Nwe9@1$!JHFJ$6^~((muT4*CFjud`EcsG#wIkiK_NM08 zE-}S=g(|f7rrhchAEAil5gdcpb79BA!%EX5RpiW`wKKb)Tc&D!r?<7I1sXihUoG8Z zuG=eLzPtvsTEL%sFNxnwviX|-e4PHgf1=j1HHFiP7?{v=`D!E1uoQK0p@N#|3D>h_ z#l@{@w$uYkl-a5Q&e@)TUSstN=?zAO3qXum7;-38b;>dZxi~LcNZbpF3@Tn6ngcUt zGs-Z9M70i$z}v%Vb>#s%3oN?w`ZbiNKXhZ)R`*pU%yQSgu(kAY4v+ie^W3AOcdtDh zZ*RuhK=0}kS@IT8fXXLsTd}e06nxhR6OHhC%*)A0d?6nR8k48*6yBKkpVQ5zcgH0ahhbHZT9u`MIM1mO;u8N_DLVPXzW7r%7!$VJQ;lKs^`_@9V+jf(!4o zoi>3`RUK9K47x4!F_J3-f4q1IPMS7z7)sg-DVB_v$tCG?H)ntR?#dR^1ny6aT}|Q{ zxU^cy*nOk2`K{w9gyMR{{C@bB-49!)Gja3k4V({rLjzv;76o1b)Vm|Ujp=3gnc4f$ zmI!;Gg^oV4hsH)Y>P2IP90S$A9)C!2c%C_kajcDXA+18{KI6Pe%NrX?eaW9L9Ku62 z3%L{z$xTh<3zek0Bv=dvN`Jb?Xtl3z7KML~YbSQ_!Pbyz2K}sG!WO4TvoL`vwXRq#HEqhFO8*{GM~I33}eqP>p^^S90k^A%%-*_%$?w^G9}jOwUjtdC$1qFvFV zFZ$r>G%GM)nKWn*O$$Slq2=N_FSVa}6#~>R{pMbk=vr5rS<-eG=TmkmL|^;i zDWN7-=tT{F?mjPJiFsjH?#mZrF<+B&bf4I*V`kTfVX|jXKC`LQTT~c9Fj5F)zCS4N zRt9l!V_+%6GXJ4q{C6@yX$S;$E!IZ9f}(}VJ-J|xO=^xh=WV*2ghDrdq+L?xMQ8uZ z56!8;li5uA)s#4bk#4KjJ-T6iJl5IO6+o~P?sJ>+@7)Bm=)=0Z$fwu)q{GzCje7gE zLVv9jX`w~Pb43XL1I_X}{fbK^_IrI3{<<#UtRS~><$$=PsJzYN^N4{%P>BQjmr zr$ZBe=pVsEBtqymQ%AVDd3+D}cnWh%Tl0FjvxYHUvhl3zAcrsiXpPkmc(euCe9yCN zd!??_Cdg=;)kIh$avP=iG}t|duX6H#bA z)!r45tvX1-S0wjgiR=C3JUp;ucT+!azWIoDS{% z5`*H=eb|%)?5uP>%aHT6aH24GbqF`><>tHs2sd|ww#8R<{Z#|^*kReuP>8g2fsIaB zSYvY_i?&q*HdJ(s8)KWZjO%i8J0oA1T)xQw{Wx^<;13g;zy*}ZPXSe zbJcVOszLcQ^W=cI%DyFoT*nyuWSjikohevk)^vM3he`IgVh_`Hz!|Fn%p2}r|K0f> z06)OMhu5T|0RT9^FKP~su2zuW{H%PXw!xFNJjvj-E5{K9} zPRKyCOsnF^+OScc>?Nn%M$&ftD(sj~XwsNXan4FmYR&e?*I|)Q0wQIC?%odv=UG*LieyTd6U=|j3}X_Ng5m6UgxxB$4RkA4`}8P(N(1_%3ljQXRzuM zMU^7y5F#)&X;8kJDd{Sfm$ubPRmc!*-%_HCDi-7D$|%G`SbnB&BQKoT+LKnnoaY8J zq6sfNnvjqU)W$CQyg*v0wWFA@C}Z)o!Ou30Ri|GM1Sq0A$|zXlpHAg-ux*w>oGGMn z^7G-W~ZdZY~+XN zaK5K9_e#+jLSa|)5#AAG`YdkdYE-vh)y3~8RO_pHs*7^>(6o{$Cde9@yxt18#+V}7 zuZ8h~z0O=nFrkk`N%d^geC!(ISpBuWuY(8b3It5)r&W}s!|Tp1b-Hd7C&>-;D9wN* zYDQ-H8&F3qStf>v%ycLB%u5oF+~Xa&b0Yg6gMIw|H+Fozxv?HI#sX)NSV0OY%sp3 zp>WsOGFpbd%DmI~CEDt0uYKx}-r}PhFloUE>D%EYG={c=R%32k&15T?8xLsssL{kY z)D6!9uW95e)E($jkr|;ka$k9WGE3=+Zzgh9M@9q*lQI9oS{jO$9vD>ym+P92rGq5eTQb;RJCR?@$D#J_yu4DJ3Xm;ino zT8cNmW3*}WeEJJP*&gIgNuSPRcJs7ct6T`NE6$gB<>3sEI&=+USxdCu z7<^}SGgGr0Gv$#tv+E&e#ays@_v1}Rhi7Xz-CH^J7*=1$%bdMCY|oQ8m?uCF5?k3Pa&SJB^9;?s|eaE7s9# zKjMI>_LkuHp2NjJ`2-;Z=a+9Riq0RmDR)k|Y1*n74cwR0GCMG@y$ai1acujJdCX;w z2AP*hv%0U-TV#e(rcRl90S$2B?LqS~TT*+Cyc(x6{6^ZW$EHxRnSDMz3evQ0L%D2XWBoYG*$zaljdrj2t#MnM{?K1!j+I z&9Zt1z0O8jRT%L>q$KNutkIb4^4j(_+LIZ26Rju6Vq!+~(!>u!$n)6irN6lFN`9zg z;xnbLBoxSJ7s>3fvu6#=BXSy97m6Hn&7|p`CgZhfTgN7AAByo^h`|uPu}}T5(K-~f zJcv!^ob~&CqxK|oDuCqRPgQ4sR6+Y&Q)wqi$x;g-=>^BVX!fA@#7hb1PVycmYdvSa zU(l*h1P+GJ`gTw(zdOg9zP`PhF@{wS5LU@_diq3{G9+v>@wD+g7t_ZpN77GTb z9|`xj_Bf=GnR^KV(Q623u#ohg{L>J>8&YalA0rC8_$qh$gyYP`Q1N&v@nmfLpLkAr z9^QoFg#l!}JCr{gZN_h)Mcu46&3Dol3kD+O0VDalv06_r>H>L637RZ|>?SjmIA&`= zQZ}x6xnYU(`3RaZ*I-_SC4=zKLm;!V8FU5$lXY-fOkdrTdlgdlYqMu_;aH?{2<_LFLO=;I&WL`eUbAPr7}pH3wHpGok- z*7m;~fDhRpM@C#H+?R%@hEOhWgLWe`Y?y<@v{dui+-9l(a&FoXA!1eqzaH}bEJ!jH z>Nbwk9L(|k{k+=90wtI_l-_$~T1IWf12$6@m=fWPlCET*m}WLs?R_Y|%aFkI0@{cAQ73%w0Y}^JkMUtk67*+b;rL}^m@nner#3d?E4eRQr;JcQ z;eH!Q*?W1NnL{X`LgV7ZKtZxW`B`K?QIehqMK&+7AjWaIy*gOro9=yPW0S1BR>th1U0p zduy}^5|`g z&b{}X<2k>-;NCsYv-f^xe{1d8`+MJSt@W-^Q$#~20bl~K0RR94z-%wu#ux4c!_L=~W4Zaw;2Avd4kz z*$e$T#4CMG_@xFVLIa4-Pbxag#DarwCyCa_K~r|N>^{av>)i6_QH(x|WFE$aY7Bas z>}DEGZkMTw@1bmseACa&QJ2ACui6NgKCWQ4yceKThEUbKjXW+j=zC?)+3suT>)p;4 z8+EL9+00LBW5WG3M?8ojcw!EqW*=2c2IqAe_3IHMEl?Ud=(@Xf#k>ll=~aIDBuT#-D)&{!F`7OyQ@pki3ha}O54u*Sv z;k%y(wncotjcq;+**i?x4&eQP2>{&Qq5;(YLd!aBFw-#-Yf4Dg;UQ^h;%4ap<+=ZJ z|35nZ7jy7Wk6xajtlAC658Ic!4j(w1UV23&spu&o*TSIXA1J?gr!J=89`#Z?D-Dqr zRS24FK%4*dAYw^0=Ia2%=^CUw3P>WtRPPB7OTBb`j>W;^mh!~4e6@$zWBO$JG+kD~ zi_N1gj-#xxBv0|f3e%IxL+NUw(fhhoIG{qBFtSJKK?Z%w`pahL6)4k^n!E6@ss@4F zuZg3X0kbJZ+XP}TA*F8<>7)ZtGwb;Z-vI}PlM5CAS} zjW4%K)_?{h1bEInD%;PTdlFz!3ppIh_UaM9=`I^M_z)aLU$TshP=6;$(Bq`kBjg)t zMv{aIfQ|CPf#-Lgcsje;n>jn%|BPP$<_rolgdx5BcW>ny%8ET;qBguA;b6~94^rZJ zcOJ%X+Bb zIj{gq%O;U(c%-6wQ^y5dAIP#(dUV!nfDF)8- zPMK5e@2%HX%3dGsI}0xHH)+Zg=}I3y@(pvp8$KXQAHbdf-ONvK(cWKmm%JKeZ%2IR z8am#$+W62vy@H(SzeDC*&n4|D5(Y3d0N@UC1QIfT21|LOa@+!#C~QCZlAdcNB$22l z5W7sHBvMPeEM+ezhL3^l2h715Mf+wy`<_C}wDIX!;x6S?`q{}`*;Sd&24z<23<)H? zCn=D)KIya87=5_vcovYpk-ez~6W1F}b$@n$1%7`fJ8mWi2Q`|O#c&iA{PPM{*02k*WGh3z<2j3 zxhi#&wGIRgMOKxMl6NX1^QB$sJqq#F$RPcNZ5?7Lv;3Jl9K$U7DSb)s+uF5G;vP(w zJ1UQ%uHD>8Not2WFVX5PxnPH)QHgIv5OoLYUA?!x?uu@H2}QN3!D}InZD}T#2Z>x# zMq?0V=faxGTi%3+)!$1gHZD-Yzi94^B~?PsW2H6Hr@8abXc*n+64pba;UNY9 zK=L~ppf;v%mKK`sZnjR=(4Xr^Ym(y6tS9VDZn5)wj-aEhwpv1|w8UUOcbv2tdAh}d zbYy?0hnf#c&vQK}UC%=odTKRYnZd3UYyXkkk>Rdo3vRpbxC**JzXhnF0syM7)%e{u zW6?O8eLT#((>~(UB!P`E&c{(vI6-w?iJt-0q#<9?5fFVg)&T&oNm6hzm#Q;sR`0+w zLZwiD_kJff?Gvd+!Vp=EDi)K1LAkL3_F2U8E6kh<)KPSkediVW*K~YA{q^a7{FO~J z0~pt&_%?}9f{nEEMKg8!R5x}SJ?QwMKg;im=sCq}7 zQbDvluEvD6$kj&Kfjt9#riE{PF!r2h7Czl+b)~evbj@0Sp0;c;2_Bpf#3O&#(kq(5 zstc0Yns16nuI{wkQ2Du30&X=UUvfPvYMscoCeeXBQJ+aS;F5S zGoeJPpJm8zymYs*bhPC8ZU5lsM10eK8bvKY;?Hv|hJUno&c8kcbgt_6n6MJS(Pw3j ztKs%ZnvNcpTaLjAdL^1HnfEHCl|;ehQcVGk08)GBhG!|^RgqY}Y(}-L!O;A@rKDO5 zPkk%M>)6NH(Bo~7(?vK;7)x+9w3oZVw`fCHkgobcL^1c-LavETBOy5(9n+xMq8oWy z%a?kw>rY$@K!(^Vv=j69FAbd7dK}91HkjC+T;pf1QoL8z12Ujgey9~x8Dp4>v8mSJ zn2sc7tlsHiLw%RZ3gYehNU!Se_hYwvW#1n&VDGdhhVEsUS*K+ujK!x0!$C`H?$BSK z@jMs{;z~&5*fh47MoW0Wy(&!Nib8MTB!AP`yZcV2Hd#C0Ov(suY;t39QiHpG6KThn zPN*B>owGl^z3vNKK4iuy9C=gNL7!K4gx zXu0Ap=n0SBs`ARtENA*54aR)c;QjfY&|Wjm3Yjey#Y?~|@ksOt+Um4b94ZN3ELei6 zWEL$i0mGpcn-xu@VzNfN*2~-Pvzn@dOg4B-@cIo5rE`P$jr9X{Nvr%#e|#Myg73#4 z5(|9d;`VNQ-EV)4x6!|=Pi8Mz#voBW@#cAdwN_cVFC6gWcq9tTq)3^*A4+@sEnM~W z&3DAmuv8pWSM=uV_`CkNoX6MK7iV|4W)L`3Uk^|sz@GP4rM_@P<%W>`c#+m>93ugP zsiVDohA?Ypl|*}C8&pCt+gXHH$(qZ{|LNjFIb_E;Z5X4v*7rd){-^uqwcWrnwEKhg zkUMuiA5Ja5;GK2VB^Iu#qs^Vec5!};=EcmPC;=nL&}ECn$XKJmll3>hqIl}<8A8-u z*akRB#}kPsFR96Fedk=bpit@VMxXwOk~$B&@!7%SWs{5c^DKCY8q7X@*1Go z9rI<}Fn7SpEs(KP#1|`K?1`Ime6+h^93JeLMDz1;UmEmj_7KjoF5ab#8imiC=Qbm6 ze8k-={!9_r1KN4ZD+ySBdNN;x6zvu9N;rwkM^YAt10$|4Bkh%abQtYpy$5?A?*f@_Cw)@Rk9XL0Y=xKSWxb24?uFi)cOsIJ+dNtT*?4x|J-v|K-3r;0%3IJX$=|rEEWnX-%lD+E6vP;{( zCj^#X3E!*jQvzz^MO@YpV!YQKdki869ysP!SCBwF2%kE^zjhPPV~-f@p`YFy zP>kI5Y&1Mz6n@E98!tD3a?3KvtJt{3NLNIto1a)JA&ss=qmZA%+0s6UNySN^zBouq z6zZ8`2(s8TV#1OT2#IC|i2}Xn>VVtZ$D|~Wr*U_5wQoi`YgjU+8qc~8^Z4EzZEysW z9PL<}GLxc&V) zLg2KpVitJkeOG9%`Vci=iG1G>c2~yv*Zvc;fFW()8 z$;cEr=|@I3Hos)ob!Y&id9|+zqf3ABfKNEt#BAr2ApN+uQnK=7~h!rjZk^0&O=jrIp81TqyT-x9-aU+&LPy;Hm!ds%_+L$M%uOe8N*^oXQIhLed*9=buMJKMIPL3%#p= zm6nhYeOA2>arkKacnM|F>1VMF|^7d!n@QF`j8bhx$cGdH%ssN)!g=YyWF((dA zs5uPORbvm!@3`LV4xPlk?&Ivws&TYGiOGvEhOU!DT1Lm_9eSpv3pL$=PO0geYj;Z7 z%*XV_Me!-gl9pjJMp1iCgRaD?c5-GmI*6$x70n^jYhiK@G>)9<=Xo}w}~ zq_H9)*LY_2X3Nd$!-+?jIJmr(h1}PqO9MBSHng^X7ru^G;cXJq*o=Y zv>Hn6X(-+^vx}3xS7qI4W{b7H-s_e=Y`F612ZW+%l%jCt6BcvZVXGO~MLX3&_J^-? z)Y!Ah31{y+Hg}pvuOoa&UQ}d98;;Vc9!%w^JPFE1&uPz!CTEoZ;x}Tc(kxf3d)*vV zv^}d}XN`_DE;G){Bb5%`4M=eDX3n~)w7W)<I~{>EO~`)52;09NK<#tqv}agwHGc6q2Yp z7!M6mm6oGdr~{&{PtJ2#W`f9h$nFrbw=WMTT4j6ux1Js+=eG4Y%^>V-lflUq)wSRR{3>8E#dO}spUODQV0Yq7Eg z>6sIP@5-=;)|ehhQ}jh+1@CI+yycMV1eFH1N3R*qjBA|6yRdUFpI*>{YzZ0oU4dnq zlvDK@^}b7%`MH_s?(K=}me0R^M|-Jiu7k}kxhXE#z!>?EXYnOo{7ji6KCb%$JUBe( zMmhy09kJ)F&9db=99MJb#NK?-3HnH~(j_{d^6~ZwOn|@_V-j0(5SS~aQM873=9TcG zUbP4u9x$YSEP}sk+-LKCcD*eLdJ3HCh<~r^z7CHR_2KoT>v+9e2;6=>_~c_w^62?Dv{Cbu+ay8h zI}7U&A(76bZxA1sOQXB2%mOcF)|G@Co07|Uk=3(%8%NK0@Fwo1h04hqt0GL3rG!c3 z4E#vxO4PP^f^>qV(_1f2XAk9bP&V->DJsxK;uU{aKg^Yy_*u_JuuISn88m!o3+C>| zymA9hOEwoR@tm^DLAdl?hh8kA}ZZbO@FX_4rC2 zL|lX&efRTtC<86y@$~vUzjO5eE=uLx*3YE>&dO7yS#xjI!i8S54X0j*Z-TmFH<;w*3dXI}2cJxfrO)_|SR6iXcLmjb@jfi+ zI83~fZn^Q9^eCgnr{90Xy7K5O!NE&S`xtE|x$YyeGIpeRltGGjYC*#YhjH$JR|RvW z9f6Q=u+-4nDGMkpVxcPvPM~KJ9EB<`!lD#=x=bBb4f0W2WbVuhX@tYq9w&K(6Ofzu zV!eC(Fo4!l(efS49* zEWoyq(ysOqoDy97^#HI!sTLuVC-IJq^Vf@SlJ!Z zz&sFcK2~}BW^3(~=#@Hl$7Q4S<|9Afg>tnA4DMu!UP@Nf&CiZ=3MWTBHhQo4)mGGs zJ8yxklW7xaV+8tD$FbuVuosxeO*~=}hj{;lJYl0_;tVA6er9Aue@33Ei_8CjheX`J zwycCsWMYc!D_~p_hV8{!`os^q#8%$b0Kr3X^dt2KP{X$gxbN#r#I#v4C*z zpev}2DN;dbI^PReo0ZjA^F_>+zf6nv#K=@}O9`5M4{_40I{Er_12hEW(B;^nC2_!t z$R1i}s)julmque}!b`=~VG5)CB0oD;0%7>qqTB$yNv%f{CP}8lH^Z4$6pQq+Iji2VJlL^`~Ukezxw%Aj{n2c zKJxDgzlig{8vm-^{$YHB`hU7N literal 0 HcmV?d00001 diff --git a/function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextPrivacyMask.xlsx b/function/ui_compare_rh/uicompare_tools/excel/UIComponentTextTextPrivacyMask.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..97f549529a37a4af41b355e4bb8133c5982d9594 GIT binary patch literal 8736 zcmeHNgm0q6h#fF59WkZEI#006`y0|0~obi}7J zU?+D=CwCKVFK0_PBc2zI4s^N5h-}#aMELXn+y0A3pfqtrwTBO1?)>q!%m%mO$7)IR z`};uyKn{(EoxKVD#pX}5Y;EtdBChbIbBOJPs(|AkeFTojY^t3c>w_TuEt=TSz`;%( zV@e_3zJWdF4pQ=XR|EaSY$8fYesU9&XsdKUs!KzUCP;QwO0kr}hM44Gz*c$K6nwldn^M%E>;V!*jL2YRlqEP`+R2M~_78~@(+H-dJ8v1&7u)Ttws$Vt> z65E(?Kh2U1qz{^!2dLXaYe~ukoW}inC5ZEsM~=Gbmadpr38{KlC@q?^Vqz^+$rv2D zKD`^rl2v;k#1Z6QFgVmG+^M#2PUY*AKZ&-1EO&87^o?Mr`J_`Cf2fn5$uE5W)8LM% z&)&r5)8K>Sy|At~xBZEKOW39o%?%e(e7z$Nypt z{^iw6<5kpp_^`tcA76(Lp3g4D;!7)eN%F_ z|9Tj zNn>G-($EUyqv>PWD*SOCJqirMcT`~{;%R{f{VMv)W*6lMv(j4oWnq;KLfKyu#?xQU zCFk$pNI)Ja?@gr<54xFIFO>TZI?$her_j-|d0<;iK4=`t+y)>u=9gk#s^$KD1lnfpX1wm;Gm*F1jpCSo-n3!?`ACYFbNGJg4 z2rnFXf76L4*wx+)47UH_z5dV)0^Ehct^9XyrJ5>Ay?pp>ShwMPp6MRM1PkuG40}4e zc<4j5>@XJkd;X^@lpM`QPd+H|B7wua4#x&O&hO){ArYQ+aTZ1bk-Z5W4n@ew)mTM(A0lzu`y+pGx zQd_4a`5-I$9zDq|#K9Ut=jJezNwH;oRX$8PA8zm=9SPh*7*Y)Y3H;qfiRaIUy{dOW88> zGeXKiukU(5N;@jLK^5qgTYeMBosMhiDOr8-+ki6SGE_oT2vQ%?@OhoX_2cO^ZsD<| zCP#*6&x0X(+5#WF*_aKu&RNZ=B{*vRRIC`u3o0fIFs<9lx{);;@V^g(fi+CzTormr z+DF2MqN^$=NxS8dxw0;_9`CT#Nk9Yd+Bzi=<^}q!)ihG-;Un@Ry~d+I6f`18oAMYH$Qi6()152;PPg2jU!Gy1 zhSB2Ry&AuzIR>Zt(Q)`J(f}K`oW~!Wv-pGclPnOTlQEGNT?`cgp~KAYkzT8U-!~`P z^zd)JlSbdh1nq|wu(p2)n>U_8;EpP)Ae+t&h_siV4MeciHSnO&#RML!GkW^pnRYP2XCE66nU^}Rs6XBMg0<0q$Gu8`jh;0h@asN0$lC2}5}yqPZ;Bi#W(j`_kAV^>ek342 z73pqc>1fIObI<={3ikA$LMera{CQ6$uul#y1lLD^;K~7yDJvlieOBg}YHpvz*{IRS z%h4Etv0_QmIkCyDM2aSt>WWA>pjx~e-lh21e2HB7*H!WcBMVGRiM1A<`c|MfuO4Q) zo$h#i`&b4MK@(mL>Emwj&EF6arm5nODBwO{%r>!U#3f~;VH`I5=t`Q}vQ;l}{fTQ4 zNdKx5>CC)6)WC_Y*P-Oe1|!>}YwYw@vUZgxKzf9Vp;}?p3HteHn<`C?*+>G0s@+~T z#F`XVLV@o0v}*o-xBERShyJK95584L(}aeZby;>nSbVBc9JICPkNx!-E`rcNF1YxP zO%oqesd10ES4D_i5NHjY6mA;(_G{#7lXP;;WQ@v;O>QjCsxjAZBJJ*_;p#sgd%y0%;|2UodaCD~GvO9~@iWr*Mdu6{JZ&HFfvRqC__=xw( zs>;gl9B0}w70N>8Fwa77NS~Qjx!g93(j_2PG7>q0x+--QgF;FG4HExMI)hpOhyK`# z&59~gDM_^n1dT% z_q*H4Hrkr{B=)>z6e6`VZ{GH+wTg;Ek(alpV^B1cd==UOH|o2+aJ4r#UtuGoGBIv? zVmDtVYX)Mn9$sI6KgZ+x0K=g8a)c1U=gG4wv&8|;4ko#Mk=kk;Ed_ySAcdO3%$ixH zkzUva7UIlx@`u<%dc-J^}6s4-xmp=;o6OVaq53mG@XSg1Ohxhq-X8DD{ zoQocTNM#*$_B^^X_#u)PvtWW01n0FLTO`WsH8L!DfAcG{r{12y_&pUZ7KwcCS-P8~ zGH@AmQ?Lgo9=~m!LIFw{k_ZOj+w};w%w^){)f;;r2S$WE3oH!1259v}Z%rCz4_dhf zFcgdWqD4$Ras|glxf{k{K~9OZKA-ldx;@Pt!8p~!x|CBV^O^VDVGxLmpt}-G7lrUs zFIZklL2}cQ?nTH@UlFW?6Un_NW^p(&vU-L89oI$jxZl}?bsqhENZJ{vSEnG66>=@0 z##JR2llFjy)IF$DlYGKoW{MH`rtokeap}%8ajAT=AbZE7=T3GEhEesZ2x|c3OL!nr z_|XUyQ(;QRwR>;QXVstg-8o;3$Aa)uMe>L%_;n+z4}Z$Adn@!H;R`vS1Y(K05$B{>PT9ihlajy4DZ5CQ^DbRMTB!#=+9f&jvTMk; zzd0>@CY#l$iVEjJwD-DWuR-J>zhib)IT6SM_o-9ammY!z^f7}2~(B$Llkgm5AjSkB(&Hx zVnmY?3XWnW6a#wC*8z8SPKk*g&SLKB>D-KURkNhaG@f@K=iGaHvcVBVbh2x?)5*W; ze66M0_JGAXs|i>wcK1p}Ic@I?S|msKl&h>Y{je30(Wq7CihW zHZGbtg3U_9&Pz74On9D)CW-P@LHIbXc9xWAadWpBS^_mT?Hl+ezn1QgLgeJ~o%ACk z8=FJf^&A@bki0t9M37~-Jj$lPy6Kq)Ir@(0SjG+0Y@lF+f{8MeGp7#9i)gF6SG!bf zm2>5&#$|JCGs9BqM|R8#9g|!$ZHn*qXJOG38e&>3=q!GmzpZ3*;NP6LOgdU|%qIy!nRB1$}B+Z2$Q zaFs#bougs9EX7|zt&Ozp)IRd`p2&&?(U2NJcQLJMox;NNv*xF%h~e0VW#xZ zf|F_K$Dw-Ig&&s53Uv2X5?ADHlpBJaUvuaW8PWm@8Ba3uHw5R>?zuTP%OlPg(0c{0 zUplV2q$=fbawbvcFoF=>WxV~_H+z=>#ER4 z6?R>2_D9ZQ-t==0WK=uapGD`y6}YVvMOsF^$~pE-O?%LU=Qg9RZ?4lNW3v$59|OIo zEKgj5&Kv=|UW$4dMQ+6IZLLXt_gPDdCb7y$!%s_sua~}+R3-7TsrmC=s3XQK;ZZG2 z0OWuEf)o=hE_sb?|xGrDVf@w}&RSsJB-A=#zE@_6s*pSMKh*Zg_hz9qTbGb5v%!hfm5%XSth_!;9`STM~L3Lq@ZX5ZPu+=$sSwEq+-aP3NnCuj|js zL{?TM*6Tw@;vHkixRF`&X~kwPO>94k6ct#}a3D|t?;q0wtBWYL z?dS$@_&qG^lt*N@=gtp1I{d@J4iwGH1QTsJ4)78AYP@;N>;-15!tUoD<_2_=4;_c? zK$o6{eA}I4%A>?(-fmr<;4GqqpzqIFe@5{pBn+OpEDfp;uc*@iNzLnln9r@-EL zHh4|r*AYHMFUm8c4998Ij%Kn{9|dM2XLV#mk+Mnwu^Z9UsFusuy>5=m+f2*ZS)(G2 zON?`Jh-HKJU&cFoGiTgX*j>ZL@lWZf=G8*6%ty$HvqMSc|!rbUH6v$!anaO^RRrYo62 zKx5>rL5@nsMLdstu!`wkrft@V$#E_)uPQFKI_y%i3{yy#er3=L7qlTubh!1>iU=#m zEW9F)W*6;q0=FJnzNeso&6~ib-X~*q3~z9xDYi@=a82M1dYgn z7p11gZ)UP!gjb8m_E}SoIqeZQtXW_IlfW=Am0n6L~x+5Vr zw;MhwydC=#hjv|k;H&&e>Wi8(?cD1ne)rQo-!OUFi;tcwF&ZJY+oGy@d4#?+nJk`@ zS3K)^SiV{AkH8xwo|bjujM|f%xdc}L8r?#*584u!Hn?_*v=P!_&z_hg#W;J-&K&xi~cCiQs|2 zAMg%ueE+YP5<7VnnOuIPrlj~tPcFS>jc=ZQP)%;fs>FgIaQWSse6#c0x7cX`v;>fK zPQ5vsocr@8vX6Ysv*NZ=>_uUgE*g54s)TK!NwvIFG1OS4N_mLF9+NkYq5Et1yLe}e zZw^1N$7D8eWMfQY@Dt`0PAMV>(<5nqN8Tro6QU3g5|>ssW1X}YV*o$&M)nCw?N#m0 zh@05JI;RFdW&kUC|NMq3F@<$iMRC4%e<%aK zcchOl$V87LL}Y1O?)Dm3e~tBTYW3$UL6(JQ&>HXzngCvcvjCf`yMmqFc+J7CmcKWT z{#SW}FJr#(V|MW7NyuSnd+_8^aw2U4IxMh$V@5KEox2UgHX+rZI(A0H>uT6zO$6Wj zW9DQ-4YYbzLuV52iQWehc@RAtBDbCX7r$4_^}83GVQ1GJrH>TChJ$Fl5|Ny4#!<9uaCS^UlbQK^gR~;gh9`)`>AOoYn_BF zJrMH#F+1wp@AW!pv4}D#n6;j%EJSx+;!if69&RVbX(ioSbgOPPn%5Jx2{*=+Q$?vv zGmX_k3BGDwS9$sG>qaXrEh_>z1lUt6JN+D?*fCJ&#z@f)458&DI$Bk!j>&{vC`?B3 z5j|jc-8k`lXMNfuIuax2B=s$S8h9sYk~#hTLs*>NAxzRwCKK&WDPz=3(Y*R&eBzjv zAS2@%%EVUtEpi_(eEk0DC`61-30}jg_an~2|10&LIXnN4dGI0oeandNf`^;%J^{)l zZrDL|h7((uq^`zWPVf0jfP%N4r3eX!Qcy3&P?lv1HR>LY$0E$VlP0e=I$ss01!j7= zHYcyS<_nuI4NZ;mL`he5O%9xH2RUg~o_+bUK{x{B(Bs&pCUQWF$Q)T`tb#n0ltp4^ z#7e=`Weg+VQka`41ko?VX?~w)dkb=Etl-F7o!Y%ZrTRK8Cb3>A=ggeQ`V2gXI-n0d zywBZsa4|JzM~eO=5{h3siD|3&eRg|0p@Q$Kb=DMx78lrrT2q|!+A?d5uB~TRU^oLyqHRj7bf~Aex zZwjhEJZmLshOJ=J8mf-7d=JlfFH($gd!4k&2%nkX_>6$a4KF;k8Nl?|1u87WXUk*SPghXdKCZ zUi}|Y?5|e-?oa=;0RTwA>!bhhuD`T$1DoAu*JKBi-qMlr$0pNSAas2uMgscQ*)#h;$7N(xIfZ#Lyw#C4C3a zIX}7xBtZ>P^8jr+s2ODsJrwmywDQ_rgh`1{6Jy~r%kY5)q z3>FfjX=MCSfOs~s`K-H56A{Ajn#7RD)lZ4#fy}IWLxUpc6E*76caG$$tnsH23_z$t zUFA7QdZT9;n5hFbC*>0Z30o8)U(NA@3l|4dgyOT zlGLX!l~ljhyX5yBiVj!Jd@)w;QfIjwg?X6bc(?`b`cxdk(xYXvC4Y)>?MhN%KLJF>Cf{{B}z{}=1z-@0BDEBB(E9V>8G>N2S7bZjOXR}|tRBK4U<#mifI z`hHc!N9u<&&2(hADi8dSB;PiAUG~6c1R^%NC{7l^MPc|reyVDh;=rWySFh0+X&n-u zzbabjz;hlu9y>{qlyReXZj53qtj+rX>7Ju{KC&+k#T{T(e}F;oi7b%lS&EO=7dg#Y z!=EJxW1`C2#erotPct{-2Hw3LPs~}z77FH--5O3I>~b_Tn=J9@vZgpbd!VXp&TCO- znBl-j>859F-Et`Yu9@J{il-n2*xKJ!bhYYt|Sit=m@UXY=7v9i=Bg&p`D%8tvCBiXAs~n4UY1^dn;0s zgLJ@6I_7l{yUROgLcB>QHp(s4&HL!xl?*UiiYH!2a}OEobu_+1*pTc3-FExGI-hdk zEFuvcw=(60;v>Hyu-@fIvFktVM?yE;E`H=Ii9&$CwXs>ajfs=$NKhvj+r^v#*sWiVa2sS|^ppuYEY z0}UOLVn_>My8(vQMk$znwo06!A2eK=%DH{BYW;YQwL(@1c~rpl%p=h0aZr~e=q*F6 z<4RV_XVu*WC((-@hGy6SbMMiv>2mkiu{rpg{!fwF>NqD~fQvye5&&=?-U2Q%e;1ab zIJu}PcHF?-gmVz{oL?Mnxi@;DQeLQvYGL9|M#K{eqU&I5GX&ME-E?Z1&ttkLgK^uW z7b&O56NMLrYRjZ)N#B9sl#Y0Byz2NLDubY)7ei_Ipjw8ya@2cokY4PL@6Hvoeov43 zo`HcF&Sp+7T4CH5_5gfJ0P}8@HA(-0khIg`vE-f9go>^O1xGsO)PbEIGtayvsV>O& zE+#BSB|r^E>O|@}t+Kw98d+rF>7S{yp)`2y7yMC$bNUTEjTZAMoe{YZW2L8@DHUmM z>7dp;IE$=TZ9nC zx!sa$Nu>p-=?FE8l$s+}c1USVG?0IAx9Ie1?nEH0ZLR<)X8yu?RH|&c}%4|(UDnfCunC;f~fQJ zI&;sDFmS5b2>3kNW@Ki|wr0l0wE5bOZC`@<>+WEFQ5`1Q*G^KQp{IG=(?)h^VtK@D zrYikklsErf8fwx|vx(uxBb@{Q0RABjj^+jqCdSH64i>g%j<@z>G-b{b#t!_li{_5@ z@!~9M*?7B5hcoWA4+~ca5-efJnu~iP){KG5%?CO@d7NQ(#8p5WFf>?*dH}_I=!C=f z-l^kkQZTZlT4(bT*UvUSTzdYz1Fu{~m1>+ra|JZ3jVt+(m1&ld!LXblRhy<%PeSYA z*KY}Yv{f8e`~xEt47G!&SIBR?jvrj7paxsO9syhdcbs z@m_J4pEcpFw{o6HECRNjfK!U7d(?&2`Cc&c*w4YIA&jqo; zu4A??(Zyp!PJ{WO{M}!}S+J)`cDi6W^M(=+Hcq(p;3^qFX&BsU0 zdq%gotpBVv@m%ILiMd(48CMjzaHpt4`!}<~Z^H>`g$s}<+_X^rHY<+iCMHgfe>$aK zCmjFdlKi7uL)+Ma5~oPlVy^CS-vhA3l%G=8s;(j#o=>5|lA=$6SMC*LCM_!~_5&;2 z?=A%LADZICFpt(F1}qy9o0sjmPq8$MKzTN%ffy_T(FP-|O{qxo@-iV`qcsRIp#h52 zS0wFT9h1;VjQnW9ACuA{ZtUG>VGjq33M_37^w28Vmp#?}_?{_gUT;Nuf&^?o zHh+^k81R?ojn)^;lH%=>*go(!6xnn+$*}UoLC&%1>peWd__q=0Euam`Mg;)k9^B@Y zzYMFBxrvPl+pphW-QLoC8TRlg(2MOz2zFpZ@=V8;Q7@Bl6QROV|@nhkA zQnL{lKG6aRq939Y8-Ox;=L#}N*x<_hS8Ow}(K$j{lBrNht=>uMnfOX$7fn;}`$)lb z$D?)Ulj-7MJ~W;M|4x<~kDO&bo<~rQkX)A2sZ2fdS{!2fM^rtA(+)DJFE*emZ|8UUt+ymAZe1*z^6bc?XKjJAEcOwFo!BJj)me;LN`0; z5i64D2sqomfnIodUT?S0?RufU-8m_bcoYz5*lN-mOzU2bVy&VwvG1ix`O_B-{0axx zrfzULnH*=2Wq}X)3IU{LD}7blxm_VqnV_0wD5g`at9NC5Tz+rqD%A2x3XXcjn~dGD zDW;2i!kv62>bqlasuG@|2!F&o0;}Yu_>K#!wOGAE)ZW>W#{|#W zG#2FMHpiJ#_Q_Bt%X(NRJN!Ehl}jYnXd&l-XyH)g5OQep0>%RoPPE`y1JN{cPHc*O zQ+iXfP)LGOvr53t!MO5^9x8K8s^aQp6xp9zG0RJPilU}jD_&S?I@kwC-Ekk?qoQ`M zJe+Q>hZ;c@)d>tAXHkGJj^D5~T`ZQC?()68KI#uc)60V1+i7euuMOqYuDrk-3XE3U`3<=eVAcA zohXv4g-;&#cxw)3DP1Nf_x#zJoZqHyavut`(t{%$Yo67pvK_w=iM6L1eEhz%~sf#3-l3qp^Bro5%_~Evfem0J0|3=$Z zCz6Iksg{J*H7J$cFpPpPqD{o@i)-2b^z(Q+&c|w9mwlfQe*>SqfJ=aKd&KIHc4n8U zgEwUXzXw{#;ByDNm~bcUD9qp^pz@ESFUgKC(|a+F)G^N`6iD1BT-GT$V?rKZaKGaZ z<{+Omxey7?N=bMUB1V3JHx~qy_(n);y{BUuiF=0gN_hW^y&l~J`f0bQJ$8p`ZaiJ^ zCFcufs6bQ-?;~O--!diAK`*gkD*X3(yI? z9ihBw9dJ~sJ_+;YlX3S2FShBO8{OKc5i27}o7x{l8V;-Kwdy1v67LX*u4iZ{G_;RR zrMEYLcf>wSspO@vSW-R3T;PDwlGIxGs*uweED}(*HRAT``{=2`1{nrqU(`J@BKv+- zps^jc&jGVMWsh>6~*k94MmfrWMexkbeOOT2I>^9x|b!mRTZWeG#*pYq0SkOB&WO;DF(Y-LIwex`Fz%9&ykpL+b^(>rNVNIP!CtHkv4 z)^3Y0^(jH4nRGf(GHl+6H%m4hTA^JWHkr^8AlMn_rET#>JKiLEzt#@&$<-c7|6`Y0 z?LA7qfG3qPQo{&0v^|`V+BM2YIXLQBaRnmc$ns<|S&2-an|n|nFkvfB_YmUxyCiB8 z7_aD1p@}^83#TIxz<)DQg}=UjL9e%mMO{AP`%GL&2C}YsDgSZ(*k10^6Pq`L-la`oQNT@tBmX zey43gMZWCD_4_log2apw@h9(}V5`Pd_d*~GXR2gS1VJ(iuR;*Px_+xyK zH1^G=Hvde;-iJ@}q`z!(GIQ}Wapk8k`U)S4+xX3?Ir@(g*zp~TH7;o~(FL#6E73I7 z-wf{3PVCVJOA^cbtg6@(%GA0^;WD2OJ1(nm>jzKcPd>oQNOKd_+S!hsJMj$#0cEh8 z)%OZ?^9T1}W1_Ir!j%j?*4O+A{Or(RcE*eK83+g`YmM@=kK&3|4g1hR(RN?3ghY<5 zW@u<_eE@^Hbqza`Tk|3xviPcV@vxoRyL7D&nl`7Hx-}#8U_Y(g!D5tS+vbNqBTR21 zH_7PB#!FCji^u6ldqfoWENP^hhnPnjWj<|>!6Guoo8nlEGFS6GjGF+bjJmM5@Onh<&ela_T|H3dWP5;}S`B1$Y` z<1juA!2+d%6JyOzcBdgG(Cw!xZOmb7!yyDCDKY#QKeB%));;kqNF31Do z9pGpi0k1bxC8? zA&4wQ(!@ugt5YGfnkZ> zrcV);dpII06`+ol_kETmS8ZD^eooR{w#L^!l~J=>8wALsI!w!1<{nRZ;%Hwli8zr< z;pVe+ZnO9*8S;UNDdFJCIPH+r7t8@4qm8O)IytI*#}dlk2zy3^fUl{IKtmoWfgo-*Hqy(@3>d%zQH9 zOH|ksSxLe|bea&@qg-6g`!N*gGg1h~?s?^o?F`hS^|@ z5$sjMIKf`0uEh83o(Yj?+oyWJs*PpzQ`=Yp_f+NZ7*mfc$V-G(ompzO-6V`Y(A6e0 z1rjUin`W=sIbllC(S)bJb9PUfYbkMrSi80zTM$v0Yf~9E`-|6`gpJ!`UE>yaK5B{d zK3Fm+=9^m(TB;7{jkSp)VL_(L0SSzz&eG>g7r^jLHm*w_53W5A<>#DJw8oRO+ujG^ zm*+oJv3&d$o5R_pO14*gZTxh%x!Ef)a7V_dm^S~At3M@JumXD4l1ou1dD=R5S5zt z#&y)>?igA|Nm7@YwHjKWEiH9Ar1WXeJ-Y^zYqoWY20rxWVcsMvX;E|unQa1 z9~riLbKm@a-N0ptJJ7WxJzRU>(Tly&4Eg6i>Bt$)Y2n0lBKTOfXfMcSOP1WO_DUM{ zOBm?FLv;&vKYSn*_uYOQYyXBO?W)xB@?Rt3>>x+KT6jDd#0CJsv#Y-n?LQ;p-?4C7 z>Ptr$H*UZj|Hw_tg1fj+w#Sghw`@huelasXIko{Xie_3cGGy3!T5k@8`sL70Eap;Y z{m(6g`vArFfa!)C-QACpGsg)QYS7gFC8?*MCRO^c7_T=626jsp^FX1d%3E?D)%PoQ zmQHJgZk!H{>+P=OHz^QC?3oimRd-m1GPHo1N#?r19M`F3Q=-`B#*t4-hUk*-ZQ@8n*Q z|JY~yByR+!dMUypw3777!F`EuZC6IPw2%Q!veXZBVF1%SWdY)){pLXwQ0TX|ECUMwqP;W7JyDg!adIcnp4Rqc* zdP6qrsD7js_sD8~e|_&pyFcE>DT|(;sC5atw&=jE6AOaO?|(|SUY?2-V;(o#G^DqM zy9r>cQ`OZJk@GZMUICNPeXh@MteJ1bcw=3}xf6J1!?1Use$wMTpif%!%V$ za>R)2kpjw;n}T_m$A>kh*r~IaeGNo7YJEQhFVK!sS$zr2Hqm+jc_{u|<~h}K(JzVh z^rIHPs6Wk_ZEznmq(qZoNJDghrXsgZ*)8BiItJ4CKZtOK!0h8(8bW_aiA*h|yQQO+ zUN$fsPBWt=M3yU&kzz6;Sc)|iGzL=_3-RVZc5+Y^)gsLxNdhXPe5A0rI+I30h%dw+ z?m_RY&0Y?w!%__IH{4<+^jDPmLH}HIM`@I%le%*v8hUJ&4-WpMolpi8d4-v4qOH`Y z6por}LTzNUnYcZBsobK9VPTSJ_=|pf`+Trk39ABVBxcIlu0-{+;uo}m_3aQ6 z{k%wocR?0H*MByF3RR)qUFX2(tnN!Br)=QJSxCjQNzlzoioaUW2gb4Ua2A;W)d%{0J|vyisQ!Y* z#unM6cf2?F+-7KF$Lbga#xXajzZWU-S!}(qmTP8^a15}`!c^O{)BD37{o)w?YWoK6 z%l=@S2RnO5HX}O+lRs5cU4bRBg>P=T4%GJ8Wh61kTHDsLP(2LKqB(#>8Y}MTQo*1n6sJD~ZdHG!J zNWRFE3BO804#HV1sSdqRn0m&o?XmxCK0caPZN6?fV~L35olo#LDF)Q+vuaheXhboT zdzCK9w7?s;XBsQEf@|?H$_dxTZSt$NM%BPZp4zAqvT(T(>i+C7yaVM+sGHZeS_EWf zRtCVx$&g&u;%O6x6%}S*8_M5|@pLxfF-Tsdc_=O`3??T0oC2`9q#J+Qy)@z+5gI?J zDf@#X#b(`ih~}NF5G+Q07bff}mX3AebEd2iBoB-JTucG(% zNPR~Feq|cI)4_LmMZ+FGdF^E4plssgbUTZE_nd>((8AVGKNE|+oV{WO;X!NBKvzpw zOE-HM%%2LSYtbxN-w<&aPqt5ZIHuKK)IGZDi74;mRE%JeqqmRkPqCgu;c?x+C;^|& z5nd`>32rkc+`lV?=gv!IfugfoWnGo7Jg_ z`M|R;_DtT2-(<2_W^e&mq&h?&-FsNYX4@{u2mXj>B(bD{`JSl zv=eL~8MiYk5*kL3Ka(HPaE;{$$|eK>a->r%q#f^yA_RL^$G-6wvTTie85gwlHB<&5 zPmUed;`SarM*m!!M?{_FYIrhyEnct--`X6B=dhGMs}*hq!Q%#^de|HmNLzk@_ADsv z8(#s&^<~1!?Uel=MjZi>1zrjI_r+3wy}!SX|FU#S0rF3Pe=g(ri}CiD3s;iAE$X<- z_|MYz-x>Sh%J+XSbl=6fTkrghbOT=xcBlGzm-%ja>^Czu<}c>|D3;wtxLX(bji3gf zPxt2sQw{by%> zC%AV}{uwI##sC1+Kmfph1P*uE@0$DH07DeN9^(JU_}>Nnr{(?)2>`sL{M$4AX~z{H UD7Ov(fCc~1!o`@0=JxFW08>%wfdBvi literal 0 HcmV?d00001 diff --git a/function/ui_compare_rh/uicompare_tools/excel/UIComponentUISupportColor.xlsx b/function/ui_compare_rh/uicompare_tools/excel/UIComponentUISupportColor.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..462b1a49eb750c9053d54efbbd3d34a38545795e GIT binary patch literal 9480 zcmeHNbzD^2+8#hk8b%t1?q-x!TBJLrOS%T>?v(BjK>>lGK|n&fr6q=tQo2L>8_&7- zcn;@$-|zeX-aWtBd#_pheP-{q-sfF!Y-Ks5dq4mR01W^DPy@vH0*CDp0DybQ00031 z4e_~zgT0Hny^Eo`hod<}pTphGmMZTaB2z8^5q|xDxBuV~C{^#XZ|A~o*4h-2Y|)H( z6INV|M&3yNoNgU8%{@Vzu5OKl>B@)ELPetzt&LvAcKA8NkuWiImO)2cbj6nALPv?t z2%|6t>U{9{`q^u#z_+EEG1YNV4|9pJ_V!T5YfMug2_M$n=l$MxsJJ0s z5-uV^-^}u@81a01>v3PZ4x$|MOJWm#_aIevQrQKqrY030UQN34ObCSrN77jgGq6&* zq2>Z4v)Mle%+;^7BoUMViCUE+6xs2BFnL4KaVxojhg2{8Q8;Pm8~f{d?sv?(dmC*@ z6E|kBl-0d7yb=l=jf>XERhq1FYp`C8#W+fb9BqSp-$5hT`*qE?70=Lb+=@PR_Kb#Bnm)C;GVs4NW5DNmhB zmpbuWCr>6%)1_rSm|UAdX zK^hN3Guux`l9{ap*WT=kS-q+>VEi9E!_qzUxhH!Sp^p29={l35`P|*T> z#riu*0-hwL9>GVX5l#|P02+e3E$8n%adU9CF>!FP`MH|?n==UTB@K@9pS_i;D#&%h zO*+O+7?)e7>jS(Q7fzaOjV&Csz8Yp212wPj@gf;ZqrUbRIZh;pP>;Q#9@n#n*vm)+ zCvB`nk@)vK32gU-kR67OhLF%qcA%7j(#Qn(+nZY@I~dp*5Q2s$3B7DNK>lw(nCMBu z@(XArj~m89!PcL-Uh-H&MkxB>Ix|qS>VFZewhaxe`S5`%gV|#3wm|}Rit;+p12lR> zf-WPB1nSORM zU2<8Xxk{3i`UMD1?@aQ?t4sQ(J^~6;8qLB7)iXC#q1^XGQrer^TZD3a$&US!gN_)@ zX-OeoZ8jK13O*x%`M1fNXMaOT-R<;V@lS0*LDQ`Szk(DrfL*BA=ARSS6~Fa|K7gVS zpoAlJA@!ft+Fm^yUuNeYns2b9F@6~op0Ca`=gCB`%XY?SN+H5h^E zGqnAliY@MWzXN_X9SK{xR8S!AB16Ug-)rZOS8=UwwB5rnBnnVKwv z3_2;@NzmJx7}S^#*1p~A%lv`GSe7ex&pV$W-s)jir5_? ziKO~>oe{9qX8uQ%1bXN$Q&`vC!uoXMWhi@y z`e$v(MiM%5`)OKG007|c+5oXMb~ZOtb8)t^e*yVvKRS~~6@$2dp?eD6sAFEtaRPiu zY_b;Oc|o?03M?-9=rzfdgQtkyQwOu(xm!XfcT6($vAPD1ULRj7DII>;HPhGXrnLhS z%t_Q)Q3oCB0i(->lNk73(3&w(HBlvhosb|a9_bW$?39cs@p`Rag5JNWQ+tgb8o?9t zR?jUZ?>+i@m5wnzne2TH)%!0)C(!78gGcJvU*ND~)dj9lEouz9wfTAZ zdir_1~Nqh4oifcK97{l+kgGO~cm1ph>ngNF)*{aW6mjf{z^Jc|JrdYS5w0o6rv zZA!jwRYx?8W=6A5Pd8sW;-R%X2emIU$ajcJ9IIek)my#;V%^KbADZfv7C#d}*SB$I z)b-5PM;>Rxs-|j;%AavbSvQIAb^u}m zqWwi%h^4u?3*=u$|F;JBA0|IIwk@)q3n+DlbR*&JmG~tDQ$mf8re5PalF7v^3M@75 z40!ETO>X{aZOw6b?NR2X@Ov@~?0B|`M#PX+QzFZXeXm*eRN}4j8!0WewmURLt>ILx-D6wz z(FziLtg3Uf{mKUd?{y+qU)g5ysb5tfotUz}{zH5(GLSfOPF;uIsyYs-GB%TWC=g-x+Hu(!5Z-5=jqg!{S(!XTa#E#h#^Ux zmp1DOh9xKi3uROUPdT-h6c)FpSkn*4k!LFUIc7S8yG+!|q}CbaE&y?&k@q4fD$|zG zNyT_j!xN0fvnY75s1GcdEXX6}l2u#PLv9bJ)Rg*ZEiq`Jb*sqoKXl_)SN2uJE%MfU zF*WtE4v+g1^SxqYcdxx&Zf{1LLDhB1%=rt*K&2B;&X&vN^71`FznkNsC{)7&1yB!! z;&wYs>Gky?Y+z6#7NRA5y*XOl6Pxqo>gxOqhwTdtopf^_A%e?|V@cvWOH^(U;f;G* zlR=DFc(@8uh!M=Bkx?AU-7266YpSgPqnt69=h4^mbA_NSgS0{9${KI(Xw0u1rZpY- zB}g3obzmHvZwC_#?mSaYT6lsLwG_G2XpRm~kUZ!gC5nY(WoR))B4;cUV@Ug&UJ^g| zbPK}mDF0}d#Pyk>y+JGsn?^Ggvv=g#+omyOd@()3M}fH39ef|Bva$2)4BQR^B7%(r zibAdcY8^4(NA+@hEu8&niiNyUBSxM&JH$u3=*41$9|P6C9e1Zeo@WoBA8TP;NGTJ0 zO}lN-@We+@T|UYb3g@PnF~1ZG&r46{jgX+Y#9IslN_~F7V7sqx@e21G+e!4G+tHA5 z8ttr4+!3o&qcDjv{EA13tx`BPU4W9vC9p!3WW-luj28cO(Oyr|{Hh34z4Fz2j2^Hz!LCTroIW_V+=!TMi+9Rv$(M6(_tv1EFJ^5#bxZG!SkqB$qi%yV z8PP6*_(qPla#P3TY<5Qzcvs@hta?%Qnl&vS#u7J-fwSJN$zuYnP9QH7hg&x2q5qOd*B%6K&HTk0F#r%r44bL%4Svt^NM z+t=zX$_*nJ$%Qac4)DK|MjTl0|C(j}mQNsYlLSx_ZjQ1VZ!cR$_L0#mwP2Q2a+d1N zyG$8zxenYIrTt@v$ax8%u&lS5)-N;^UyWGk$AlMcAxjl5V18)Xx zNO$+%>GeMG5S3fK-ad_B2yadNvoVBQhJGHo`gI!00&K0k#9}eYdy3?;c`2+PTl-N+ zS+P{+`XAs1yQSz6n62s4qKfeaMKclz<9klm;%{smKL9?NyuYQTaXr*l#gHjcf7X8R zhWG8!DoY^nXv=)#6Zewim6~F+0E1&r1Adk8?JEWO^zBX5NS3fMXUP}T{T4v|LA84P z(FYVKb%z0`DJLZ4jl1nj>WUS&?q42z6sP2jOY*+v#nOncF3^`>T%aqj>}OO7(qNgl zhJAuSZ8&PN@h1i4vbeTd+Jkdd2FQ4eWV*L_*d7Y8K760O94LAuX&1Dp2??Gga1cC_ zXkO7_Wei_yRHbieydBwNnBHdymnKpS_^$5wK(^lF87|w!7-Uubkx}>@{tPKzPL_wb z?(R;);%Q(c2q=rysX6*qZ<5c)iu=vxmWB6{2+!v?f+v z+lD%7=I|9Xv^YfM1jObse0qW<8f6!j59`oWUm2xlqUK|p$YWl?2@_U@Sz7_gRmUIS zhJ-)!3zrI1mxUJ>0r3v8^~~_%`=cXi#2q;Cy&_9xP2-IjkRwJ?)YrLu&uL1JQ{s;v zQqLlysYqEuUkbQovFH=LDnZi0M__DFC%2g{ZhtQ;<*1o1mnG1$rAYqjy(oKoRv`|; zlD59RtWa`OXGR%Qz9-CxI;!w!T>M#x7G}|x1>!=@9fhPtX-oMJfsPq0I(>Q|KoRXx zR>A6{sdQe5W1}?UbRo4zz{-W)vQwJe8&=k2vNyC~L>CE9U*=V>_%zy)d$k5m+CCL! zTu4!2S^V}*bA-ozI|R)CS_(XZYdxTU2F zG~hrclyyus+9WJzV!C6ac;%%Zl%UZ^z^>+_{h~?qnLS^qQrv!16QfM3)K~FQ6XEKl zZX!}hdS+z$ax2OXeUf0m2F3&SJ##0z@9E)V*yBbB4dH+y-YC-&wTTyoN8qK zX`~R(qKYk^g2T=M2*2t*nYuMq4;Htpd9D0_#!Xorx-d>)6J4xR`=tk7Maq#KZ6kR?UHvM|j!U*eovT(GWsTbdnJqZYcCN4?? z>%z)wRlwpPCBkxxfyB-ag}Wx!vC?!EFWOA3P*+yEoYM#O79Zb$i3^5_-wl05rEflH zGU0O6NVS!|@pgzBF&ZCp@WipiX&AnW@B+G*Wk>4`Q!4FGN$tm|^?D>ym+P94j|E5dU)bv$ta z0OG%S#J_yuENulyK0j`=!{iNWq}M0sEY4IX7P0gU@;YmqY9UBUNQDMMr>t|5qi?N9QF|x8GFkgiD}r0NKlarwgb#O z@So(K6EtG2tmQF};Cyzqb_7{gc^V_YrS zGHEpaCAXPu-zZf(!^k@>ITk-y4Be!NbvswFAB&irWgnb8l~~pRHwW^hSr1m@3<5*U z{kKOaI^X5_Q|Cqg-uhTB+RF+F|7f4ZG|iP3d1=VoLSW zJzjEYa0}d8*tlR2+~I+J{8T#tIY<9cpFBB%NuZE|!R(6AR8~;-kegE^L!z!g^tJl; z`zc|huTfVf>cwY(+KVZPQdcNjqG#bfgb2v|RB*4A2u0_vwwHosj0Y%JJ^3DX*so8oWLVA!U4SY1nPi1@Z}I9haUH z;<*q#YL%t9b&OZ02nv|n`4Uzy7<=#B?D0^<)^?f6A3a$G0dSe4 zXK}s*bzhF`qZL=oTrxUBtqNnys9$2a8&w?A@^8JeTls;@rraon&Q?^lfi~ z>Y>o(CrPehSVV^2sP5vu6q;WfR&!Pei8BMj6`wJqygjeeK#fC`K)zq&mc{_Q^?0nk zR`z5)DPAr4#!|*vwy#Q$`-GFitmA6NPuEc2()&yQ3K+H@_eY=vQM-tN7$& zcLa=$a;%ROYDMQ;NTC9~5^Ehx%!`6ah(4tTY^~%ZpKYwDRX#lr9`TUhHR0i04;-b> z{QLwKPqYUU^^wR%xs}TrG?6u}V(WcO8$3ivyG%0jz2)lOIVXJl{=QQA9c%4M!F%T5 zUq<*Bo^o}BXV+ZJoz=`;Tz;n6?zXu(OswopjB+u#s<^7>5lGughkHNue(K|jf(6qe z_b$H(H!?vS!;>Er9gA-Z7Way)T^f=W?S`DG=$sNT-U7B)t2o)* zTqPL5XVGHWq5#^WMr04H&{l>&5tT$@ro~9TuSpw9@?B~M)#Axi$i_)VLwfB&{dH2WIkTnsSc4QQ8>F9kc+4ITu^~7?n z%ce;qWKdM#dP?qIep~h+GN{nxeR7BZ$$;$4y+9G7&WA7NW1>kr3jAhkijV>dCunjoJ$6#546T0AMRZaXh**x zOK_nbC1F>UCZ4R|CtuiQV10qqQ&{?-&Dta7CnrsWjj%;bke=c&!+BWNXTf6ho2%qC zTKLTT&MX8(c6h4#pWo*A_x%0)_z&-PD9im7;IDP&e+&LR7Q#vLr>gT^!N1nt{wz2M zC*S{GiMxw)w;=Ni=@$ON%ANAeUE#a=`(MIX7{3YsEt`KA;cjC27eXE8AAkRUrJ3&n z-p$kg0<4EexbWw>o3*_Qa5pCY1rP%-QNRIyMaXwW@5ThbM0<(uKFqHO;V#NwU4>s5 z0Kgd;0Pr`*;jZ{ybN>s#new-r`2QIHyP$uy+`k|JfGarYANTYxJFYB;{Br>SV8TBP La5WyJ{@MB;N-i!s literal 0 HcmV?d00001 -- Gitee From 418996ad2a8963b229715777105681b83978e2b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=AE=9D=E8=BF=AA?= Date: Wed, 8 Jan 2025 15:28:09 +0800 Subject: [PATCH 2/2] add text MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 陈宝迪 --- .../ArkUITabScrollable.test.ets | 79 - .../ArkUITabsIconStyleSelectedColor.test.ets | 195 - ...ArkUITabsIconStyleUnselectedColor.test.ets | 181 - .../ArkUITabsLabelStyleSelectedColor.test.ets | 469 -- ...rkUITabsLabelStyleUnselectedColor.test.ets | 349 -- .../ArkUITabsLabelStylefont.test.ets | 386 -- .../ArkUITabsSingleSelectedcolor.test.ets | 87 - .../ArkUITabsSingleUnselectedcolor.test.ets | 42 - .../ArkUITabsVertical.test.ets | 54 - ...ttonSelectMenuItemContentModifier.test.ets | 330 -- ...LAdvancedComponentsPopupInterface.test.ets | 82 - .../ComponentTextRicheditorAITests.test.ets | 864 ---- ...mponentTextRicheditorCustomColors.test.ets | 891 ---- ...ditorCustomkeyBoardAvoidAnceTests.test.ets | 393 -- ...mponentTextRicheditorFontfeatures.test.ets | 943 ---- ...onentTextRicheditorInterfaceTests.test.ets | 3603 ------------- ...icheditorKeyboardReinForcingTests.test.ets | 209 - ...ditorLineHeightLetterSpacingTests.test.ets | 261 - ...xtRicheditorLongPresstoselectalls.test.ets | 647 --- ...ntTextRicheditorOnWillChangeTests.test.ets | 236 - ...entTextRicheditorPlaceholderTests.test.ets | 2052 -------- ...tTextRicheditorShortKcutKeysTests.test.ets | 1162 ----- ...tTextRicheditorUxConformanceTests.test.ets | 231 - ...ComponentTextRicheditorWordbreaks.test.ets | 602 --- .../FunctionJiChuSR000HUB4K.test.ets | 1062 ---- .../FunctionJichuWaterFlow.test.ets | 70 - .../entry/src/ohosTest/ets/test/List.test.ets | 367 +- .../StatusManagerBelievable.test.ets | 20 +- .../TsComponentSR000HRP34Test.test.ets | 121 - ...eStylesInterfaceEditableTextThree.test.ets | 20 +- .../UIComponentAttributeImage.test.ets | 20 +- ...nentAttributeStringModifyingStyle.test.ets | 20 +- ...AttributeStringModifyingStyleText.test.ets | 20 +- .../UIComponentAttributeUserData.test.ets | 20 +- .../UIComponentButtonCommonButton.test.ets | 228 - .../UIComponentButtonRadioCheckMark.test.ets | 228 - ...IComponentButtonRadioCustonmizing.test.ets | 362 -- .../UIComponentButtonRadioLConic.test.ets | 327 -- .../UIComponentButtonSelectAttribute.test.ets | 257 - ...IComponentButtonSelectControlSize.test.ets | 1688 ------ .../UIComponentButtonSelectDivider.test.ets | 440 -- .../UIComponentButtonStyle.test.ets | 182 - .../UIComponentCreateColor.test.ets | 20 +- .../UIComponentFunctionSelectSymbol.test.ets | 269 - ...UIComponentInputKeyboardAvoidMode.test.ets | 20 +- ...IComponentListAndGridWaterFlowAdd.test.ets | 308 -- ...ComponentListAndGridWaterSections.test.ets | 295 -- .../UIComponentNavModifier.test.ets | 484 -- .../UIComponentNavTabsAction.test.ets | 119 - .../UIComponentNavTabsBlurStyle.test.ets | 1645 ------ .../UIComponentNavTabsCachedCount.test.ets | 95 - .../UIComponentNavTabsContentAdapt.test.ets | 699 --- .../UIComponentNavTabsEdgeeffect.test.ets | 55 - .../UIComponentNavTabsExpandsafearea.test.ets | 198 - .../UIComponentNavTabsHeight.test.ets | 43 - .../UIComponentNavTabsImproTrace.test.ets | 354 -- .../UIComponentNavTabsInterception.test.ets | 295 -- .../UIComponentNavTabsInterface.test.ets | 103 - .../UIComponentNavTabsMirror.test.ets | 378 -- .../UIComponentNavTabsOnWillShow.test.ets | 55 - .../UIComponentNavTabsSubTabbarStyle.test.ets | 55 - .../UIComponentNavTabsWidth.test.ets | 45 - .../UIComponentOtherRefreshAbility.test.ets | 169 - ...IComponentOtherRefreshInterAction.test.ets | 125 - .../UIComponentOtherRefreshInterface.test.ets | 102 - ...UIComponentOtherRefreshPromptText.test.ets | 174 - .../UIComponentPopupBoxAttribute.test.ets | 94 - ...entPopupBoxFullDialogInterface001.test.ets | 299 -- ...omponentPopupBoxPopupInterface001.test.ets | 206 - ...ponentPopupBoxPromptToastSequence.test.ets | 254 - ...ponentPopupBoxSpecificationsPopup.test.ets | 162 - ...onentPopupBoxSpecificationsShadow.test.ets | 242 - ...UIComponentPopupBoxSpecifications.test.ets | 609 --- ...entPopupBoxToastStyleInterface001.test.ets | 138 - ...IComponentPopupPromptInterface001.test.ets | 605 --- ...ntPopupboxCalendarpickerInterface.test.ets | 374 -- ...pboxDatepickerDialogLanguageHabit.test.ets | 1346 ----- .../UIComponentScrollSwiperAcross.test.ets | 94 - .../UIComponentScrollSwiperArrowHead.test.ets | 498 -- ...ComponentScrollSwiperDisplaycount.test.ets | 59 - .../UIComponentScrollSwiperInterface.test.ets | 890 ---- ...ComponentScrollSwiperInterfacemix.test.ets | 19 +- .../UIComponentScrollSwiperLayout.test.ets | 2457 --------- .../UIComponentScrollSwiperTeace.test.ets | 59 - .../UIComponentScrollSwiperUx.test.ets | 75 - ...omponentsFormComponentTransparent.test.ets | 2449 --------- ...tsUIExtensionComponentPopupChange.test.ets | 225 - .../UIComponentTabTabBarSymbol.test.ets | 417 -- ...nentTextAttributeStringConstructs.test.ets | 20 +- .../UIComponentTextAttribute.test.ets | 20 +- ...TextCommonCopyOptionDraggableTest.test.ets | 20 +- ...ponentTextCommonCustomDrawingSpan.test.ets | 20 +- ...ntTextCommonItscaAttributeUpdater.test.ets | 20 +- ...ComponentTextHyperlinkInteraction.test.ets | 20 +- ...omponentTextImagePrivacySensitive.test.ets | 20 +- .../UIComponentTextInline.test.ets | 20 +- ...mponentTextInputNumberDecimalTest.test.ets | 20 +- ...xtInputSecurityKeyboardScrollTest.test.ets | 20 +- .../UIComponentTextInput.test.ets | 19 +- .../UIComponentTextReverseAnalysis.test.ets | 20 +- ...UIComponentTextTextAreaActionTest.test.ets | 20 +- ...ComponentTextTextAreaEnhancesTest.test.ets | 20 +- ...onentTextTextAreaEnterkeyTypeTest.test.ets | 20 +- ...extTextAreaEvaSaveInputMethodTest.test.ets | 20 +- ...ponentTextTextAreaInterActionTest.test.ets | 20 +- ...ponentTextTextAreaInterActiveTest.test.ets | 20 +- ...omponentTextTextAreaInterfaceTest.test.ets | 20 +- ...UIComponentTextTextAreaLayoutTest.test.ets | 20 +- ...onentTextTextAreaOnEditChangeTest.test.ets | 19 +- ...omponentTextTextAreaSelectionTest.test.ets | 20 +- ...nentTextTextAreaUxComsistencyTest.test.ets | 20 +- .../UIComponentTextTextEditable.test.ets | 20 +- ...mponentTextTextEvasiveInputMethod.test.ets | 20 +- .../UIComponentTextTextGestureStyle.test.ets | 20 +- .../UIComponentTextTextImageSpanAlt.test.ets | 20 +- .../UIComponentTextTextInterface.test.ets | 20 +- .../UIComponentTextTextLongPress.test.ets | 20 +- .../UIComponentTextTextMarquee.test.ets | 20 +- .../UIComponentTextTextPrivacyMask.test.ets | 20 +- ...onentTextTextStringParagraphStyle.test.ets | 20 +- .../UIComponentTextTextSupportFont.test.ets | 20 +- .../UIComponentTextTransparency.test.ets | 20 +- .../UIComponentUISupportColor.test.ets | 432 +- ...ICustomTextShortCutKeyReplacement.test.ets | 20 +- .../UITestCaseTest/UITestCaseTest.test.ets | 146 - .../UiComponentButtonSelectAlign.test.ets | 839 --- ...iComponentButtonSelectEnhancement.test.ets | 370 -- .../UiComponentNavModifier.test.ets | 484 -- ...PopupboxDatePickerDialogInterface.test.ets | 2121 -------- ...PopupboxDatePickerDialogScenarios.test.ets | 187 - .../UiComponentPopupboxZero.test.ets | 566 -- .../ets/test/model/LeadingMaginCreator.ets | 116 - .../src/ohosTest/ets/test/model/Settings.ets | 31 - .../src/ohosTest/ets/test/model/snapShot.ets | 1 + .../ArkUITabScrollable001.ets | 56 - .../ArkUITabScrollable002.ets | 56 - .../ArkUITabsIconStyleSelectedColor001.ets | 45 - .../ArkUITabsIconStyleSelectedColor004.ets | 45 - .../ArkUITabsIconStyleSelectedColor008.ets | 45 - .../ArkUITabsIconStyleSelectedColor013.ets | 45 - .../ArkUITabsIconStyleSelectedColor014.ets | 45 - .../ArkUITabsIconStyleSelectedColor022.ets | 45 - .../ArkUITabsIconStyleSelectedColor024.ets | 45 - .../ArkUITabsIconStyleSelectedColor025.ets | 45 - .../ArkUITabsIconStyleSelectedColor026.ets | 45 - .../ArkUITabsIconStyleSelectedColor027.ets | 45 - .../ArkUITabsIconStyleSelectedColor028.ets | 45 - .../ArkUITabsIconStyleSelectedColor029.ets | 45 - .../ArkUITabsIconStyleUnselectedColor002.ets | 45 - .../ArkUITabsIconStyleUnselectedColor005.ets | 45 - .../ArkUITabsIconStyleUnselectedColor014.ets | 45 - .../ArkUITabsIconStyleUnselectedColor016.ets | 45 - .../ArkUITabsIconStyleUnselectedColor021.ets | 45 - .../ArkUITabsIconStyleUnselectedColor022.ets | 45 - .../ArkUITabsIconStyleUnselectedColor024.ets | 45 - .../ArkUITabsIconStyleUnselectedColor026.ets | 45 - .../ArkUITabsIconStyleUnselectedColor027.ets | 45 - .../ArkUITabsIconStyleUnselectedColor028.ets | 45 - .../ArkUITabsIconStyleUnselectedColor029.ets | 45 - .../ArkUITabsLabelStyleSelectedColor001.ets | 65 - .../ArkUITabsLabelStyleSelectedColor003.ets | 65 - .../ArkUITabsLabelStyleSelectedColor005.ets | 65 - .../ArkUITabsLabelStyleSelectedColor007.ets | 65 - .../ArkUITabsLabelStyleSelectedColor009.ets | 65 - .../ArkUITabsLabelStyleSelectedColor011.ets | 65 - .../ArkUITabsLabelStyleSelectedColor012.ets | 44 - .../ArkUITabsLabelStyleSelectedColor013.ets | 65 - .../ArkUITabsLabelStyleSelectedColor015.ets | 44 - .../ArkUITabsLabelStyleSelectedColor017.ets | 65 - .../ArkUITabsLabelStyleSelectedColor019.ets | 65 - .../ArkUITabsLabelStyleSelectedColor021.ets | 44 - .../ArkUITabsLabelStyleSelectedColor023.ets | 44 - .../ArkUITabsLabelStyleSelectedColor024.ets | 44 - .../ArkUITabsLabelStyleSelectedColor025.ets | 44 - .../ArkUITabsLabelStyleSelectedColor026.ets | 44 - .../ArkUITabsLabelStyleSelectedColor027.ets | 65 - .../ArkUITabsLabelStyleSelectedColor028.ets | 44 - .../ArkUITabsLabelStyleSelectedColor029.ets | 65 - .../ArkUITabsLabelStyleUnselectedColor001.ets | 65 - .../ArkUITabsLabelStyleUnselectedColor005.ets | 65 - .../ArkUITabsLabelStyleUnselectedColor008.ets | 65 - .../ArkUITabsLabelStyleUnselectedColor011.ets | 65 - .../ArkUITabsLabelStyleUnselectedColor012.ets | 65 - .../ArkUITabsLabelStyleUnselectedColor017.ets | 65 - .../ArkUITabsLabelStyleUnselectedColor021.ets | 65 - .../ArkUITabsLabelStyleUnselectedColor022.ets | 65 - .../ArkUITabsLabelStyleUnselectedColor024.ets | 49 - .../ArkUITabsLabelStyleUnselectedColor025.ets | 69 - .../ArkUITabsLabelStyleUnselectedColor026.ets | 65 - .../ArkUITabsLabelStyleUnselectedColor027.ets | 65 - .../ArkUITabsLabelStyleUnselectedColor028.ets | 65 - .../ArkUITabsLabelStylefont001.ets | 44 - .../ArkUITabsLabelStylefont003.ets | 44 - .../ArkUITabsLabelStylefont004.ets | 44 - .../ArkUITabsLabelStylefont005.ets | 107 - .../ArkUITabsLabelStylefont006.ets | 38 - .../ArkUITabsLabelStylefont007.ets | 97 - .../ArkUITabsLabelStylefont008.ets | 97 - .../ArkUITabsLabelStylefont009.ets | 97 - .../ArkUITabsLabelStylefont010.ets | 97 - .../ArkUITabsLabelStylefont011.ets | 97 - .../ArkUITabsLabelStylefont012.ets | 44 - .../ArkUITabsLabelStylefont013.ets | 44 - .../ArkUITabsLabelStylefont015.ets | 107 - .../ArkUITabsLabelStylefont016.ets | 107 - .../ArkUITabsLabelStylefont017.ets | 44 - .../ArkUITabsLabelStylefont018.ets | 44 - .../ArkUITabsLabelStylefont019.ets | 38 - .../ArkUITabsLabelStylefont020.ets | 106 - .../ArkUITabsSingleSelectedcolor002.ets | 38 - .../ArkUITabsSingleSelectedcolor005.ets | 38 - .../ArkUITabsSingleSelectedcolor008.ets | 38 - .../ArkUITabsSingleSelectedcolor011.ets | 38 - .../ArkUITabsSingleUnselectedcolor003.ets | 38 - .../ArkUITabsVertical001.ets | 55 - ...uttonSelectMenuItemContentModifier0010.ets | 67 - ...uttonSelectMenuItemContentModifier0011.ets | 66 - ...uttonSelectMenuItemContentModifier0012.ets | 84 - ...uttonSelectMenuItemContentModifier0013.ets | 67 - ...uttonSelectMenuItemContentModifier0014.ets | 82 - ...uttonSelectMenuItemContentModifier0015.ets | 67 - ...uttonSelectMenuItemContentModifier0016.ets | 69 - ...uttonSelectMenuItemContentModifier0017.ets | 67 - ...uttonSelectMenuItemContentModifier0018.ets | 67 - ...uttonSelectMenuItemContentModifier0020.ets | 82 - ...uttonSelectMenuItemContentModifier0022.ets | 84 - ...uttonSelectMenuItemContentModifier0023.ets | 67 - ...uttonSelectMenuItemContentModifier0024.ets | 94 - ...uttonSelectMenuItemContentModifier0025.ets | 66 - ...uttonSelectMenuItemContentModifier0026.ets | 66 - ...uttonSelectMenuItemContentModifier0027.ets | 70 - ...uttonSelectMenuItemContentModifier0028.ets | 82 - ...nLAdvancedComponentsPopupInterface0178.ets | 48 - ...LAdvancedComponentsPopupInterface01780.ets | 54 - .../ComponentTextRicheditorAI0010.ets | 77 - .../ComponentTextRicheditorAI0020.ets | 77 - .../ComponentTextRicheditorAI0030.ets | 84 - .../ComponentTextRicheditorAI0040.ets | 105 - .../ComponentTextRicheditorAI0050.ets | 91 - .../ComponentTextRicheditorAI0060.ets | 84 - .../ComponentTextRicheditorAI0070.ets | 84 - .../ComponentTextRicheditorAI0080.ets | 75 - .../ComponentTextRicheditorAI0090.ets | 55 - .../ComponentTextRicheditorAI0100.ets | 91 - .../ComponentTextRicheditorAI0110.ets | 91 - .../ComponentTextRicheditorAI0120.ets | 91 - .../ComponentTextRicheditorAI0130.ets | 91 - .../ComponentTextRicheditorAI0140.ets | 75 - .../ComponentTextRicheditorAI0150.ets | 75 - .../ComponentTextRicheditorAI0160.ets | 119 - .../ComponentTextRicheditorAI0170.ets | 84 - .../ComponentTextRicheditorAI0180.ets | 84 - .../ComponentTextRicheditorAI0190.ets | 97 - .../ComponentTextRicheditorAI0200.ets | 91 - .../ComponentTextRicheditorAI0210.ets | 89 - .../ComponentTextRicheditorAI0220.ets | 77 - .../ComponentTextRicheditorAI0230.ets | 77 - .../ComponentTextRicheditorAI0240.ets | 77 - .../ComponentTextRicheditorAI0250.ets | 77 - .../ComponentTextRicheditorAI0260.ets | 77 - .../ComponentTextRicheditorAI0270.ets | 86 - ...ComponentTextRicheditorCustomColor0001.ets | 44 - ...ComponentTextRicheditorCustomColor0002.ets | 46 - ...ComponentTextRicheditorCustomColor0003.ets | 46 - ...ComponentTextRicheditorCustomColor0004.ets | 46 - ...ComponentTextRicheditorCustomColor0005.ets | 46 - ...ComponentTextRicheditorCustomColor0006.ets | 46 - ...ComponentTextRicheditorCustomColor0007.ets | 46 - ...ComponentTextRicheditorCustomColor0008.ets | 46 - ...ComponentTextRicheditorCustomColor0009.ets | 46 - ...ComponentTextRicheditorCustomColor0010.ets | 46 - ...ComponentTextRicheditorCustomColor0011.ets | 46 - ...ComponentTextRicheditorCustomColor0012.ets | 46 - ...ComponentTextRicheditorCustomColor0013.ets | 46 - ...ComponentTextRicheditorCustomColor0014.ets | 46 - ...ComponentTextRicheditorCustomColor0015.ets | 46 - ...ComponentTextRicheditorCustomColor0016.ets | 46 - ...ComponentTextRicheditorCustomColor0017.ets | 46 - ...ComponentTextRicheditorCustomColor0018.ets | 83 - ...ComponentTextRicheditorCustomColor0019.ets | 55 - ...ComponentTextRicheditorCustomColor0020.ets | 60 - ...ComponentTextRicheditorCustomColor0021.ets | 59 - ...ComponentTextRicheditorCustomColor0022.ets | 60 - ...ComponentTextRicheditorCustomColor0023.ets | 59 - ...ComponentTextRicheditorCustomColor0025.ets | 78 - ...ComponentTextRicheditorCustomColor0026.ets | 45 - ...ComponentTextRicheditorCustomColor0028.ets | 55 - ...tRicheditorCustomkeyBoardAvoidAnce0001.ets | 61 - ...tRicheditorCustomkeyBoardAvoidAnce0002.ets | 61 - ...tRicheditorCustomkeyBoardAvoidAnce0003.ets | 70 - ...tRicheditorCustomkeyBoardAvoidAnce0004.ets | 69 - ...tRicheditorCustomkeyBoardAvoidAnce0005.ets | 70 - ...tRicheditorCustomkeyBoardAvoidAnce0006.ets | 70 - ...tRicheditorCustomkeyBoardAvoidAnce0007.ets | 70 - ...tRicheditorCustomkeyBoardAvoidAnce0008.ets | 70 - ...tRicheditorCustomkeyBoardAvoidAnce0009.ets | 68 - ...tRicheditorCustomkeyBoardAvoidAnce0010.ets | 72 - ...tRicheditorCustomkeyBoardAvoidAnce0011.ets | 72 - ...tRicheditorCustomkeyBoardAvoidAnce0012.ets | 88 - ...tRicheditorCustomkeyBoardAvoidAnce0013.ets | 88 - ...tRicheditorCustomkeyBoardAvoidAnce0016.ets | 100 - ...tRicheditorCustomkeyBoardAvoidAnce0017.ets | 100 - ...tRicheditorCustomkeyBoardAvoidAnce0019.ets | 76 - ...ComponentTextRicheditorFontfeature0001.ets | 42 - ...ComponentTextRicheditorFontfeature0002.ets | 43 - ...ComponentTextRicheditorFontfeature0003.ets | 43 - ...ComponentTextRicheditorFontfeature0004.ets | 43 - ...ComponentTextRicheditorFontfeature0005.ets | 43 - ...ComponentTextRicheditorFontfeature0006.ets | 43 - ...ComponentTextRicheditorFontfeature0007.ets | 43 - ...ComponentTextRicheditorFontfeature0008.ets | 43 - ...ComponentTextRicheditorFontfeature0009.ets | 43 - ...ComponentTextRicheditorFontfeature0010.ets | 43 - ...ComponentTextRicheditorFontfeature0011.ets | 43 - ...ComponentTextRicheditorFontfeature0012.ets | 43 - ...ComponentTextRicheditorFontfeature0013.ets | 44 - ...ComponentTextRicheditorFontfeature0014.ets | 43 - ...ComponentTextRicheditorFontfeature0015.ets | 43 - ...ComponentTextRicheditorFontfeature0016.ets | 43 - ...ComponentTextRicheditorFontfeature0017.ets | 43 - ...ComponentTextRicheditorFontfeature0018.ets | 43 - ...ComponentTextRicheditorFontfeature0019.ets | 43 - ...ComponentTextRicheditorFontfeature0020.ets | 43 - ...ComponentTextRicheditorFontfeature0021.ets | 43 - ...ComponentTextRicheditorFontfeature0022.ets | 43 - ...ComponentTextRicheditorFontfeature0023.ets | 43 - ...ComponentTextRicheditorFontfeature0024.ets | 43 - ...ComponentTextRicheditorFontfeature0025.ets | 43 - ...ComponentTextRicheditorFontfeature0026.ets | 43 - ...ComponentTextRicheditorFontfeature0027.ets | 43 - ...ComponentTextRicheditorFontfeature0028.ets | 43 - ...ComponentTextRicheditorFontfeature0029.ets | 43 - ...ComponentTextRicheditorFontfeature0030.ets | 43 - ...ComponentTextRicheditorFontfeature0031.ets | 43 - ...ComponentTextRicheditorFontfeature0032.ets | 43 - ...ComponentTextRicheditorFontfeature0033.ets | 43 - ...ComponentTextRicheditorFontfeature0034.ets | 50 - ...ComponentTextRicheditorFontfeature0035.ets | 51 - ...ComponentTextRicheditorFontfeature0036.ets | 48 - ...ComponentTextRicheditorFontfeature0037.ets | 63 - ...ComponentTextRicheditorFontfeature0038.ets | 63 - ...ComponentTextRicheditorFontfeature0039.ets | 46 - ...ComponentTextRicheditorFontfeature0040.ets | 46 - ...ComponentTextRicheditorFontfeature0041.ets | 51 - ...ComponentTextRicheditorFontfeature0042.ets | 48 - ...ComponentTextRicheditorFontfeature0043.ets | 62 - ...ComponentTextRicheditorFontfeature0044.ets | 53 - ...ComponentTextRicheditorFontfeature0045.ets | 61 - ...ComponentTextRicheditorFontfeature0046.ets | 59 - ...ComponentTextRicheditorFontfeature0047.ets | 59 - ...ComponentTextRicheditorFontfeature0048.ets | 67 - ...ComponentTextRicheditorFontfeature0049.ets | 44 - ...ComponentTextRicheditorFontfeature0050.ets | 44 - ...ComponentTextRicheditorFontfeature0051.ets | 44 - ...ComponentTextRicheditorFontfeature0052.ets | 44 - ...ComponentTextRicheditorFontfeature0053.ets | 44 - ...ComponentTextRicheditorFontfeature0054.ets | 44 - ...ComponentTextRicheditorFontfeature0055.ets | 44 - ...ComponentTextRicheditorFontfeature0056.ets | 44 - ...ComponentTextRicheditorFontfeature0057.ets | 57 - ...ComponentTextRicheditorFontfeature0058.ets | 59 - ...ComponentTextRicheditorFontfeature0059.ets | 67 - .../ComponentTextRicheditorInterface0340.ets | 58 - .../ComponentTextRicheditorInterface0350.ets | 48 - .../ComponentTextRicheditorInterface0360.ets | 59 - .../ComponentTextRicheditorInterface0410.ets | 53 - .../ComponentTextRicheditorInterface0420.ets | 60 - .../ComponentTextRicheditorInterface0430.ets | 53 - .../ComponentTextRicheditorInterface0440.ets | 67 - .../ComponentTextRicheditorInterface0450.ets | 59 - .../ComponentTextRicheditorInterface0460.ets | 54 - .../ComponentTextRicheditorInterface0470.ets | 61 - .../ComponentTextRicheditorInterface0480.ets | 54 - .../ComponentTextRicheditorInterface0490.ets | 68 - .../ComponentTextRicheditorInterface0500.ets | 60 - .../ComponentTextRicheditorInterface0510.ets | 54 - .../ComponentTextRicheditorInterface0520.ets | 68 - .../ComponentTextRicheditorInterface0530.ets | 54 - .../ComponentTextRicheditorInterface0540.ets | 68 - .../ComponentTextRicheditorInterface0550.ets | 60 - .../ComponentTextRicheditorInterface0560.ets | 54 - .../ComponentTextRicheditorInterface0570.ets | 68 - .../ComponentTextRicheditorInterface0580.ets | 54 - .../ComponentTextRicheditorInterface0590.ets | 68 - .../ComponentTextRicheditorInterface0600.ets | 60 - .../ComponentTextRicheditorInterface0610.ets | 54 - .../ComponentTextRicheditorInterface0620.ets | 68 - .../ComponentTextRicheditorInterface0630.ets | 54 - .../ComponentTextRicheditorInterface0640.ets | 68 - .../ComponentTextRicheditorInterface0650.ets | 60 - .../ComponentTextRicheditorInterface0660.ets | 54 - .../ComponentTextRicheditorInterface0670.ets | 68 - .../ComponentTextRicheditorInterface0680.ets | 54 - .../ComponentTextRicheditorInterface0690.ets | 68 - .../ComponentTextRicheditorInterface0700.ets | 60 - .../ComponentTextRicheditorInterface0710.ets | 60 - .../ComponentTextRicheditorInterface0720.ets | 54 - .../ComponentTextRicheditorInterface0730.ets | 68 - .../ComponentTextRicheditorInterface0740.ets | 54 - .../ComponentTextRicheditorInterface0750.ets | 68 - .../ComponentTextRicheditorInterface0760.ets | 60 - .../ComponentTextRicheditorInterface0770.ets | 54 - .../ComponentTextRicheditorInterface0780.ets | 68 - .../ComponentTextRicheditorInterface0790.ets | 54 - .../ComponentTextRicheditorInterface0800.ets | 68 - .../ComponentTextRicheditorInterface0810.ets | 60 - .../ComponentTextRicheditorInterface0820.ets | 54 - .../ComponentTextRicheditorInterface0830.ets | 68 - .../ComponentTextRicheditorInterface0840.ets | 54 - .../ComponentTextRicheditorInterface0850.ets | 68 - .../ComponentTextRicheditorInterface0860.ets | 54 - .../ComponentTextRicheditorInterface0870.ets | 68 - .../ComponentTextRicheditorInterface0880.ets | 54 - .../ComponentTextRicheditorInterface0890.ets | 68 - .../ComponentTextRicheditorInterface0900.ets | 60 - .../ComponentTextRicheditorInterface0910.ets | 54 - .../ComponentTextRicheditorInterface0920.ets | 68 - .../ComponentTextRicheditorInterface0930.ets | 54 - .../ComponentTextRicheditorInterface0940.ets | 68 - .../ComponentTextRicheditorInterface0950.ets | 60 - .../ComponentTextRicheditorInterface0960.ets | 54 - .../ComponentTextRicheditorInterface0970.ets | 68 - .../ComponentTextRicheditorInterface0980.ets | 54 - .../ComponentTextRicheditorInterface0990.ets | 68 - .../ComponentTextRicheditorInterface1000.ets | 60 - .../ComponentTextRicheditorInterface1010.ets | 54 - .../ComponentTextRicheditorInterface1020.ets | 68 - .../ComponentTextRicheditorInterface1030.ets | 54 - .../ComponentTextRicheditorInterface1040.ets | 68 - .../ComponentTextRicheditorInterface1050.ets | 60 - .../ComponentTextRicheditorInterface1060.ets | 54 - .../ComponentTextRicheditorInterface1070.ets | 68 - .../ComponentTextRicheditorInterface1080.ets | 54 - .../ComponentTextRicheditorInterface1090.ets | 68 - .../ComponentTextRicheditorInterface1100.ets | 60 - .../ComponentTextRicheditorInterface1110.ets | 53 - .../ComponentTextRicheditorInterface1120.ets | 67 - .../ComponentTextRicheditorInterface1130.ets | 53 - .../ComponentTextRicheditorInterface1140.ets | 67 - .../ComponentTextRicheditorInterface1150.ets | 59 - .../ComponentTextRicheditorInterface1160.ets | 53 - .../ComponentTextRicheditorInterface1170.ets | 67 - .../ComponentTextRicheditorInterface1180.ets | 53 - .../ComponentTextRicheditorInterface1190.ets | 67 - .../ComponentTextRicheditorInterface1200.ets | 59 - .../ComponentTextRicheditorInterface1210.ets | 53 - .../ComponentTextRicheditorInterface1220.ets | 67 - .../ComponentTextRicheditorInterface1230.ets | 53 - .../ComponentTextRicheditorInterface1240.ets | 67 - .../ComponentTextRicheditorInterface1250.ets | 59 - .../ComponentTextRicheditorInterface1260.ets | 53 - .../ComponentTextRicheditorInterface1270.ets | 67 - .../ComponentTextRicheditorInterface1280.ets | 53 - .../ComponentTextRicheditorInterface1290.ets | 67 - .../ComponentTextRicheditorInterface1300.ets | 59 - .../ComponentTextRicheditorInterface1310.ets | 53 - .../ComponentTextRicheditorInterface1320.ets | 67 - .../ComponentTextRicheditorInterface1330.ets | 53 - .../ComponentTextRicheditorInterface1340.ets | 67 - .../ComponentTextRicheditorInterface1350.ets | 59 - .../ComponentTextRicheditorInterface1360.ets | 43 - .../ComponentTextRicheditorInterface1380.ets | 43 - .../ComponentTextRicheditorInterface1400.ets | 54 - ...tTextRicheditorKeyboardReinForcing0001.ets | 35 - ...tTextRicheditorKeyboardReinForcing0002.ets | 36 - ...tTextRicheditorKeyboardReinForcing0003.ets | 36 - ...tTextRicheditorKeyboardReinForcing0004.ets | 36 - ...tTextRicheditorKeyboardReinForcing0012.ets | 46 - ...tTextRicheditorKeyboardReinForcing0013.ets | 46 - ...tTextRicheditorKeyboardReinForcing0015.ets | 45 - ...tRicheditorLineHeightLetterSpacing0014.ets | 41 - ...tRicheditorLineHeightLetterSpacing0019.ets | 50 - ...tRicheditorLineHeightLetterSpacing0020.ets | 54 - ...tRicheditorLineHeightLetterSpacing0021.ets | 53 - ...tRicheditorLineHeightLetterSpacing0022.ets | 52 - ...tRicheditorLineHeightLetterSpacing0023.ets | 57 - ...tRicheditorLineHeightLetterSpacing0024.ets | 59 - ...tRicheditorLineHeightLetterSpacing0025.ets | 60 - ...tRicheditorLineHeightLetterSpacing0026.ets | 59 - ...TextRicheditorLongPresstoselectall0001.ets | 56 - ...TextRicheditorLongPresstoselectall0002.ets | 56 - ...TextRicheditorLongPresstoselectall0003.ets | 56 - ...TextRicheditorLongPresstoselectall0004.ets | 61 - ...TextRicheditorLongPresstoselectall0005.ets | 53 - ...TextRicheditorLongPresstoselectall0006.ets | 51 - ...TextRicheditorLongPresstoselectall0007.ets | 56 - ...TextRicheditorLongPresstoselectall0008.ets | 71 - ...TextRicheditorLongPresstoselectall0009.ets | 56 - ...TextRicheditorLongPresstoselectall0010.ets | 56 - ...TextRicheditorLongPresstoselectall0011.ets | 56 - ...TextRicheditorLongPresstoselectall0012.ets | 56 - ...TextRicheditorLongPresstoselectall0013.ets | 56 - ...TextRicheditorLongPresstoselectall0014.ets | 56 - ...TextRicheditorLongPresstoselectall0015.ets | 56 - ...TextRicheditorLongPresstoselectall0016.ets | 71 - ...TextRicheditorLongPresstoselectall0017.ets | 71 - ...RicheditorLongPresstoselectall0017_157.ets | 71 - ...editorLongPresstoselectall0017_157_029.ets | 71 - ...RicheditorLongPresstoselectall0017_429.ets | 71 - ...editorLongPresstoselectall0017_429_005.ets | 71 - ...TextRicheditorLongPresstoselectall0018.ets | 71 - ...TextRicheditorLongPresstoselectall0019.ets | 71 - ...TextRicheditorLongPresstoselectall0020.ets | 71 - ...TextRicheditorLongPresstoselectall0021.ets | 71 - ...TextRicheditorLongPresstoselectall0022.ets | 71 - ...omponentTextRicheditorOnWillChange0001.ets | 47 - ...omponentTextRicheditorOnWillChange0002.ets | 50 - ...omponentTextRicheditorOnWillChange0003.ets | 62 - ...omponentTextRicheditorOnWillChange0004.ets | 49 - ...omponentTextRicheditorOnWillChange0005.ets | 63 - ...omponentTextRicheditorOnWillChange0006.ets | 63 - ...omponentTextRicheditorOnWillChange0007.ets | 58 - ...ComponentTextRicheditorPlaceholder0001.ets | 38 - ...ComponentTextRicheditorPlaceholder0002.ets | 38 - ...ComponentTextRicheditorPlaceholder0003.ets | 38 - ...ComponentTextRicheditorPlaceholder0004.ets | 38 - ...ComponentTextRicheditorPlaceholder0005.ets | 37 - ...ComponentTextRicheditorPlaceholder0006.ets | 38 - ...ComponentTextRicheditorPlaceholder0007.ets | 38 - ...ComponentTextRicheditorPlaceholder0008.ets | 43 - ...ComponentTextRicheditorPlaceholder0009.ets | 43 - ...ComponentTextRicheditorPlaceholder0010.ets | 43 - ...omponentTextRicheditorPlaceholder00100.ets | 50 - ...omponentTextRicheditorPlaceholder00101.ets | 49 - ...omponentTextRicheditorPlaceholder00102.ets | 48 - ...omponentTextRicheditorPlaceholder00103.ets | 49 - ...nentTextRicheditorPlaceholder00103_040.ets | 47 - ...TextRicheditorPlaceholder00103_040_934.ets | 43 - ...omponentTextRicheditorPlaceholder00104.ets | 52 - ...omponentTextRicheditorPlaceholder00105.ets | 49 - ...ComponentTextRicheditorPlaceholder0011.ets | 43 - ...ComponentTextRicheditorPlaceholder0012.ets | 43 - ...ComponentTextRicheditorPlaceholder0013.ets | 43 - ...ComponentTextRicheditorPlaceholder0014.ets | 43 - ...ComponentTextRicheditorPlaceholder0015.ets | 43 - ...ComponentTextRicheditorPlaceholder0016.ets | 43 - ...ComponentTextRicheditorPlaceholder0017.ets | 43 - ...ComponentTextRicheditorPlaceholder0018.ets | 43 - ...ComponentTextRicheditorPlaceholder0019.ets | 43 - ...ComponentTextRicheditorPlaceholder0020.ets | 43 - ...ComponentTextRicheditorPlaceholder0021.ets | 43 - ...ComponentTextRicheditorPlaceholder0022.ets | 43 - ...ComponentTextRicheditorPlaceholder0023.ets | 43 - ...ComponentTextRicheditorPlaceholder0024.ets | 43 - ...ComponentTextRicheditorPlaceholder0025.ets | 43 - ...ComponentTextRicheditorPlaceholder0026.ets | 43 - ...ComponentTextRicheditorPlaceholder0027.ets | 43 - ...ComponentTextRicheditorPlaceholder0028.ets | 43 - ...ComponentTextRicheditorPlaceholder0029.ets | 43 - ...ComponentTextRicheditorPlaceholder0030.ets | 43 - ...ComponentTextRicheditorPlaceholder0031.ets | 43 - ...ComponentTextRicheditorPlaceholder0032.ets | 43 - ...ComponentTextRicheditorPlaceholder0033.ets | 43 - ...ComponentTextRicheditorPlaceholder0034.ets | 43 - ...ComponentTextRicheditorPlaceholder0035.ets | 43 - ...ComponentTextRicheditorPlaceholder0036.ets | 43 - ...ComponentTextRicheditorPlaceholder0037.ets | 43 - ...ComponentTextRicheditorPlaceholder0038.ets | 43 - ...ComponentTextRicheditorPlaceholder0039.ets | 43 - ...ComponentTextRicheditorPlaceholder0040.ets | 43 - ...ComponentTextRicheditorPlaceholder0041.ets | 43 - ...ComponentTextRicheditorPlaceholder0042.ets | 43 - ...ComponentTextRicheditorPlaceholder0043.ets | 43 - ...ComponentTextRicheditorPlaceholder0044.ets | 43 - ...ComponentTextRicheditorPlaceholder0045.ets | 43 - ...ComponentTextRicheditorPlaceholder0046.ets | 43 - ...ComponentTextRicheditorPlaceholder0047.ets | 43 - ...ComponentTextRicheditorPlaceholder0048.ets | 43 - ...ComponentTextRicheditorPlaceholder0049.ets | 43 - ...ComponentTextRicheditorPlaceholder0050.ets | 43 - ...ComponentTextRicheditorPlaceholder0051.ets | 43 - ...ComponentTextRicheditorPlaceholder0052.ets | 43 - ...ComponentTextRicheditorPlaceholder0053.ets | 43 - ...ComponentTextRicheditorPlaceholder0054.ets | 43 - ...ComponentTextRicheditorPlaceholder0055.ets | 43 - ...ComponentTextRicheditorPlaceholder0056.ets | 43 - ...ComponentTextRicheditorPlaceholder0057.ets | 43 - ...ComponentTextRicheditorPlaceholder0058.ets | 43 - ...ComponentTextRicheditorPlaceholder0059.ets | 43 - ...ComponentTextRicheditorPlaceholder0060.ets | 43 - ...ComponentTextRicheditorPlaceholder0061.ets | 43 - ...ComponentTextRicheditorPlaceholder0062.ets | 43 - ...ComponentTextRicheditorPlaceholder0063.ets | 40 - ...ComponentTextRicheditorPlaceholder0064.ets | 40 - ...ComponentTextRicheditorPlaceholder0065.ets | 40 - ...ComponentTextRicheditorPlaceholder0066.ets | 40 - ...ComponentTextRicheditorPlaceholder0067.ets | 40 - ...ComponentTextRicheditorPlaceholder0068.ets | 40 - ...ComponentTextRicheditorPlaceholder0069.ets | 40 - ...ComponentTextRicheditorPlaceholder0070.ets | 40 - ...ComponentTextRicheditorPlaceholder0071.ets | 40 - ...ComponentTextRicheditorPlaceholder0072.ets | 40 - ...ComponentTextRicheditorPlaceholder0073.ets | 40 - ...ComponentTextRicheditorPlaceholder0074.ets | 40 - ...ComponentTextRicheditorPlaceholder0075.ets | 40 - ...ComponentTextRicheditorPlaceholder0076.ets | 40 - ...ComponentTextRicheditorPlaceholder0077.ets | 40 - ...ComponentTextRicheditorPlaceholder0078.ets | 40 - ...ComponentTextRicheditorPlaceholder0079.ets | 64 - ...onentTextRicheditorPlaceholder0079_932.ets | 56 - ...ComponentTextRicheditorPlaceholder0080.ets | 64 - ...ComponentTextRicheditorPlaceholder0081.ets | 39 - ...ComponentTextRicheditorPlaceholder0082.ets | 44 - ...ComponentTextRicheditorPlaceholder0083.ets | 43 - ...ComponentTextRicheditorPlaceholder0084.ets | 39 - ...ComponentTextRicheditorPlaceholder0085.ets | 48 - ...ComponentTextRicheditorPlaceholder0086.ets | 45 - ...ComponentTextRicheditorPlaceholder0087.ets | 43 - ...ComponentTextRicheditorPlaceholder0088.ets | 43 - ...ComponentTextRicheditorPlaceholder0089.ets | 37 - ...ComponentTextRicheditorPlaceholder0090.ets | 37 - ...ComponentTextRicheditorPlaceholder0091.ets | 59 - ...ComponentTextRicheditorPlaceholder0092.ets | 59 - ...ComponentTextRicheditorPlaceholder0093.ets | 66 - ...ComponentTextRicheditorPlaceholder0094.ets | 71 - ...ComponentTextRicheditorPlaceholder0095.ets | 72 - ...ComponentTextRicheditorPlaceholder0097.ets | 50 - ...ComponentTextRicheditorPlaceholder0098.ets | 40 - ...ComponentTextRicheditorPlaceholder0099.ets | 39 - ...mponentTextRicheditorShortKcutKeys0010.ets | 62 - ...mponentTextRicheditorShortKcutKeys0020.ets | 75 - ...mponentTextRicheditorShortKcutKeys0030.ets | 75 - ...mponentTextRicheditorShortKcutKeys0040.ets | 57 - ...mponentTextRicheditorShortKcutKeys0050.ets | 63 - ...mponentTextRicheditorShortKcutKeys0060.ets | 64 - ...mponentTextRicheditorShortKcutKeys0070.ets | 60 - ...mponentTextRicheditorShortKcutKeys0080.ets | 58 - ...mponentTextRicheditorShortKcutKeys0090.ets | 58 - ...mponentTextRicheditorShortKcutKeys0100.ets | 61 - ...mponentTextRicheditorShortKcutKeys0110.ets | 58 - ...mponentTextRicheditorShortKcutKeys0120.ets | 58 - ...mponentTextRicheditorShortKcutKeys0130.ets | 61 - ...mponentTextRicheditorShortKcutKeys0140.ets | 57 - ...mponentTextRicheditorShortKcutKeys0150.ets | 60 - ...mponentTextRicheditorShortKcutKeys0160.ets | 60 - ...mponentTextRicheditorShortKcutKeys0170.ets | 60 - ...mponentTextRicheditorShortKcutKeys0180.ets | 75 - ...mponentTextRicheditorShortKcutKeys0190.ets | 75 - ...mponentTextRicheditorShortKcutKeys0200.ets | 77 - ...mponentTextRicheditorShortKcutKeys0210.ets | 77 - ...mponentTextRicheditorShortKcutKeys0220.ets | 56 - ...mponentTextRicheditorShortKcutKeys0230.ets | 63 - ...mponentTextRicheditorShortKcutKeys0240.ets | 61 - ...mponentTextRicheditorShortKcutKeys0260.ets | 57 - ...mponentTextRicheditorShortKcutKeys0270.ets | 61 - ...mponentTextRicheditorShortKcutKeys0280.ets | 54 - ...mponentTextRicheditorShortKcutKeys0290.ets | 53 - ...mponentTextRicheditorShortKcutKeys0300.ets | 53 - ...mponentTextRicheditorShortKcutKeys0310.ets | 53 - ...mponentTextRicheditorShortKcutKeys0320.ets | 53 - ...mponentTextRicheditorShortKcutKeys0330.ets | 53 - ...mponentTextRicheditorShortKcutKeys0340.ets | 53 - ...mponentTextRicheditorShortKcutKeys0350.ets | 53 - ...mponentTextRicheditorShortKcutKeys0360.ets | 53 - ...mponentTextRicheditorShortKcutKeys0370.ets | 53 - ...mponentTextRicheditorShortKcutKeys0380.ets | 53 - ...mponentTextRicheditorUxConformance0006.ets | 40 - ...mponentTextRicheditorUxConformance0007.ets | 41 - ...mponentTextRicheditorUxConformance0011.ets | 57 - ...mponentTextRicheditorUxConformance0012.ets | 63 - ...mponentTextRicheditorUxConformance0013.ets | 63 - ...mponentTextRicheditorUxConformance0014.ets | 54 - ...mponentTextRicheditorUxConformance0015.ets | 54 - ...mponentTextRicheditorUxConformance0016.ets | 54 - .../ComponentTextRicheditorWordbreak0001.ets | 50 - .../ComponentTextRicheditorWordbreak0002.ets | 53 - .../ComponentTextRicheditorWordbreak0003.ets | 53 - .../ComponentTextRicheditorWordbreak0004.ets | 66 - .../ComponentTextRicheditorWordbreak0005.ets | 63 - .../ComponentTextRicheditorWordbreak0006.ets | 63 - .../ComponentTextRicheditorWordbreak0007.ets | 90 - .../ComponentTextRicheditorWordbreak0008.ets | 89 - .../ComponentTextRicheditorWordbreak0009.ets | 89 - .../ComponentTextRicheditorWordbreak0010.ets | 46 - .../ComponentTextRicheditorWordbreak0011.ets | 45 - .../ComponentTextRicheditorWordbreak0012.ets | 51 - .../ComponentTextRicheditorWordbreak0013.ets | 54 - .../ComponentTextRicheditorWordbreak0014.ets | 54 - .../ComponentTextRicheditorWordbreak0015.ets | 58 - .../ComponentTextRicheditorWordbreak0016.ets | 105 - .../ComponentTextRicheditorWordbreak0017.ets | 102 - .../ComponentTextRicheditorWordbreak0018.ets | 46 - .../ComponentTextRicheditorWordbreak0019.ets | 46 - .../ComponentTextRicheditorWordbreak0020.ets | 56 - .../ComponentTextRicheditorWordbreak0021.ets | 46 - .../ComponentTextRicheditorWordbreak0022.ets | 50 - .../FunctionJiChuSR000HUB4K012.ets | 43 - .../FunctionJiChuSR000HUB4K013.ets | 43 - .../FunctionJiChuSR000HUB4K014.ets | 39 - .../FunctionJiChuSR000HUB4K015.ets | 40 - .../FunctionJiChuSR000HUB4K016.ets | 40 - .../FunctionJiChuSR000HUB4K017.ets | 39 - .../FunctionJiChuSR000HUB4K018.ets | 40 - .../FunctionJiChuSR000HUB4K019.ets | 40 - .../FunctionJiChuSR000HUB4K020.ets | 40 - .../FunctionJiChuSR000HUB4K021.ets | 39 - .../FunctionJiChuSR000HUB4K022.ets | 40 - .../FunctionJiChuSR000HUB4K023.ets | 40 - .../FunctionJiChuSR000HUB4K024.ets | 40 - .../FunctionJiChuSR000HUB4K025.ets | 40 - .../FunctionJiChuSR000HUB4K026.ets | 40 - .../FunctionJiChuSR000HUB4K027.ets | 40 - .../FunctionJiChuSR000HUB4K028.ets | 40 - .../FunctionJiChuSR000HUB4K029.ets | 40 - .../FunctionJiChuSR000HUB4K030.ets | 40 - .../FunctionJiChuSR000HUB4K031.ets | 40 - .../FunctionJiChuSR000HUB4K032.ets | 40 - .../FunctionJiChuSR000HUB4K033.ets | 40 - .../FunctionJiChuSR000HUB4K034.ets | 43 - .../FunctionJiChuSR000HUB4K035.ets | 43 - .../FunctionJiChuSR000HUB4K036.ets | 43 - .../FunctionJiChuSR000HUB4K037.ets | 39 - .../FunctionJiChuSR000HUB4K038.ets | 40 - .../FunctionJiChuSR000HUB4K039.ets | 39 - .../FunctionJiChuSR000HUB4K040.ets | 39 - .../FunctionJiChuSR000HUB4K041.ets | 39 - .../FunctionJiChuSR000HUB4K042.ets | 39 - .../FunctionJiChuSR000HUB4K043.ets | 39 - .../FunctionJiChuSR000HUB4K044.ets | 39 - .../FunctionJiChuSR000HUB4K045.ets | 39 - .../FunctionJiChuSR000HUB4K046.ets | 39 - .../FunctionJiChuSR000HUB4K047.ets | 39 - .../FunctionJiChuSR000HUB4K048.ets | 39 - .../FunctionJiChuSR000HUB4K049.ets | 39 - .../FunctionJiChuSR000HUB4K050.ets | 39 - .../FunctionJiChuSR000HUB4K051.ets | 39 - .../FunctionJiChuSR000HUB4K052.ets | 39 - .../FunctionJiChuSR000HUB4K053.ets | 39 - .../FunctionJiChuSR000HUB4K054.ets | 39 - .../FunctionJiChuSR000HUB4K055.ets | 39 - .../FunctionJiChuSR000HUB4K056.ets | 54 - .../FunctionJiChuSR000HUB4K057.ets | 41 - .../FunctionJiChuSR000HUB4K058.ets | 42 - .../FunctionJiChuSR000HUB4K059.ets | 42 - .../FunctionJiChuSR000HUB4K060.ets | 42 - .../FunctionJiChuSR000HUB4K061.ets | 45 - .../FunctionJiChuSR000HUB4K062.ets | 45 - .../FunctionJichuWaterFlow001806.ets | 273 - .../FunctionJichuWaterFlow0350.ets | 283 - .../ohosTest/ets/testability/pages/Index.ets | 38 +- .../TsComponentSR000HRP34Test124.ets | 32 - .../TsComponentSR000HRP34Test125.ets | 32 - .../TsComponentSR000HRP34Test126.ets | 32 - .../TsComponentSR000HRP34Test127.ets | 32 - .../UIComponentButtonCommonButton033.ets | 73 - .../UIComponentButtonCommonButton034.ets | 45 - .../UIComponentButtonCommonButton035.ets | 45 - .../UIComponentButtonCommonButton036.ets | 45 - .../UIComponentButtonCommonButton037.ets | 68 - .../UIComponentButtonCommonButton038.ets | 42 - .../UIComponentButtonCommonButton039.ets | 42 - .../UIComponentButtonCommonButton040.ets | 146 - .../UIComponentButtonCommonButton041.ets | 71 - .../UIComponentButtonRadioCheckMark001.ets | 41 - .../UIComponentButtonRadioCheckMark003.ets | 54 - .../UIComponentButtonRadioCheckMark005.ets | 41 - .../UIComponentButtonRadioCheckMark006.ets | 41 - .../UIComponentButtonRadioCheckMark008.ets | 57 - .../UIComponentButtonRadioCheckMark010.ets | 41 - .../UIComponentButtonRadioCheckMark011.ets | 41 - .../UIComponentButtonRadioCheckMark012.ets | 41 - .../UIComponentButtonRadioCheckMark013.ets | 144 - .../UIComponentButtonRadioCheckMark014.ets | 144 - .../UIComponentButtonRadioCustonmizing001.ets | 75 - .../UIComponentButtonRadioCustonmizing002.ets | 78 - .../UIComponentButtonRadioCustonmizing003.ets | 84 - .../UIComponentButtonRadioCustonmizing004.ets | 109 - .../UIComponentButtonRadioCustonmizing005.ets | 109 - .../UIComponentButtonRadioCustonmizing006.ets | 110 - .../UIComponentButtonRadioCustonmizing007.ets | 133 - .../UIComponentButtonRadioCustonmizing008.ets | 85 - .../UIComponentButtonRadioCustonmizing009.ets | 85 - .../UIComponentButtonRadioCustonmizing010.ets | 48 - .../UIComponentButtonRadioCustonmizing011.ets | 48 - .../UIComponentButtonRadioCustonmizing012.ets | 69 - .../UIComponentButtonRadioCustonmizing013.ets | 68 - .../UIComponentButtonRadioCustonmizing015.ets | 68 - .../UIComponentButtonRadioCustonmizing016.ets | 68 - .../UIComponentButtonRadioCustonmizing017.ets | 75 - .../UIComponentButtonRadioLConic004.ets | 68 - .../UIComponentButtonRadioLConic005.ets | 70 - .../UIComponentButtonRadioLConic008.ets | 59 - .../UIComponentButtonRadioLConic009.ets | 54 - .../UIComponentButtonRadioLConic013.ets | 55 - .../UIComponentButtonRadioLConic019.ets | 57 - .../UIComponentButtonRadioLConic020.ets | 57 - .../UIComponentButtonRadioLConic022.ets | 52 - .../UIComponentButtonRadioLConic024.ets | 50 - .../UIComponentButtonRadioLConic025.ets | 50 - .../UIComponentButtonRadioLConic027.ets | 70 - .../UIComponentButtonRadioLConic028.ets | 70 - .../UIComponentButtonRadioLConic030.ets | 58 - .../UIComponentButtonRadioLConic031.ets | 58 - .../UIComponentButtonSelectAttribute004.ets | 126 - .../UIComponentButtonSelectAttribute005.ets | 91 - .../UIComponentButtonSelectAttribute006.ets | 126 - .../UIComponentButtonSelectAttribute031.ets | 71 - .../UIComponentButtonSelectAttribute032.ets | 71 - .../UIComponentButtonSelectAttribute033.ets | 71 - .../UIComponentButtonSelectAttribute034.ets | 71 - .../UIComponentButtonSelectAttribute035.ets | 69 - ...UIComponentButtonSelectControlSize0020.ets | 39 - ...UIComponentButtonSelectControlSize0030.ets | 40 - ...UIComponentButtonSelectControlSize0040.ets | 40 - ...UIComponentButtonSelectControlSize0050.ets | 49 - ...UIComponentButtonSelectControlSize0060.ets | 42 - ...UIComponentButtonSelectControlSize0070.ets | 39 - ...UIComponentButtonSelectControlSize0080.ets | 46 - ...UIComponentButtonSelectControlSize0090.ets | 46 - ...UIComponentButtonSelectControlSize0100.ets | 44 - ...UIComponentButtonSelectControlSize0110.ets | 40 - ...UIComponentButtonSelectControlSize0120.ets | 40 - ...UIComponentButtonSelectControlSize0130.ets | 40 - ...UIComponentButtonSelectControlSize0140.ets | 43 - ...UIComponentButtonSelectControlSize0150.ets | 43 - ...UIComponentButtonSelectControlSize0160.ets | 42 - ...UIComponentButtonSelectControlSize0170.ets | 41 - ...UIComponentButtonSelectControlSize0180.ets | 49 - ...UIComponentButtonSelectControlSize0190.ets | 40 - ...UIComponentButtonSelectControlSize0200.ets | 45 - ...UIComponentButtonSelectControlSize0210.ets | 45 - ...UIComponentButtonSelectControlSize0220.ets | 44 - ...UIComponentButtonSelectControlSize0230.ets | 41 - ...UIComponentButtonSelectControlSize0240.ets | 41 - ...UIComponentButtonSelectControlSize0250.ets | 41 - ...UIComponentButtonSelectControlSize0260.ets | 41 - ...UIComponentButtonSelectControlSize0270.ets | 57 - ...UIComponentButtonSelectControlSize0280.ets | 41 - ...UIComponentButtonSelectControlSize0290.ets | 44 - ...UIComponentButtonSelectControlSize0300.ets | 40 - ...UIComponentButtonSelectControlSize0310.ets | 41 - ...UIComponentButtonSelectControlSize0320.ets | 41 - ...UIComponentButtonSelectControlSize0330.ets | 41 - ...UIComponentButtonSelectControlSize0340.ets | 41 - ...UIComponentButtonSelectControlSize0350.ets | 57 - ...UIComponentButtonSelectControlSize0360.ets | 45 - ...UIComponentButtonSelectControlSize0370.ets | 44 - ...UIComponentButtonSelectControlSize0380.ets | 40 - ...UIComponentButtonSelectControlSize0390.ets | 39 - ...UIComponentButtonSelectControlSize0400.ets | 40 - ...UIComponentButtonSelectControlSize0410.ets | 40 - ...UIComponentButtonSelectControlSize0420.ets | 42 - ...UIComponentButtonSelectControlSize0430.ets | 42 - ...UIComponentButtonSelectControlSize0450.ets | 57 - ...UIComponentButtonSelectControlSize0470.ets | 39 - ...UIComponentButtonSelectControlSize0480.ets | 40 - ...UIComponentButtonSelectControlSize0490.ets | 40 - ...UIComponentButtonSelectControlSize0500.ets | 49 - ...UIComponentButtonSelectControlSize0510.ets | 42 - ...UIComponentButtonSelectControlSize0520.ets | 46 - ...UIComponentButtonSelectControlSize0530.ets | 46 - ...UIComponentButtonSelectControlSize0540.ets | 44 - ...UIComponentButtonSelectControlSize0550.ets | 39 - ...UIComponentButtonSelectControlSize0560.ets | 40 - ...UIComponentButtonSelectControlSize0570.ets | 40 - ...UIComponentButtonSelectControlSize0580.ets | 43 - ...UIComponentButtonSelectControlSize0590.ets | 43 - ...UIComponentButtonSelectControlSize0600.ets | 42 - ...UIComponentButtonSelectControlSize0610.ets | 41 - ...UIComponentButtonSelectControlSize0620.ets | 49 - ...UIComponentButtonSelectControlSize0630.ets | 40 - ...UIComponentButtonSelectControlSize0640.ets | 45 - ...UIComponentButtonSelectControlSize0650.ets | 49 - ...UIComponentButtonSelectControlSize0660.ets | 44 - ...UIComponentButtonSelectControlSize0670.ets | 41 - ...UIComponentButtonSelectControlSize0680.ets | 41 - ...UIComponentButtonSelectControlSize0690.ets | 41 - ...UIComponentButtonSelectControlSize0700.ets | 41 - ...UIComponentButtonSelectControlSize0710.ets | 57 - ...UIComponentButtonSelectControlSize0720.ets | 41 - ...UIComponentButtonSelectControlSize0730.ets | 44 - ...UIComponentButtonSelectControlSize0740.ets | 41 - ...UIComponentButtonSelectControlSize0750.ets | 41 - ...UIComponentButtonSelectControlSize0760.ets | 41 - ...UIComponentButtonSelectControlSize0770.ets | 41 - ...UIComponentButtonSelectControlSize0780.ets | 57 - ...UIComponentButtonSelectControlSize0790.ets | 45 - ...UIComponentButtonSelectControlSize0800.ets | 44 - ...UIComponentButtonSelectControlSize0810.ets | 39 - ...UIComponentButtonSelectControlSize0820.ets | 39 - ...UIComponentButtonSelectControlSize0830.ets | 42 - ...UIComponentButtonSelectControlSize0840.ets | 41 - ...UIComponentButtonSelectControlSize0860.ets | 63 - ...UIComponentButtonSelectControlSize0880.ets | 51 - ...UIComponentButtonSelectControlSize0890.ets | 54 - ...UIComponentButtonSelectControlSize0900.ets | 51 - ...UIComponentButtonSelectControlSize0910.ets | 51 - ...UIComponentButtonSelectControlSize0920.ets | 51 - ...UIComponentButtonSelectControlSize0930.ets | 51 - ...UIComponentButtonSelectControlSize0940.ets | 51 - ...UIComponentButtonSelectControlSize0950.ets | 53 - ...UIComponentButtonSelectControlSize0960.ets | 53 - ...UIComponentButtonSelectControlSize0970.ets | 53 - ...UIComponentButtonSelectControlSize0980.ets | 51 - ...UIComponentButtonSelectControlSize0990.ets | 51 - ...UIComponentButtonSelectControlSize1000.ets | 51 - ...UIComponentButtonSelectControlSize1010.ets | 39 - .../UIComponentButtonSelectDivider0010.ets | 46 - .../UIComponentButtonSelectDivider0020.ets | 43 - .../UIComponentButtonSelectDivider0030.ets | 46 - .../UIComponentButtonSelectDivider0040.ets | 48 - .../UIComponentButtonSelectDivider0050.ets | 49 - .../UIComponentButtonSelectDivider0060.ets | 48 - .../UIComponentButtonSelectDivider0070.ets | 48 - .../UIComponentButtonSelectDivider0080.ets | 37 - .../UIComponentButtonSelectDivider0090.ets | 48 - .../UIComponentButtonSelectDivider0100.ets | 47 - .../UIComponentButtonSelectDivider0110.ets | 48 - .../UIComponentButtonSelectDivider0120.ets | 48 - .../UIComponentButtonSelectDivider0130.ets | 49 - .../UIComponentButtonSelectDivider0140.ets | 48 - .../UIComponentButtonSelectDivider0150.ets | 48 - .../UIComponentButtonSelectDivider0160.ets | 48 - .../UIComponentButtonStyle051.ets | 64 - .../UIComponentButtonStyle052.ets | 64 - .../UIComponentButtonStyle053.ets | 68 - .../UIComponentButtonStyle054.ets | 66 - .../UIComponentButtonStyle055.ets | 60 - .../UIComponentButtonStyle056.ets | 53 - .../UIComponentButtonStyle057.ets | 58 - .../UIComponentFunctionSelectSymbol0010.ets | 40 - .../UIComponentFunctionSelectSymbol0020.ets | 69 - .../UIComponentFunctionSelectSymbol0030.ets | 39 - .../UIComponentFunctionSelectSymbol0040.ets | 37 - .../UIComponentFunctionSelectSymbol0050.ets | 38 - .../UIComponentFunctionSelectSymbol0060.ets | 37 - .../UIComponentFunctionSelectSymbol0070.ets | 41 - .../UIComponentFunctionSelectSymbol0090.ets | 37 - .../UIComponentFunctionSelectSymbol0110.ets | 37 - .../UIComponentFunctionSelectSymbol0120.ets | 39 - ...omponentListAndGridWaterFlowAdd0080458.ets | 231 - ...omponentListAndGridWaterFlowAdd0090321.ets | 231 - ...omponentListAndGridWaterFlowAdd0100678.ets | 231 - ...omponentListAndGridWaterFlowAdd0110972.ets | 231 - ...omponentListAndGridWaterFlowAdd0120725.ets | 230 - ...omponentListAndGridWaterFlowAdd0130072.ets | 240 - ...omponentListAndGridWaterFlowAdd0140666.ets | 239 - ...omponentListAndGridWaterFlowAdd0150827.ets | 230 - ...omponentListAndGridWaterFlowAdd0160890.ets | 239 - ...omponentListAndGridWaterFlowAdd0170444.ets | 230 - ...omponentListAndGridWaterFlowAdd0270011.ets | 240 - ...omponentListAndGridWaterFlowAdd0280056.ets | 230 - ...omponentListAndGridWaterFlowAdd0290223.ets | 230 - ...omponentListAndGridWaterFlowAdd0300414.ets | 230 - ...omponentListAndGridWaterFlowAdd0310330.ets | 230 - ...omponentListAndGridWaterFlowAdd0320534.ets | 230 - ...IComponentListAndGridWaterSections0370.ets | 287 -- ...IComponentListAndGridWaterSections0380.ets | 286 -- ...IComponentListAndGridWaterSections0390.ets | 286 -- ...IComponentListAndGridWaterSections0400.ets | 286 -- ...IComponentListAndGridWaterSections0410.ets | 285 -- ...IComponentListAndGridWaterSections0420.ets | 290 -- ...IComponentListAndGridWaterSections0500.ets | 254 - ...IComponentListAndGridWaterSections0510.ets | 255 - ...IComponentListAndGridWaterSections0520.ets | 252 - ...IComponentListAndGridWaterSections0530.ets | 252 - ...IComponentListAndGridWaterSections0540.ets | 260 - ...IComponentListAndGridWaterSections0560.ets | 269 - .../UIComponentNavModifier0370.ets | 66 - .../UIComponentNavModifier0380.ets | 47 - .../UIComponentNavModifier0400.ets | 47 - .../UIComponentNavModifier041.ets | 76 - .../UIComponentNavModifier043.ets | 84 - .../UIComponentNavModifier044.ets | 77 - .../UIComponentNavModifier045.ets | 68 - .../UIComponentNavModifier046.ets | 68 - .../UIComponentNavModifier048.ets | 68 - .../UIComponentNavModifier053.ets | 72 - .../UIComponentNavModifier056.ets | 73 - .../UIComponentNavModifier058.ets | 72 - .../UIComponentNavModifier060.ets | 81 - .../UIComponentNavModifier063.ets | 117 - .../UIComponentNavModifier065.ets | 117 - .../UIComponentNavModifier066.ets | 117 - .../UIComponentNavModifier0770.ets | 75 - .../UIComponentNavModifier0810.ets | 75 - .../UIComponentNavModifier083.ets | 123 - .../UIComponentNavModifier0840.ets | 75 - .../UIComponentNavModifier0860.ets | 75 - .../UIComponentNavModifier0900.ets | 73 - .../UIComponentNavModifier0920.ets | 73 - .../UIComponentNavTabsAction0011.ets | 76 - .../UIComponentNavTabsAction0012.ets | 69 - .../UIComponentNavTabsAction0030.ets | 122 - .../UIComponentNavTabsBlurStyle0010.ets | 132 - .../UIComponentNavTabsBlurStyle0011.ets | 132 - .../UIComponentNavTabsBlurStyle0012.ets | 132 - .../UIComponentNavTabsBlurStyle0013.ets | 132 - .../UIComponentNavTabsBlurStyle0014.ets | 132 - .../UIComponentNavTabsBlurStyle0015.ets | 131 - .../UIComponentNavTabsBlurStyle0016.ets | 132 - .../UIComponentNavTabsBlurStyle0017.ets | 129 - .../UIComponentNavTabsBlurStyle0018.ets | 78 - .../UIComponentNavTabsBlurStyle0019.ets | 90 - .../UIComponentNavTabsBlurStyle0020.ets | 83 - .../UIComponentNavTabsBlurStyle0021.ets | 80 - .../UIComponentNavTabsBlurStyle0022.ets | 69 - .../UIComponentNavTabsBlurStyle0023.ets | 76 - .../UIComponentNavTabsBlurStyle0024.ets | 68 - .../UIComponentNavTabsBlurStyle0025.ets | 98 - .../UIComponentNavTabsBlurStyle0026.ets | 83 - .../UIComponentNavTabsBlurStyle0027.ets | 133 - .../UIComponentNavTabsBlurStyle0028.ets | 72 - .../UIComponentNavTabsBlurStyle0029.ets | 92 - .../UIComponentNavTabsBlurStyle0030.ets | 89 - .../UIComponentNavTabsBlurStyle0031.ets | 89 - .../UIComponentNavTabsBlurStyle0032.ets | 89 - .../UIComponentNavTabsBlurStyle0033.ets | 87 - .../UIComponentNavTabsBlurStyle0034.ets | 87 - .../UIComponentNavTabsBlurStyle0035.ets | 88 - .../UIComponentNavTabsBlurStyle0036.ets | 88 - .../UIComponentNavTabsBlurStyle0038.ets | 72 - .../UIComponentNavTabsBlurStyle0039.ets | 91 - .../UIComponentNavTabsBlurStyle0040.ets | 88 - .../UIComponentNavTabsBlurStyle0041.ets | 88 - .../UIComponentNavTabsBlurStyle0042.ets | 82 - .../UIComponentNavTabsBlurStyle0043.ets | 83 - .../UIComponentNavTabsBlurStyle0044.ets | 84 - .../UIComponentNavTabsBlurStyle0045.ets | 72 - .../UIComponentNavTabsBlurStyle0046.ets | 72 - .../UIComponentNavTabsBlurStyle0047.ets | 71 - .../UIComponentNavTabsBlurStyle0048.ets | 93 - .../UIComponentNavTabsBlurStyle0049.ets | 78 - .../UIComponentNavTabsBlurStyle0050.ets | 78 - .../UIComponentNavTabsBlurStyle0051.ets | 80 - .../UIComponentNavTabsBlurStyle0052.ets | 96 - .../UIComponentNavTabsBlurStyle0053.ets | 82 - .../UIComponentNavTabsBlurStyle0060.ets | 39 - .../UIComponentNavTabsBlurStyle0080.ets | 39 - .../UIComponentNavTabsBlurStyle0100.ets | 43 - .../UIComponentNavTabsBlurStyle0110.ets | 40 - .../UIComponentNavTabsBlurStyle0160.ets | 40 - .../UIComponentNavTabsBlurStyle0170.ets | 40 - .../UIComponentNavTabsBlurStyle0180.ets | 40 - .../UIComponentNavTabsBlurStyle0190.ets | 41 - .../UIComponentNavTabsBlurStyle0200.ets | 40 - .../UIComponentNavTabsBlurStyle0210.ets | 40 - .../UIComponentNavTabsBlurStyle0220.ets | 44 - .../UIComponentNavTabsBlurStyle0230.ets | 41 - .../UIComponentNavTabsBlurStyle0240.ets | 41 - .../UIComponentNavTabsBlurStyle0250.ets | 41 - .../UIComponentNavTabsBlurStyle0260.ets | 41 - .../UIComponentNavTabsBlurStyle0270.ets | 41 - .../UIComponentNavTabsBlurStyle0280.ets | 41 - .../UIComponentNavTabsBlurStyle0290.ets | 41 - .../UIComponentNavTabsBlurStyle0300.ets | 41 - .../UIComponentNavTabsBlurStyle0310.ets | 41 - .../UIComponentNavTabsBlurStyle0320.ets | 41 - .../UIComponentNavTabsBlurStyle0340.ets | 41 - .../UIComponentNavTabsBlurStyle0350.ets | 41 - .../UIComponentNavTabsBlurStyle0360.ets | 43 - .../UIComponentNavTabsBlurStyle0370.ets | 42 - .../UIComponentNavTabsBlurStyle0380.ets | 42 - .../UIComponentNavTabsBlurStyle0390.ets | 42 - .../UIComponentNavTabsBlurStyle0400.ets | 42 - .../UIComponentNavTabsCachedCount014.ets | 84 - .../UIComponentNavTabsCachedCount015.ets | 84 - .../UIComponentNavTabsCachedCount016.ets | 96 - .../UIComponentNavTabsContentAdapt001.ets | 112 - .../UIComponentNavTabsContentAdapt002.ets | 112 - .../UIComponentNavTabsContentAdapt003.ets | 112 - .../UIComponentNavTabsContentAdapt004.ets | 112 - .../UIComponentNavTabsContentAdapt0050.ets | 54 - .../UIComponentNavTabsContentAdapt007.ets | 135 - .../UIComponentNavTabsContentAdapt0080.ets | 64 - .../UIComponentNavTabsContentAdapt010.ets | 110 - .../UIComponentNavTabsContentAdapt011.ets | 110 - .../UIComponentNavTabsContentAdapt012.ets | 110 - .../UIComponentNavTabsContentAdapt013.ets | 110 - .../UIComponentNavTabsContentAdapt014.ets | 115 - .../UIComponentNavTabsContentAdapt0150.ets | 66 - .../UIComponentNavTabsContentAdapt0160.ets | 49 - .../UIComponentNavTabsContentAdapt0170.ets | 49 - .../UIComponentNavTabsContentAdapt0180.ets | 59 - .../UIComponentNavTabsContentAdapt0190.ets | 50 - .../UIComponentNavTabsContentAdapt0200.ets | 50 - .../UIComponentNavTabsContentAdapt0210.ets | 63 - .../UIComponentNavTabsContentAdapt0220.ets | 49 - .../UIComponentNavTabsContentAdapt0230.ets | 49 - .../UIComponentNavTabsContentAdapt0240.ets | 59 - .../UIComponentNavTabsContentAdapt0250.ets | 50 - .../UIComponentNavTabsContentAdapt0260.ets | 50 - .../UIComponentNavTabsContentAdapt027.ets | 77 - .../UIComponentNavTabsContentAdapt028.ets | 94 - .../UIComponentNavTabsContentAdapt030.ets | 64 - .../UIComponentNavTabsContentAdapt0310.ets | 56 - .../UIComponentNavTabsContentAdapt032.ets | 119 - .../UIComponentNavTabsContentAdapt033.ets | 132 - .../UIComponentNavTabsContentAdapt034.ets | 131 - .../UIComponentNavTabsContentAdapt035.ets | 134 - .../UIComponentNavTabsEdgeeffect0230.ets | 42 - .../UIComponentNavTabsEdgeeffect0270.ets | 42 - .../UIComponentNavTabsExpandsafearea0010.ets | 48 - .../UIComponentNavTabsExpandsafearea0020.ets | 50 - .../UIComponentNavTabsExpandsafearea0030.ets | 51 - .../UIComponentNavTabsExpandsafearea0040.ets | 51 - .../UIComponentNavTabsExpandsafearea0050.ets | 51 - .../UIComponentNavTabsExpandsafearea0060.ets | 51 - .../UIComponentNavTabsExpandsafearea0070.ets | 51 - .../UIComponentNavTabsExpandsafearea0080.ets | 51 - .../UIComponentNavTabsExpandsafearea0090.ets | 50 - .../UIComponentNavTabsExpandsafearea0100.ets | 78 - .../UIComponentNavTabsExpandsafearea0110.ets | 50 - .../UIComponentNavTabsExpandsafearea0120.ets | 50 - .../UIComponentNavTabsHeight001.ets | 112 - .../UIComponentNavTabsImproTrace0010.ets | 75 - .../UIComponentNavTabsImproTrace0020.ets | 80 - .../UIComponentNavTabsImproTrace0030.ets | 76 - .../UIComponentNavTabsImproTrace0040.ets | 76 - .../UIComponentNavTabsImproTrace0060.ets | 76 - .../UIComponentNavTabsImproTrace0070.ets | 75 - .../UIComponentNavTabsImproTrace0080.ets | 88 - .../UIComponentNavTabsImproTrace0120.ets | 82 - .../UIComponentNavTabsImproTrace0130.ets | 86 - .../UIComponentNavTabsImproTrace0140.ets | 75 - .../UIComponentNavTabsImproTrace0150.ets | 75 - .../UIComponentNavTabsImproTrace0160.ets | 235 - .../UIComponentNavTabsInterception0010.ets | 97 - .../UIComponentNavTabsInterception0030.ets | 96 - .../UIComponentNavTabsInterception0040.ets | 85 - .../UIComponentNavTabsInterception0050.ets | 85 - .../UIComponentNavTabsInterception0060.ets | 85 - .../UIComponentNavTabsInterception0070.ets | 85 - .../UIComponentNavTabsInterception0080.ets | 82 - .../UIComponentNavTabsInterception0090.ets | 82 - .../UIComponentNavTabsInterception0130.ets | 86 - .../UIComponentNavTabsInterception0150.ets | 65 - .../UIComponentNavTabsInterface012.ets | 57 - .../UIComponentNavTabsInterface1190.ets | 72 - .../UIComponentNavTabsInterface1220.ets | 116 - .../UIComponentNavTabsMirror0030.ets | 77 - .../UIComponentNavTabsMirror0070.ets | 77 - .../UIComponentNavTabsMirror0090.ets | 77 - .../UIComponentNavTabsMirror010.ets | 77 - .../UIComponentNavTabsMirror0110.ets | 87 - .../UIComponentNavTabsMirror0120.ets | 64 - .../UIComponentNavTabsMirror0130.ets | 90 - .../UIComponentNavTabsMirror0140.ets | 64 - .../UIComponentNavTabsMirror0150.ets | 70 - .../UIComponentNavTabsMirror0160.ets | 65 - .../UIComponentNavTabsMirror0250.ets | 106 - .../UIComponentNavTabsMirror0260.ets | 180 - .../UIComponentNavTabsMirror080.ets | 108 - .../UIComponentNavTabsOnWillShow0190.ets | 121 - .../UIComponentNavTabsSubTabbarStyle0010.ets | 52 - .../UIComponentNavTabsWidth001.ets | 110 - .../UIComponentOtherRefreshAbility0040.ets | 68 - .../UIComponentOtherRefreshAbility0050.ets | 61 - .../UIComponentOtherRefreshAbility0070.ets | 61 - .../UIComponentOtherRefreshAbility0080.ets | 61 - .../UIComponentOtherRefreshAbility0090.ets | 61 - .../UIComponentOtherRefreshAbility0100.ets | 61 - ...UIComponentOtherRefreshInterAction0380.ets | 64 - ...UIComponentOtherRefreshInterAction0390.ets | 76 - ...UIComponentOtherRefreshInterAction0400.ets | 76 - ...UIComponentOtherRefreshInterAction0410.ets | 78 - .../UIComponentOtherRefreshInterface0140.ets | 61 - .../UIComponentOtherRefreshInterface0170.ets | 61 - .../UIComponentOtherRefreshInterface0180.ets | 61 - .../UIComponentOtherRefreshPromptText0040.ets | 59 - .../UIComponentOtherRefreshPromptText0050.ets | 59 - .../UIComponentOtherRefreshPromptText0060.ets | 59 - .../UIComponentOtherRefreshPromptText0100.ets | 59 - .../UIComponentOtherRefreshPromptText0110.ets | 59 - .../UIComponentOtherRefreshPromptText0120.ets | 59 - .../UIComponentPopupBoxAttribute006.ets | 131 - .../UIComponentPopupBoxAttribute011.ets | 47 - .../UIComponentPopupBoxAttribute050.ets | 71 - .../UIComponentPopupBoxAttribute051.ets | 71 - ...omponentPopupBoxFullDialogInterface001.ets | 99 - ...mponentPopupBoxFullDialogInterface0010.ets | 94 - ...omponentPopupBoxFullDialogInterface002.ets | 88 - ...omponentPopupBoxFullDialogInterface003.ets | 156 - ...omponentPopupBoxFullDialogInterface004.ets | 92 - ...omponentPopupBoxFullDialogInterface005.ets | 87 - ...omponentPopupBoxFullDialogInterface006.ets | 88 - ...omponentPopupBoxFullDialogInterface007.ets | 88 - ...omponentPopupBoxFullDialogInterface008.ets | 89 - ...omponentPopupBoxFullDialogInterface009.ets | 115 - .../UIComponentPopupBoxPopupInterface001.ets | 92 - .../UIComponentPopupBoxPopupInterface002.ets | 50 - .../UIComponentPopupBoxPopupInterface003.ets | 58 - ...omponentPopupBoxPromptToastSequence002.ets | 55 - ...omponentPopupBoxPromptToastSequence003.ets | 72 - ...omponentPopupBoxPromptToastSequence004.ets | 57 - ...omponentPopupBoxPromptToastSequence005.ets | 54 - ...omponentPopupBoxPromptToastSequence006.ets | 56 - ...omponentPopupBoxPromptToastSequence007.ets | 81 - ...omponentPopupBoxPromptToastSequence008.ets | 79 - ...omponentPopupBoxPromptToastSequence009.ets | 48 - ...omponentPopupBoxPromptToastSequence014.ets | 48 - ...omponentPopupBoxPromptToastSequence015.ets | 59 - .../UIComponentPopupBoxSpecifications058.ets | 47 - .../UIComponentPopupBoxSpecifications059.ets | 45 - .../UIComponentPopupBoxSpecifications060.ets | 45 - .../UIComponentPopupBoxSpecifications061.ets | 45 - .../UIComponentPopupBoxSpecifications062.ets | 45 - .../UIComponentPopupBoxSpecifications063.ets | 47 - .../UIComponentPopupBoxSpecifications064.ets | 47 - .../UIComponentPopupBoxSpecifications065.ets | 47 - .../UIComponentPopupBoxSpecifications066.ets | 47 - .../UIComponentPopupBoxSpecifications067.ets | 47 - .../UIComponentPopupBoxSpecifications068.ets | 47 - .../UIComponentPopupBoxSpecifications069.ets | 44 - .../UIComponentPopupBoxSpecifications070.ets | 47 - .../UIComponentPopupBoxSpecifications071.ets | 47 - .../UIComponentPopupBoxSpecifications072.ets | 47 - .../UIComponentPopupBoxSpecifications073.ets | 47 - .../UIComponentPopupBoxSpecifications074.ets | 48 - .../UIComponentPopupBoxSpecifications075.ets | 48 - .../UIComponentPopupBoxSpecifications076.ets | 48 - .../UIComponentPopupBoxSpecifications077.ets | 48 - .../UIComponentPopupBoxSpecifications078.ets | 48 - .../UIComponentPopupBoxSpecifications079.ets | 48 - .../UIComponentPopupBoxSpecifications080.ets | 48 - .../UIComponentPopupBoxSpecifications081.ets | 48 - .../UIComponentPopupBoxSpecifications082.ets | 49 - .../UIComponentPopupBoxSpecifications083.ets | 49 - .../UIComponentPopupBoxSpecifications084.ets | 50 - .../UIComponentPopupBoxSpecifications085.ets | 49 - ...omponentPopupBoxSpecificationsPopup001.ets | 257 - ...omponentPopupBoxSpecificationsPopup002.ets | 82 - ...omponentPopupBoxSpecificationsPopup003.ets | 82 - ...omponentPopupBoxSpecificationsPopup004.ets | 81 - ...omponentPopupBoxSpecificationsPopup005.ets | 81 - ...omponentPopupBoxSpecificationsPopup006.ets | 81 - ...mponentPopupBoxSpecificationsShadow012.ets | 73 - ...mponentPopupBoxSpecificationsShadow013.ets | 73 - ...mponentPopupBoxSpecificationsShadow014.ets | 73 - ...mponentPopupBoxSpecificationsShadow016.ets | 73 - ...mponentPopupBoxSpecificationsShadow017.ets | 80 - ...mponentPopupBoxSpecificationsShadow018.ets | 80 - ...mponentPopupBoxSpecificationsShadow020.ets | 80 - ...mponentPopupBoxSpecificationsShadow021.ets | 80 - ...mponentPopupBoxSpecificationsShadow022.ets | 80 - ...mponentPopupBoxSpecificationsShadow083.ets | 73 - ...omponentPopupBoxToastStyleInterface001.ets | 35 - ...omponentPopupBoxToastStyleInterface002.ets | 35 - ...omponentPopupBoxToastStyleInterface003.ets | 35 - ...omponentPopupBoxToastStyleInterface004.ets | 37 - .../UIComponentPopupPromptInterface001.ets | 64 - .../UIComponentPopupPromptInterface0010.ets | 56 - .../UIComponentPopupPromptInterface0011.ets | 74 - .../UIComponentPopupPromptInterface0012.ets | 65 - .../UIComponentPopupPromptInterface002.ets | 68 - .../UIComponentPopupPromptInterface003.ets | 54 - .../UIComponentPopupPromptInterface004.ets | 53 - .../UIComponentPopupPromptInterface005.ets | 53 - .../UIComponentPopupPromptInterface006.ets | 63 - .../UIComponentPopupPromptInterface007.ets | 65 - .../UIComponentPopupPromptInterface008.ets | 69 - .../UIComponentPopupPromptInterface009.ets | 64 - ...entPopupboxCalendarpickerInterface0070.ets | 40 - ...entPopupboxCalendarpickerInterface0250.ets | 40 - ...entPopupboxCalendarpickerInterface0310.ets | 39 - ...entPopupboxCalendarpickerInterface0330.ets | 51 - ...upboxDatepickerDialogLanguageHabit0050.ets | 59 - ...upboxDatepickerDialogLanguageHabit0210.ets | 117 - .../UIComponentScrollSwiperAcross0010.ets | 46 - .../UIComponentScrollSwiperAcross0030.ets | 41 - .../UIComponentScrollSwiperAcross0060.ets | 50 - .../UIComponentScrollSwiperArrowHead0010.ets | 43 - .../UIComponentScrollSwiperArrowHead0020.ets | 44 - .../UIComponentScrollSwiperArrowHead0030.ets | 44 - .../UIComponentScrollSwiperArrowHead0040.ets | 44 - .../UIComponentScrollSwiperArrowHead0610.ets | 43 - .../UIComponentScrollSwiperArrowHead0620.ets | 44 - .../UIComponentScrollSwiperArrowHead0630.ets | 44 - .../UIComponentScrollSwiperArrowHead0640.ets | 44 - .../UIComponentScrollSwiperArrowHead0650.ets | 52 - .../UIComponentScrollSwiperArrowHead0660.ets | 51 - .../UIComponentScrollSwiperArrowHead0670.ets | 54 - .../UIComponentScrollSwiperArrowHead0680.ets | 52 - .../UIComponentScrollSwiperArrowHead0690.ets | 48 - .../UIComponentScrollSwiperArrowHead0700.ets | 49 - .../UIComponentScrollSwiperArrowHead0710.ets | 48 - .../UIComponentScrollSwiperArrowHead0720.ets | 50 - .../UIComponentScrollSwiperArrowHead0730.ets | 73 - .../UIComponentScrollSwiperArrowHead0740.ets | 55 - .../UIComponentScrollSwiperArrowHead0750.ets | 76 - .../UIComponentScrollSwiperArrowHead0760.ets | 54 - .../UIComponentScrollSwiperArrowHead0770.ets | 65 - .../UIComponentScrollSwiperArrowHead0780.ets | 55 - .../UIComponentScrollSwiperArrowHead0790.ets | 56 - .../UIComponentScrollSwiperArrowHead0800.ets | 54 - ...IComponentScrollSwiperDisplaycount0140.ets | 47 - .../UIComponentScrollSwiperInterface0040.ets | 40 - .../UIComponentScrollSwiperInterface0820.ets | 65 - .../UIComponentScrollSwiperInterface0830.ets | 67 - .../UIComponentScrollSwiperInterface0890.ets | 72 - .../UIComponentScrollSwiperInterface0960.ets | 72 - .../UIComponentScrollSwiperInterface0980.ets | 72 - .../UIComponentScrollSwiperInterface0990.ets | 72 - .../UIComponentScrollSwiperInterface1010.ets | 38 - .../UIComponentScrollSwiperInterface1030.ets | 38 - .../UIComponentScrollSwiperInterface1040.ets | 38 - .../UIComponentScrollSwiperInterface1050.ets | 38 - .../UIComponentScrollSwiperInterface1180.ets | 43 - .../UIComponentScrollSwiperInterface1190.ets | 43 - .../UIComponentScrollSwiperInterface1210.ets | 43 - .../UIComponentScrollSwiperInterface1220.ets | 43 - .../UIComponentScrollSwiperInterface1230.ets | 43 - .../UIComponentScrollSwiperInterface1260.ets | 43 - .../UIComponentScrollSwiperInterface1270.ets | 43 - .../UIComponentScrollSwiperInterface1660.ets | 39 - .../UIComponentScrollSwiperInterface1670.ets | 39 - .../UIComponentScrollSwiperInterface1680.ets | 39 - .../UIComponentScrollSwiperInterface1710.ets | 45 - .../UIComponentScrollSwiperInterface1780.ets | 44 - .../UIComponentScrollSwiperInterface1860.ets | 44 - .../UIComponentScrollSwiperInterface1870.ets | 43 - .../UIComponentScrollSwiperInterface1890.ets | 44 - .../UIComponentScrollSwiperInterface1900.ets | 45 - .../UIComponentScrollSwiperInterface1970.ets | 44 - .../UIComponentScrollSwiperInterface2050.ets | 44 - .../UIComponentScrollSwiperInterface2060.ets | 43 - .../UIComponentScrollSwiperInterface2110.ets | 44 - .../UIComponentScrollSwiperInterface2160.ets | 44 - .../UIComponentScrollSwiperInterface2180.ets | 67 - .../UIComponentScrollSwiperInterface2190.ets | 67 - .../UIComponentScrollSwiperInterface2200.ets | 67 - .../UIComponentScrollSwiperInterface2210.ets | 67 - .../UIComponentScrollSwiperInterface2230.ets | 72 - .../UIComponentScrollSwiperInterface2330.ets | 70 - .../UIComponentScrollSwiperInterface2340.ets | 71 - .../UIComponentScrollSwiperInterface2350.ets | 72 - .../UIComponentScrollSwiperInterface2370.ets | 43 - .../UIComponentScrollSwiperInterface2460.ets | 72 - .../UIComponentScrollSwiperInterface2560.ets | 70 - .../UIComponentScrollSwiperInterface2570.ets | 72 - .../UIComponentScrollSwiperInterface2720.ets | 72 - .../UIComponentScrollSwiperInterface2790.ets | 72 - .../UIComponentScrollSwiperInterface2910.ets | 42 - .../UIComponentScrollSwiperInterface3030.ets | 40 - .../UIComponentScrollSwiperInterface3040.ets | 40 - .../UIComponentScrollSwiperInterface3050.ets | 40 - .../UIComponentScrollSwiperInterface3060.ets | 40 - .../UIComponentScrollSwiperInterface3070.ets | 40 - .../UIComponentScrollSwiperInterface3120.ets | 41 - .../UIComponentScrollSwiperInterface3130.ets | 40 - .../UIComponentScrollSwiperInterface3140.ets | 40 - .../UIComponentScrollSwiperInterface3160.ets | 67 - .../UIComponentScrollSwiperInterface3300.ets | 67 - .../UIComponentScrollSwiperInterface3310.ets | 67 - .../UIComponentScrollSwiperInterface3330.ets | 67 - .../UIComponentScrollSwiperInterface3340.ets | 67 - .../UIComponentScrollSwiperInterface3350.ets | 67 - .../UIComponentScrollSwiperInterface3380.ets | 68 - .../UIComponentScrollSwiperInterface3390.ets | 68 - .../UIComponentScrollSwiperInterface3430.ets | 68 - .../UIComponentScrollSwiperInterface3450.ets | 69 - .../UIComponentScrollSwiperInterface3460.ets | 68 - .../UIComponentScrollSwiperInterface3500.ets | 68 - .../UIComponentScrollSwiperInterface3510.ets | 68 - .../UIComponentScrollSwiperInterface3520.ets | 68 - .../UIComponentScrollSwiperInterface3530.ets | 68 - .../UIComponentScrollSwiperInterface3550.ets | 69 - .../UIComponentScrollSwiperInterface3560.ets | 68 - .../UIComponentScrollSwiperInterface3570.ets | 68 - .../UIComponentScrollSwiperInterface3600.ets | 68 - .../UIComponentScrollSwiperInterface3610.ets | 68 - .../UIComponentScrollSwiperInterface3700.ets | 69 - .../UIComponentScrollSwiperInterface3780.ets | 35 - .../UIComponentScrollSwiperInterface3790.ets | 66 - .../UIComponentScrollSwiperInterface3810.ets | 42 - .../UIComponentScrollSwiperInterface3820.ets | 42 - .../IDataSource.ets | 35 - .../UIComponentScrollSwiperLayout0010.ets | 45 - .../UIComponentScrollSwiperLayout0020.ets | 46 - .../UIComponentScrollSwiperLayout0030.ets | 46 - .../UIComponentScrollSwiperLayout0040.ets | 46 - .../UIComponentScrollSwiperLayout0050.ets | 48 - .../UIComponentScrollSwiperLayout0060.ets | 47 - .../UIComponentScrollSwiperLayout0070.ets | 48 - .../UIComponentScrollSwiperLayout0080.ets | 47 - .../UIComponentScrollSwiperLayout0090.ets | 49 - .../UIComponentScrollSwiperLayout0100.ets | 46 - .../UIComponentScrollSwiperLayout0110.ets | 47 - .../UIComponentScrollSwiperLayout0120.ets | 46 - .../UIComponentScrollSwiperLayout0130.ets | 46 - .../UIComponentScrollSwiperLayout0140.ets | 47 - .../UIComponentScrollSwiperLayout0150.ets | 47 - .../UIComponentScrollSwiperLayout0160.ets | 47 - .../UIComponentScrollSwiperLayout0170.ets | 47 - .../UIComponentScrollSwiperLayout0180.ets | 46 - .../UIComponentScrollSwiperLayout0190.ets | 47 - .../UIComponentScrollSwiperLayout0200.ets | 46 - .../UIComponentScrollSwiperLayout0210.ets | 46 - .../UIComponentScrollSwiperLayout0220.ets | 47 - .../UIComponentScrollSwiperLayout0230.ets | 48 - .../UIComponentScrollSwiperLayout0240.ets | 47 - .../UIComponentScrollSwiperLayout0250.ets | 48 - .../UIComponentScrollSwiperLayout0260.ets | 47 - .../UIComponentScrollSwiperLayout0270.ets | 48 - .../UIComponentScrollSwiperLayout0280.ets | 47 - .../UIComponentScrollSwiperLayout0290.ets | 47 - .../UIComponentScrollSwiperLayout0300.ets | 48 - .../UIComponentScrollSwiperLayout0310.ets | 48 - .../UIComponentScrollSwiperLayout0320.ets | 48 - .../UIComponentScrollSwiperLayout0330.ets | 48 - .../UIComponentScrollSwiperLayout0340.ets | 47 - .../UIComponentScrollSwiperLayout0350.ets | 48 - .../UIComponentScrollSwiperLayout0360.ets | 47 - .../UIComponentScrollSwiperLayout0370.ets | 47 - .../UIComponentScrollSwiperLayout0380.ets | 48 - .../UIComponentScrollSwiperLayout0390.ets | 48 - .../UIComponentScrollSwiperLayout0400.ets | 48 - .../UIComponentScrollSwiperLayout0410.ets | 48 - .../UIComponentScrollSwiperLayout0420.ets | 47 - .../UIComponentScrollSwiperLayout0430.ets | 48 - .../UIComponentScrollSwiperLayout0440.ets | 47 - .../UIComponentScrollSwiperLayout0450.ets | 47 - .../UIComponentScrollSwiperLayout0460.ets | 48 - .../UIComponentScrollSwiperLayout0470.ets | 48 - .../UIComponentScrollSwiperLayout0480.ets | 48 - .../UIComponentScrollSwiperLayout0490.ets | 48 - .../UIComponentScrollSwiperLayout0500.ets | 50 - .../UIComponentScrollSwiperLayout0510.ets | 50 - .../UIComponentScrollSwiperLayout0520.ets | 47 - .../UIComponentScrollSwiperLayout0530.ets | 48 - .../UIComponentScrollSwiperLayout0540.ets | 47 - .../UIComponentScrollSwiperLayout0550.ets | 47 - .../UIComponentScrollSwiperLayout0560.ets | 48 - .../UIComponentScrollSwiperLayout0570.ets | 48 - .../UIComponentScrollSwiperLayout0580.ets | 50 - .../UIComponentScrollSwiperLayout0590.ets | 47 - .../UIComponentScrollSwiperLayout0600.ets | 48 - .../UIComponentScrollSwiperLayout0610.ets | 47 - .../UIComponentScrollSwiperLayout0620.ets | 47 - .../UIComponentScrollSwiperLayout0630.ets | 48 - .../UIComponentScrollSwiperLayout0640.ets | 48 - .../UIComponentScrollSwiperLayout0650.ets | 48 - .../UIComponentScrollSwiperLayout0660.ets | 48 - .../UIComponentScrollSwiperLayout0670.ets | 47 - .../UIComponentScrollSwiperLayout0680.ets | 48 - .../UIComponentScrollSwiperLayout0690.ets | 47 - .../UIComponentScrollSwiperLayout0700.ets | 47 - .../UIComponentScrollSwiperLayout0710.ets | 48 - .../UIComponentScrollSwiperLayout0720.ets | 49 - .../UIComponentScrollSwiperLayout0730.ets | 48 - .../UIComponentScrollSwiperLayout0740.ets | 49 - .../UIComponentScrollSwiperLayout0750.ets | 48 - .../UIComponentScrollSwiperLayout0760.ets | 49 - .../UIComponentScrollSwiperLayout0770.ets | 70 - .../UIComponentScrollSwiperLayout0790.ets | 74 - .../UIComponentScrollSwiperLayout0810.ets | 71 - .../UIComponentScrollSwiperLayout0820.ets | 49 - .../UIComponentScrollSwiperLayout0830.ets | 51 - .../UIComponentScrollSwiperLayout0840.ets | 48 - .../UIComponentScrollSwiperLayout0850.ets | 49 - .../UIComponentScrollSwiperLayout0860.ets | 48 - .../UIComponentScrollSwiperLayout0870.ets | 48 - .../UIComponentScrollSwiperLayout0880.ets | 48 - .../UIComponentScrollSwiperLayout0890.ets | 49 - .../UIComponentScrollSwiperLayout0900.ets | 48 - .../UIComponentScrollSwiperLayout0910.ets | 48 - .../UIComponentScrollSwiperLayout0920.ets | 49 - .../UIComponentScrollSwiperLayout0930.ets | 49 - .../UIComponentScrollSwiperLayout0940.ets | 49 - .../UIComponentScrollSwiperLayout0950.ets | 49 - .../UIComponentScrollSwiperLayout0960.ets | 51 - .../UIComponentScrollSwiperLayout0970.ets | 46 - .../UIComponentScrollSwiperLayout0980.ets | 47 - .../UIComponentScrollSwiperLayout0990.ets | 46 - .../UIComponentScrollSwiperLayout1000.ets | 46 - .../UIComponentScrollSwiperLayout1010.ets | 48 - .../UIComponentScrollSwiperLayout1020.ets | 72 - .../UIComponentScrollSwiperLayout1040.ets | 69 - .../UIComponentScrollSwiperLayout1050.ets | 71 - .../UIComponentScrollSwiperLayout1060.ets | 68 - .../UIComponentScrollSwiperLayout1080.ets | 36 - .../UIComponentScrollSwiperLayout1090.ets | 36 - .../UIComponentScrollSwiperLayout1100.ets | 37 - .../UIComponentScrollSwiperLayout1110.ets | 37 - .../UIComponentScrollSwiperLayout1120.ets | 37 - .../UIComponentScrollSwiperLayout1130.ets | 37 - .../UIComponentScrollSwiperLayout1140.ets | 36 - .../UIComponentScrollSwiperLayout1150.ets | 37 - .../UIComponentScrollSwiperLayout1160.ets | 36 - .../UIComponentScrollSwiperLayout1170.ets | 36 - .../UIComponentScrollSwiperLayout1180.ets | 37 - .../UIComponentScrollSwiperLayout1190.ets | 38 - .../UIComponentScrollSwiperLayout1200.ets | 37 - .../UIComponentScrollSwiperLayout1210.ets | 38 - .../UIComponentScrollSwiperLayout1220.ets | 37 - .../UIComponentScrollSwiperLayout1230.ets | 38 - .../UIComponentScrollSwiperLayout1240.ets | 37 - .../UIComponentScrollSwiperLayout1250.ets | 37 - .../UIComponentScrollSwiperLayout1260.ets | 38 - .../UIComponentScrollSwiperLayout1270.ets | 38 - .../UIComponentScrollSwiperLayout1280.ets | 38 - .../UIComponentScrollSwiperLayout1290.ets | 38 - .../UIComponentScrollSwiperLayout1300.ets | 40 - .../UIComponentScrollSwiperLayout1310.ets | 39 - .../UIComponentScrollSwiperLayout1320.ets | 39 - .../UIComponentScrollSwiperLayout1330.ets | 39 - .../UIComponentScrollSwiperLayout1340.ets | 39 - .../UIComponentScrollSwiperLayout1350.ets | 37 - .../UIComponentScrollSwiperLayout1360.ets | 38 - .../UIComponentScrollSwiperLayout1370.ets | 37 - .../UIComponentScrollSwiperLayout1380.ets | 37 - .../UIComponentScrollSwiperLayout1390.ets | 38 - .../UIComponentScrollSwiperLayout1400.ets | 38 - .../UIComponentScrollSwiperLayout1410.ets | 38 - .../UIComponentScrollSwiperLayout1420.ets | 38 - .../UIComponentScrollSwiperLayout1430.ets | 37 - .../UIComponentScrollSwiperLayout1440.ets | 38 - .../UIComponentScrollSwiperLayout1450.ets | 37 - .../UIComponentScrollSwiperLayout1460.ets | 37 - .../UIComponentScrollSwiperLayout1470.ets | 38 - .../UIComponentScrollSwiperLayout1480.ets | 38 - .../UIComponentScrollSwiperLayout1490.ets | 38 - .../UIComponentScrollSwiperLayout1500.ets | 38 - .../UIComponentScrollSwiperLayout1510.ets | 40 - .../UIComponentScrollSwiperLayout1520.ets | 37 - .../UIComponentScrollSwiperLayout1530.ets | 38 - .../UIComponentScrollSwiperLayout1540.ets | 37 - .../UIComponentScrollSwiperLayout1550.ets | 37 - .../UIComponentScrollSwiperLayout1560.ets | 39 - .../UIComponentScrollSwiperLayout1570.ets | 38 - .../UIComponentScrollSwiperLayout1580.ets | 39 - .../UIComponentScrollSwiperLayout1590.ets | 38 - .../UIComponentScrollSwiperLayout1600.ets | 37 - .../UIComponentScrollSwiperLayout1610.ets | 38 - .../UIComponentScrollSwiperLayout1620.ets | 37 - .../UIComponentScrollSwiperLayout1630.ets | 37 - .../UIComponentScrollSwiperLayout1640.ets | 38 - .../UIComponentScrollSwiperLayout1650.ets | 38 - .../UIComponentScrollSwiperLayout1660.ets | 38 - .../UIComponentScrollSwiperLayout1670.ets | 38 - .../UIComponentScrollSwiperLayout1680.ets | 37 - .../UIComponentScrollSwiperLayout1690.ets | 38 - .../UIComponentScrollSwiperLayout1700.ets | 37 - .../UIComponentScrollSwiperLayout1710.ets | 37 - .../UIComponentScrollSwiperLayout1720.ets | 38 - .../UIComponentScrollSwiperLayout1730.ets | 39 - .../UIComponentScrollSwiperLayout1740.ets | 38 - .../UIComponentScrollSwiperLayout1750.ets | 39 - .../UIComponentScrollSwiperLayout1760.ets | 38 - .../UIComponentScrollSwiperLayout1770.ets | 39 - .../UIComponentScrollSwiperLayout1780.ets | 38 - .../UIComponentScrollSwiperLayout1790.ets | 38 - .../UIComponentScrollSwiperLayout1800.ets | 68 - .../UIComponentScrollSwiperLayout1810.ets | 69 - .../UIComponentScrollSwiperLayout1820.ets | 48 - .../UIComponentScrollSwiperLayout1830.ets | 49 - .../UIComponentScrollSwiperLayout1840.ets | 50 - .../UIComponentScrollSwiperLayout1850.ets | 49 - .../UIComponentScrollSwiperLayout1860.ets | 39 - .../UIComponentScrollSwiperLayout1870.ets | 38 - .../UIComponentScrollSwiperLayout1880.ets | 38 - .../UIComponentScrollSwiperLayout1890.ets | 39 - .../UIComponentScrollSwiperLayout1900.ets | 39 - .../UIComponentScrollSwiperLayout1910.ets | 39 - .../UIComponentScrollSwiperLayout1920.ets | 39 - .../UIComponentScrollSwiperLayout1930.ets | 38 - .../UIComponentScrollSwiperLayout1940.ets | 39 - .../UIComponentScrollSwiperLayout1950.ets | 38 - .../UIComponentScrollSwiperLayout1960.ets | 38 - .../UIComponentScrollSwiperLayout1970.ets | 39 - .../UIComponentScrollSwiperLayout1980.ets | 39 - .../UIComponentScrollSwiperLayout1990.ets | 39 - .../UIComponentScrollSwiperLayout2000.ets | 39 - .../UIComponentScrollSwiperLayout2010.ets | 41 - .../UIComponentScrollSwiperLayout2020.ets | 37 - .../UIComponentScrollSwiperLayout2030.ets | 38 - .../UIComponentScrollSwiperLayout2040.ets | 37 - .../UIComponentScrollSwiperLayout2050.ets | 38 - .../UIComponentScrollSwiperLayout2060.ets | 43 - .../UIComponentScrollSwiperLayout2070.ets | 45 - .../UIComponentScrollSwiperLayout2080.ets | 43 - .../UIComponentScrollSwiperLayout2090.ets | 45 - .../UIComponentScrollSwiperLayout2100.ets | 43 - .../UIComponentScrollSwiperLayout2110.ets | 43 - .../UIComponentScrollSwiperTeace0070.ets | 42 - .../UIComponentScrollSwiperTeace0080.ets | 42 - .../UIComponentScrollSwiperUx0010.ets | 70 - .../UIComponentScrollSwiperUx0020.ets | 69 - .../UIComponentScrollSwiperUx0520.ets | 70 - ...lComponentsFormComponentTransparent010.ets | 48 - ...lComponentsFormComponentTransparent013.ets | 48 - ...lComponentsFormComponentTransparent014.ets | 50 - ...lComponentsFormComponentTransparent015.ets | 49 - ...lComponentsFormComponentTransparent017.ets | 50 - ...lComponentsFormComponentTransparent018.ets | 50 - ...lComponentsFormComponentTransparent019.ets | 52 - ...lComponentsFormComponentTransparent022.ets | 52 - ...lComponentsFormComponentTransparent023.ets | 52 - ...lComponentsFormComponentTransparent024.ets | 52 - ...lComponentsFormComponentTransparent025.ets | 52 - ...lComponentsFormComponentTransparent026.ets | 52 - ...lComponentsFormComponentTransparent027.ets | 52 - ...lComponentsFormComponentTransparent029.ets | 52 - ...lComponentsFormComponentTransparent030.ets | 50 - ...lComponentsFormComponentTransparent032.ets | 52 - ...lComponentsFormComponentTransparent034.ets | 52 - ...lComponentsFormComponentTransparent035.ets | 52 - ...lComponentsFormComponentTransparent036.ets | 52 - ...lComponentsFormComponentTransparent038.ets | 50 - ...lComponentsFormComponentTransparent039.ets | 48 - ...lComponentsFormComponentTransparent040.ets | 48 - ...lComponentsFormComponentTransparent053.ets | 52 - ...lComponentsFormComponentTransparent054.ets | 48 - ...lComponentsFormComponentTransparent056.ets | 52 - ...lComponentsFormComponentTransparent057.ets | 51 - ...lComponentsFormComponentTransparent059.ets | 51 - ...lComponentsFormComponentTransparent060.ets | 51 - ...lComponentsFormComponentTransparent061.ets | 51 - ...lComponentsFormComponentTransparent062.ets | 51 - ...lComponentsFormComponentTransparent063.ets | 51 - ...lComponentsFormComponentTransparent065.ets | 53 - ...lComponentsFormComponentTransparent067.ets | 53 - ...lComponentsFormComponentTransparent071.ets | 48 - ...lComponentsFormComponentTransparent072.ets | 48 - ...lComponentsFormComponentTransparent073.ets | 48 - ...lComponentsFormComponentTransparent074.ets | 50 - ...lComponentsFormComponentTransparent076.ets | 50 - ...lComponentsFormComponentTransparent077.ets | 48 - ...lComponentsFormComponentTransparent078.ets | 48 - ...lComponentsFormComponentTransparent079.ets | 48 - ...lComponentsFormComponentTransparent080.ets | 48 - ...lComponentsFormComponentTransparent081.ets | 48 - ...lComponentsFormComponentTransparent082.ets | 48 - ...lComponentsFormComponentTransparent083.ets | 48 - ...lComponentsFormComponentTransparent092.ets | 55 - ...lComponentsFormComponentTransparent094.ets | 64 - ...lComponentsFormComponentTransparent096.ets | 53 - ...lComponentsFormComponentTransparent098.ets | 54 - ...lComponentsFormComponentTransparent099.ets | 56 - ...lComponentsFormComponentTransparent100.ets | 56 - ...lComponentsFormComponentTransparent102.ets | 54 - ...lComponentsFormComponentTransparent103.ets | 54 - ...lComponentsFormComponentTransparent104.ets | 54 - ...lComponentsFormComponentTransparent105.ets | 54 - ...lComponentsFormComponentTransparent108.ets | 54 - ...lComponentsFormComponentTransparent109.ets | 54 - ...lComponentsFormComponentTransparent110.ets | 54 - ...lComponentsFormComponentTransparent111.ets | 54 - ...lComponentsFormComponentTransparent112.ets | 54 - ...lComponentsFormComponentTransparent113.ets | 54 - ...lComponentsFormComponentTransparent115.ets | 55 - ...lComponentsFormComponentTransparent116.ets | 54 - ...lComponentsFormComponentTransparent117.ets | 54 - ...lComponentsFormComponentTransparent118.ets | 55 - ...lComponentsFormComponentTransparent119.ets | 54 - ...lComponentsFormComponentTransparent121.ets | 54 - ...lComponentsFormComponentTransparent122.ets | 54 - ...lComponentsFormComponentTransparent123.ets | 54 - ...lComponentsFormComponentTransparent124.ets | 54 - ...lComponentsFormComponentTransparent125.ets | 55 - ...lComponentsFormComponentTransparent126.ets | 55 - ...lComponentsFormComponentTransparent128.ets | 54 - ...lComponentsFormComponentTransparent129.ets | 54 - ...lComponentsFormComponentTransparent130.ets | 54 - ...lComponentsFormComponentTransparent131.ets | 54 - ...lComponentsFormComponentTransparent132.ets | 54 - ...lComponentsFormComponentTransparent133.ets | 54 - ...lComponentsFormComponentTransparent135.ets | 55 - ...lComponentsFormComponentTransparent136.ets | 55 - ...lComponentsFormComponentTransparent137.ets | 55 - ...lComponentsFormComponentTransparent138.ets | 55 - ...lComponentsFormComponentTransparent139.ets | 47 - ...lComponentsFormComponentTransparent140.ets | 55 - ...lComponentsFormComponentTransparent142.ets | 57 - ...lComponentsFormComponentTransparent143.ets | 56 - ...lComponentsFormComponentTransparent144.ets | 55 - ...lComponentsFormComponentTransparent146.ets | 59 - ...lComponentsFormComponentTransparent147.ets | 58 - ...lComponentsFormComponentTransparent149.ets | 59 - ...lComponentsFormComponentTransparent150.ets | 57 - ...lComponentsFormComponentTransparent151.ets | 57 - ...lComponentsFormComponentTransparent152.ets | 58 - ...lComponentsFormComponentTransparent153.ets | 57 - ...lComponentsFormComponentTransparent154.ets | 58 - ...lComponentsFormComponentTransparent156.ets | 57 - ...lComponentsFormComponentTransparent157.ets | 57 - ...lComponentsFormComponentTransparent159.ets | 57 - ...lComponentsFormComponentTransparent160.ets | 57 - ...lComponentsFormComponentTransparent162.ets | 57 - ...lComponentsFormComponentTransparent164.ets | 54 - ...lComponentsFormComponentTransparent165.ets | 54 - ...lComponentsFormComponentTransparent166.ets | 54 - ...lComponentsFormComponentTransparent167.ets | 54 - ...lComponentsFormComponentTransparent168.ets | 54 - ...lComponentsFormComponentTransparent169.ets | 54 - ...lComponentsFormComponentTransparent171.ets | 54 - ...lComponentsFormComponentTransparent172.ets | 54 - ...lComponentsFormComponentTransparent173.ets | 54 - ...lComponentsFormComponentTransparent174.ets | 54 - ...lComponentsFormComponentTransparent175.ets | 54 - ...lComponentsFormComponentTransparent176.ets | 54 - ...lComponentsFormComponentTransparent177.ets | 54 - ...lComponentsFormComponentTransparent178.ets | 54 - ...lComponentsFormComponentTransparent179.ets | 54 - ...lComponentsFormComponentTransparent180.ets | 54 - ...lComponentsFormComponentTransparent181.ets | 54 - ...lComponentsFormComponentTransparent182.ets | 54 - ...lComponentsFormComponentTransparent183.ets | 54 - ...lComponentsFormComponentTransparent184.ets | 63 - ...entsUIExtensionComponentPopupChange001.ets | 54 - ...entsUIExtensionComponentPopupChange002.ets | 84 - ...entsUIExtensionComponentPopupChange003.ets | 64 - ...entsUIExtensionComponentPopupChange004.ets | 64 - ...entsUIExtensionComponentPopupChange005.ets | 53 - ...entsUIExtensionComponentPopupChange006.ets | 54 - .../UIComponentTabTabBarSymbol0010.ets | 63 - .../UIComponentTabTabBarSymbol0020.ets | 63 - .../UIComponentTabTabBarSymbol0030.ets | 63 - .../UIComponentTabTabBarSymbol0040.ets | 94 - .../UIComponentTabTabBarSymbol0060.ets | 69 - .../UIComponentTabTabBarSymbol0070.ets | 69 - .../UIComponentTabTabBarSymbol0080.ets | 69 - .../UIComponentTabTabBarSymbol0090.ets | 62 - .../UIComponentTabTabBarSymbol0110.ets | 60 - .../UIComponentTabTabBarSymbol0120.ets | 60 - .../UIComponentTabTabBarSymbol0130.ets | 72 - .../UIComponentTabTabBarSymbol0140.ets | 76 - .../UIComponentTabTabBarSymbol0150.ets | 65 - .../UIComponentTabTabBarSymbol0160.ets | 68 - .../UIComponentTabTabBarSymbol0170.ets | 68 - .../UIComponentTabTabBarSymbol0180.ets | 63 - .../UIComponentTabTabBarSymbol0190.ets | 79 - .../UIComponentTabTabBarSymbol0230.ets | 63 - .../UIComponentTabTabBarSymbol0260.ets | 69 - .../UIComponentTabTabbarTabbarsymbol0050.ets | 64 - .../UIComponentTabTabbarTabbarsymbol0240.ets | 53 - .../UIComponentTabTabbarTabbarsymbol0250.ets | 56 - ...nentTextCommonItscaAttributeUpdater001.ets | 15 + ...nentTextCommonItscaAttributeUpdater002.ets | 14 + ...nentTextCommonItscaAttributeUpdater003.ets | 14 + ...nentTextCommonItscaAttributeUpdater004.ets | 14 + ...nentTextCommonItscaAttributeUpdater005.ets | 14 + .../UIComponentUISupportColor092.ets | 32 - .../UIComponentUISupportColor093.ets | 32 - .../UIComponentUISupportColor094.ets | 32 - .../UIComponentUISupportColor095.ets | 32 - .../UIComponentUISupportColor096.ets | 32 - .../UIComponentUISupportColor097.ets | 32 - .../UIComponentUISupportColor098.ets | 34 - .../UIComponentUISupportColor099.ets | 45 - .../UIComponentUISupportColor100.ets | 47 - .../UIComponentUISupportColor101.ets | 35 - .../UIComponentUISupportColor102.ets | 45 - .../UIComponentUISupportColor103.ets | 40 - .../UIComponentUISupportColor104.ets | 40 - .../UIComponentUISupportColor105.ets | 40 - .../pages/UITestCase/UITestCase001.ets | 70 - .../pages/UITestCase/UITestCase002.ets | 56 - .../pages/UITestCase/UITestCase003.ets | 56 - .../pages/UITestCase/UITestCase004.ets | 50 - .../UiComponentButtonSelectAlign0010.ets | 38 - .../UiComponentButtonSelectAlign0020.ets | 38 - .../UiComponentButtonSelectAlign0030.ets | 38 - .../UiComponentButtonSelectAlign0040.ets | 38 - .../UiComponentButtonSelectAlign0050.ets | 38 - .../UiComponentButtonSelectAlign0060.ets | 38 - .../UiComponentButtonSelectAlign0070.ets | 38 - .../UiComponentButtonSelectAlign0080.ets | 38 - .../UiComponentButtonSelectAlign0090.ets | 38 - .../UiComponentButtonSelectAlign0100.ets | 38 - .../UiComponentButtonSelectAlign0110.ets | 38 - .../UiComponentButtonSelectAlign0120.ets | 38 - .../UiComponentButtonSelectAlign0130.ets | 38 - .../UiComponentButtonSelectAlign0140.ets | 38 - .../UiComponentButtonSelectAlign0150.ets | 38 - .../UiComponentButtonSelectAlign0160.ets | 38 - .../UiComponentButtonSelectAlign0170.ets | 38 - .../UiComponentButtonSelectAlign0180.ets | 38 - .../UiComponentButtonSelectAlign0190.ets | 38 - .../UiComponentButtonSelectAlign0200.ets | 38 - .../UiComponentButtonSelectAlign0210.ets | 38 - .../UiComponentButtonSelectAlign0220.ets | 38 - .../UiComponentButtonSelectAlign0230.ets | 38 - .../UiComponentButtonSelectAlign0240.ets | 38 - .../UiComponentButtonSelectAlign0250.ets | 38 - .../UiComponentButtonSelectAlign0260.ets | 38 - .../UiComponentButtonSelectAlign0270.ets | 38 - .../UiComponentButtonSelectAlign0280.ets | 38 - .../UiComponentButtonSelectAlign0290.ets | 38 - .../UiComponentButtonSelectAlign0300.ets | 38 - .../UiComponentButtonSelectAlign0310.ets | 38 - .../UiComponentButtonSelectAlign0320.ets | 38 - .../UiComponentButtonSelectAlign0330.ets | 38 - .../UiComponentButtonSelectAlign0340.ets | 38 - .../UiComponentButtonSelectAlign0350.ets | 38 - .../UiComponentButtonSelectAlign0360.ets | 47 - .../UiComponentButtonSelectAlign0370.ets | 39 - .../UiComponentButtonSelectAlign0380.ets | 39 - .../UiComponentButtonSelectAlign0390.ets | 59 - .../UiComponentButtonSelectAlign0400.ets | 40 - .../UiComponentButtonSelectAlign0410.ets | 38 - .../UiComponentButtonSelectAlign0420.ets | 36 - ...UiComponentButtonSelectEnhancement0030.ets | 38 - ...UiComponentButtonSelectEnhancement0040.ets | 35 - ...UiComponentButtonSelectEnhancement0050.ets | 37 - ...UiComponentButtonSelectEnhancement0060.ets | 37 - ...UiComponentButtonSelectEnhancement0070.ets | 40 - ...UiComponentButtonSelectEnhancement0080.ets | 37 - ...UiComponentButtonSelectEnhancement0090.ets | 45 - ...UiComponentButtonSelectEnhancement0100.ets | 44 - ...UiComponentButtonSelectEnhancement0110.ets | 44 - ...UiComponentButtonSelectEnhancement0120.ets | 44 - ...UiComponentButtonSelectEnhancement0130.ets | 45 - ...UiComponentButtonSelectEnhancement0140.ets | 66 - ...UiComponentButtonSelectEnhancement0150.ets | 32 - ...UiComponentButtonSelectEnhancement0160.ets | 35 - ...UiComponentButtonSelectEnhancement0170.ets | 34 - ...UiComponentButtonSelectEnhancement0180.ets | 34 - ...UiComponentButtonSelectEnhancement0190.ets | 42 - ...UiComponentButtonSelectEnhancement0220.ets | 88 - ...UiComponentButtonSelectEnhancement0230.ets | 71 - .../UiComponentButtonSelectInterface0240.ets | 77 - ...tPopupboxDatePickerDialogInterface0010.ets | 34 - ...tPopupboxDatePickerDialogInterface0020.ets | 34 - ...tPopupboxDatePickerDialogInterface0030.ets | 34 - ...tPopupboxDatePickerDialogInterface0040.ets | 34 - ...tPopupboxDatePickerDialogInterface0050.ets | 34 - ...tPopupboxDatePickerDialogInterface0060.ets | 34 - ...tPopupboxDatePickerDialogInterface0070.ets | 34 - ...tPopupboxDatePickerDialogInterface0080.ets | 34 - ...tPopupboxDatePickerDialogInterface0090.ets | 34 - ...tPopupboxDatePickerDialogInterface0100.ets | 34 - ...tPopupboxDatePickerDialogInterface0110.ets | 34 - ...tPopupboxDatePickerDialogInterface0120.ets | 33 - ...tPopupboxDatePickerDialogInterface0130.ets | 32 - ...tPopupboxDatePickerDialogInterface0140.ets | 32 - ...tPopupboxDatePickerDialogInterface0150.ets | 32 - ...tPopupboxDatePickerDialogInterface0160.ets | 32 - ...tPopupboxDatePickerDialogInterface0170.ets | 34 - ...tPopupboxDatePickerDialogInterface0180.ets | 32 - ...tPopupboxDatePickerDialogInterface0190.ets | 35 - ...tPopupboxDatePickerDialogInterface0200.ets | 35 - ...tPopupboxDatePickerDialogInterface0210.ets | 32 - ...tPopupboxDatePickerDialogInterface0220.ets | 32 - ...tPopupboxDatePickerDialogInterface0230.ets | 32 - ...tPopupboxDatePickerDialogInterface0240.ets | 32 - ...tPopupboxDatePickerDialogInterface0250.ets | 32 - ...tPopupboxDatePickerDialogInterface0260.ets | 32 - ...tPopupboxDatePickerDialogInterface0270.ets | 32 - ...tPopupboxDatePickerDialogInterface0280.ets | 32 - ...tPopupboxDatePickerDialogInterface0290.ets | 32 - ...tPopupboxDatePickerDialogInterface0300.ets | 32 - ...tPopupboxDatePickerDialogInterface0310.ets | 32 - ...tPopupboxDatePickerDialogInterface0320.ets | 32 - ...tPopupboxDatePickerDialogInterface0330.ets | 32 - ...tPopupboxDatePickerDialogInterface0340.ets | 32 - ...tPopupboxDatePickerDialogInterface0350.ets | 32 - ...tPopupboxDatePickerDialogInterface0360.ets | 32 - ...tPopupboxDatePickerDialogInterface0370.ets | 32 - ...tPopupboxDatePickerDialogInterface0380.ets | 32 - ...tPopupboxDatePickerDialogInterface0390.ets | 32 - ...tPopupboxDatePickerDialogInterface0400.ets | 32 - ...tPopupboxDatePickerDialogInterface0410.ets | 32 - ...tPopupboxDatePickerDialogInterface0420.ets | 32 - ...tPopupboxDatePickerDialogInterface0430.ets | 32 - ...tPopupboxDatePickerDialogInterface0440.ets | 32 - ...tPopupboxDatePickerDialogInterface0450.ets | 32 - ...tPopupboxDatePickerDialogInterface0460.ets | 32 - ...tPopupboxDatePickerDialogInterface0470.ets | 32 - ...tPopupboxDatePickerDialogInterface0480.ets | 32 - ...tPopupboxDatePickerDialogInterface0490.ets | 32 - ...tPopupboxDatePickerDialogInterface0500.ets | 32 - ...tPopupboxDatePickerDialogInterface0510.ets | 32 - ...tPopupboxDatePickerDialogInterface0520.ets | 32 - ...tPopupboxDatePickerDialogInterface0530.ets | 32 - ...tPopupboxDatePickerDialogInterface0540.ets | 32 - ...tPopupboxDatePickerDialogInterface0550.ets | 32 - ...tPopupboxDatePickerDialogInterface0560.ets | 32 - ...tPopupboxDatePickerDialogInterface0570.ets | 32 - ...tPopupboxDatePickerDialogInterface0580.ets | 32 - ...tPopupboxDatePickerDialogInterface0590.ets | 32 - ...tPopupboxDatePickerDialogInterface0600.ets | 32 - ...tPopupboxDatePickerDialogInterface0610.ets | 32 - ...tPopupboxDatePickerDialogInterface0620.ets | 32 - ...tPopupboxDatePickerDialogInterface0630.ets | 32 - ...tPopupboxDatePickerDialogInterface0640.ets | 32 - ...tPopupboxDatePickerDialogInterface0650.ets | 32 - ...tPopupboxDatePickerDialogInterface0660.ets | 32 - ...tPopupboxDatePickerDialogInterface0670.ets | 32 - ...tPopupboxDatePickerDialogInterface0680.ets | 32 - ...tPopupboxDatePickerDialogInterface0690.ets | 32 - ...tPopupboxDatePickerDialogInterface0700.ets | 32 - ...tPopupboxDatePickerDialogInterface0710.ets | 32 - ...tPopupboxDatePickerDialogInterface0720.ets | 32 - ...tPopupboxDatePickerDialogInterface0730.ets | 33 - ...tPopupboxDatePickerDialogInterface0740.ets | 32 - ...tPopupboxDatePickerDialogInterface0750.ets | 32 - ...tPopupboxDatePickerDialogInterface0760.ets | 32 - ...tPopupboxDatePickerDialogInterface0770.ets | 38 - ...tPopupboxDatePickerDialogInterface0780.ets | 40 - ...tPopupboxDatePickerDialogInterface0790.ets | 39 - ...tPopupboxDatePickerDialogInterface0830.ets | 32 - ...tPopupboxDatePickerDialogInterface0840.ets | 32 - ...tPopupboxDatePickerDialogInterface0850.ets | 32 - ...tPopupboxDatePickerDialogInterface0880.ets | 32 - ...tPopupboxDatePickerDialogInterface0890.ets | 32 - ...tPopupboxDatePickerDialogInterface0900.ets | 32 - ...tPopupboxDatePickerDialogInterface0910.ets | 32 - ...tPopupboxDatePickerDialogInterface0920.ets | 32 - ...tPopupboxDatePickerDialogInterface0930.ets | 32 - ...tPopupboxDatePickerDialogInterface0940.ets | 32 - ...tPopupboxDatePickerDialogInterface0950.ets | 32 - ...tPopupboxDatePickerDialogInterface0960.ets | 32 - ...tPopupboxDatePickerDialogInterface1000.ets | 32 - ...tPopupboxDatePickerDialogInterface1010.ets | 32 - ...tPopupboxDatePickerDialogInterface1020.ets | 32 - ...tPopupboxDatePickerDialogInterface1030.ets | 32 - ...tPopupboxDatePickerDialogInterface1070.ets | 32 - ...tPopupboxDatePickerDialogInterface1080.ets | 32 - ...tPopupboxDatePickerDialogInterface1090.ets | 32 - ...tPopupboxDatePickerDialogInterface1170.ets | 38 - ...tPopupboxDatePickerDialogInterface1180.ets | 38 - ...tPopupboxDatePickerDialogInterface1450.ets | 40 - ...tPopupboxDatePickerDialogInterface1460.ets | 44 - ...tPopupboxDatePickerDialogInterface1470.ets | 39 - ...tPopupboxDatePickerDialogScenarios0010.ets | 40 - ...tPopupboxDatePickerDialogScenarios0020.ets | 40 - ...tPopupboxDatePickerDialogScenarios0090.ets | 32 - ...tPopupboxDatePickerDialogScenarios0110.ets | 52 - ...upboxDatePickerDialogScenarios0110Page.ets | 41 - .../UiComponentPopupboxZero0010.ets | 35 - .../UiComponentPopupboxZero0030.ets | 41 - .../UiComponentPopupboxZero0040.ets | 41 - .../UiComponentPopupboxZero0050.ets | 41 - .../UiComponentPopupboxZero0060.ets | 41 - .../UiComponentPopupboxZero0070.ets | 36 - .../UiComponentPopupboxZero0090.ets | 42 - .../UiComponentPopupboxZero0100.ets | 42 - .../UiComponentPopupboxZero0110.ets | 42 - .../UiComponentPopupboxZero0120.ets | 42 - .../UiComponentPopupboxZero0130.ets | 35 - .../UiComponentPopupboxZero0150.ets | 41 - .../UiComponentPopupboxZero0160.ets | 41 - .../UiComponentPopupboxZero0170.ets | 41 - .../UiComponentPopupboxZero0180.ets | 41 - .../UiComponentPopupboxZero0190.ets | 36 - .../UiComponentPopupboxZero0210.ets | 42 - .../UiComponentPopupboxZero0220.ets | 42 - .../UiComponentPopupboxZero0230.ets | 42 - .../UiComponentPopupboxZero0240.ets | 42 - .../UiComponentPopupboxZero0250.ets | 43 - .../UiComponentPopupboxZero0260.ets | 43 - .../UiComponentPopupboxZero0280.ets | 54 - .../UiComponentPopupboxZero0290.ets | 53 - .../resources/base/element/color.json | 16 - .../resources/base/element/float.json | 8 - .../resources/base/element/integer.json | 20 +- .../resources/base/element/string.json | 56 - .../ohosTest/resources/base/element/test.json | 2 +- .../resources/base/media/magnifier.svg | 13 - .../ohosTest/resources/base/media/tick.svg | 13 - .../resources/base/media/waterFlowTest.jpg | Bin 149417 -> 0 bytes .../resources/base/profile/test_pages.json | 4550 ++--------------- 1953 files changed, 1594 insertions(+), 150860 deletions(-) delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabScrollableTest/ArkUITabScrollable.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsIconStyleSelectedColorTest/ArkUITabsIconStyleSelectedColor.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsIconStyleUnselectedColorTest/ArkUITabsIconStyleUnselectedColor.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsLabelStyleSelectedColorTest/ArkUITabsLabelStyleSelectedColor.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsLabelStyleUnselectedColorTest/ArkUITabsLabelStyleUnselectedColor.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsLabelStylefontTest/ArkUITabsLabelStylefont.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsSingleSelectedcolorTest/ArkUITabsSingleSelectedcolor.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsSingleUnselectedcolorTest/ArkUITabsSingleUnselectedcolor.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsVerticalTest/ArkUITabsVertical.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentFunctionLAdvancedComponentsPopupInterfaceTest/ComponentFunctionLAdvancedComponentsPopupInterface.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorAITest/ComponentTextRicheditorAITests.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColors.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnceTests.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeatures.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorInterface/ComponentTextRicheditorInterfaceTests.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcingTests.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacingTests.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectalls.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChangeTests.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholderTests.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeysTests.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformanceTests.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreaks.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/FunctionJiChuSR000HUB4KTest/FunctionJiChuSR000HUB4K.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/FunctionJichuWaterFlowTest/FunctionJichuWaterFlow.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonCommonButtonTest/UIComponentButtonCommonButton.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonRadioCheckMarkTest/UIComponentButtonRadioCheckMark.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonRadioCustonmizingTest/UIComponentButtonRadioCustonmizing.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonRadioLConicTest/UIComponentButtonRadioLConic.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSelectAttributeTest/UIComponentButtonSelectAttribute.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonStyleTest/UIComponentButtonStyle.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentListAndGridWaterFlowAddTest/UIComponentListAndGridWaterFlowAdd.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentListAndGridWaterSectionsTest/UIComponentListAndGridWaterSections.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavModifierTest/UIComponentNavModifier.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsActionTest/UIComponentNavTabsAction.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsBlurStyleTest/UIComponentNavTabsBlurStyle.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsCachedCountTest/UIComponentNavTabsCachedCount.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsContentAdaptTest/UIComponentNavTabsContentAdapt.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsEdgeeffectTest/UIComponentNavTabsEdgeeffect.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsExpandsafeareaTest/UIComponentNavTabsExpandsafearea.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsHeightTest/UIComponentNavTabsHeight.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsImproTraceTest/UIComponentNavTabsImproTrace.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsInterceptionTest/UIComponentNavTabsInterception.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsInterfaceTest/UIComponentNavTabsInterface.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsMirrorTest/UIComponentNavTabsMirror.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsOnWillShowTest/UIComponentNavTabsOnWillShow.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsSubTabbarStyleTest/UIComponentNavTabsSubTabbarStyle.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsWidthTest/UIComponentNavTabsWidth.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherRefreshAbilityTest/UIComponentOtherRefreshAbility.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherRefreshInterActionTest/UIComponentOtherRefreshInterAction.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherRefreshInterfaceTest/UIComponentOtherRefreshInterface.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherRefreshPromptTextTest/UIComponentOtherRefreshPromptText.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxAttributeTest/UIComponentPopupBoxAttribute.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxFullDialogInterfaceTest/UIComponentPopupBoxFullDialogInterface001.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxPopupInterfaceTest/UIComponentPopupBoxPopupInterface001.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxPromptToastSequenceTest/UIComponentPopupBoxPromptToastSequence.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxSpecificationsPopupTest/UIComponentPopupBoxSpecificationsPopup.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxSpecificationsShadowTest/UIComponentPopupBoxSpecificationsShadow.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxSpecificationsTest/UIComponentPopupBoxSpecifications.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxToastStyleInterfaceTest/UIComponentPopupBoxToastStyleInterface001.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupPromptInterfaceTest/UIComponentPopupPromptInterface001.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxCalendarpickerInterfaceTest/UIComponentPopupboxCalendarpickerInterface.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxDatepickerDialogLanguageHabitTest/UIComponentPopupboxDatepickerDialogLanguageHabit.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperAcrossTest/UIComponentScrollSwiperAcross.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperArrowHeadTest/UIComponentScrollSwiperArrowHead.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperDisplaycountTest/UIComponentScrollSwiperDisplaycount.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperInterfaceTest/UIComponentScrollSwiperInterface.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperLayoutTest/UIComponentScrollSwiperLayout.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperTeaceTest/UIComponentScrollSwiperTeace.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperUxTest/UIComponentScrollSwiperUx.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsFormComponentTransparentTest/UIComponentSpecialComponentsFormComponentTransparent.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsUIExtensionComponentPopupChangeTest/UIComponentSpecialComponentsUIExtensionComponentPopupChange.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTabTabBarSymbolTest/UIComponentTabTabBarSymbol.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UITestCaseTest/UITestCaseTest.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentNavModifierTest/UiComponentNavModifier.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentPopupboxZero/UiComponentPopupboxZero.test.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/LeadingMaginCreator.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabScrollable/ArkUITabScrollable001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabScrollable/ArkUITabScrollable002.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor004.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor008.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor013.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor014.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor022.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor024.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor025.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor026.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor027.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor028.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor029.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor002.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor005.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor014.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor016.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor021.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor022.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor024.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor026.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor027.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor028.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor029.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor003.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor005.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor007.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor009.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor011.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor012.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor013.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor015.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor017.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor019.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor021.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor023.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor024.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor025.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor026.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor027.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor028.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor029.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor005.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor008.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor011.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor012.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor017.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor021.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor022.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor024.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor025.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor026.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor027.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor028.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont003.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont004.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont005.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont006.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont007.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont008.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont009.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont011.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont012.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont013.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont015.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont016.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont017.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont018.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont019.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor002.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor005.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor008.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor011.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsSingleUnselectedcolor/ArkUITabsSingleUnselectedcolor003.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsVertical/ArkUITabsVertical001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0011.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0012.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0013.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0014.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0015.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0016.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0017.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0018.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0022.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0023.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0024.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0025.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0026.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0027.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0028.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionLAdvancedComponentsPopupInterface/ComponentFunctionLAdvancedComponentsPopupInterface0178.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionLAdvancedComponentsPopupInterface/ComponentFunctionLAdvancedComponentsPopupInterface01780.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0070.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0080.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0090.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0100.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0110.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0120.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0130.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0140.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0150.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0160.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0170.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0180.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0190.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0200.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0210.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0220.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0230.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0240.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0250.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0260.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0270.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0002.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0003.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0004.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0005.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0006.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0007.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0008.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0009.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0011.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0012.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0013.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0014.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0015.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0016.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0017.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0018.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0019.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0021.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0022.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0023.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0025.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0026.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0028.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0002.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0003.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0004.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0005.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0006.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0007.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0008.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0009.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0011.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0012.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0013.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0016.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0017.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0019.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0002.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0003.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0004.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0005.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0006.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0007.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0008.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0009.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0011.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0012.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0013.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0014.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0015.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0016.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0017.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0018.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0019.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0021.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0022.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0023.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0024.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0025.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0026.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0027.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0028.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0029.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0031.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0032.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0033.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0034.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0035.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0036.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0037.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0038.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0039.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0041.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0042.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0043.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0044.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0045.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0046.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0047.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0048.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0049.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0051.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0052.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0053.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0054.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0055.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0056.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0057.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0058.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0059.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0340.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0350.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0360.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0410.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0420.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0430.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0440.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0450.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0460.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0470.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0480.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0490.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0500.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0510.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0520.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0530.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0540.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0550.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0560.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0570.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0580.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0590.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0600.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0610.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0620.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0630.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0640.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0650.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0660.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0670.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0680.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0690.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0700.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0710.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0720.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0730.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0740.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0750.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0760.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0770.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0780.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0790.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0800.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0810.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0820.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0830.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0840.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0850.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0860.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0870.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0880.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0890.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0900.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0910.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0920.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0930.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0940.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0950.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0960.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0970.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0980.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0990.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1000.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1070.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1080.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1090.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1100.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1110.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1120.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1130.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1140.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1150.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1160.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1170.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1180.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1190.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1200.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1210.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1220.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1230.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1240.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1250.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1260.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1270.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1280.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1290.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1300.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1310.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1320.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1330.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1340.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1350.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1360.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1380.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1400.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0002.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0003.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0004.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0012.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0013.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0015.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0014.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0019.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0021.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0022.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0023.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0024.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0025.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0026.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0002.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0003.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0004.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0005.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0006.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0007.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0008.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0009.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0011.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0012.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0013.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0014.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0015.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0016.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_157.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_157_029.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_429.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_429_005.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0018.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0019.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0021.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0022.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0002.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0003.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0004.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0005.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0006.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0007.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0002.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0003.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0004.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0005.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0006.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0007.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0008.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0009.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00100.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00101.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00102.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103_040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103_040_934.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00104.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00105.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0011.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0012.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0013.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0014.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0015.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0016.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0017.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0018.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0019.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0021.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0022.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0023.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0024.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0025.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0026.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0027.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0028.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0029.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0031.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0032.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0033.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0034.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0035.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0036.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0037.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0038.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0039.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0041.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0042.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0043.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0044.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0045.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0046.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0047.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0048.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0049.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0051.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0052.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0053.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0054.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0055.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0056.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0057.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0058.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0059.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0061.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0062.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0063.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0064.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0065.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0066.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0067.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0068.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0069.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0070.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0071.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0072.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0073.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0074.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0075.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0076.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0077.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0078.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0079.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0079_932.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0080.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0081.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0082.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0083.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0084.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0085.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0086.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0087.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0088.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0089.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0090.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0091.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0092.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0093.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0094.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0095.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0097.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0098.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0099.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0070.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0080.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0090.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0100.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0110.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0120.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0130.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0140.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0150.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0160.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0170.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0180.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0190.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0200.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0210.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0220.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0230.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0240.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0260.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0270.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0280.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0290.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0300.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0310.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0320.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0330.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0340.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0350.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0360.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0370.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0380.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0006.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0007.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0011.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0012.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0013.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0014.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0015.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0016.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0002.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0003.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0004.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0005.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0006.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0007.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0008.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0009.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0011.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0012.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0013.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0014.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0015.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0016.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0017.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0018.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0019.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0021.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0022.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K012.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K013.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K014.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K015.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K016.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K017.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K018.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K019.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K021.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K022.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K023.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K024.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K025.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K026.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K027.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K028.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K029.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K031.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K032.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K033.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K034.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K035.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K036.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K037.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K038.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K039.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K041.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K042.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K043.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K044.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K045.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K046.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K047.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K048.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K049.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K051.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K052.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K053.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K054.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K055.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K056.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K057.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K058.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K059.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K061.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K062.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJichuWaterFlow/FunctionJichuWaterFlow001806.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJichuWaterFlow/FunctionJichuWaterFlow0350.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test124.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test125.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test126.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test127.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton033.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton034.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton035.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton036.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton037.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton038.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton039.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton041.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark003.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark005.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark006.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark008.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark011.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark012.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark013.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark014.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing002.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing003.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing004.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing005.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing006.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing007.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing008.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing009.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing011.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing012.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing013.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing015.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing016.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing017.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic004.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic005.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic008.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic009.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic013.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic019.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic022.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic024.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic025.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic027.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic028.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic031.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute004.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute005.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute006.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute031.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute032.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute033.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute034.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute035.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0070.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0080.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0090.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0100.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0110.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0120.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0130.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0140.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0150.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0160.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0170.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0180.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0190.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0200.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0210.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0220.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0230.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0240.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0250.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0260.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0270.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0280.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0290.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0300.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0310.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0320.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0330.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0340.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0350.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0360.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0370.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0380.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0390.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0400.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0410.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0420.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0430.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0450.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0470.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0480.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0490.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0500.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0510.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0520.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0530.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0540.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0550.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0560.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0570.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0580.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0590.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0600.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0610.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0620.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0630.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0640.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0650.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0660.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0670.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0680.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0690.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0700.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0710.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0720.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0730.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0740.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0750.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0760.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0770.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0780.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0790.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0800.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0810.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0820.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0830.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0840.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0860.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0880.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0890.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0900.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0910.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0920.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0930.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0940.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0950.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0960.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0970.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0980.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0990.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize1000.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize1010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0070.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0080.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0090.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0100.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0110.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0120.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0130.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0140.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0150.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0160.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle051.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle052.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle053.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle054.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle055.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle056.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle057.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0070.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0090.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0110.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0120.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0080458.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0090321.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0100678.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0110972.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0120725.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0130072.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0140666.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0150827.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0160890.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0170444.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0270011.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0280056.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0290223.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0300414.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0310330.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0320534.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0370.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0380.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0390.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0400.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0410.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0420.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0500.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0510.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0520.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0530.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0540.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0560.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0370.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0380.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0400.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier041.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier043.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier044.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier045.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier046.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier048.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier053.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier056.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier058.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier063.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier065.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier066.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0770.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0810.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier083.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0840.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0860.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0900.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0920.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsAction/UIComponentNavTabsAction0011.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsAction/UIComponentNavTabsAction0012.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsAction/UIComponentNavTabsAction0030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0011.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0012.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0013.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0014.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0015.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0016.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0017.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0018.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0019.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0021.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0022.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0023.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0024.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0025.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0026.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0027.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0028.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0029.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0031.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0032.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0033.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0034.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0035.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0036.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0038.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0039.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0041.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0042.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0043.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0044.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0045.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0046.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0047.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0048.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0049.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0051.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0052.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0053.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0080.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0100.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0110.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0160.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0170.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0180.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0190.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0200.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0210.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0220.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0230.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0240.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0250.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0260.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0270.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0280.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0290.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0300.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0310.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0320.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0340.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0350.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0360.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0370.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0380.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0390.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0400.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsCachedCount/UIComponentNavTabsCachedCount014.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsCachedCount/UIComponentNavTabsCachedCount015.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsCachedCount/UIComponentNavTabsCachedCount016.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt002.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt003.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt004.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt007.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0080.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt011.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt012.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt013.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt014.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0150.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0160.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0170.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0180.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0190.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0200.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0210.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0220.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0230.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0240.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0250.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0260.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt027.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt028.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0310.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt032.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt033.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt034.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt035.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsEdgeeffect/UIComponentNavTabsEdgeeffect0230.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsEdgeeffect/UIComponentNavTabsEdgeeffect0270.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0070.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0080.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0090.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0100.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0110.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0120.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsHeight/UIComponentNavTabsHeight001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0070.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0080.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0120.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0130.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0140.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0150.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0160.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0070.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0080.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0090.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0130.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0150.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterface/UIComponentNavTabsInterface012.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterface/UIComponentNavTabsInterface1190.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterface/UIComponentNavTabsInterface1220.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0070.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0090.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0110.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0120.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0130.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0140.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0150.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0160.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0250.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0260.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror080.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsOnWillShow/UIComponentNavTabsOnWillShow0190.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsSubTabbarStyle/UIComponentNavTabsSubTabbarStyle0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsWidth/UIComponentNavTabsWidth001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0070.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0080.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0090.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0100.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0380.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0390.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0400.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0410.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterface/UIComponentOtherRefreshInterface0140.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterface/UIComponentOtherRefreshInterface0170.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterface/UIComponentOtherRefreshInterface0180.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0100.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0110.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0120.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute006.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute011.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute051.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface002.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface003.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface004.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface005.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface006.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface007.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface008.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface009.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface002.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface003.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence002.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence003.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence004.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence005.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence006.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence007.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence008.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence009.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence014.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence015.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications058.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications059.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications061.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications062.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications063.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications064.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications065.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications066.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications067.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications068.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications069.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications070.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications071.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications072.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications073.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications074.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications075.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications076.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications077.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications078.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications079.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications080.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications081.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications082.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications083.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications084.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications085.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup002.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup003.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup004.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup005.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup006.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow012.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow013.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow014.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow016.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow017.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow018.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow021.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow022.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow083.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface002.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface003.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface004.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface0011.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface0012.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface002.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface003.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface004.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface005.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface006.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface007.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface008.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface009.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0070.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0250.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0310.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0330.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0610.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0620.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0630.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0640.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0650.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0660.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0670.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0680.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0690.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0700.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0710.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0720.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0730.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0740.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0750.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0760.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0770.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0780.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0790.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0800.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperDisplaycount/UIComponentScrollSwiperDisplaycount0140.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0820.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0830.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0890.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0960.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0980.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0990.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1180.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1190.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1210.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1220.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1230.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1260.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1270.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1660.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1670.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1680.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1710.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1780.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1860.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1870.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1890.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1900.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1970.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2110.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2160.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2180.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2190.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2200.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2210.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2230.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2330.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2340.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2350.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2370.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2460.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2560.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2570.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2720.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2790.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2910.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3070.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3120.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3130.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3140.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3160.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3300.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3310.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3330.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3340.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3350.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3380.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3390.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3430.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3450.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3460.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3500.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3510.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3520.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3530.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3550.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3560.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3570.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3600.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3610.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3700.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3780.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3790.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3810.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3820.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/IDataSource.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0070.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0080.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0090.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0100.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0110.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0120.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0130.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0140.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0150.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0160.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0170.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0180.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0190.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0200.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0210.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0220.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0230.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0240.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0250.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0260.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0270.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0280.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0290.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0300.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0310.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0320.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0330.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0340.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0350.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0360.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0370.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0380.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0390.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0400.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0410.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0420.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0430.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0440.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0450.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0460.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0470.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0480.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0490.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0500.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0510.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0520.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0530.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0540.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0550.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0560.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0570.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0580.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0590.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0600.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0610.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0620.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0630.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0640.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0650.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0660.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0670.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0680.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0690.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0700.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0710.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0720.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0730.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0740.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0750.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0760.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0770.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0790.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0810.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0820.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0830.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0840.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0850.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0860.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0870.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0880.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0890.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0900.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0910.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0920.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0930.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0940.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0950.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0960.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0970.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0980.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0990.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1000.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1080.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1090.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1100.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1110.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1120.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1130.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1140.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1150.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1160.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1170.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1180.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1190.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1200.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1210.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1220.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1230.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1240.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1250.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1260.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1270.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1280.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1290.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1300.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1310.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1320.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1330.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1340.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1350.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1360.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1370.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1380.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1390.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1400.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1410.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1420.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1430.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1440.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1450.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1460.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1470.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1480.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1490.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1500.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1510.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1520.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1530.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1540.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1550.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1560.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1570.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1580.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1590.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1600.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1610.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1620.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1630.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1640.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1650.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1660.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1670.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1680.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1690.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1700.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1710.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1720.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1730.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1740.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1750.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1760.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1770.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1780.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1790.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1800.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1810.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1820.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1830.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1840.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1850.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1860.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1870.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1880.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1890.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1900.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1910.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1920.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1930.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1940.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1950.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1960.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1970.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1980.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1990.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2000.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2070.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2080.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2090.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2100.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2110.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0070.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0080.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0520.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent013.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent014.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent015.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent017.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent018.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent019.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent022.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent023.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent024.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent025.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent026.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent027.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent029.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent032.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent034.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent035.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent036.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent038.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent039.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent053.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent054.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent056.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent057.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent059.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent061.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent062.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent063.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent065.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent067.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent071.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent072.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent073.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent074.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent076.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent077.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent078.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent079.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent080.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent081.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent082.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent083.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent092.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent094.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent096.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent098.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent099.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent100.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent102.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent103.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent104.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent105.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent108.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent109.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent110.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent111.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent112.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent113.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent115.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent116.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent117.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent118.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent119.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent121.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent122.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent123.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent124.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent125.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent126.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent128.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent129.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent130.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent131.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent132.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent133.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent135.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent136.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent137.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent138.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent139.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent140.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent142.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent143.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent144.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent146.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent147.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent149.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent150.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent151.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent152.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent153.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent154.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent156.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent157.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent159.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent160.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent162.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent164.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent165.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent166.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent167.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent168.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent169.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent171.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent172.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent173.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent174.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent175.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent176.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent177.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent178.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent179.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent180.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent181.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent182.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent183.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent184.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange002.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange003.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange004.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange005.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange006.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0070.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0080.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0090.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0110.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0120.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0130.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0140.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0150.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0160.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0170.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0180.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0190.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0230.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0260.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabbarTabbarsymbol0050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabbarTabbarsymbol0240.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabbarTabbarsymbol0250.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor092.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor093.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor094.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor095.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor096.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor097.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor098.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor099.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor100.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor101.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor102.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor103.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor104.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor105.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UITestCase/UITestCase001.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UITestCase/UITestCase002.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UITestCase/UITestCase003.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UITestCase/UITestCase004.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0070.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0080.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0090.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0100.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0110.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0120.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0130.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0140.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0150.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0160.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0170.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0180.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0190.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0200.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0210.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0220.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0230.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0240.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0250.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0260.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0270.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0280.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0290.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0300.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0310.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0320.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0330.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0340.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0350.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0360.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0370.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0380.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0390.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0400.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0410.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0420.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0070.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0080.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0090.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0100.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0110.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0120.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0130.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0140.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0150.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0160.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0170.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0180.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0190.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0220.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0230.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectInterface/UiComponentButtonSelectInterface0240.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0070.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0080.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0090.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0100.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0110.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0120.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0130.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0140.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0150.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0160.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0170.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0180.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0190.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0200.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0210.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0220.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0230.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0240.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0250.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0260.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0270.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0280.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0290.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0300.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0310.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0320.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0330.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0340.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0350.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0360.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0370.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0380.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0390.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0400.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0410.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0420.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0430.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0440.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0450.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0460.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0470.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0480.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0490.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0500.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0510.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0520.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0530.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0540.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0550.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0560.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0570.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0580.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0590.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0600.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0610.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0620.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0630.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0640.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0650.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0660.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0670.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0680.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0690.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0700.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0710.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0720.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0730.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0740.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0750.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0760.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0770.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0780.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0790.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0830.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0840.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0850.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0880.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0890.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0900.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0910.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0920.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0930.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0940.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0950.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0960.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1000.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1070.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1080.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1090.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1170.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1180.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1450.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1460.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1470.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0020.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0090.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0110.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0110Page.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0010.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0030.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0040.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0050.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0060.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0070.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0090.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0100.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0110.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0120.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0130.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0150.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0160.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0170.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0180.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0190.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0210.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0220.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0230.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0240.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0250.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0260.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0280.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0290.ets delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/magnifier.svg delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/tick.svg delete mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/waterFlowTest.jpg diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabScrollableTest/ArkUITabScrollable.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabScrollableTest/ArkUITabScrollable.test.ets deleted file mode 100644 index 11de16eb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabScrollableTest/ArkUITabScrollable.test.ets +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function ArkUITabScrollable() { - - describe('ArkUITabScrollable', () => { - - - /* -* @tc.number ArkUI_Tabs_scrollable_001 -* @tc.name ArkUI_Tabs_scrollable_001 -* @tc.desc 1 、启 动 应 用 - 2、 设置属性scrollable参数为正常值 - 3 、 重 新 设 置 正 常 值 后 重 复 步 骤 1 和2 -*/ - it('ArkUI_Tabs_scrollable_001', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_scrollable_001 start.`); - Settings.createWindow("testability/pages/ArkUITabScrollable/ArkUITabScrollable001") - await Utils.sleep(1000) - let driver: Driver = Driver.create() - await Utils.sleep(1000) - let button1 :Component = await driver.findComponent(ON.id('ArkUITabScrollable001_002')) - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `ArkUI_Tabs_scrollable_001 finish.`); - done() - }) - - /* -* @tc.number ArkUI_Tabs_scrollable_002 -* @tc.name ArkUI_Tabs_scrollable_002 -* @tc.desc 1 、启 动 应 用 - 2、 设置属性scrollable参数为正常值 - 3 、 重 新 设 置 正 常 值 后 重 复 步 骤 1 和2 -*/ - it('ArkUI_Tabs_scrollable_002', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_scrollable_002 start.`); - Settings.createWindow("testability/pages/ArkUITabScrollable/ArkUITabScrollable002") - await Utils.sleep(1000) - let driver: Driver = Driver.create() - await Utils.sleep(1000) - let button1 :Component = await driver.findComponent(ON.id('ArkUITabScrollable002_002')) - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `ArkUI_Tabs_scrollable_002 finish.`); - done() - }) - - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsIconStyleSelectedColorTest/ArkUITabsIconStyleSelectedColor.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsIconStyleSelectedColorTest/ArkUITabsIconStyleSelectedColor.test.ets deleted file mode 100644 index 8c54c62e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsIconStyleSelectedColorTest/ArkUITabsIconStyleSelectedColor.test.ets +++ /dev/null @@ -1,195 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function ArkUITabsIconStyleSelectedColor() { - - describe('ArkUITabsIconStyleSelectedColor', () => { - - /* - * @tc.number ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_027 - * @tc.name ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_027 - * @tc.desc selectedColor: 0xFFFFFFFFFFFFFFFF - */ - it('ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_027', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_027 start.`); - Settings.createWindow("testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor027") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_027 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_029 - * @tc.name ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_029 - * @tc.desc selectedColor: null - */ - it('ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_029', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_029 start.`); - Settings.createWindow("testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor029") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_029 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_028 - * @tc.name ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_028 - * @tc.desc selectedColor: undefined - */ - it('ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_028', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_028 start.`); - Settings.createWindow("testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor028") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_028 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_024 - * @tc.name ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_024 - * @tc.desc selectedColor: "rgba(255,100,255,0.5)" - */ - it('ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_024', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_024 start.`); - Settings.createWindow("testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor024") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_024 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_026 - * @tc.name ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_026 - * @tc.desc selectedColor:$r("sys.color.toast_outer_border_color") - */ - it('ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_026', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_026 start.`); - Settings.createWindow("testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor026") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_026 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_025 - * @tc.name ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_025 - * @tc.desc selectedColor: $r("sys.color.titlebar_title_tertiary_color") - */ - it('ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_025', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_025 start.`); - Settings.createWindow("testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor025") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_025 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_014 - * @tc.name ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_014 - * @tc.desc selectedColor: 0x808080 - */ - it('ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_014', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_014 start.`); - Settings.createWindow("testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor014") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_014 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_013 - * @tc.name ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_013 - * @tc.desc selectedColor: 0xa52a2a - */ - it('ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_013', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_013 start.`); - Settings.createWindow("testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor013") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_013 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_001 - * @tc.name ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_001 - * @tc.desc selectedColor: Color.Black - */ - it('ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_001', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_001 start.`); - Settings.createWindow("testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor001") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_001 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_004 - * @tc.name ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_004 - * @tc.desc selectedColor: Color.Gray - */ - it('ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_004', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_004 start.`); - Settings.createWindow("testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor004") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_004 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_008 - * @tc.name ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_008 - * @tc.desc selectedColor: Color.Red - */ - it('ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_008', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_008 start.`); - Settings.createWindow("testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor008") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_008 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_022 - * @tc.name ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_022 - * @tc.desc selectedColor: “#ff000000" - */ - it('ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_022', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_022 start.`); - Settings.createWindow("testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor022") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_SELECTEDCOLOR_022$ finish.`); - done() - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsIconStyleUnselectedColorTest/ArkUITabsIconStyleUnselectedColor.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsIconStyleUnselectedColorTest/ArkUITabsIconStyleUnselectedColor.test.ets deleted file mode 100644 index 5df21352..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsIconStyleUnselectedColorTest/ArkUITabsIconStyleUnselectedColor.test.ets +++ /dev/null @@ -1,181 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function ArkUITabsIconStyleUnselectedColor() { - - describe('ArkUITabsIconStyleUnselectedColor', () => { - /* - * @tc.number ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_026 - * @tc.name ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_026 - * @tc.desc unselectedColor:0xFFFFFFFFFFFFFFFF - */ - it('ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_026', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_026 start.`); - Settings.createWindow("testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor026") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_026 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_028 - * @tc.name ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_028 - * @tc.desc unselectedColor: null - */ - it('ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_028', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_028 start.`); - Settings.createWindow("testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor028") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_028 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_027 - * @tc.name ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_027 - * @tc.desc unselectedColor: undefined - */ - it('ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_027', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_027 start.`); - Settings.createWindow("testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor027") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_027 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_021 - * @tc.name ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_021 - * @tc.desc unselectedColor: "#ff000000" - */ - it('ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_021', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_021 start.`); - Settings.createWindow("testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor021") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_021 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_022 - * @tc.name ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_022 - * @tc.desc unselectedColor: "rgb(255,100,255)" - */ - it('ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_022', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_022 start.`); - Settings.createWindow("testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor022") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_022 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_024 - * @tc.name ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_024 - * @tc.desc unselectedColor: $r("sys.color.toast_outer_border_color") - */ - it('ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_024', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_024 start.`); - Settings.createWindow("testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor024") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_024 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_014 - * @tc.name ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_014 - * @tc.desc unselectedColor: 0x008000 - */ - it('ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_014', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_014 start.`); - Settings.createWindow("testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor014") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_014 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_016 - * @tc.name ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_016 - * @tc.desc unselectedColor: 0xffc0cb - */ - it('ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_016', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_016 start.`); - Settings.createWindow("testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor016") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_016 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_029 - * @tc.name ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_029 - * @tc.desc unselectedColor: Color.Black - */ - it('ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_029', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_029 start.`); - Settings.createWindow("testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor029") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_029 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_002 - * @tc.name ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_002 - * @tc.desc unselectedColor: Color.Brown - */ - it('ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_002', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_002 start.`); - Settings.createWindow("testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor002") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_002 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_005 - * @tc.name ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_005 - * @tc.desc unselectedColor: Color.Orange - */ - it('ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_005', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_005 start.`); - Settings.createWindow("testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor005") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_ICONSTYLE_UNSELECTEDCOLOR_005 finish.`); - done() - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsLabelStyleSelectedColorTest/ArkUITabsLabelStyleSelectedColor.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsLabelStyleSelectedColorTest/ArkUITabsLabelStyleSelectedColor.test.ets deleted file mode 100644 index 39aa1370..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsLabelStyleSelectedColorTest/ArkUITabsLabelStyleSelectedColor.test.ets +++ /dev/null @@ -1,469 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function ArkUITabsLabelStyleSelectedColor() { - - describe('ArkUITabsLabelStyleSelectedColor', () => { - - - /* - * @tc.number ArkUI_Tabs_LabelStyle_selectedColor_027 - * @tc.name ArkUI_Tabs_LabelStyle_selectedColor_027 - * @tc.desc 1、启动应用 - 2、设置属性font参数为正常值 - 3、重新设置正常值后重复步骤1和2 - */ - it('ArkUI_Tabs_LabelStyle_selectedColor_027', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_selectedColor_027 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor027") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStyleSelectedColor027_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_selectedColor_027 finish.`); - done() - }) - - /* - * @tc.number ArkUI_Tabs_LabelStyle_selectedColor_029 - * @tc.name ArkUI_Tabs_LabelStyle_selectedColor_029 - * @tc.desc 1、启动应用 - 2、设置属性font参数为正常值 - 3、重新设置正常值后重复步骤1和2 - */ - it('ArkUI_Tabs_LabelStyle_selectedColor_029', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_selectedColor_029 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor029") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStyleSelectedColor029_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_selectedColor_029 finish.`); - done() - }) - - /* - * @tc.number ArkUI_Tabs_LabelStyle_selectedColor_013 - * @tc.name ArkUI_Tabs_LabelStyle_selectedColor_013 - * @tc.desc 1、启动应用 - 2、设置属性selectedColor参数为正常值 - 3、重新设置正常值后重复步骤1和2 - */ - it('ArkUI_Tabs_LabelStyle_selectedColor_013', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_selectedColor_013 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor013") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStyleSelectedColor013_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_selectedColor_013 finish.`); - done() - }) - - /* - * @tc.number ArkUI_Tabs_LabelStyle_selectedColor_017 - * @tc.name ArkUI_Tabs_LabelStyle_selectedColor_017 - * @tc.desc 1、启动应用 - 2、设置属性selectedColor参数为正常值 - 3、重新设置正常值后重复步骤1和2 -*/ - it('ArkUI_Tabs_LabelStyle_selectedColor_017', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_selectedColor_017 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor017") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStyleSelectedColor017_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_selectedColor_017 finish.`); - done() - }) - /* - * @tc.number ArkUI_Tabs_LabelStyle_selectedColor_019 - * @tc.name ArkUI_Tabs_LabelStyle_selectedColor_019 - * @tc.desc 1、启动应用 - 2、设置属性selectedColor参数为正常值 - 3、重新设置正常值后重复步骤1和2 -*/ - it('ArkUI_Tabs_LabelStyle_selectedColor_019', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_selectedColor_019 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor019") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStyleSelectedColor019_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_selectedColor_019 finish.`); - done() - }) - - /* - * @tc.number ArkUI_Tabs_LabelStyle_selectedColor_001 - * @tc.name ArkUI_Tabs_LabelStyle_selectedColor_001 - * @tc.desc 1、启动应用 - 2、设置属性selectedColor参数为正常值 - 3、重新设置正常值后重复步骤1和2 -*/ - it('ArkUI_Tabs_LabelStyle_selectedColor_001', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_selectedColor_001 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor001") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStyleSelectedColor001_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_selectedColor_001 finish.`); - done() - }) - - /* - * @tc.number ArkUI_Tabs_LabelStyle_selectedColor_003 - * @tc.name ArkUI_Tabs_LabelStyle_selectedColor_003 - * @tc.desc 1、启动应用 - 2、设置属性selectedColor参数为正常值 - 3、重新设置正常值后重复步骤1和2 - */ - it('ArkUI_Tabs_LabelStyle_selectedColor_003', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_selectedColor_003 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor003") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStyleSelectedColor003_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_selectedColor_003 finish.`); - done() - }) - /* - * @tc.number ArkUI_Tabs_LabelStyle_selectedColor_005 - * @tc.name ArkUI_Tabs_LabelStyle_selectedColor_005 - * @tc.desc 1、启动应用 - 2、设置属性selectedColor参数为正常值 - 3、重新设置正常值后重复步骤1和2 - */ - it('ArkUI_Tabs_LabelStyle_selectedColor_005', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_selectedColor_005 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor005") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStyleSelectedColor005_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_selectedColor_005 finish.`); - done() - }) - /* - * @tc.number ArkUI_Tabs_LabelStyle_selectedColor_007 - * @tc.name ArkUI_Tabs_LabelStyle_selectedColor_007 - * @tc.desc 1、启动应用 - 2、设置属性selectedColor参数为正常值 - 3、重新设置正常值后重复步骤1和2 - */ - it('ArkUI_Tabs_LabelStyle_selectedColor_007', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_selectedColor_007 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor007") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStyleSelectedColor007_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_selectedColor_007 finish.`); - done() - }) - - /* - * @tc.number ArkUI_Tabs_LabelStyle_selectedColor_011 - * @tc.name ArkUI_Tabs_LabelStyle_selectedColor_011 - * @tc.desc 1、启动应用 - 2、设置属性selectedColor参数为正常值 - 3、重新设置正常值后重复步骤1和2 - */ - it('ArkUI_Tabs_LabelStyle_selectedColor_011', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_selectedColor_011 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor011") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStyleSelectedColor011_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_selectedColor_011 finish.`); - done() - }) - - /* -* @tc.number ArkUI_Tabs_LabelStyle_selectedColor_009 -* @tc.name ArkUI_Tabs_LabelStyle_selectedColor_009 -* @tc.desc 1、启动应用 - 2、设置属性selectedColor参数为正常值 - 3、重新设置正常值后重复步骤1和2 -*/ - it('ArkUI_Tabs_LabelStyle_selectedColor_009', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_selectedColor_009 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor009") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStyleSelectedColor009_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_selectedColor_009 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_028 - * @tc.name ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_028 - * @tc.desc selectedColor: - */ - it('ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_028', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_028 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor028") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('ArkUITabsLabelstyleSelectedcolor028_001')) - await Utils.sleep(1000) - await button.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_028 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_021 - * @tc.name ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_021 - * @tc.desc selectedColor: - */ - it('ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_021', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_021 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor021") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('ArkUITabsLabelstyleSelectedcolor021_001')) - await Utils.sleep(1000) - await button.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_021 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_023 - * @tc.name ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_023 - * @tc.desc selectedColor: - */ - it('ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_023', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_023 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor023") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('ArkUITabsLabelstyleSelectedcolor023_001')) - await Utils.sleep(1000) - await button.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_023 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_024 - * @tc.name ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_024 - * @tc.desc selectedColor: - */ - it('ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_024', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_024 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor024") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('ArkUITabsLabelstyleSelectedcolor024_001')) - await Utils.sleep(1000) - await button.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_024 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_026 - * @tc.name ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_026 - * @tc.desc selectedColor: - */ - it('ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_026', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_026 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor026") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('ArkUITabsLabelstyleSelectedcolor026_001')) - await Utils.sleep(1000) - await button.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_026 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_025 - * @tc.name ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_025 - * @tc.desc selectedColor: - */ - it('ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_025', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_025 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor025") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('ArkUITabsLabelstyleSelectedcolor025_001')) - await Utils.sleep(1000) - await button.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_025 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_012 - * @tc.name ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_012 - * @tc.desc selectedColor: - */ - it('ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_012', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_012 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor012") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('ArkUITabsLabelstyleSelectedcolor012_001')) - await Utils.sleep(1000) - await button.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_012 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_015 - * @tc.name ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_015 - * @tc.desc selectedColor: - */ - it('ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_015', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_015 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor015") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('ArkUITabsLabelstyleSelectedcolor015_001')) - await Utils.sleep(1000) - await button.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_SELECTEDCOLOR_015 finish.`); - done() - }) - - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsLabelStyleUnselectedColorTest/ArkUITabsLabelStyleUnselectedColor.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsLabelStyleUnselectedColorTest/ArkUITabsLabelStyleUnselectedColor.test.ets deleted file mode 100644 index d7dd0377..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsLabelStyleUnselectedColorTest/ArkUITabsLabelStyleUnselectedColor.test.ets +++ /dev/null @@ -1,349 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function ArkUITabsLabelStyleUnselectedColor() { - - describe('ArkUITabsLabelStyleUnselectedColor', () => { - - /* - * @tc.number ArkUI_Tabs_LabelStyle_unselectedColor_026 - * @tc.name ArkUI_Tabs_LabelStyle_unselectedColor_026 - * @tc.desc 1、启动应用 - * 2、设置属性unbselectedColor参数为正常值 - 3、重新设置异常值后重复步骤1和2 - */ - it('ArkUI_Tabs_LabelStyle_unselectedColor_026', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_unselectedColor_026 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor026") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStyleUnselectedColor026_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_unselectedColor_026 finish.`); - done() - }) - - /* - * @tc.number ArkUI_Tabs_LabelStyle_unselectedColor_028 - * @tc.name ArkUI_Tabs_LabelStyle_unselectedColor_028 - * @tc.desc 1、启动应用 - * 2、设置属性unbselectedColor参数为正常值 - 3、重新设置异常值后重复步骤1和2 - */ - it('ArkUI_Tabs_LabelStyle_unselectedColor_028', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_unselectedColor_028 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor028") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStyleUnselectedColor028_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_unselectedColor_028 finish.`); - done() - }) - - /* - * @tc.number ArkUI_Tabs_LabelStyle_unselectedColor_027 - * @tc.name ArkUI_Tabs_LabelStyle_unselectedColor_027 - * @tc.desc 1、启动应用 - * 2、设置属性unbselectedColor参数为正常值 - 3、重新设置异常值后重复步骤1和2 - */ - it('ArkUI_Tabs_LabelStyle_unselectedColor_027', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_unselectedColor_027 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor027") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStyleUnselectedColor027_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_unselectedColor_027 finish.`); - done() - }) - - /* - * @tc.number ArkUI_Tabs_LabelStyle_unselectedColor_021 - * @tc.name ArkUI_Tabs_LabelStyle_unselectedColor_021 - * @tc.desc 1、启动应用 - * 2、设置属性unbselectedColor参数为正常值 - 3、重新设置异常值后重复步骤1和2 - */ - it('ArkUI_Tabs_LabelStyle_unselectedColor_021', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_unselectedColor_021 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor021") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStyleUnselectedColor021_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_unselectedColor_021 finish.`); - done() - }) - - /* - * @tc.number ArkUI_Tabs_LabelStyle_unselectedColor_022 - * @tc.name ArkUI_Tabs_LabelStyle_unselectedColor_022 - * @tc.desc 1、启动应用 - * 2、设置属性unbselectedColor参数为正常值 - 3、重新设置异常值后重复步骤1和2 - */ - it('ArkUI_Tabs_LabelStyle_unselectedColor_022', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_unselectedColor_022 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor022") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStyleUnselectedColor022_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_unselectedColor_022 finish.`); - done() - }) - - /* - * @tc.number ArkUI_Tabs_LabelStyle_unselectedColor_025 - * @tc.name ArkUI_Tabs_LabelStyle_unselectedColor_025 - * @tc.desc 1、启动应用 - * 2、设置属性unbselectedColor参数为正常值 - 3、重新设置正常值后重复步骤1和2 - */ - it('ArkUI_Tabs_LabelStyle_unselectedColor_025', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_unselectedColor_025 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor025") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStyleUnselectedColor025_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_unselectedColor_025 finish.`); - done() - }) - - /* - * @tc.number ArkUI_Tabs_LabelStyle_unselectedColor_011 - * @tc.name ArkUI_Tabs_LabelStyle_unselectedColor_011 - * @tc.desc 1、启动应用 - 2、设置属性unselectedColor参数为正常值 - 3、重新设置正常值后重复步骤1和2 - */ - it('ArkUI_Tabs_LabelStyle_unselectedColor_011', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_unselectedColor_011 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor011") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStyleUnselectedColor011_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_unselectedColor_011 finish.`); - done() - }) - - /* - * @tc.number ArkUI_Tabs_LabelStyle_unselectedColor_012 - * @tc.name ArkUI_Tabs_LabelStyle_unselectedColor_012 - * @tc.desc 1、启动应用 - 2、设置属性unselectedColor参数为正常值 - 3、重新设置正常值后重复步骤1和2 - */ - it('ArkUI_Tabs_LabelStyle_unselectedColor_012', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_unselectedColor_012 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor012") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStyleUnselectedColor012_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_unselectedColor_012 finish.`); - done() - }) - - /* - * @tc.number ArkUI_Tabs_LabelStyle_unselectedColor_017 - * @tc.name ArkUI_Tabs_LabelStyle_unselectedColor_017 - * @tc.desc 1、启动应用 - 2、设置属性unselectedColor参数为正常值 - 3、重新设置正常值后重复步骤1和2 - */ - it('ArkUI_Tabs_LabelStyle_unselectedColor_017', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_unselectedColor_017 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor017") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStyleUnselectedColor017_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_unselectedColor_017 finish.`); - done() - }) - - /* - * @tc.number ArkUI_Tabs_LabelStyle_unselectedColor_001 - * @tc.name ArkUI_Tabs_LabelStyle_unselectedColor_001 - * @tc.desc 1、启动应用 - 2、设置属性unselectedColor参数为正常值 - 3、重新设置正常值后重复步骤1和2 -*/ - it('ArkUI_Tabs_LabelStyle_unselectedColor_001', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_unselectedColor_001 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor001") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStyleUnselectedColor001_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_unselectedColor_001 finish.`); - done() - }) - - /* - * @tc.number ArkUI_Tabs_LabelStyle_unselectedColor_005 - * @tc.name ArkUI_Tabs_LabelStyle_unselectedColor_005 - * @tc.desc 1、启动应用 - 2、设置属性unselectedColor参数为正常值 - 3、重新设置正常值后重复步骤1和2 - */ - it('ArkUI_Tabs_LabelStyle_unselectedColor_005', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_unselectedColor_005 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor005") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStyleUnselectedColor005_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_unselectedColor_005 finish.`); - done() - }) - - /* - * @tc.number ArkUI_Tabs_LabelStyle_unselectedColor_008 - * @tc.name ArkUI_Tabs_LabelStyle_unselectedColor_008 - * @tc.desc 1、启动应用 - 2、设置属性unselectedColor参数为正常值 - 3、重新设置正常值后重复步骤1和2 - */ - it('ArkUI_Tabs_LabelStyle_unselectedColor_008', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_unselectedColor_005 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor008") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStyleUnselectedColor008_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_unselectedColor_008 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_LABELSTYLE_UNSELECTEDCOLOR_024 - * @tc.name ARKUI_TABS_LABELSTYLE_UNSELECTEDCOLOR_024 - * @tc.desc unselectedColor: - */ - it('ARKUI_TABS_LABELSTYLE_UNSELECTEDCOLOR_024', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_UNSELECTEDCOLOR_024 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor024") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('ArkUITabsLabelstyleUnselectedcolor024_001')) - await Utils.sleep(1000) - await button.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_UNSELECTEDCOLOR_024 finish.`); - done() - }) - - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsLabelStylefontTest/ArkUITabsLabelStylefont.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsLabelStylefontTest/ArkUITabsLabelStylefont.test.ets deleted file mode 100644 index 1279dfa7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsLabelStylefontTest/ArkUITabsLabelStylefont.test.ets +++ /dev/null @@ -1,386 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function ArkUITabsLabelStylefont() { - - describe('ArkUITabsLabelStylefont', () => { - - - /* - * @tc.number ArkUI_Tabs_LabelStyle_font_005 - * @tc.name ArkUI_Tabs_LabelStyle_font_005 - * @tc.desc 1、创建tabs,设置SubTabBarStyle样式 - 2、设置镜像效果 - */ - it('ArkUI_Tabs_LabelStyle_font_005', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_font_005 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont005") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStylefont005_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_font_005 finish.`); - done() - }) - - /* - * @tc.number ArkUI_Tabs_LabelStyle_font_016 - * @tc.name ArkUI_Tabs_LabelStyle_font_016 - * @tc.desc 1、启动应用 - 2、设置属性font参数为异常值 - 3、重新设置正常值后重复步疆1和2 - */ - it('ArkUI_Tabs_LabelStyle_font_016', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_font_016 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont016") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStylefont016_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_font_016 finish.`); - done() - }) - - /* - * @tc.number ArkUI_Tabs_LabelStyle_font_015 - * @tc.name ArkUI_Tabs_LabelStyle_font_015 - * @tc.desc 1、启动应用 - 2、设置属性font参数为异常值 - 3、重新设置正常值后重复步疆1和2 - */ - it('ArkUI_Tabs_LabelStyle_font_015', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_font_015 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont015") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStylefont015_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_font_015 finish.`); - done() - }) - - /* - * @tc.number ArkUI_Tabs_LabelStyle_font_011 - * @tc.name ArkUI_Tabs_LabelStyle_font_011 - * @tc.desc 1、启动应用 - 2、设置属性font参数为正常值 - 3、重新设置正常值后重复步骤1和2 - */ - it('ArkUI_Tabs_LabelStyle_font_011', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_font_011 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont011") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_font_011 finish.`); - done() - }) - - /* - * @tc.number ArkUI_Tabs_LabelStyle_font_007 - * @tc.name ArkUI_Tabs_LabelStyle_font_007 - * @tc.desc 1、启动应用 - 2、设置属性font参数为正常值 - 3、重新设置正常值后重复步骤1和2 - */ - it('ArkUI_Tabs_LabelStyle_font_007', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_font_007 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont007") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_font_007 finish.`); - done() - }) - - /* - * @tc.number ArkUI_Tabs_LabelStyle_font_010 - * @tc.name ArkUI_Tabs_LabelStyle_font_010 - * @tc.desc 1、启动应用 - 2、设置属性font参数为正常值 - 3、重新设置正常值后重复步骤1和2 - */ - it('ArkUI_Tabs_LabelStyle_font_010', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_font_010 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont010") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_font_010 finish.`); - done() - }) - - /* - * @tc.number ArkUI_Tabs_LabelStyle_font_008 - * @tc.name ArkUI_Tabs_LabelStyle_font_008 - * @tc.desc 1、启动应用 - 2、设置属性font参数为正常值 - 3、重新设置正常值后重复步骤1和2 - */ - it('ArkUI_Tabs_LabelStyle_font_008', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_font_008 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont008") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_font_008 finish.`); - done() - }) - - /* - * @tc.number ArkUI_Tabs_LabelStyle_font_009 - * @tc.name ArkUI_Tabs_LabelStyle_font_009 - * @tc.desc 1、启动应用 - 2、设置属性font参数为正常值 - 3、重新设置正常值后重复步骤1和2 - */ - it('ArkUI_Tabs_LabelStyle_font_009', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_font_009 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont009") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_font_009 finish.`); - done() - }) - - /* -* @tc.number ArkUI_Tabs_LabelStyle_font_020 -* @tc.name ArkUI_Tabs_LabelStyle_font_020 -* @tc.desc 1、启动应用 - 2、设置属性font参数为异常值 - 3、重新设置正常值后重复步骤1和2 -*/ - it('ArkUI_Tabs_LabelStyle_font_020', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_font_020 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont020") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('ArkUITabsLabelStylefont020_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.error('TEST', `ArkUI_Tabs_LabelStyle_font_020 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_LABELSTYLE_FONT_006 - * @tc.name ARKUI_TABS_LABELSTYLE_FONT_006 - * @tc.desc font: {size: -1} - */ - it('ARKUI_TABS_LABELSTYLE_FONT_006', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_FONT_006 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont006") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_FONT_006 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_LABELSTYLE_FONT_019 - * @tc.name ARKUI_TABS_LABELSTYLE_FONT_019 - * @tc.desc font: undefined - */ - it('ARKUI_TABS_LABELSTYLE_FONT_019', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_FONT_019 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont019") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_FONT_019 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_LABELSTYLE_FONT_001 - * @tc.name ARKUI_TABS_LABELSTYLE_FONT_001 - * @tc.desc font: {size: 20} - */ - it('ARKUI_TABS_LABELSTYLE_FONT_001', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_FONT_001 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont001") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('ArkUITabsLabelstyleFont001_001')) - await Utils.sleep(1000) - await button.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_FONT_001 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_LABELSTYLE_FONT_003 - * @tc.name ARKUI_TABS_LABELSTYLE_FONT_003 - * @tc.desc font: {size: 50%} - */ - it('ARKUI_TABS_LABELSTYLE_FONT_003', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_FONT_003 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont003") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('ArkUITabsLabelstyleFont003_001')) - await Utils.sleep(1000) - await button.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_FONT_003 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_LABELSTYLE_FONT_004 - * @tc.name ARKUI_TABS_LABELSTYLE_FONT_004 - * @tc.desc font: {size: 10} - */ - it('ARKUI_TABS_LABELSTYLE_FONT_004', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_FONT_004 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont004") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('ArkUITabsLabelstyleFont004_001')) - await Utils.sleep(1000) - await button.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_FONT_004 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_LABELSTYLE_FONT_018 - * @tc.name ARKUI_TABS_LABELSTYLE_FONT_018 - * @tc.desc font: {size: 10} - */ - it('ARKUI_TABS_LABELSTYLE_FONT_018', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_FONT_018 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont018") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('ArkUITabsLabelstyleFont018_001')) - await Utils.sleep(1000) - await button.click() - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_FONT_018 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_LABELSTYLE_FONT_017 - * @tc.name ARKUI_TABS_LABELSTYLE_FONT_017 - * @tc.desc style:FontStyle.Normal - */ - it('ARKUI_TABS_LABELSTYLE_FONT_017', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_FONT_017 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont017") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('ArkUITabsLabelstyleFont017_001')) - await Utils.sleep(1000) - await button.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_FONT_017 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_LABELSTYLE_FONT_013 - * @tc.name ARKUI_TABS_LABELSTYLE_FONT_013 - * @tc.desc weight:200 - */ - it('ARKUI_TABS_LABELSTYLE_FONT_013', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_FONT_013 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont013") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('ArkUITabsLabelstyleFont013_001')) - await Utils.sleep(1000) - await button.click() - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_FONT_013 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_LABELSTYLE_FONT_012 - * @tc.name ARKUI_TABS_LABELSTYLE_FONT_012 - * @tc.desc weight: FontTeight.Bolder - */ - it('ARKUI_TABS_LABELSTYLE_FONT_012', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_FONT_012 start.`); - Settings.createWindow("testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont012") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('ArkUITabsLabelstyleFont012_001')) - await Utils.sleep(1000) - await button.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ARKUI_TABS_LABELSTYLE_FONT_012 finish.`); - done() - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsSingleSelectedcolorTest/ArkUITabsSingleSelectedcolor.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsSingleSelectedcolorTest/ArkUITabsSingleSelectedcolor.test.ets deleted file mode 100644 index 50df4505..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsSingleSelectedcolorTest/ArkUITabsSingleSelectedcolor.test.ets +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver, ON } from '@ohos.UiTest' - -export default function ArkUITabsSingleSelectedcolor() { - - describe('ArkUITabsSingleSelectedcolor', () => { - /* - * @tc.number ARKUI_TABS_SINGLE_SELECTEDCOLOR_011 - * @tc.name ARKUI_TABS_SINGLE_SELECTEDCOLOR_011 - * @tc.desc selectedColor: "rgb(255,100,255)" - */ - it('ARKUI_TABS_SINGLE_SELECTEDCOLOR_011', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_SINGLE_SELECTEDCOLOR_011 start.`); - Settings.createWindow("testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor011") - await Utils.sleep(2000) - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `ARKUI_TABS_SINGLE_SELECTEDCOLOR_011 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_SINGLE_SELECTEDCOLOR_002 - * @tc.name ARKUI_TABS_SINGLE_SELECTEDCOLOR_002 - * @tc.desc selectedColor: Color.White - */ - it('ARKUI_TABS_SINGLE_SELECTEDCOLOR_002', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_SINGLE_SELECTEDCOLOR_002 start.`); - Settings.createWindow("testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor002") - await Utils.sleep(2000) - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `ARKUI_TABS_SINGLE_SELECTEDCOLOR_002 finish.`); - done() - }) - /* - * @tc.number ARKUI_TABS_SINGLE_SELECTEDCOLOR_005 - * @tc.name ARKUI_TABS_SINGLE_SELECTEDCOLOR_005 - * @tc.desc selectedColor: Color.Green - */ - it('ARKUI_TABS_SINGLE_SELECTEDCOLOR_005', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_SINGLE_SELECTEDCOLOR_005 start.`); - Settings.createWindow("testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor005") - await Utils.sleep(2000) - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `ARKUI_TABS_SINGLE_SELECTEDCOLOR_005 finish.`); - done() - }) /* - * @tc.number ARKUI_TABS_SINGLE_SELECTEDCOLOR_008 - * @tc.name ARKUI_TABS_SINGLE_SELECTEDCOLOR_008 - * @tc.desc selectedColor: 0xffffff - */ - it('ARKUI_TABS_SINGLE_SELECTEDCOLOR_008', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_SINGLE_SELECTEDCOLOR_008 start.`); - Settings.createWindow("testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor008") - await Utils.sleep(2000) - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `ARKUI_TABS_SINGLE_SELECTEDCOLOR_008 finish.`); - done() - }) - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsSingleUnselectedcolorTest/ArkUITabsSingleUnselectedcolor.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsSingleUnselectedcolorTest/ArkUITabsSingleUnselectedcolor.test.ets deleted file mode 100644 index cb90a868..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsSingleUnselectedcolorTest/ArkUITabsSingleUnselectedcolor.test.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver, ON } from '@ohos.UiTest' - -export default function ArkUITabsSingleUnselectedcolor() { - - describe('ArkUITabsSingleUnselectedcolor', () => { - /* - * @tc.number ARKUI_TABS_SINGLE_UNSELECTEDCOLOR_003 - * @tc.name ARKUI_TABS_SINGLE_UNSELECTEDCOLOR_003 - * @tc.desc selectedColor: Color.Transparent - */ - it('ARKUI_TABS_SINGLE_UNSELECTEDCOLOR_003', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_TABS_SINGLE_UNSELECTEDCOLOR_003 start.`); - Settings.createWindow("testability/pages/ArkUITabsSingleUnselectedcolor/ArkUITabsSingleUnselectedcolor003") - await Utils.sleep(2000) - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `ARKUI_TABS_SINGLE_UNSELECTEDCOLOR_003 finish.`); - done() - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsVerticalTest/ArkUITabsVertical.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsVerticalTest/ArkUITabsVertical.test.ets deleted file mode 100644 index 60afbf12..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUITabsVerticalTest/ArkUITabsVertical.test.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function ArkUITabsVertical() { - - describe('ArkUITabsVertical', () => { - - /* - * @tc.number ArkUI_Tabs_vertical_001 - * @tc.name ArkUI_Tabs_vertical_001 - * @tc.desc 1、启动应用 - 2、设置属性vertical参数为正常值 - 3、重新设置正常值后重复步骤1和2 - */ - it('ArkUI_Tabs_vertical_001', 0, async (done: Function) => { - Logger.error('TEST', `ArkUI_Tabs_vertical_001 start.`); - Settings.createWindow("testability/pages/ArkUITabsVertical/ArkUITabsVertical001") - await Utils.sleep(1000) - let driver: Driver = Driver.create() - await Utils.sleep(1000) - let button1 :Component = await driver.findComponent(ON.id('ArkUITabsVertical001_001')) - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `ArkUI_Tabs_vertical_001 finish.`); - done() - }) - - - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier.test.ets deleted file mode 100644 index fb089342..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier.test.ets +++ /dev/null @@ -1,330 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver , On, ON } from '@ohos.UiTest' - -/* - * ComponentButtonSelectMenuItemContentModifier - * - * 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 ComponentButtonSelectMenuItemContentModifier() { - - describe('ComponentButtonSelectMenuItemContentModifier', () => { - - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0010 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0010 - * @tc.desc : Value is set to normal text. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0010 start.`); - Settings.createWindow("testability/pages/ComponentButtonSelectMenuItemContentModifier/" + - "ComponentButtonSelectMenuItemContentModifier0010") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button: Component = await driver.findComponent(ON.id('ComponentButtonSelectMenuItemContentModifier0010_001')); - await button.click(); - await Utils.sleep(1000); - let selectBuilder: Component = await driver.findComponent(ON.id('' + - 'ComponentButtonSelectMenuItemContentModifier0010_002')); - await selectBuilder.click(); - await Utils.sleep(1000); - await driver.fling({x: 100, y: 1000}, {x: 100, y: 500}, 5, 600); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0010 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0011 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0011 - * @tc.desc : Icon is set JPG type image. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0011', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0011 start.`); - Settings.createWindow("testability/pages/ComponentButtonSelectMenuItemContentModifier/" + - "ComponentButtonSelectMenuItemContentModifier0011") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button: Component = await driver.findComponent(ON.id('ComponentButtonSelectMenuItemContentModifier0011_001')); - await button.click(); - await Utils.sleep(1000); - let selectBuilder: Component = await driver.findComponent(ON.id('' + - 'ComponentButtonSelectMenuItemContentModifier0011_002')); - await selectBuilder.click(); - await Utils.sleep(1000); - await driver.fling({x: 100, y: 1000}, {x: 100, y: 500}, 5, 600); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0011 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0013 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0013 - * @tc.desc : Selected is set to number:1. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0013', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0013 start.`); - Settings.createWindow("testability/pages/ComponentButtonSelectMenuItemContentModifier/" + - "ComponentButtonSelectMenuItemContentModifier0013") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button: Component = await driver.findComponent(ON.id('ComponentButtonSelectMenuItemContentModifier0013_001')); - await button.click(); - await Utils.sleep(1000); - let selectBuilder: Component = await driver.findComponent(ON.id('' + - 'ComponentButtonSelectMenuItemContentModifier0013_002')); - await selectBuilder.click(); - await Utils.sleep(1000); - await driver.fling({x: 100, y: 1000}, {x: 100, y: 500}, 5, 600); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0013 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0015 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0015 - * @tc.desc : Value is set to very long text. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0015', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0015 start.`); - Settings.createWindow("testability/pages/ComponentButtonSelectMenuItemContentModifier/" + - "ComponentButtonSelectMenuItemContentModifier0015") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button: Component = await driver.findComponent(ON.id('ComponentButtonSelectMenuItemContentModifier0015_001')); - await button.click(); - await Utils.sleep(1000); - let selectBuilder: Component = await driver.findComponent(ON.id('' + - 'ComponentButtonSelectMenuItemContentModifier0015_002')); - await selectBuilder.click(); - await Utils.sleep(1000); - await driver.fling({x: 100, y: 1000}, {x: 100, y: 500}, 5, 600); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0015 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0016 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0016 - * @tc.desc : Does Builder take precedence over Select in property conflicts. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0016', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0016 start.`); - Settings.createWindow("testability/pages/ComponentButtonSelectMenuItemContentModifier/" + - "ComponentButtonSelectMenuItemContentModifier0016") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button: Component = await driver.findComponent(ON.id('ComponentButtonSelectMenuItemContentModifier0016_001')); - await button.click(); - await Utils.sleep(1000); - let selectBuilder: Component = await driver.findComponent(ON.id('' + - 'ComponentButtonSelectMenuItemContentModifier0016_002')); - await selectBuilder.click(); - await Utils.sleep(1000); - await driver.fling({x: 100, y: 1000}, {x: 100, y: 500}, 5, 600); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0016 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0017 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0017 - * @tc.desc : Verify if builder respects Select's min-width limit when optionWidth < 56vp. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0017', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0017 start.`); - Settings.createWindow("testability/pages/ComponentButtonSelectMenuItemContentModifier/" + - "ComponentButtonSelectMenuItemContentModifier0017") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button: Component = await driver.findComponent(ON.id('ComponentButtonSelectMenuItemContentModifier0017_001')); - await button.click(); - await Utils.sleep(1000); - let selectBuilder: Component = await driver.findComponent(ON.id('' + - 'ComponentButtonSelectMenuItemContentModifier0017_002')); - await selectBuilder.click(); - await Utils.sleep(1000); - await driver.fling({x: 500, y: 300}, {x: 500, y: 100}, 5, 600); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0017 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0018 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0018 - * @tc.desc : Value is set to empty text. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0018', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0018 start.`); - Settings.createWindow("testability/pages/ComponentButtonSelectMenuItemContentModifier/" + - "ComponentButtonSelectMenuItemContentModifier0018") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button: Component = await driver.findComponent(ON.id('ComponentButtonSelectMenuItemContentModifier0018_001')); - await button.click(); - await Utils.sleep(1000); - let selectBuilder: Component = await driver.findComponent(ON.id('' + - 'ComponentButtonSelectMenuItemContentModifier0018_002')); - await selectBuilder.click(); - await Utils.sleep(1000); - await driver.fling({x: 100, y: 1000}, {x: 100, y: 500}, 5, 600); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0018 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0023 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0023 - * @tc.desc : Test scrolling with 20 SelectOption items. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0023', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0023 start.`); - Settings.createWindow("testability/pages/ComponentButtonSelectMenuItemContentModifier/" + - "ComponentButtonSelectMenuItemContentModifier0023") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button: Component = await driver.findComponent(ON.id('ComponentButtonSelectMenuItemContentModifier0023_001')); - await button.click(); - await Utils.sleep(1000); - let selectBuilder: Component = await driver.findComponent(ON.id('' + - 'ComponentButtonSelectMenuItemContentModifier0023_002')); - await selectBuilder.click(); - await Utils.sleep(1000); - await driver.fling({x: 100, y: 1000}, {x: 100, y: 500}, 5, 600); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0023 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0025 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0025 - * @tc.desc : Icon is set GIF type image. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0025', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0025 start.`); - Settings.createWindow("testability/pages/ComponentButtonSelectMenuItemContentModifier/" + - "ComponentButtonSelectMenuItemContentModifier0025") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button: Component = await driver.findComponent(ON.id('ComponentButtonSelectMenuItemContentModifier0025_001')); - await button.click(); - await Utils.sleep(1000); - let selectBuilder: Component = await driver.findComponent(ON.id('' + - 'ComponentButtonSelectMenuItemContentModifier0025_002')); - await selectBuilder.click(); - await Utils.sleep(1000); - await driver.fling({x: 100, y: 1000}, {x: 100, y: 500}, 5, 600); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0025 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0026 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0026 - * @tc.desc : Icon is set SVG type image. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0026', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0026 start.`); - Settings.createWindow("testability/pages/ComponentButtonSelectMenuItemContentModifier/" + - "ComponentButtonSelectMenuItemContentModifier0026") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button: Component = await driver.findComponent(ON.id('ComponentButtonSelectMenuItemContentModifier0026_001')); - await button.click(); - await Utils.sleep(1000); - let selectBuilder: Component = await driver.findComponent(ON.id('' + - 'ComponentButtonSelectMenuItemContentModifier0026_002')); - await selectBuilder.click(); - await Utils.sleep(1000); - await driver.fling({x: 100, y: 1000}, {x: 100, y: 500}, 5, 600); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0026 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0027 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0027 - * @tc.desc : builder里放置多个节点共存,验证自定义内容是否可以正常显示 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0027', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0027 start.`); - Settings.createWindow("testability/pages/ComponentButtonSelectMenuItemContentModifier/" + - "ComponentButtonSelectMenuItemContentModifier0027") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button: Component = await driver.findComponent(ON.id('ComponentButtonSelectMenuItemContentModifier0027_001')); - await button.click(); - await Utils.sleep(1000); - let selectBuilder: Component = await driver.findComponent(ON.id('' + - 'ComponentButtonSelectMenuItemContentModifier0027_002')); - await selectBuilder.click(); - await Utils.sleep(1000); - await driver.fling({x: 100, y: 1000}, {x: 100, y: 500}, 5, 600); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_MENUITEMCONTENTMODIFIER_0027 finish.`); - done() - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentFunctionLAdvancedComponentsPopupInterfaceTest/ComponentFunctionLAdvancedComponentsPopupInterface.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentFunctionLAdvancedComponentsPopupInterfaceTest/ComponentFunctionLAdvancedComponentsPopupInterface.test.ets deleted file mode 100644 index 0af58cfb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentFunctionLAdvancedComponentsPopupInterfaceTest/ComponentFunctionLAdvancedComponentsPopupInterface.test.ets +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 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): - * 创建窗口,更改窗口基本配置,更改方式详见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 ComponentFunctionLAdvancedComponentsPopupInterface() { - - describe('ComponentFunctionLAdvancedComponentsPopupInterface', () => { - - - /* - * @tc.number ARKUI_COMPONENTFUNCTION_ADVANCEDCOMPONENTS_POPUP_INTERFACE_0178 - * @tc.name ARKUI_COMPONENTFUNCTION_ADVANCEDCOMPONENTS_POPUP_INTERFACE_0178 - * @tc.desc Verify PopupOptions for Popup with the width parameter Dimension(Percentage):100% - */ - it('ARKUI_COMPONENTFUNCTION_ADVANCEDCOMPONENTS_POPUP_INTERFACE_0178', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_ADVANCEDCOMPONENTS_POPUP_INTERFACE_0178 start.`); - Settings.createWindow("testability/pages/ComponentFunctionLAdvancedComponentsPopupInterface/ComponentFunctionLAdvancedComponentsPopupInterface0178"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("ComponentSpecialComponentsFormComponentTransparent0178")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot('ARKUI_COMPONENTFUNCTION_ADVANCEDCOMPONENTS_POPUP_INTERFACE_0178'); - await Utils.sleep(1000); - Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_ADVANCEDCOMPONENTS_POPUP_INTERFACE_0178 finish.`); - done(); - }) - - /* - * @tc.number ARKUI_COMPONENTFUNCTION_ADVANCEDCOMPONENTS_POPUP_INTERFACE_01780 - * @tc.name ARKUI_COMPONENTFUNCTION_ADVANCEDCOMPONENTS_POPUP_INTERFACE_01780 - * @tc.desc Verify CustomPopupOptions for Popup. width the width parameter Dimension(Percentage):100% - */ - it('ARKUI_COMPONENTFUNCTION_ADVANCEDCOMPONENTS_POPUP_INTERFACE_01780', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_ADVANCEDCOMPONENTS_POPUP_INTERFACE_01780 start.`); - Settings.createWindow("testability/pages/ComponentFunctionLAdvancedComponentsPopupInterface/ComponentFunctionLAdvancedComponentsPopupInterface01780"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("ComponentFunctionLAdvancedComponentsPopupInterface01781")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_ADVANCEDCOMPONENTS_POPUP_INTERFACE_01780 finish.`); - done(); - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorAITest/ComponentTextRicheditorAITests.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorAITest/ComponentTextRicheditorAITests.test.ets deleted file mode 100644 index ccf64109..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorAITest/ComponentTextRicheditorAITests.test.ets +++ /dev/null @@ -1,864 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 Settings from '../model/Settings' -import windowSnap from '../model/snapShot' -import Logger from '../model/Logger' -import Utils from '../model/Utils' -import { Driver, ON, On } from '@ohos.UiTest' -import { KeyCode } from '@kit.InputKit' - -/* - * SUB_ACE_UI_RICHEDITOR_AI_0010:AI相关用例 - * - * 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 ComponentTextRicheditorAITests() { - - describe('ComponentTextRicheditorAITests', () => { - - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0010 - *des:1、点击“开启AI分析”按钮(设置 - enableDataDetector为 true) - 2、点击蓝色识别信息,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0010 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0010"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0010')); - await rich.click(); - await Utils.sleep(1000); - let AI = await driver.findComponent(ON.id('AI')); - await AI.click(); - await Utils.sleep(1000); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorAI0010')); - await rich1.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0010.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0020 - *des:1、安装测试 demo - 2、输入混合文本,包含:邮箱、地址、电话 - 、网址这四个信息内容,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0020 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0020"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0020')); - await rich.click(); - await Utils.sleep(1000); - let AI = await driver.findComponent(ON.id('AI')); - await AI.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0020.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0030 - *des:"1、点击“开启AI分析”按钮(设置 - enableDataDetector为 true) - 2、点击“关闭AI分析”按钮(设置 - enableDataDetector为 false)" - ,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0030 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0030"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0030')); - await rich.click(); - await Utils.sleep(1000); - let open = await driver.findComponent(ON.id('open')); - await open.click(); - await Utils.sleep(1000); - let close = await driver.findComponent(ON.id('close')); - await close.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0030.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0040 - *des:1、点击“开启AI分析”按钮(设置 - enableDataDetector为 true) - 2、点击“识别: 电话号码”按钮(设置 - dataDetector{ types: - [TextDataDetectorType. PHONE_NUMBER]}) - 3、点击“识别:网址”按钮(设置 - dataDetector{ types: - [TextDataDetectorType. URL]}) - 4、点击“识别:邮箱”按钮(设置 - dataDetector{ types: - [TextDataDetectorType. EMAIL]}) - 5、点击“识别: 地址”按钮(设置 - dataDetector{ types: - [TextDataDetectorType. ADDRESS]}) - ,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0040 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0040"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0040')); - await rich.click(); - await Utils.sleep(1000); - let AI = await driver.findComponent(ON.id('AI')); - await AI.click(); - await Utils.sleep(1000); - let tel = await driver.findComponent(ON.id('tel')); - await tel.click(); - await Utils.sleep(1000); - let url = await driver.findComponent(ON.id('url')); - await url.click(); - await Utils.sleep(1000); - let email = await driver.findComponent(ON.id('email')); - await email.click(); - await Utils.sleep(1000); - let addr = await driver.findComponent(ON.id('addr')); - await addr.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0040.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0050 - *des:1、点击“开启AI分析”按钮(设置 - enableDataDetector为 true) - 2、点击“识别: 电话号码、网址”按钮(设置 - dataDetector{ types: - [ToxtDataDetectorType. PHONE_NUNBER, - ToxtDataDetectorType. URL]}) - 3、点击“识别: 电话、网址、邮箱”按钮(设 - 置dataDetector{ types: - [TextDataDetectorType. PHONE_NUMBER, - TextDataDetectorType. URL, - TextDataDetectorType. EMAIL]}) - ,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0050 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0050"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0050')); - await rich.click(); - await Utils.sleep(1000); - let AI = await driver.findComponent(ON.id('AI')); - await AI.click(); - await Utils.sleep(1000); - let url = await driver.findComponent(ON.id('url')); - await url.click(); - await Utils.sleep(1000); - let email = await driver.findComponent(ON.id('email')); - await email.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0050.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0060 - *des:1、点击“开启AI分析”按钮(设置 - enableDataDetector为 true) - 2、点击“识别: 电话、网址、邮箱、地址”按钮(设置dataDetector{ types: - [TextDataDetectorType. PHONE_NUNBER, - TextDataDetectorType. URL, - TextDataDetectorType. EMAIL, - TextDataDetectorType. ADDRESS]}) - ,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0060', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0060 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0060"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0060')); - await rich.click(); - await Utils.sleep(1000); - let AI = await driver.findComponent(ON.id('AI')); - await AI.click(); - await Utils.sleep(1000); - let url = await driver.findComponent(ON.id('url')); - await url.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0060.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0070 - *des:1、点击“关闭AI分析”按钮(设置 - enableDataDetector为 false). - 2、点击“识别: 电话、网址、邮箱、地址”按 - 钮(设置dataDetector{ types: - [TextDataDetectorType. PHONE_NUNBER, - TextDataDetectorType. URL, - TextDataDetectorType. EMAIL, - TextDataDetectorType. ADDRESS]}) - ,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0070', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0070 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0070"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0070')); - await rich.click(); - await Utils.sleep(1000); - let AI = await driver.findComponent(ON.id('AI')); - await AI.click(); - await Utils.sleep(1000); - let url = await driver.findComponent(ON.id('url')); - await url.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0070.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0080 - *des:1、点击“识别: 电话、网址、邮箱、地址”按 - 钮(设置dataDetector{ types: - [ToxtDataDetectorType. PHONE_NUNBER, - TextDataDetectorType. URL, - TextDataDetectorType. EMAIL, - TextDataDetectorType. ADDRESS]}) - ,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0080', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0080 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0080"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0080')); - await rich.click(); - await Utils.sleep(1000); - let url = await driver.findComponent(ON.id('url')); - await url.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0080.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0090 - *des:1、检查enableDataDetector和 - dataDetectorConfig接口文档说明 - ,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0090', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0090 start.`); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0090"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0090.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0100 - *des:1、点击“上划线”按钮(设置 decoration值为 - Overline) - 2、点击“开启AI分析”按钮(设置 - enableDataDetector为 true) - ,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0100', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0100 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0100"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0100')); - await rich.click(); - await Utils.sleep(1000); - let setStyle = await driver.findComponent(ON.id('setStyle')); - await setStyle.click(); - await Utils.sleep(1000); - let AI = await driver.findComponent(ON.id('AI')); - await AI.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0100.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0110 - *des:1、点击“上划线”按钮(设置 decoration值为 - LineThrough) - 2、点击“开启AI分析”按钮(设置 - enableDataDetector为 true) - ,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0110', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0110 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0110"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0110')); - await rich.click(); - await Utils.sleep(1000); - let setStyle = await driver.findComponent(ON.id('setStyle')); - await setStyle.click(); - await Utils.sleep(1000); - let AI = await driver.findComponent(ON.id('AI')); - await AI.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0110.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0120 - *des:1、点击“下划线”按钮(设置 decoration值为 - Underline) - 2、点击“开启AI分析”按钮(设置 - enableDataDetector为 true) - ,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0120', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0120 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0120"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0120')); - await rich.click(); - await Utils.sleep(1000); - let setStyle = await driver.findComponent(ON.id('setStyle')); - await setStyle.click(); - await Utils.sleep(1000); - let AI = await driver.findComponent(ON.id('AI')); - await AI.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0120.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0130 - *des:1、点击“字体颜色:红色”按钮(设置 - fontColor值为 Red). - 2、点击“开启AI分析”按钮(设置 - enableDataDetector为 true) - ,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0130', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0130 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0130"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0130')); - await rich.click(); - await Utils.sleep(1000); - let setStyle = await driver.findComponent(ON.id('setStyle')); - await setStyle.click(); - await Utils.sleep(1000); - let AI = await driver.findComponent(ON.id('AI')); - await AI.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0130.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0140 - *des:1、点击“字体大小:30”按钮(设置fontSize| - 值为30) - 2、点击“开启AI分析”按钮(设置 - enableDataDetector为 true) - ,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0140', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0140 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0140"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0140')); - await rich.click(); - await Utils.sleep(1000); - let setStyle = await driver.findComponent(ON.id('setStyle')); - await setStyle.click(); - await Utils.sleep(1000); - let AI = await driver.findComponent(ON.id('AI')); - await AI.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0140.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0150 - *des:1、点击“字体样式:斜体”按钮(设置 - fontStyle值为 Italic) - 2、点击“开启AI分析”按钮(设置 - enableDataDetector为 true) - ,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0150', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0150 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0150"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0150')); - await rich.click(); - await Utils.sleep(1000); - let setStyle = await driver.findComponent(ON.id('setStyle')); - await setStyle.click(); - await Utils.sleep(1000); - let AI = await driver.findComponent(ON.id('AI')); - await AI.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0150.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0160 - *des:1、点击“字体宽度:细”按钮(设置 - fontVeight值为 Lighter) - 2、点击“开启AI分析”按钮(设置 - enableDataDetector为 true? - 3、点击“字体宽度: 正常”按钮(设置 - fontVeight值为 Normal) - 3、点击“字体宽度:粗”按钮(设置 - fontVeight值为 Bolder) - ,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0160', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0160 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0160"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0160')); - await rich.click(); - await Utils.sleep(1000); - let setStyle = await driver.findComponent(ON.id('setStyle')); - await setStyle.click(); - await Utils.sleep(1000); - let AI = await driver.findComponent(ON.id('AI')); - await AI.click(); - await Utils.sleep(1000); - let setStyle1 = await driver.findComponent(ON.id('setStyle1')); - await setStyle1.click(); - await Utils.sleep(1000); - let setStyle2 = await driver.findComponent(ON.id('setStyle2')); - await setStyle2.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0160.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0170 - *des:1、点击“开启AI分析”按钮(设置 - enableDataDetector为 true) - 2、输入文本 - ,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0170', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0170 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0170"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0170')); - await rich.click(); - await Utils.sleep(1000); - let AI = await driver.findComponent(ON.id('AI')); - await AI.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_9); - await Utils.sleep(100); - let close = await driver.findComponent(ON.id('close')); - await close.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0170.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0180 - *des:1、点击“开启AI分析”按钮(设置 - enableDataDetector为 true) - 2、删除文本 - ,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0180', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0180 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0180"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0180')); - await rich.click(); - await Utils.sleep(1000); - let AI = await driver.findComponent(ON.id('AI')); - await AI.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - let close = await driver.findComponent(ON.id('close')); - await close.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0180.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0190 - *des:1、点击“插入 Span内容”(设置 Span内包含邮 - 箱、地址、电话、网址这四个信息内容) - 2、点击“开启AI分析”按钮(设置 - enableDataDetector为 true) - ,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0190', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0190 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0190"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0190')); - await rich.click(); - await Utils.sleep(1000); - let insert = await driver.findComponent(ON.id('insert')); - await insert.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let AI = await driver.findComponent(ON.id('AI')); - await AI.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0190.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0200 - *des:1、在邮箱、地址、电话、网址信息处点击“插 - 入图片”(设置InageSpan) - 2、点击“开启AI分析”按钮(设置 - enableDataDetector为 true) - ,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0200', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0200 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0200"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0200')); - await rich.click(); - await Utils.sleep(1000); - let insert = await driver.findComponent(ON.id('insert')); - await insert.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let AI = await driver.findComponent(ON.id('AI')); - await AI.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0200.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0210 - *des:1、点击“开启AI分析”按钮(设置 - enableDataDetector为 true? - 2、点击“减小文本框宽度”按钮(设置 vidth- - -) - ,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0210', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0210 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0210"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0210')); - let AI = await driver.findComponent(ON.id('AI')); - await AI.click(); - await Utils.sleep(1000); - let setWidth = await driver.findComponent(ON.id('setWidth')); - await setWidth.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0210.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0220 - *des:1、点击“开启AI分析”按钮(设置 - enableDataDetector为 true? - 2、在邮箱、地址、电话、网址信息中手动换行 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0220', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0220 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0220"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0220')); - let AI = await driver.findComponent(ON.id('AI')); - await AI.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(2012); - await Utils.sleep(100); - await driver.triggerKey(2050); - await Utils.sleep(100); - await driver.triggerKey(2050); - await Utils.sleep(100); - await driver.triggerKey(2050); - await Utils.sleep(100); - await driver.triggerKey(2050); - await Utils.sleep(100); - await driver.triggerKey(2050); - await Utils.sleep(100); - await driver.triggerKey(2050); - await Utils.sleep(100); - await driver.triggerKey(2050); - await Utils.sleep(100); - await driver.triggerKey(2050); - await Utils.sleep(100); - await driver.triggerKey(2050); - await Utils.sleep(100); - await driver.triggerKey(2050); - await Utils.sleep(100); - await driver.triggerKey(2050); - await Utils.sleep(100); - await driver.triggerKey(2050); - await Utils.sleep(100); - await driver.triggerKey(2050); - await Utils.sleep(100); - await driver.triggerKey(2050); - await Utils.sleep(100); - await driver.triggerKey(2050); - await Utils.sleep(100); - await driver.triggerKey(2050); - await Utils.sleep(100); - await driver.triggerKey(2050); - await Utils.sleep(100); - await driver.triggerKey(2050); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0220.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0230 - *des:1、点击“开启AI分析”按钮(设置 - enableDataDetector为 true) - 2、滑动页面 - ,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0230', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0230 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0230"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0230')); - let AI = await driver.findComponent(ON.id('AI')); - await AI.click(); - await Utils.sleep(1000); - let ponit = await rich.getBoundsCenter(); - await driver.mouseScroll({x:ponit.x, y:ponit.y}, false, 10, 2072,20) - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0230.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0240 - *des:1、点击“开启AI分析”按钮(设置 - enableDataDetector为 true) - 2、滑动页面,使邮箱、地址、电话、网址等信 - 息在组件底部或顶部截断显示 - ,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0240', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0240 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0240"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0240')); - let AI = await driver.findComponent(ON.id('AI')); - await AI.click(); - await Utils.sleep(1000); - let ponit = await rich.getBoundsCenter(); - await driver.mouseScroll({x:ponit.x, y:ponit.y}, false, 10, 2072,20) - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0240.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0250 - *des:1、点击“开启AI分析”按钮(设置 - enableDataDetector为 true) - ,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0250', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0250 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0250"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0250')); - await Utils.sleep(1000); - let AI = await driver.findComponent(ON.id('AI')); - await AI.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0250.`); - done(); - }) - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0260 - *des:1、点击“开启AI分析”按钮(设置 - enableDataDetector为 true) - 2、点击蓝色识别信息 - ,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0260', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0260 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0260"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0260')); - await rich.click(); - await Utils.sleep(1000); - let AI = await driver.findComponent(ON.id('AI')); - await AI.click(); - await Utils.sleep(1000); - await driver.triggerKey(2012); - await Utils.sleep(100); - await driver.triggerKey(2012); - await Utils.sleep(100); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorAI0260')); - await rich1.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0260.`); - done(); - }) - - /** - * NO.SUB_ACE_UI_RICHEDITOR_AI_0270 - *des:1、点击“开启AI分析”按钮(设置 - enableDataDetector为 true) - 2、点击“复制类型: NONE”按钮(设置 - CopyOptions为 None) - ,验证效果 - */ - it('SUB_ACE_UI_RICHEDITOR_AI_0270', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0270 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0270"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorAI0270')); - await rich.click(); - await Utils.sleep(1000); - let AI = await driver.findComponent(ON.id('AI')); - await AI.click(); - let copy = await driver.findComponent(ON.id('copy')); - await copy.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_RICHEDITOR_AI_0270.`); - done(); - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColors.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColors.test.ets deleted file mode 100644 index 52d51ef5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColors.test.ets +++ /dev/null @@ -1,891 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 Settings from '../model/Settings' -import windowSnap from '../model/snapShot' -import Logger from '../model/Logger' -import Utils from '../model/Utils' -import { Driver, ON, On } from '@ohos.UiTest' -import { KeyCode } from '@kit.InputKit' - -/* - * SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_CUSTOMCOLORS:Colors相关自定义 - * - * 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 ComponentTextRicheditorCustomColors() { - - describe('ComponentTextRicheditorCustomColors', () => { - - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0001 - *des:1、添加RichEditor组件,不设置光标、手柄、文本选中背景颜色 - 2、输入文本, 长按文本内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0001', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0001 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0001") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0001")); - await richeditor.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0001 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0002 - *des:1、添加RichEditor组件 - 2、设置光标、手柄颜色为 Color. Orange,文本选中背景颜色为Color. Red. - 3、输入文本、长按文本内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0002', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0002 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0002") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0002")); - await richeditor.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0002 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0003 - *des:1、添加RichEditor组件 - 2、设置光标、手柄、文本选中背景颜色为0x0110ff - 3、输入文本, 长按文本内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0003', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0003 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0003") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0003")); - await richeditor.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0003 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0004 - *des:1、添加RichEditor组件 - 2、设置光标、手柄、文本选中背景颜色为0xffffffeeeeee - 3、输入文本, 长按文本内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0004', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0004 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0004") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0004")); - await richeditor.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0004 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0005 - *des:1、添加RichEditor组件 - 2、设置光标、手柄、文本选中背景颜色为10000 - 3、输入文本, 长按文本内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0005', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0005 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0005") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0005")); - await richeditor.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0005 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0006 - *des:1、添加RichEditor组件 - 2、设置光标、手柄、文本选中背景颜色为10000.5 - 3、输入文本, 长按文本内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0006', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0006 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0006") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0006")); - await richeditor.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0006 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0007 - *des:1、添加RichEditor组件 - 2、设置光标、手柄、文本选中背景颜色为-15 - 3、输入文本, 长按文本内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0007', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0007 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0007") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0007")); - await richeditor.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0007 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0008 - *des:1、添加RichEditor组件 - 2、设置光标、手柄、文本选中背景颜色为'#00ffff' - 3、输入文本, 长按文本内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0008', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0008 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0008") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0008")); - await richeditor.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0008 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0009 - *des:1、添加RichEditor组件 - 2、设置光标、手柄、文本选中背景颜色为'#ffffff00' - 3、输入文本, 长按文本内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0009', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0009 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0009") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0009")); - await richeditor.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0009 finish.`); - done(); - }) - - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0010 - *des:1、添加RichEditor组件 - 2、设置光标、手柄、文本选中背景颜色为' rgb(255,0,255)' - 3、输入文本, 长按文本内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0010 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0010") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0010")); - await richeditor.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0010 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0011 - *des:1、添加RichEditor组件 - 2、设置光标、手柄、文本选中背景颜色为" rgba(0,0,255,0.5)" - 3、输入文本, 长按文本内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0011', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0011 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0011") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0011")); - await richeditor.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0011 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0012 - *des:1、添加RichEditor组件 - 2、设置光标、手柄、文本选中背景颜色为'#0ccccoo' - 3、输入文本, 长按文本内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0012', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0012 start.`); - let driver = Driver.create(); - await Utils.sleep(1000) - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0012") - await Utils.sleep(1000) - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0012")); - await richeditor.click(); - await Utils.sleep(2000) - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000) - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0012 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0013 - *des:1、添加RichEditor组件 - 2、设置光标、手柄、文本选中背景颜色为' rgba(255,0,255,2)' - 3、输入文本, 长按文本内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0013', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0013 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0013") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0013")); - await richeditor.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0013 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0014 - *des:1、添加RichEditor组件 - 2、设置光标、手柄、文本选中背景颜色为' rgb(255,0,300)' - 3、输入文本, 长按文本内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0014', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0014 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0014") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0014")); - await richeditor.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0014 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0015 - *des:1、添加RichEditor组件 - 2、设置光标、手柄、文本选中背景颜色为'#abcdefə' - 3、输入文本, 长按文本内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0015', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0015 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0015") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0015")); - await richeditor.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0015 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0016 - *des:1、添加RichEditor组件 - 2、设置光标、手柄、文本选中背景颜色为 - $r(' app. color. color') - 3、输入文本,长按文本内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0016', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0016 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0016") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0016")); - await richeditor.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0016 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0017 - *des:1、添加RichEditor组件 - 2、设置光标、手柄、文本选中背景颜色为 - $r(' app. media. startIcon') - 3、输入文本, 长按文本内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0017', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0017 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0017") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0017")); - await richeditor.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0017 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0018 - *des:1、添加RichEditor组件 - 2、设置光标、手柄、文本选中背景颜色为 Red - 3、输入文字、图片、表情、特殊符号混合文本,长按文本内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0018', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0018 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0018") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0018")); - await richeditor.click(); - await Utils.sleep(2000); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0018 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0019 - *des:1、添加RichEditor组件 - 2、设置光标、手柄、文本选中背景颜色为 Red - 3、添加textSpan\symbolSpan\inageSpan\buildSpan,长按文本 - 内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0019', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0019 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0019") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0019")); - await richeditor.click(); - await Utils.sleep(2000); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0019 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0020 - *des:1、添加RichEditor组件 - 2、设置光标、手柄、文本选中背景颜色为 Red - 3、输入文本,长按文本内容 - 4、改变字体大小,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0020 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0020") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0020")); - await richeditor.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0020finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0021 - *des:1、添加RichEditor组件 - 2、设置光标、手柄、文本选中背景颜色为 Red - 3、输入文本, 长按文本内容 - 4、改变字体样式,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0021', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0021 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0021") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0021")); - await richeditor.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000); - windowSnap.snapShot() - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0021finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0022 - *des:1、添加RichEditor组件 - 2、设置光标、手柄、文本选中背景颜色为 Red - 3、输入文本, 长按文本内容 - 4、改变行高和字符间距,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0022', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0022 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0022") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0022")); - await richeditor.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0022finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0023 - *des:1、添加RichEditor组件 - 2、设置光标、手柄、文本选中背景颜色为 Red - 3、输入文本,长按文本内容 - 4、软键盘删除选中文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0023', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0020 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0023") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0023")); - await richeditor.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_DEL) - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0023finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0025 - *des:1、添加RichEditor组件 - 2、设置光标、手柄、文本选中背景颜色为 Red - 3、输入文本,长按文本内容 - 4、切换横竖屏,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0025', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0025 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0025") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0025")); - await richeditor.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0025finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0026 - *des:1、添加RichEditor组件 - 2、设置光标、手柄、文本选中背景颜色为 Red - 3、输入文本,鼠标点击 richeditor,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0026', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0026 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0026") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0026")); - await richeditor.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0026finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0028 - *des:1、添加RichEditor组件 - 2、设置光标、手柄、文本选中背景颜色为 Red - 3、输入文本 - 4、调用setSeleotion选中文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0028', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0028 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0028") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomColor0028")); - await richeditor.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let select = await driver.findComponent(ON.id("set select")); - await select.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOB_CUSTOMCOLORS_0028finish.`); - done(); - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnceTests.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnceTests.test.ets deleted file mode 100644 index b2d84b04..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnceTests.test.ets +++ /dev/null @@ -1,393 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 Settings from '../model/Settings' -import windowSnap from '../model/snapShot' -import Logger from '../model/Logger' -import Utils from '../model/Utils' -import { Driver, ON, On } from '@ohos.UiTest' -import { KeyCode } from '@kit.InputKit' - -/* - * SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE:CustomkeyBoardAvoidAnce相关用例 - * - * 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 ComponentTextRicheditorCustomkeyBoardAvoidAnceTests() { - - describe('ComponentTextRicheditorCustomkeyBoardAvoidAnceTests', () => { - - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0001 - *des:1、添加RichEditor组件位于页面底部 - 2、点击RichEditor组件, 激活自定义键盘,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0001', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0001 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0001") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomkeyBoardAvoidAnce0001")); - await richeditor.click(); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0001.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0002 - *des:1、设置KeyboardOptions为 false - 2、添加RichEditor组件位于页面底部 - 3、点击RichEditor组件,激活自定义键盘,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0002', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0002 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0002") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomkeyBoardAvoidAnce0002")); - await richeditor.click(); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0002.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0003 - *des:1、设置KeyboardOptions为 true,设置键盘避 - 让方式为OFFSET - 2、添加RichEditor组件,输入超长文本 - 3、分别点击文本不同位置,调出自定义键盘,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0003', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0003 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0003") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomkeyBoardAvoidAnce0003")); - await richeditor.click(); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0003.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0004 - *des:1、设置KeyboardOptions为 true,设置键盘避 - 让方式为RESIZE - 2、添加RichEditor组件,输入超长文本 - 3、分别点击文本不同位置,调出自定义键盘,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0004', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0004 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0004") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomkeyBoardAvoidAnce0004")); - await richeditor.click(); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0004.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0005 - *des:1、设置KeyboardOptions为 true, 设置键盘避 - 让方式为OFFSET - 2、页面添加 Row组件(固定宽高),添加 - RichEditor组件 - 3、点击RichEditor组件, 调出自定义键盘,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0005', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0005 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0005") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomkeyBoardAvoidAnce0005")); - await richeditor.click(); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0005.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0006 - *des:1、设置KeyboardOptions为 true, 设置键盘避 - 让方式为OFFSET - 2、页面添加 Row组件(百分比宽高),添加 - RichEditor组件 - 2、点击RichEditor组件,调出自定义键盘,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0006', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0006 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0006") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomkeyBoardAvoidAnce0006")); - await richeditor.click(); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0006.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0007 - *des:1、设置KeyboardOptions为 true, 设置键盘避 - 让方式为RESIZE - 2、页面添加 Row组件(固定宽高) ,添加 - RichEditor组件 - 3、点击RichEditor组件, 调出自定义键盘,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0007', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0007 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0007") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomkeyBoardAvoidAnce0007")); - await richeditor.click(); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0007.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0008 - *des:1、设置KeyboardOptions为 true, 设置键盘避 - 让方式为RESIZE - 2、页面添加 Row组件(百分比宽高),添加 - RichEditor组件 - 3、点击RichEditor组件, 调出自定义键盘,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0008', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0008 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0008") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomkeyBoardAvoidAnce0008")); - await richeditor.click(); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0008.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0009 - *des:1、添加RichEditor组件位于页面顶部 - 2、点击RichEditor组件,调出自定义键盘,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0009', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0009 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0009") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomkeyBoardAvoidAnce0009")); - await richeditor.click(); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0009.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0010 - *des:1、设置KeyboardOptions为 true, 设置键盘避 - 让方式为OFFSET - 2、添加RichEditor组件, 在RichEditor上下 - 方添加 row组件 - 3、点击RichEditor组件, 调出自定义键盘,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0010 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0010") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomkeyBoardAvoidAnce0010")); - await richeditor.click(); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0010.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0011 - *des:1、设置KeyboardOptions为 true, 设置键盘避 - 让方式为RESIZE - 2、添加RichEditor组件, 在RichEditor上下 - 方添加 row组件 - 3、点击RichEditor组件,调出自定义键盘,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0011', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0011 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0011") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomkeyBoardAvoidAnce0011")); - await richeditor.click(); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0011.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0012 - *des:1、设置KeyboardOptions为 true,设置键盘避 - 让方式为OFFSET - 2、页面添加多个RichEditor组件 - 3、分别点击不同RichEditor组件,调出自定义 - 键盘,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0012', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0012 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0012") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomkeyBoardAvoidAnce0012")); - await richeditor.click(); - await Utils.sleep(1000); - let richeditor1 = await driver.findComponent(ON.id("ComponentTextRicheditorCustomkeyBoardAvoidAnce0012_01")); - await richeditor1.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0012.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0013 - *des:1、设置KeyboardOptions为 true, 设置键盘避 - 让方式为RESIZE - 2、添加RichEditor组件, 在RichEditor上下 - 方添加 row组件 - 3、点击RichEditor组件,调出自定义键盘,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0013', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0013 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0013") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomkeyBoardAvoidAnce0013")); - await richeditor.click(); - await Utils.sleep(1000); - let richeditor1 = await driver.findComponent(ON.id("ComponentTextRicheditorCustomkeyBoardAvoidAnce0013_01")); - await richeditor1.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0013.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0016 - *des:1、设置KeyboardOptions为 true,设置键盘避 - 让方式为OFFSET - 2、页面添加RichEditor组件 - 3、切换横屏, 点击RichEditor组件, 调出自定 - 义键盘,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0016', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0016 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0016") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomkeyBoardAvoidAnce0016")); - let change = await driver.findComponent(ON.id("changeScreen")); - await change.click(); - await Utils.sleep(2000); - let richeditor1 = await driver.findComponent(ON.id("ComponentTextRicheditorCustomkeyBoardAvoidAnce0016")); - await richeditor1.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0016.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0017 - *des:1、设置KeyboardOptions为 true,设置键盘避 - 让方式为RESIZE - 2、页面添加RichEditor组件 - 3、切换横屏, 点击RichEditor组件, 调出自定 - 义键盘,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0017', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0017 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0017") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomkeyBoardAvoidAnce0017")); - await Utils.sleep(1000); - let change = await driver.findComponent(ON.id("changeScreen")); - await change.click(); - await Utils.sleep(2000); - let richeditor1 = await driver.findComponent(ON.id("ComponentTextRicheditorCustomkeyBoardAvoidAnce0017")); - await richeditor1.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0017.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0019 - *des:1、设置KeyboardOptions为 true - 2、页面添加RichEditor组件 - 3、点击RichEditor组件,调出自定义键盘 - 4、改变自定义键盘高度,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0019', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0019 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0019") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorCustomkeyBoardAvoidAnce0019")); - await richeditor.click(); - await Utils.sleep(1000); - let change = await driver.findComponent(ON.id("changeScreen")); - await change.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_CUSTOMKEYBOARDAVOIDANCE_0019.`); - done(); - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeatures.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeatures.test.ets deleted file mode 100644 index 43a5f586..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeatures.test.ets +++ /dev/null @@ -1,943 +0,0 @@ - /* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 Settings from '../model/Settings' -import windowSnap from '../model/snapShot' -import Logger from '../model/Logger' -import Utils from '../model/Utils' -import { Driver, ON, On } from '@ohos.UiTest' -import { KeyCode } from '@ohos.multimodalInput.keyCode' -import { MouseButton } from '@kit.TestKit' - -/* - * fontfeatures cases - * - * 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 ComponentTextRicheditorFontfeatures() { - - describe('ComponentTextRicheditorFontfeatures', () => { - - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0001 - *des:设置fontStyle 属性为FontStyle.Normal,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0001', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0001 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0001") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0001 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0002 - *des:设置fontFeature 属性为“ sups ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0002', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0002 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0002") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0002 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0003 - *des:设置fontFeature 属性为“ sups ,0",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0003', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0003 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0003") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0003 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0004 - *des:设置fontFeature 属性为“ sups ,1",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0004', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0004 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0004") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0004 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0005 - *des:设置fontFeature 属性为“ sups ,0ff",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0005', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0005 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0005") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0005 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0006 - *des:设置fontFeature 属性为“ subs ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0006', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0006 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0006") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0006 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0007 - *des:设置fontFeature 属性为“ sinf ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0007', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0007 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0007") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0007 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0008 - *des:设置fontFeature 属性为“ numr ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0008', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0008 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0008") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0008 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0009 - *des:设置fontFeature 属性为“ dnom ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0009', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0009 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0009") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0009 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0010 - *des:设置fontFeature 属性为“ locl ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0010 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0010") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0010 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0011 - *des:设置fontFeature 属性为“ tnum ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0011', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0011 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0011") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0011 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0012 - *des:设置fontFeature 属性为“ pnum ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0012', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0012 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0012") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0012 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0013 - *des:设置fontFeature 属性为“ case ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0013', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0013 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0013") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0013 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0014 - *des:设置fontFeature 属性为“ frac ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0014', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0014 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0014") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0014 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0015 - *des:设置fontFeature 属性为“ ordn ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0015', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0015 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0015") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0015 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0016 - *des:设置fontFeature 属性为“ liga ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0016', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0016 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0016") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0016 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0017 - *des:设置fontFeature 属性为“ fwid ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0017', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0017 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0017") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0017 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0018 - *des:设置fontFeature 属性为“ hwid ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0018', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0018 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0018") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0018 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0019 - *des:设置fontFeature 属性为“ vert ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0019', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0019 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0019") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0019 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0020 - *des:设置fontFeature 属性为“ ss01 ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0020 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0020") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0020 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0021 - *des:设置fontFeature 属性为“ ss02 ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0021', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0021 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0021") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0021 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0022 - *des:设置fontFeature 属性为“ ss03 ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0022', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0022 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0022") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0022 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0023 - *des:设置fontFeature 属性为“ ss04 ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0023', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0023 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0023") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0023 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0024 - *des:设置fontFeature 属性为“ ss05 ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0024', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0024 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0024") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0024 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0025 - *des:设置fontFeature 属性为“ ss06 ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0025', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0025 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0025") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0025 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0026 - *des:设置fontFeature 属性为“ ss07 ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0026', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0026 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0026") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0026 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0027 - *des:设置fontFeature 属性为“ ss08 ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0027', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0027 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0027") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0027 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0028 - *des:设置fontFeature 属性为“ ss07 ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0028', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0028 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0028") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0028 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0029 - *des:设置fontFeature 属性为“ ss09 and ss04 ,on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0029', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0029 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0029") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0029 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0030 - *des:设置fontFeature 属性为“ null",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0030 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0030") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0030 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0031 - *des:设置fontFeature 属性'\"abcdefgg&*\" on,\"ss04\" 12354hfnfn3',验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0031', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0031 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0031") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0031 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0032 - *des:设置fontFeature 属性'\"ss04\" on,\"ss04\" off',验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0032', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0032 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0032") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0032 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0033 - *des:输入纯文本,设置fontFeature 属性"\"ss04\" on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0033', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0033 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0033") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0033 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0034 - *des:输入纯文本+Symbol,设置fontFeature 属性"\"ss04\" on",Symbol无fontFeature属性(https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/ts-basic-components-symbolspan-V5),验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0034', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0034 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0034") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0034 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0035 - *des:输入纯文本+Image,设置fontFeature 属性"\"ss04\" on",Image无fontFeature属性(https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/ts-basic-components-imagespan-V5),验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0035', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0035 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0035") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0035 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0036 - *des:输入Emoji表情,通过updateSpanStyle设置fontFeature 属性"\"ss04\" on",验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0036', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0036 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0036") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0036 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0037 - *des:不同fontfeature效果的两个richEditor通过复制粘贴,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0037', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0037 start.`); - let driver = Driver.create(); - await Utils.sleep(1000) - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0037") - await Utils.sleep(1000) - let richEditor1 = await driver.findComponent(ON.id("ComponentTextRicheditorFontfeature003701")); - await richEditor1?.click() - await Utils.sleep(1000) - await richEditor1?.click() - await Utils.sleep(1000) - let selectAll = await driver.findComponent(ON.text('全选')) - await selectAll?.click() - await Utils.sleep(500) - let copy = await driver.findComponent(ON.text('复制')) - await copy?.click() - await Utils.sleep(1000) - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorFontfeature003702")); - await richEditor2?.click() - await Utils.sleep(1000) - await richEditor2?.click() - await Utils.sleep(1000) - let paste = await driver.findComponent(ON.text('粘贴')) - await paste?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0037 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0038 - *des:相同fontfeature效果的两个richEditor通过复制粘贴,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0038', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0038 start.`); - let driver = Driver.create(); - await Utils.sleep(1000) - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0038") - await Utils.sleep(1000) - let richEditor1 = await driver.findComponent(ON.id("ComponentTextRicheditorFontfeature003801")); - await richEditor1?.click() - await Utils.sleep(1000) - await richEditor1?.click() - await Utils.sleep(1000) - let selectAll = await driver.findComponent(ON.text('全选')) - await selectAll?.click() - await Utils.sleep(500) - let copy = await driver.findComponent(ON.text('复制')) - await copy?.click() - await Utils.sleep(1000) - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorFontfeature003802")); - await richEditor2?.click() - await Utils.sleep(1000) - await richEditor2?.click() - await Utils.sleep(1000) - let paste = await driver.findComponent(ON.text('粘贴')) - await paste?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0038 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0041 - *des:两次添加fontfeature 属性,,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0041', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0041 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0041") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0041 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0042 - *des:通过onIMEInputComplete获取fontfeature属性,,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0042', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0042 start.`); - let driver = Driver.create(); - await Utils.sleep(1000) - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0042") - await Utils.sleep(1000) - let richEditor = await driver.findComponent(ON.id("ComponentTextRicheditorFontfeature0042")); - await richEditor?.click() - await Utils.sleep(1000) - await driver.triggerKey(KeyCode.KEYCODE_SPACE) - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0042 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0043 - *des:添加多段span,通过aboutToDelete查询fontfearture属性,,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0043', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0043 start.`); - let driver = Driver.create(); - await Utils.sleep(1000) - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0043") - await Utils.sleep(1000) - let richEditor = await driver.findComponent(ON.id("ComponentTextRicheditorFontfeature0043")); - await richEditor?.click() - await Utils.sleep(1000) - await driver.triggerKey(KeyCode.KEYCODE_DEL) - await Utils.sleep(1000) - await driver.triggerKey(KeyCode.KEYCODE_DEL) - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0043 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0044 - *des:通过setTypingStyle设置fontFeature。通过getTypingStyle查询fontFeature,,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0044', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0044 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0044") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0044 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0045 - *des:通过updateSpanStyle设置部分文本fontFeature,另一部分保持原有设置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0045', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0045 start.`); - let driver = Driver.create(); - await Utils.sleep(1000) - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0045") - await Utils.sleep(1000) - let richEditor1 = await driver.findComponent(ON.id("ComponentTextRicheditorFontfeature0045")); - await richEditor1?.click() - await Utils.sleep(1000) - let select = await driver.findComponent(ON.id("select")); - await select?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0045 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0046 - *des:通过getspans设置文本的fontFeature,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0046', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0046 start.`); - let driver = Driver.create(); - await Utils.sleep(1000) - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0046") - await Utils.sleep(1000) - let select = await driver.findComponent(ON.id("getspans")); - await select?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0046 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0047 - *des:通过getSelection获取多段span各个的fontFeature,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0047', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0047 start.`); - let driver = Driver.create(); - await Utils.sleep(1000) - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0047") - await Utils.sleep(1000) - let select = await driver.findComponent(ON.id("getselection")); - await select?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0047 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0048 - *des:通过模拟手指选取内容,获取fontFeature,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0048', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0048 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0048") - await Utils.sleep(1000); - let richEditor1 = await driver.findComponent(ON.id("ComponentTextRicheditorFontfeature0048")); - await richEditor1.click(); - await Utils.sleep(1000); - let selectBtn = await driver.findComponent(ON.id('select')); - await selectBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0048 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0049 - *des:设置 fontColor: Color.Orange,fontFeature: '\"sups\" on,,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0049', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0049 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0049") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0049 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0050 - *des:设置 fontStyle: FontStyle.Italic,fontFeature: '\"sups\" on,,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0050 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0050") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0050 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0051 - *des:设置 fontWeight: FontWeight.Bolder,fontFeature: '\"numr\" on',验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0051', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0051 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0051") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0051 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0052 - *des:设置 fontFamily: 'HarmonyOS sans',fontFeature: '\"ss04\" on',验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0052', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0052 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0052") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0052 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0053 - *des:设置 decoration: { type: TextDecorationType.Underline, color: Color.Black },fontFeature: '\"fwid\" on',验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0053', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0053 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0053") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0053 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0054 - *des:设置 textShadow: { radius: 10, color: Color.Blue, offsetX: 10, offsetY: 0 }, fontFeature: '\"ss08\" on',验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0054', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0054 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0054") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0054 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0055 - *des:设置 lineHeight: 50, fontFeature: '\"hwid\" on',验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0055', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0055 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0055") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0055 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0056 - *des:添加多个RichEditor组件,设置不同的fontFeature,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0056', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0056 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0056") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0056 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0057 - *des:动态调整组件宽高,不影响fontfeature效果,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0057', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0057 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0057") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorFontfeature0057")); - await Utils.sleep(1000); - let justBtn = await driver.findComponent(ON.id("justFeature")); - await justBtn.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0057 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0058 - *des:动态调整组件padding和margin,不影响fontfeature效果,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0058', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0058 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0058") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorFontfeature0058")); - await Utils.sleep(1000); - let justBtn = await driver.findComponent(ON.id("justFeature")); - await justBtn.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0058 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0059 - *des:动态调整组件padding和margin,不影响fontfeature效果,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0059', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0059 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0059") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorFontfeature0059")); - await Utils.sleep(1000); - let justBtn = await driver.findComponent(ON.id("justFeature")); - await justBtn.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0059 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0039 - *des:1、拖拽A组件内的内容至B组件内',验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0039', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0039 start.`); - let driver = Driver.create(); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0039") - await Utils.sleep(1000) - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorFontfeature0039")); - let textArea = await driver.findComponent(ON.id('TextArea')); - await textArea.click() - await Utils.sleep(1000); - await textArea.click() - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')) - await selectAll?.click() - await Utils.sleep(1000); - await textArea.dragTo(richeditor) - await Utils.sleep(3000); - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0039 finish.`); - done() - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0040 - *des:添加多个RichEditor组件,设置相同的fentFeature,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0040 start.`); - let driver = Driver.create(); - Settings.createWindow("testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0040") - await Utils.sleep(1000) - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorFontfeature0040")); - let textArea = await driver.findComponent(ON.id('TextArea')); - await textArea.click() - await Utils.sleep(1000); - await textArea.click() - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')) - await selectAll?.click() - await Utils.sleep(1000); - await textArea.dragTo(richeditor) - await Utils.sleep(3000); - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_FONTFEATURE_0040 finish.`); - done() - }) - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorInterface/ComponentTextRicheditorInterfaceTests.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorInterface/ComponentTextRicheditorInterfaceTests.test.ets deleted file mode 100644 index 3cc60c24..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorInterface/ComponentTextRicheditorInterfaceTests.test.ets +++ /dev/null @@ -1,3603 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 Settings from '../model/Settings' -import windowSnap from '../model/snapShot' -import Logger from '../model/Logger' -import Utils from '../model/Utils' -import { Driver, ON, On } from '@ohos.UiTest' -import { KeyCode } from '@kit.InputKit' - -/* - * SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0340:INTERFACE相关用例 - * - * 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 ComponentTextRicheditorInterfaceTests() { - - describe('ComponentTextRicheditorInterfaceTests', () => { - - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0340 - *des:1、启动应用 - 2、输入多段10字符以上的文本,输入纯文本内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0340', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0340.`); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0340"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0340.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0350 - *des:1、启动成功 - 2、【1,10】所在段落呈现居中对齐以及缩进 - 200,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0350', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0350.`); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0350"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0350.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0360 - *des:1、启动成功 - 2、【1,10】范围所在段落居中对齐以及列表效 - 果,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0360', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0360.`); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0360"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0360.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0410 - *des:1、启动应用 - 2、清空输入框内容 - 3、重新输入文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0410', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0410.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0410"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0410')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0410.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0420 - *des:1、启动应用 - 2、清空输入框内容 - 3、重新输入图片以及文字,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0420', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0420.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0420"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0420')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0420.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0430 - *des:1、启动应用 - 2、复制文本后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0430', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0430.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0430"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0430')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0430")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0430.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0440 - *des:1、启动应用 - 2、复制文本后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0440', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0440.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0440"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0440')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - await driver.triggerKey(2014); - await Utils.sleep(100); - await driver.triggerKey(2014); - await Utils.sleep(100); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0440")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0440.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0450 - *des:1、启动应用 - 2、复制文本后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0450', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0450.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0450"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0450')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0450")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0450.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0460 - *des:1、启动应用 - 2、清空输入框内容 - 3、重新输入文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0460', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0460.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0460"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0460')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0460.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0470 - *des:1、启动成果 - 3、文本颜色显示绿色,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0470', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0470.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0470"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0470')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_F); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0470.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0480 - *des:1、启动应用 - 2、复制文本后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0480', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0480.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0480"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0480')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0480")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0480.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0490 - *des:1、启动应用 - 2、复制图文后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0490', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0490.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0490"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0490')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(500); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0490")); - await richEditor2?.click(); - await Utils.sleep(500); - await richEditor2?.click(); - await Utils.sleep(500); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0490.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0500 - *des:1、启动应用 - 2、复制原本不同字体的文本后粘贴到其他内容 - 中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0500', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0500.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0500"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0500')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0500")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0500.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0510 - *des:1、启动应用 - 2、清空输入框内容 - 3、重新输入文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0510', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0510.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0510"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0510')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0510.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0520 - *des:1、启动应用 - 2、清空输入框内容 - 4、重新输入图文内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0520', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0520.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0520"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0520')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0520.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0530 - *des:1、启动应用 - 2、复制文本后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0530', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0530.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0530"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0530')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0530")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0530.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0540 - *des:1、启动应用 - 2、复制图文后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0540', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0540.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0540"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0540')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(500); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0540")); - await richEditor2?.click(); - await Utils.sleep(500); - await richEditor2?.click(); - await Utils.sleep(500); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0540.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0550 - *des:1、启动应用 - 2、复制原本不同字体的文本后粘贴到其他内容 - 中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0550', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0550.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0550"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0550')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0550")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0550.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0560 - *des:1、启动应用 - 2、清空输入框内容 - 3、重新输入文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0560', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0560.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0560"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0560')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0560.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0570 - *des:1、启动应用 - 2、清空输入框内容 - 4、重新输入图文内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0570', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0570.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0570"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0570')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0570.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0580 - *des:1、启动应用 - 2、复制文本后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0580', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0580.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0580"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0580')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0580")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0580.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0590 - *des:1、启动应用 - 2、复制图文后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0590', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0590.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0590"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0590')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(500); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0590")); - await richEditor2?.click(); - await Utils.sleep(500); - await richEditor2?.click(); - await Utils.sleep(500); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0590.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0600 - *des:1、启动应用 - 2、复制原本不同字体的文本后粘贴到其他内容 - 中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0600', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0600.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0600"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0600')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0600")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0600.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0610 - *des:1、启动应用 - 2、清空输入框内容 - 3、重新输入文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0610', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0610.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0610"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0610')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0610.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0620 - *des:1、启动应用 - 2、清空输入框内容 - 4、重新输入图文内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0620', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0620.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0620"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0620')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0620.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0630 - *des:1、启动应用 - 2、复制文本后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0630', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0630.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0630"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0630')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0630")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0630.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0640 - *des:1、启动应用 - 2、复制图文后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0640', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0640.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0640"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0640')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(500); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0640")); - await richEditor2?.click(); - await Utils.sleep(500); - await richEditor2?.click(); - await Utils.sleep(500); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0640.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0650 - *des:1、启动应用 - 2、复制原本不同字体的文本后粘贴到其他内容 - 中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0650', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0650.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0650"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0650')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0650")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0650.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0660 - *des:1、启动应用 - 2、清空输入框内容 - 3、重新输入文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0660', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0660.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0660"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0660')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0660.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0670 - *des:1、启动应用 - 2、清空输入框内容 - 4、重新输入图文内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0670', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0670.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0670"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0670')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0670.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0680 - *des:1、启动应用 - 2、复制文本后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0680', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0680.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0680"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0680')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0680")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0680.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0690 - *des:1、启动应用 - 2、复制图文后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0690', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0690.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0690"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0690')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(500); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0690")); - await richEditor2?.click(); - await Utils.sleep(500); - await richEditor2?.click(); - await Utils.sleep(500); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0690.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0700 - *des:1、启动应用 - 2、复制原本不同字体的文本后粘贴到其他内容 - 中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0700', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0700.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0700"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0700')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0700")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0700.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0710 - *des:1、启动应用 - 2、复制原本不同字体的文本后粘贴到其他内容 - 中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0710', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0710.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0710"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0710')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0710")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0710.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0720 - *des:1、启动应用 - 2、清空输入框内容 - 3、重新输入文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0720', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0720.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0720"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0720')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0720.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0730 - *des:1、启动应用 - 2、清空输入框内容 - 4、重新输入图文内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0730', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0730.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0730"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0730')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0730.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0740 - *des:1、启动应用 - 2、复制文本后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0740', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0740.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0740"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0740')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0740")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0740.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0750 - *des:1、启动应用 - 2、复制图文后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0750', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0750.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0750"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0750')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(500); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0750")); - await richEditor2?.click(); - await Utils.sleep(500); - await richEditor2?.click(); - await Utils.sleep(500); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(500); - await richEditor2?.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0750.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0760 - *des:1、启动应用 - 2、复制原本不同字体的文本后粘贴到其他内容 - 中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0760', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0760.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0760"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0760')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0760")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0760.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0770 - *des:1、启动应用 - 2、清空输入框内容 - 3、重新输入文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0770', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0770.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0770"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0770')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0770.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0780 - *des:1、启动应用 - 2、清空输入框内容 - 4、重新输入图文内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0780', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0780.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0780"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0780')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0780.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0790 - *des:1、启动应用 - 2、复制文本后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0790', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0790.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0790"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0790')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0790")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0790.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0800 - *des:1、启动应用 - 2、复制图文后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0800', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0800.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0800"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0800')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(500); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0800")); - await richEditor2?.click(); - await Utils.sleep(500); - await richEditor2?.click(); - await Utils.sleep(500); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0800.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0810 - *des:1、启动应用 - 2、复制原本不同字体的文本后粘贴到其他内容 - 中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0810', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0810.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0810"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0810')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0810")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0810.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0820 - *des:1、启动应用 - 2、清空输入框内容 - 3、重新输入文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0820', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0820.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0820"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0820')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0820.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0830 - *des:1、启动应用 - 2、清空输入框内容 - 4、重新输入图文内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0830', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0830.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0830"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0830')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0830.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0840 - *des:1、启动应用 - 2、复制文本后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0840', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0840.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0840"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0840')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0840")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0840.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0850 - *des:1、启动应用 - 2、复制图文后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0850', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0850.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0850"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0850')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(500); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0850")); - await richEditor2?.click(); - await Utils.sleep(500); - await richEditor2?.click(); - await Utils.sleep(500); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0850.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0860 - *des:1、启动应用 - 2、清空输入框内容 - 3、重新输入文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0860', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0860.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0860"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0860')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0860.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0870 - *des:1、启动应用 - 2、清空输入框内容 - 4、重新输入图文内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0870', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0870.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0870"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0870')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0870.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0880 - *des:1、启动应用 - 2、复制文本后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0880', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0880.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0880"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0880')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0880")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0880.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0890 - *des:1、启动应用 - 2、复制图文后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0890', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0890.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0890"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0890')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(500); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0890")); - await richEditor2?.click(); - await Utils.sleep(500); - await richEditor2?.click(); - await Utils.sleep(500); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0890.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0900 - *des:1、启动应用 - 2、复制原本不同字体的文本后粘贴到其他内容 - 中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0900', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0900.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0900"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0900')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0900")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0900.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0910 - *des:1、启动应用 - 2、清空输入框内容 - 3、重新输入文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0910', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0910.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0910"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0910')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0910.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0920 - *des:1、启动应用 - 2、清空输入框内容 - 4、重新输入图文内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0920', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0920.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0920"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0920')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0920.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0930 - *des:1、启动应用 - 2、复制文本后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0930', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0930.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0930"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0930')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0930")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0930.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0940 - *des:1、启动应用 - 2、复制图文后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0940', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0940.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0940"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0940')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(500); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0940")); - await richEditor2?.click(); - await Utils.sleep(500); - await richEditor2?.click(); - await Utils.sleep(500); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0940.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0950 - *des:1、启动应用 - 2、复制原本不同字体的文本后粘贴到其他内容 - 中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0950', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0950.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0950"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0950')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0950")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0950.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0960 - *des:1、启动应用 - 2、清空输入框内容 - 3、重新输入文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0960', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0960.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0960"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0960')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0960.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0970 - *des:1、启动应用 - 2、清空输入框内容 - 4、重新输入图文内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0970', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0970.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0970"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0970')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0970.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0980 - *des:1、启动应用 - 2、复制文本后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0980', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0980.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0980"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0980')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0980")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0980.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0990 - *des:1、启动应用 - 2、复制图文后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0990', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0990.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0990"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface0990')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(500); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface0990")); - await richEditor2?.click(); - await Utils.sleep(500); - await richEditor2?.click(); - await Utils.sleep(500); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_0990.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1000 - *des:1、启动应用 - 2、复制原本不同字体的文本后粘贴到其他内容 - 中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1000', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1000.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1000"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1000')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface1000")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1000.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1010 - *des:1、启动应用 - 2、清空输入框内容 - 3、重新输入文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1010.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1010"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1010')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1010.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1020 - *des:1、启动应用 - 2、清空输入框内容 - 4、重新输入图文内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1020.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1020"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1020')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1020.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1030 - *des:1、启动应用 - 2、复制文本后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1030.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1030"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1030')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface1030")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1030.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1040 - *des:1、启动应用 - 2、复制图文后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1040.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1040"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1040')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(500); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface1040")); - await richEditor2?.click(); - await Utils.sleep(500); - await richEditor2?.click(); - await Utils.sleep(500); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1040.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1050 - *des:1、启动应用 - 2、复制原本不同字体的文本后粘贴到其他内容 - 中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1050.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1050"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1050')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface1050")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1050.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1060 - *des:1、启动应用 - 2、清空输入框内容 - 3、重新输入文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1060', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1060.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1060"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1060')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1060.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1070 - *des:1、启动应用 - 2、清空输入框内容 - 4、重新输入图文内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1070', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1070.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1070"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1070')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1070.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1080 - *des:1、启动应用 - 2、复制文本后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1080', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1080.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1080"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1080')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface1080")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1080.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1090 - *des:1、启动应用 - 2、复制图文后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1090', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1090.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1090"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1090')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(500); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface1090")); - await richEditor2?.click(); - await Utils.sleep(500); - await richEditor2?.click(); - await Utils.sleep(500); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1090.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1100 - *des:1、启动应用 - 2、复制原本不同字体的文本后粘贴到其他内容 - 中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1100', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1100.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1100"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1100')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface1100")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1100.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1110 - *des:1、启动应用 - 2、清空输入框内容 - 3、重新输入文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1110', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1110.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1110"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1110')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1110.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1120 - *des:1、启动应用 - 2、清空输入框内容 - 4、重新输入图文内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1120', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1120.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1120"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1120')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1120.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1130 - *des:1、启动应用 - 2、复制文本后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1130', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1130.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1130"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1130')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface1130")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1130.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1140 - *des:1、启动应用 - 2、复制图文后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1140', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1140.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1140"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1140')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(500); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface1140")); - await richEditor2?.click(); - await Utils.sleep(500); - await richEditor2?.click(); - await Utils.sleep(500); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1140.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1150 - *des:1、启动应用 - 2、复制原本不同字体的文本后粘贴到其他内容 - 中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1150', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1150.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1150"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1150')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface1150")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1150.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1160 - *des:1、启动应用 - 2、清空输入框内容 - 3、重新输入文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1160', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1160.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1160"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1160')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1160.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1170 - *des:1、启动应用 - 2、清空输入框内容 - 4、重新输入图文内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1170', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1170.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1170"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1170')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1170.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1180 - *des:1、启动应用 - 2、复制文本后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1180', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1180.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1180"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1180')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface1180")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1180.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1190 - *des:1、启动应用 - 2、复制图文后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1190', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1190.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1190"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1190')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(500); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface1190")); - await richEditor2?.click(); - await Utils.sleep(500); - await richEditor2?.click(); - await Utils.sleep(500); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1190.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1200 - *des:1、启动应用 - 2、复制原本不同字体的文本后粘贴到其他内容 - 中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1200', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1200.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1200"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1200')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface1200")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1200.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1210 - *des:1、启动应用 - 2、清空输入框内容 - 3、重新输入文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1210', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1210.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1210"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1210')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1210.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1220 - *des:1、启动应用 - 2、清空输入框内容 - 4、重新输入图文内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1220', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1220.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1220"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1220')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1220.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1230 - *des:1、启动应用 - 2、复制文本后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1230', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1230.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1230"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1230')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface1230")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1230.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1240 - *des:1、启动应用 - 2、复制图文后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1240', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1240.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1240"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1240')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(500); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface1240")); - await richEditor2?.click(); - await Utils.sleep(500); - await richEditor2?.click(); - await Utils.sleep(500); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1240.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1250 - *des:1、启动应用 - 2、复制原本不同字体的文本后粘贴到其他内容 - 中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1250', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1250.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1250"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1250')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface1250")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1250.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1260 - *des:1、启动应用 - 2、清空输入框内容 - 3、重新输入文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1260', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1260.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1260"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1260')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1260.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1270 - *des:1、启动应用 - 2、清空输入框内容 - 4、重新输入图文内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1270', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1270.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1270"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1270')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1270.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1280 - *des:1、启动应用 - 2、复制文本后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1280', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1280.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1280"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1280')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface1280")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1280.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1290 - *des:1、启动应用 - 2、复制图文后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1290', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1290.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1290"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1290')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(500); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface1290")); - await richEditor2?.click(); - await Utils.sleep(500); - await richEditor2?.click(); - await Utils.sleep(500); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1290.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1300 - *des:1、启动应用 - 2、复制原本不同字体的文本后粘贴到其他内容 - 中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1300', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1300.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1300"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1300')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface1300")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1300.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1310 - *des:1、启动应用 - 2、清空输入框内容 - 3、重新输入文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1310', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1310.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1310"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1310')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1310.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1320 - *des:1、启动应用 - 2、清空输入框内容 - 4、重新输入图文内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1320', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1320.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1320"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1320')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_1); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1320.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1330 - *des:1、启动应用 - 2、复制文本后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1330', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1330.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1330"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1330')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface1330")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1330.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1340 - *des:1、启动应用 - 2、复制图文后粘贴到不同字体的文字中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1340', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1340.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1340"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1340')); - await rich.click(); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(500); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(500); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface1340")); - await richEditor2?.click(); - await Utils.sleep(500); - await richEditor2?.click(); - await Utils.sleep(500); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1340.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1350 - *des:1、启动应用 - 2、复制原本不同字体的文本后粘贴到其他内容 - 中,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1350', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1350.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1350"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1350')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let richEditor2 = await driver.findComponent(ON.id("ComponentTextRicheditorInterface1350")); - await richEditor2?.click(); - await Utils.sleep(1000); - await richEditor2?.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1350.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1360 - *des:1、启动应用 - 2、输入图文内容 - 3、长按选择部分文字内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1360', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1360.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1360"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1360')); - await rich.longClick(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1360.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1380 - *des:1、启动应用 - 2、输入一段图文内容 - 3、长按图片位置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1380', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1380.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1380"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1380')); - await rich.longClick(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1380.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1400 - *des:1、启动应用 - 2、输入一段图文内容 - 3、长按选中图文内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1400', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1400.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1400"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorInterface1400')); - await rich.click(); - await Utils.sleep(500); - let selectBtn = await driver.findComponent(ON.id('select')); - await selectBtn.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_INTERFACE_1400.`); - done(); - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcingTests.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcingTests.test.ets deleted file mode 100644 index 297c9628..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcingTests.test.ets +++ /dev/null @@ -1,209 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 Settings from '../model/Settings' -import windowSnap from '../model/snapShot' -import Logger from '../model/Logger' -import Utils from '../model/Utils' -import { Driver, ON, On } from '@ohos.UiTest' -import { KeyCode } from '@kit.InputKit' - -/* - * SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0001:KEYBOARDREINFORCING相关用例 - * - * 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 ComponentTextRicheditorKeyboardReinForcingTests() { - - describe('ComponentTextRicheditorKeyboardReinForcingTests', () => { - - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0001 - *des:1、点击RichEditor组件,激活软键盘 - 2、观察软键盘右下角回车键,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0001', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0001 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0001") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorKeyboardReinForcing0001')); - await rich.click() - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0001.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0002 - *des:1、点击RichEditor组件,激活软键盘 - 2、观察软键盘右下角回车键,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0002', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0002 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0002") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorKeyboardReinForcing0002')); - await rich.click() - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0002.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0003 - *des:1、点击RichEditor组件,激活软键盘 - 2、观察软键盘右下角回车键,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0003', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0003 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0003") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorKeyboardReinForcing0003')); - await rich.click() - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0003.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0004 - *des:1、点击RichEditor组件,激活软键盘 - 2、观察软键盘右下角回车键,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0004', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0004 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0004") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorKeyboardReinForcing0004')); - await rich.click() - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0004.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0012 - *des:1、设置onSubmit回调 - 2、点击RichEditor组件,拉起软键盘 - 3、动态切换EnterKeyType - 4、点击软键盘回车键,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0012', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0012 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0012") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorKeyboardReinForcing0012')); - await rich.click(); - await Utils.sleep(1000); - let switchType = await driver.findComponent(ON.id('switchType')); - await switchType.click(); - await Utils.sleep(1000); - let rich2 = await driver.findComponent(ON.id('ComponentTextRicheditorKeyboardReinForcing0012')); - await rich2.click(); - await Utils.sleep(1000); - await driver.triggerKey(2054); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0012.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0013 - *des:1、设置onSubmit回调 - 2、收起软键盘 - 3、动态切换EnterKeyTypo - 4、拉起软键盘 - 5、点击软键盘回车键,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0013', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0013 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0013") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorKeyboardReinForcing0013')); - await rich.click(); - await Utils.sleep(1000); - let switchType = await driver.findComponent(ON.id('switchType')); - await switchType.click(); - await Utils.sleep(1000); - let rich2 = await driver.findComponent(ON.id('ComponentTextRicheditorKeyboardReinForcing0013')); - await rich2.click(); - await Utils.sleep(1000); - await driver.triggerKey(2054); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0013.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0015 - *des:1、设置 onsubmit回调 - 2、动态切换EnterKeyType类型 - 3、点击键盘 Enter键,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0015', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0015start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0015") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorKeyboardReinForcing0015')); - await rich.click(); - await Utils.sleep(1000); - let switchType = await driver.findComponent(ON.id('switchType')); - await switchType.click(); - await Utils.sleep(1000); - let rich2 = await driver.findComponent(ON.id('ComponentTextRicheditorKeyboardReinForcing0015')); - await rich2.click(); - await Utils.sleep(1000); - await driver.triggerKey(2054); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_KEYBOARDREINFORCING_0015.`); - done(); - }) - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacingTests.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacingTests.test.ets deleted file mode 100644 index 140efa8e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacingTests.test.ets +++ /dev/null @@ -1,261 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 Settings from '../model/Settings' -import windowSnap from '../model/snapShot' -import Logger from '../model/Logger' -import Utils from '../model/Utils' -import { Driver, ON, On } from '@ohos.UiTest' -import { KeyCode } from '@kit.InputKit' - -/* - * SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING:LINEHEIGHT&LETTERSPACING相关用例 - * - * 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 ComponentTextRicheditorLineHeightLetterSpacingTests() { - - describe('ComponentTextRicheditorLineHeightLetterSpacingTests', () => { - - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0014 - *des:1、添加RichEditor组件 - 2、设置lineHeight值为10, letter- spacing值 - 为-100,输入纯文本内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHTLETTERSPACING_0014', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0014 start.`); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0014") - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0014.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0014 - *des:1、添加RichEditor组件 - 2、设置lineHeight值为30, letter- spacing - 值为30 - 3、onIMEInputComplete接口调用获取 - lineHeight、 letter- spacing属性,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHTLETTERSPACING_0019', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0014 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0019") - await Utils.sleep(2000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLineHeightLetterSpacing0019")); - await richeditor.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_A); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0019.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0020 - *des:1、添加RichEditor组件 - 2、设置lineHeight值为30, letter- spacing - 值为30 - 3、aboutToDelete接口调用获取lineHeight、 - letter- spacing属性,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHTLETTERSPACING_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0020 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0020") - await Utils.sleep(2000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLineHeightLetterSpacing0020")); - await richeditor.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_A); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_A); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0020.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0021 - *des:1、你从\ Icnual torsent - 2、设置lineHeight值为30, letter- spacing - 值为30 - 3、onSelect接口调用获取lineHeight、 - letter- spacing属性,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHTLETTERSPACING_0021', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0021 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0021") - await Utils.sleep(2000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLineHeightLetterSpacing0021")); - await richeditor.longClick(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0021.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0022 - *des:1、添加RichEditor组件 - 2、设置lineHeight值为30, letter- spacing - 值为30 - 3、getTypingStyle接口调用获取lineHeight - 、 letter- spacing属性,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHTLETTERSPACING_0022', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0022 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0022") - await Utils.sleep(2000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLineHeightLetterSpacing0022")); - await richeditor.click(); - await Utils.sleep(1000); - let getStyles = await driver.findComponent(ON.id("getStyles")); - await getStyles.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0022.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0023 - *des:1、添加RichEditor组件 - 2、设置lineHeight值为30, letter- spacing - 值为30 - 3、getSpans接口调用获取lineHeight、 - letter- spacing属性,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHTLETTERSPACING_0023', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0023 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0023") - await Utils.sleep(2000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLineHeightLetterSpacing0023")); - await richeditor.click(); - await Utils.sleep(1000); - let getStyles = await driver.findComponent(ON.id("getStyles")); - await getStyles.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0023.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0024 - *des:1、添加RichEditor组件 - 2、设置lineHeight值为30, letter- spacing - 值为30 - 3、 getsolection接口调用获取lineHeight、 - letter- spacing属性,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHTLETTERSPACING_0024', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0024 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0024") - await Utils.sleep(2000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLineHeightLetterSpacing0024")); - await richeditor.click(); - await Utils.sleep(1000); - let getStyles = await driver.findComponent(ON.id("getStyles")); - await getStyles.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0024.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0025 - *des:1、添加RichEditor组件 - 2、设置lineHeight值为30, letter- spacing - 值为30 - 3、setTypingStyle接口调用获取lineHeight - 、 letter- spacing属性,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHTLETTERSPACING_0025', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0025 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0025") - await Utils.sleep(2000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLineHeightLetterSpacing0025")); - await richeditor.click(); - await Utils.sleep(1000); - let getStyles = await driver.findComponent(ON.id("getStyles")); - await getStyles.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0025.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0026 - *des:1、添加RichEditor组件 - 2、设置lineHeight值为30, letter- spacing - 值为30 - 3、updateSpanStyle接口调用获取lineHeight| - 、 letter- spacing属性,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHTLETTERSPACING_0026', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0026 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0026") - await Utils.sleep(2000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLineHeightLetterSpacing0026")); - await richeditor.click(); - await Utils.sleep(1000); - let getStyles = await driver.findComponent(ON.id("getStyles")); - await getStyles.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LINEHEIGHT&LETTERSPACING_0026.`); - done(); - }) - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectalls.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectalls.test.ets deleted file mode 100644 index af1feae3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectalls.test.ets +++ /dev/null @@ -1,647 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 Settings from '../model/Settings' -import windowSnap from '../model/snapShot' -import Logger from '../model/Logger' -import Utils from '../model/Utils' -import { Driver, ON, On } from '@ohos.UiTest' -import { KeyCode } from '@kit.InputKit' - -/* - * SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0001:长按选中相关用例 - * - * 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 ComponentTextRicheditorLongPresstoselectalls() { - - describe('ComponentTextRicheditorLongPresstoselectalls', () => { - - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0001 - *des:1、设置onLongPress回调函数里setSelection(1,2,{menuPolicy: MenuPolicy.SHOW }) - 2、长按富文本内任意位置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0001', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0001 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0001") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0001")); - await richeditor.click(); - await Utils.sleep(1000) - let selectBtn = await driver.findComponent(ON.id('select')); - await selectBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0001.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0002 - *des:1、设置onLongPress回调函数里setSelection(1,2,{menuPolicy: MenuPolicy.HIDE }) - 2、长按富文本内任意位置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0002', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0002 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0002") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0002")); - await richeditor.click(); - await Utils.sleep(1000) - let selectBtn = await driver.findComponent(ON.id('select')); - await selectBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0002.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0003 - *des:1、设置onLongPress回调函数里setSelection(1,2,{menuPolicy: MenuPolicy.DEFAULT }) - 2、长按富文本内任意位置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0003', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0003 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0003") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0003")); - await richeditor.click(); - await Utils.sleep(1000) - let selectBtn = await driver.findComponent(ON.id('select')); - await selectBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0003.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0004 - *des:1、设置onLongPress回调函数里setSeleotion(1,2,{menuPolicy: SHOW }) - 2、长按富文本内任意位置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0004', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0004 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0004") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0004")); - await richeditor.click(); - await Utils.sleep(1000) - await richeditor.click(); - await Utils.sleep(1000) - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0004.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0005 - *des:1、设置onLongPress回调函数里setSelection(1,2,{menvuPolicy: SHOW }) - 2、长按富文本内任意位置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0005', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0005 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0005") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0005")); - await richeditor.click(); - await Utils.sleep(1000) - await richeditor.click(); - await Utils.sleep(1000) - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0005.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0006 - *des:1、设置onLongPress回调函数里setSelection(1, 2,{menuPolicy: SHOW }) - 2、长按富文本内任意位置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0006', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0006 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0006") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0006")); - await richeditor.click(); - await Utils.sleep(1000) - await richeditor.click(); - await Utils.sleep(1000) - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0006.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0007 - *des:1、设置onLongPress回调函数里setSelection(1, 2,{menuPolicy: SHOW }) - 2、长按富文本内任意位置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0007', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0006 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0007") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0007")); - await richeditor.click(); - await Utils.sleep(1000) - await richeditor.click(); - await Utils.sleep(1000) - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0007.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0008 - *des:1、设置onLongPress回调函数里setSelection(1,2,{menuPolicy: MenuPolicy.HIDE }) - 2、长按富文本内任意位置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0008', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0008 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0008") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0008")); - await richeditor.click(); - await Utils.sleep(1000) - let selectBtn = await driver.findComponent(ON.id('select')); - await selectBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0008.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0009 - *des:1、设置onLongPress回调函数里setSelection(-1,0,{menuPolicy: MenuPolicy.SHOW }) - 2、长按富文本内任意位置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0009', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0009 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0009") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0009")); - await richeditor.click(); - await Utils.sleep(1000) - let selectBtn = await driver.findComponent(ON.id('select')); - await selectBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0009.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0010 - *des:1、设置onLongPress回调函数里setSelection(2,1,{menuPolicy: MenuPolicy.SHOW }) - 2、长按富文本内任意位置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0010', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0010 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0010") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0010")); - await richeditor.click(); - await Utils.sleep(1000) - let selectBtn = await driver.findComponent(ON.id('select')); - await selectBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0010.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0011 - *des:1、设置onLongPress回调函数里setSelection(1, 1,(menuPolicy: SHOW )) - 2、长按富文本内任意位置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0011', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0011 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0011") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0011")); - await richeditor.click(); - await Utils.sleep(1000) - await richeditor.click(); - await Utils.sleep(1000) - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0011.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0012 - *des:1、设置onLongPress回调函数里setSelection(1, 1,{menuPolicy: HIDE }) - 2、长按富文本内任意位置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0012', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0012 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0012") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0012")); - await richeditor.click(); - await Utils.sleep(1000) - let selectBtn = await driver.findComponent(ON.id('select')); - await selectBtn.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0012.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0013 - *des:1、设置onLongPress回调函数里setSelection(1,2, - {menuPolicy:-1 }) - 2、长按富文本内任意位置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0013', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0013 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0013") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0013")); - await richeditor.click(); - await Utils.sleep(1000) - await richeditor.click(); - await Utils.sleep(1000) - let selectBtn = await driver.findComponent(ON.id('select')); - await selectBtn.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0012.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0014 - *des:1、设置onLongPress回调函数里setSelection(1, 2, - (menuPolicy: 3 }) - 2、长按富文本内任意位置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0014', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0014 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0014") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0014")); - await richeditor.click(); - await Utils.sleep(1000) - await richeditor.click(); - await Utils.sleep(1000) - let selectBtn = await driver.findComponent(ON.id('select')); - await selectBtn.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0014.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0015 - *des:1、设置onLongPress回调函数里setSelection(1, 2, - (menyPolicy: undefined }) - 2、长按富文本内任意位置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0015', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0015 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0015") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0015")); - await richeditor.click(); - await Utils.sleep(1000) - let selectBtn = await driver.findComponent(ON.id('select')); - await selectBtn.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0015.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0016 - *des:1、设置onLongPress回调函数里setSelection(-1,1000, - {menvaPolicy: HIDE }) - 2、长按富文本内任意位置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0016', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0016 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0016") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0016")); - await richeditor.click(); - await Utils.sleep(1000) - let selectBtn = await driver.findComponent(ON.id('select')); - await selectBtn.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0016.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0017 - *des:1、设置onLongPress回调函数里setSelection(-1, 1000, - {menuPolicy: NEVER }) - 2、长按富文本内任意位置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0017', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0017 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0017")); - await richeditor.click(); - await Utils.sleep(1000) - let selectBtn = await driver.findComponent(ON.id('select')); - await selectBtn.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0017.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0017_157 - *des:1、设置onLongPress回调函数里setSelection(-1, 0. - {menuPolicy: SHOW }) - 2、长按富文本内任意位置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0017_157', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0017_157 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_157") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0017_157")); - await richeditor.click(); - await Utils.sleep(1000) - let selectBtn = await driver.findComponent(ON.id('select')); - await selectBtn.click(); - await richeditor.click(); - await Utils.sleep(1000) - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0017_157.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0017_157_029 - *des:1、设置onLongPress回调函数里setSeleotion(2, 1, - {menuPolicy: HIDE}) - 2、长按富文本内任意位置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0017_157_029', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0017_157_029 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_157_029") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0017_157_029")); - await richeditor.click(); - await Utils.sleep(1000) - await richeditor.click(); - await Utils.sleep(1000) - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0017_157_029.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0017_429 - *des:1、设置onLongPress回调函数里setSelection(-1, -1, - {menuPolicy: default }) - 2、长按富文本内任意位置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0017_429', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0017_429 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_429") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0017_429")); - await richeditor.click(); - await Utils.sleep(1000) - await richeditor.click(); - await Utils.sleep(1000) - let selectAll = await driver.findComponent(ON.text('全选')) - await selectAll?.click() - await Utils.sleep(1000) - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0017_429.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0017_429_005 - *des:1、设置onLongPress回调函数里setSelection(-1, -1, - {menuPolicy: default }) - 2、长按富文本内任意位置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0017_429_005', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0017_429_005 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_429_005") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0017_429_005")); - await richeditor.click(); - await Utils.sleep(1000) - await richeditor.click(); - await Utils.sleep(1000) - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0017_429_005.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0018 - *des:1、设置onLongPress回调函数里setSelection(-1, -1, - {menuPolicy: SHOW }) - 2、长按富文本内任意位置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0018', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0018 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0018") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0018")); - await richeditor.click(); - await Utils.sleep(1000) - let selectBtn = await driver.findComponent(ON.id('select')); - await selectBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0018.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0019 - *des:1、设置onLongPress回调函数里setSelection(-1, -1, - {menuPolicy: SHOW }) - 2、长按富文本内任意位置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0019', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0019 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0019") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0019")); - await richeditor.click(); - await Utils.sleep(1000) - let selectBtn = await driver.findComponent(ON.id('select')); - await selectBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0019.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0020 - *des:1、设置onLongPress回调函数里setSelection(-1, -1, - {menuPolicy: ALWAYS }) - 2、长按富文本内任意位置,再拖动手柄,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0020', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0020 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0020") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0020")); - await richeditor.click(); - await Utils.sleep(1000) - let selectBtn = await driver.findComponent(ON.id('select')); - await selectBtn.click(); - await Utils.sleep(1000); - await richeditor.dragTo(richeditor); - await Utils.sleep(2000) - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0020.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0021 - *des:1、设置onLongPress回调函数里setSelection(1,2, - {menuPolicy: never }) - 2、长按富文本内任意位置触发接口调用 - 3、双击选区外其他文字内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0021', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0021 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0021") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0021")); - await richeditor.click(); - await Utils.sleep(1000) - let selectBtn = await driver.findComponent(ON.id('select')); - await selectBtn.click(); - await Utils.sleep(1000); - await richeditor.dragTo(richeditor); - let richeditor1 = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0021")); - await richeditor1.click(); - await Utils.sleep(1000); - await richeditor1.click(); - await Utils.sleep(1000); - await richeditor1.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0021.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0022 - *des:1、设置onLongPress回调函数里setSelection(-1, -1, - {menuPolicy: default }) - 2、长按富文本内任意位置,再拖动手柄容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_LONGPRESSTOSELECTAIL_0022', 0, async (done: Function) => { - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0022 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0022") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0022")); - await richeditor.click(); - await Utils.sleep(1000) - let selectBtn = await driver.findComponent(ON.id('select')); - await selectBtn.click(); - await Utils.sleep(1000); - let richeditor1 = await driver.findComponent(ON.id("ComponentTextRicheditorLongPresstoselectall0022")); - await richeditor1.click(); - await Utils.sleep(1000) - await richeditor1.click(); - await Utils.sleep(1000) - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `ComponentTextRicheditorLongPresstoselectall0022.`); - done(); - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChangeTests.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChangeTests.test.ets deleted file mode 100644 index f5922510..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChangeTests.test.ets +++ /dev/null @@ -1,236 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 Settings from '../model/Settings' -import windowSnap from '../model/snapShot' -import Logger from '../model/Logger' -import Utils from '../model/Utils' -import { Driver, ON, On } from '@ohos.UiTest' -import { KeyCode } from '@kit.InputKit' - -/* - * SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE:onwillchange相关用例 - * - * 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 ComponentTextRicheditorOnWillChangeTests() { - - describe('ComponentTextRicheditorOnWillChangeTests', () => { - - /** - * NO.SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0001 - *des:2、富文本组件输入框无法输入, onWillChange回调中的replacedSpans中的值正常, onDidChang无回调值|,验证效果 - */ - it('SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0001', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0001 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0001") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorOnWillChange0001")); - await richeditor.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0001.`); - done(); - }) - /** - * NO.SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0002 - *des:1、onWillChange返回值设置为 false. - 2、从其他组件拖拽文本内容到此RichEditor组件中(考虑手动 - 拖拽和鼠标拖拽),验证效果 - */ - it('SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0002', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0002 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0002") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorOnWillChange0002")); - let textArea = await driver.findComponent(ON.id('TextArea')); - await textArea.click(); - await Utils.sleep(1000); - await textArea.click() - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')) - await selectAll?.click(); - await Utils.sleep(1000); - await textArea.dragTo(richeditor) - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0002.`); - done(); - }) - /** - * NO.SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0003 - *des:1、onWillChange返回值设置为 false - 2、点击AddTextSpan输入字符,验证效果 - */ - it('SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0003', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0003 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0003") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorOnWillChange0003")); - let changeBtn = await driver.findComponent(ON.id("changeFeature")); - await changeBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0003.`); - done(); - }) - /** - * NO.SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0004 - *des:1、onWillChange返回值设置为 true - 2、输入文本内容,验证效果 - */ - it('SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0004', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0004 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0004") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorOnWillChange0004")); - Logger.info('TEST', `SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0004.`+richeditor); - await richeditor.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0004.`); - done(); - }) - /** - * NO.SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0005 - *des:1、onWillChange返回值设置为 true - 2、输入文本内容,验证效果 - */ - it('SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0005', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0005start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0005") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorOnWillChange0005")); - Logger.info('TEST', `SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0005.`+richeditor); - await richeditor.click(); - await Utils.sleep(1000); - let deleteBtn = await driver.findComponent(ON.id("delete")); - await deleteBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0005.`); - done(); - }) - /** - * NO.SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0006 - *des:1、onWillChange返回值设置为 true - 2、输入文本内容 - 3、软/硬(BackSpace/ delete) 键盘删除部分文本,看预期效果 - */ - it('SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0006', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0006start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0006") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorOnWillChange0006")); - Logger.info('TEST', `SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0006.`+richeditor); - await richeditor.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0006.`); - done(); - }) - /** - * NO.SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0007 - *des:1、onWillChange返回值设置为 true - 2、输入文本内容 - 3、软/硬(BackSpace/ delete) 键盘删除部分文本,看预期效果 - */ - it('SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0007', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0007start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0007") - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorOnWillChange0007")); - Logger.info('TEST', `SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0007.`+richeditor); - await richeditor.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(2641); - await Utils.sleep(100); - await driver.triggerKey(2641); - await Utils.sleep(100); - await driver.triggerKey(2641); - await Utils.sleep(100); - await driver.triggerKey(2641); - await Utils.sleep(100); - await driver.triggerKey(2641); - await Utils.sleep(100); - await driver.triggerKey(2641); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UT_COMPONENT_TEXT_RICHEDITOR_ONWILLCHANGE_0007.`); - done(); - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholderTests.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholderTests.test.ets deleted file mode 100644 index 18c12f98..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholderTests.test.ets +++ /dev/null @@ -1,2052 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 Settings from '../model/Settings' -import windowSnap from '../model/snapShot' -import Logger from '../model/Logger' -import Utils from '../model/Utils' -import { Driver, ON, On } from '@ohos.UiTest' -import { KeyCode } from '@kit.InputKit' - -/* - * "SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0001":placeholder相关用例 - * - * 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 ComponentTextRicheditorPlaceholderTests() { - - describe('ComponentTextRicheditorPlaceholderTests', () => { - - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0001 - *des:1、添加RichEditor组件. - 2、接口中设置 placeholder的 value为‘’这是提示文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0001', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0001 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0001"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0001.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0002 - *des:"1、添加RichEditor组件,设置较小长宽 - 2、接口中设置 placeholder的 value为‘前面章节介绍了如何创 - 建一个自定义组件。该自定义组件内部红结构固定,仅与使用方 - 进行数据传递。 Ark UI还提供了一种更轻量的VI元素复用机制 - ④vilder,④vilder所装饰的函数遵循 build()函数语法规则, - 开发者可以将重复使用的UI元素抽象成一个方法,在build方法 - 里调用。’" - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0002', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0002 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0002"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0002.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0003 - *des:"1、添加RichEditor组件 - 2、接口中设置 placeholder的 value为“”" - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0003', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0003 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0003"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0003.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0004 - *des:"1、添加RichEditor组件 - 2、接口中设置 placeholder的 value为“”" - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0004', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0004 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0004"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0004.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0005 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 value为“回头看了附近的 - hfkdshf \ nhfkdf& ldfkklf \n^7#@32345 () --#999@“ - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0005', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0005 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0005"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0005.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0006 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 value为正确资源类型例: - $r( app.string.common) - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0006', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0006 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0006"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0006.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0007 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 value为正确资源类型例: $x(“ - app. media. startIcon) - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0007', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0007 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0007"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0007.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0008 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 size为“20gx” - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0008', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0008 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0008"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0008.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0009 - *des:1、添加RichEditor组件,设置较小长宽 - 2、接口中设置 placeholder的 size为“100px“ - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0009', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0009 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0009"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0009.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0010 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 size为‘10’ - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0010 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0010"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0010`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0011 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 size为“23.40” - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0011', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0011 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0011"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0011`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0012 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 size为‘50fp’ - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0012', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0012 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0012"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0012`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0013 - *des:1、添加RichEditor组件。 - 2、接口中设置 placeholder的 size为‘50abedefg’ - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0013', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0013 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0013"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0013`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0014 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 size为“50dp” - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0014', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0014 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0014"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0014`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0015 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 size为‘100%’ - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0015', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0015 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0015"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0015`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0016 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 size为“上班 qwer$k\n” - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0016', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0016 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0016"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0016`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0017 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 size为“-1px“ - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0017', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0017 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0017"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0017`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0018 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 size为“ Opx“ - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0018', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0018 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0018"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0018`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0019 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 size为“0b1010” - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0019', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0019 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0019"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0019`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0020 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 size为20 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0020 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0020"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0020`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0021 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 size为-10 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0021', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0021 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0021"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0021`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0022 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 size为0b1010 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0022', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0022 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0022"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0022`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0023 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 size为23.40 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0023', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0023 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0023"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0023`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0024 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 size为0x22 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0024', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0024 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0024"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0024`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0025 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 size为0 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0025', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0025 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0025"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0025`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0026 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 size为$r( - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0026', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0026 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0026"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0026`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0027 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 size为$r(“ app. media. startIcon - “) - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0027', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0027 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0027"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0027`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0028 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的FontStyle为FontStyle. Italic - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0028', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0028 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0028"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0028`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0029 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的FontStyle为FontStyle. Normal - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0029', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0029 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0029"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0029`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0030 - *des:1、添加RichEditor组件. - 2、接口中设置 placeholder的 weight为“900” - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0030 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0030"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0030`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0031 - *des:1、添加RichEditor组件. - 2、接口中设置 placeholder的 weight为“400” - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0031', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0031 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0031"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0031`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0032 - *des:1、添加RichEditor组件. - 2、接口中设置 placeholder的 weight为“100” - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0032', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0032 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0032"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0032`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0033 - *des:1、添加RichEditor组件. - 2、接口中设置 placeholder的 weight为“-1” - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0033', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0033 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0033"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0033`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0034 - *des:1、添加RichEditor组件. - 2、接口中设置 placeholder的 weight为“0” - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0034', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0034 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0034"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0034`); - done(); - }) - - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0035 - *des:1、添加RichEditor组件. - 2、接口中设置 placeholder的 weight为“1000” - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0035', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0035 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0035"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0035`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0036 - *des:1、添加RichEditor组件. - 2、接口中设置 placeholder的 weight为“901” - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0036', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0036 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0036"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0036`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0037 - *des:1、添加RichEditor组件. - 2、接口中设置 placeholder的 weight为“100.6” - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0037', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0037 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0037"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0037`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0038 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 weight为“0b1100100“ - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0038', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0038 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0038"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0038`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0039 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 weight为“ abedefg” - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0039', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0039 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0039"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0039`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0040 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 weight为900 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0040 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0040"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0040`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0041 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 weight为400 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0041', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0041 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0041"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0041`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0042 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 weight为100 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0042', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0042 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0042"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0042`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0043 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 weight为0b1100100 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0043', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0043 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0043"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0043`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0044 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 weight为-100 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0044', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0044 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0044"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0044`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0045 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 weight为0 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0045', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0045 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0045"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0045`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0046 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 weight为1000 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0046', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0046 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0046"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0046`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0047 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 weight为99 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0047', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0047 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0047"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0047`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0048 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 weight为901 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0048', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0048 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0048"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0048`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0049 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 weight为900.6 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0049', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0049 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0049"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0049`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0050 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 weight为100.6 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0050 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0050"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0050`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0051 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 weight为101 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0051', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0051 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0051"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0051`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0052 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 weight为499.9 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0052', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0052 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0052"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0052`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0053 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 weight为FontWeight. Lighter - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0053', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0053 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0053"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0053`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0054 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 weight为FontWeight. Normal - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0054', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0054 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0054"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0054`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0055 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 weight为FontWeight.Regular - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0055', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0055 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0055"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0055`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0056 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 weight为FontWeight. Medium - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0056', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0056 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0056"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0056`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0057 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 weight为FontWeight. Bold - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0057', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0057 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0057"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0057`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0058 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 weight为FontWeight. Bolder - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0058', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0058 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0058"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0058`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0059 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 family为“HarmonyOS Sans“ - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0059', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0059 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0059"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0059`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0060 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 family为‘ abedefg’ - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0060', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0060 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0060"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0060`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0061 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 family为$r(“ - app. string mediunFanilyNane“) - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0061', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0061 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0061"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0061`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0062 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 family为$r(“ - app. media startIcon“) - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0062', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0062 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0062"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0062`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0063 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的fontColor为 Color. Orange - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0063', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0063 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0063"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0063`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0064 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的fontColor为0x0000ff - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0064', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0064 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0064"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0064`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0065 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的fontColor为 Oxffffffeeeee - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0065', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0065 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0065"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0065`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0066 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的fontColor为10000 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0066', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0066 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0066"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0066`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0067 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的fontColor为10000.5 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0067', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0067 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0067"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0067`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0068 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的fontColor为-15 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0068', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0068 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0068"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0068`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0069 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的fontColor为“#00ffff“ - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0069', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0069 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0069"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0069`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0070 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的fontColor为“#ffffff00“ - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0070', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0070 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0070"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0070`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0071 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的fontColor为“ rgb(255.0.255)“ - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0071', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0071 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0071"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0071`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0072 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的fontColor为“ rgba(0,0,255,0.5) - “ - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0072', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0072 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0072"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0072`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0073 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的fontColor为‘#0cccccc“ - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0073', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0073 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0073"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0073`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0074 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的fontColor为“ rgba(255,0,255,2) - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0074', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0074 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0074"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0074`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0075 - *des:1、添加RichEditor组件. - 2、接口中设置 placeholder的fontColor为“ rgb(255,0,300)“ - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0075', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0075 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0075"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0075`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0076 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholdar的fontColor为“# abcdefg“ - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0076', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0076 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0076"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0076`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0077 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的fontColor为$r(“ - app. color. color“) - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0077', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0077 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0077"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0077`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0078 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的fontColor为$r(“ - app. media. startIcon“) - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0078', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0078 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0078"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0078`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0079 - *des:"1、添加RichEditor组件 - 2、添加 button动态改变 font- size, font- weight, font- - style. font- family, fontcolor, value - 3、单次点击 button" - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0079', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0079 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0079"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorPlaceholder0079')) - await Utils.sleep(1000); - let changeBtn = await driver.findComponent(ON.id('changeFeature')) - await changeBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0079`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0079_932 - *des:"1、添加RichEditor组件 - 2、添加 button动态改变 font- size, font- weight, font- - style. font- family, fontcolor, value - 3、单次点击 button" - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0079_932', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0079 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0079_932"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorPlaceholder0079_932')) - await Utils.sleep(1000); - let changeBtn = await driver.findComponent(ON.id('changeFeature')) - await changeBtn.click(); - await Utils.sleep(1000); - await rich.longClick(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0079_932`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0080 - *des:1、添加RichEditor组件 - 2、添加 button动态改变 font- size: font- weight, font- - style. font- family, fontcolor, value - 3、多次连续点击 button - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0080', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0080 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0080"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorPlaceholder0080')) - await Utils.sleep(1000); - let changeBtn = await driver.findComponent(ON.id('changeFeature')) - await changeBtn.click(); - await Utils.sleep(1000); - await changeBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0080`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0081 - *des:1、添加RichEditor组件 - 2、设置 value为“这是提示”,不设置 font - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0081', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0081 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0081"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0081`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0082 - *des:1、添加RichEditor组件 - 2、自定义水印内容 - 3:点击输入框,使输入框获焦 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0082', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0082 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0082"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorPlaceholder0082')); - await Utils.sleep(1000); - let changeText = await driver.findComponent(ON.id('change')); - changeText.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0082`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0083 - *des:1、添加RichEditor组件 - 2、自定义水印内容 - 3、使用鼠标, 使输入框获焦 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0083', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0083 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0083"); - await Utils.sleep(1000); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorPlaceholder0083')); - await Utils.sleep(1000); - let changeText = await driver.findComponent(ON.id('change')); - await changeText.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(1000); - let ponit = await rich.getBoundsCenter(); - await driver.click( ponit.x, ponit.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0083`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0084 - *des:1、添加RichEditor组件 - 2、自定义水印内容 - 3、使用键盘输入内容 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0084', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0084 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0084"); - await Utils.sleep(1000); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorPlaceholder0084')); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0084`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0085 - *des:1、添加RichEditor组件 - 2、自定义水印内容 - 3、长按光标粘贴输入内容 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0085', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0085 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0085"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorPlaceholder0085')); - let changeText = await driver.findComponent(ON.id('change')); - await changeText.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await changeText.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(1000); - let copy = await driver.findComponent(ON.text('复制')); - await copy.click(); - await Utils.sleep(1000); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorPlaceholder0085')); - let ponit = await rich1.getBoundsCenter(); - await driver.click( ponit.x, ponit.y); - await Utils.sleep(100); - await driver.longClick( ponit.x, ponit.y); - await Utils.sleep(100); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0085`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0086 - *des:1、添加RichEditor组件 - 2、自定义水印内容 - 3、拖拽输入内容 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0086', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0086 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0086"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorPlaceholder0086')); - let changeText = await driver.findComponent(ON.id('change')); - await changeText.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await changeText.click(); - await Utils.sleep(100); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(100); - await changeText.dragTo(rich); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(2000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0086`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0087 - *des:1、添加RichEditor组件 - 2、自定义水印内容 - 3、输入内容后键盘清除全部 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0087', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0087 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0087"); - await Utils.sleep(1000); - let changeText = await driver.findComponent(ON.id('change')); - await changeText.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorPlaceholder0087')); - let ponit = await rich1.getBoundsCenter(); - await driver.click( ponit.x, ponit.y); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_F); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_F); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0087`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0088 - *des:1、添加RichEditor组件 - 2、自定义水印内容 - 3、输入内容 - 4、键盘改变光标位置后再清除光标前内容 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0088', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0088 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0088"); - await Utils.sleep(1000); - let changeText = await driver.findComponent(ON.id('change')); - await changeText.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorPlaceholder0088')); - let ponit = await rich1.getBoundsCenter(); - await driver.click( ponit.x, ponit.y); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_F); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_F); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_F); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_F); - await Utils.sleep(100); - await driver.triggerKey(2014); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0088`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0089 - *des:1、添加RichEditor组件 - 2、自定义水印内容 - 3、输入内容后键盘清除全部 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0089', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0089 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0089"); - await Utils.sleep(1000); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorPlaceholder0089')); - let ponit = await rich1.getBoundsCenter(); - await driver.doubleClick( ponit.x, ponit.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0089`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0090 - *des:1、添加RichEditor组件 - 2、自定义水印内容 - 3、长按水印 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0090', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0090 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0090"); - await Utils.sleep(1000); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorPlaceholder0090')); - let ponit = await rich1.getBoundsCenter(); - await driver.longClick( ponit.x, ponit.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0090`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0091 - *des:1、添加RichEditor组件 - 2、RichEditor( this. options) - . onReady(() =>{}中预置addTextSpan, - addImageSpan, addSymbolSpan, addBuilderSpan - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0091', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0091 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0091"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0091`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0092 - *des:1、添加RichEditor组件 - 2、自定义水印内容 - 3、RichEditor( this. options) - . onReady(()=>{}中预置addTextSpan, - addInageSpan, addSymbolSpan, addBuilderSpan - 3、键盘删除预置 span - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0092', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0092 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0092"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorPlaceholder0092')); - let ponit = await rich.getBoundsCenter(); - await driver.click( ponit.x, ponit.y); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0092`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0093 - *des:1、添加RichEditor组件 - 2、自定义水印内容 - 3、RichEditor( this. options) - . onReady(() =>{}中预置addTextSpan, - addImageSpan, addSymbolSpan, addBuilderSpan - 4、按钮删除全部预置 span(deleteSpans()) - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0093', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0093 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0093"); - await Utils.sleep(1000); - let deleteBtn = await driver.findComponent(ON.id('delete')); - await deleteBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0093`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0094 - *des:1、添加RichEditor组件 - 2、自定义水印内容 - 3、通过按钮添加、删除addTextSpan, addImageSpan, - addSymbolSpan, addBuilderSpan - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0094', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0094 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0094"); - await Utils.sleep(1000); - let addBtn = await driver.findComponent(ON.id('add')); - await addBtn.click(); - await Utils.sleep(1000); - let deleteBtn = await driver.findComponent(ON.id('delete')); - await deleteBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0094`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0095 - *des:1、添加RichEditor组件,设置百分比宽高 - 2、自定义水印内容,设置长文本 - 3、切换横竖屏 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0095', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0095 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0095"); - await Utils.sleep(1000); - let addBtn = await driver.findComponent(ON.id('setContent')); - await addBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0095`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0097 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 value为“’这是提示文本” - 3、设置 update Paragraph Style中 textAlim: TextAlim. End - 4、预置 span,内容水平对齐尾部,删除 span观察水印位置 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0097', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0097 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0097"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorPlaceholder0097')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(2015); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0097`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0098 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 value为“”这是提示文本 - 3、设置. align( Aligment. BottomStart) - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0098', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0098 start.`); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0098"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0098`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0099 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 value为‘’这是提示文本 - 3、设置输入内容向右空白缩进 - 4、输入内容后,删除 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0099', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0099 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0099"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorPlaceholder0099')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(2050); - await Utils.sleep(100); - await driver.triggerKey(2050); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_F); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_F); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_0099`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00100 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 value为‘’这是提示文本 - 3、设置 button增加/减小文本宽/高度 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00100', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00100 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00100"); - await Utils.sleep(1000); - let changeBtn = await driver.findComponent(ON.id('changeFeature')); - await changeBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00100`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00101 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 value为‘’这是提示文本 - 3、设置 button增加/减小内边距属性 padding - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00101', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00101 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00101"); - await Utils.sleep(1000); - let changeBtn = await driver.findComponent(ON.id('changeFeature')); - await changeBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00101`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00102 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 value为‘’这是提示文本 - 3、设置 button增加/减小外边距属性 margin - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00102', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00102 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00102"); - await Utils.sleep(1000); - let changeBtn = await driver.findComponent(ON.id('changeFeature')); - await changeBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00102`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00103 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 value为‘’这是提示文本。 - 3、设置 button增加/减小在父容器主轴方向上的基准尺寸 - flexBasis - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00103', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00103 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103"); - await Utils.sleep(1000); - let changeBtn = await driver.findComponent(ON.id('changeFeature')); - await changeBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00103`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00104 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 value为‘’这是提示文本 - 3、设置 button增加/减小水印文本 size大小 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00104', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00104 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00104"); - await Utils.sleep(1000); - let changeBtn = await driver.findComponent(ON.id('changeFeature')); - await changeBtn.click(); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorPlaceholder00104')); - await rich.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00104`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00105 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 value为‘’这是提示文本 - 3、设置 button改变水印文本位置 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00105', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00105 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00105"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorPlaceholder00105')); - await rich.click(); - await Utils.sleep(1000); - let changeBtn = await driver.findComponent(ON.id('changeFeature')); - await changeBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00105`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00103_040 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 value为‘’这是提示文本_ - 3、输入多行文本后,上划文本至底部, 使用 deletespan清空内 - 容 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00103_040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00103_040 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103_040"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorPlaceholder00103_040')); - await rich.click(); - await Utils.sleep(1000); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_F); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_F); - await Utils.sleep(100); - let changeBtn = await driver.findComponent(ON.id('change')); - await changeBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00103_040`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00103_040_934 - *des:1、添加RichEditor组件 - 2、接口中设置 placeholder的 value为。”这是提示文本_ - 3、从其他组件拖拽文本,至水印内容处,移动拖拽文本不松手 - ,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00103_040_934', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00103_040_934 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103_040_934"); - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorPlaceholder00103_040_934')); - let textArea = await driver.findComponent(ON.id('TextArea')); - await textArea.click(); - await Utils.sleep(1000); - await textArea.click() - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')) - await selectAll?.click(); - await Utils.sleep(1000); - await textArea.dragTo(textArea) - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_PLACEHOLDER_00103_040_934`); - done(); - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeysTests.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeysTests.test.ets deleted file mode 100644 index 5adf8f69..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeysTests.test.ets +++ /dev/null @@ -1,1162 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 Settings from '../model/Settings' -import windowSnap from '../model/snapShot' -import Logger from '../model/Logger' -import Utils from '../model/Utils' -import { Driver, ON, On } from '@ohos.UiTest' -import { KeyCode } from '@kit.InputKit' -import { MouseButton } from '@kit.TestKit' - -/* - * SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0010:SHORTKCUTKEYS相关用例 - * - * 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 ComponentTextRicheditorShortKcutKeysTests() { - - describe('ComponentTextRicheditorShortKcutKeysTests', () => { - - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0010 - *des:1、第一个输入框中输入长文本,设置字体样式为红色、料体、较粗;使用快捷键ctrl+c复制ctrl+v粘贴到另一个输入框中 - 2、查看第二个输入框中文本显示,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0010 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0010") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0010')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_A); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_C); - await Utils.sleep(500); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0010_01')); - await rich1.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0010.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0020 - *des:1、第一个输入框中输入三张图片,使用ctrl+A全选后快捷键ctrl+c夏制ctrl+v粘贴到另一个输入框中 - 2、查看第二个输入框中的显示,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0020 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0020") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0020')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_A); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_C); - await Utils.sleep(500); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0020_01')); - await rich1.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0020.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0030 - *des:1、第一个输入框中输入三张图片,选中一张图片后快捷键ctrl+c复制ctrl+v粘贴到另一个输入框中 - 2、查看第二个输入框中的显示,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0030 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0030") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0030')); - await rich.longClick(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_C); - await Utils.sleep(500); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0030_01')); - await rich1.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0030.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0040 - *des:1、在第一个输入框中添加长文本,使用ctrl+A,全选;ctrl+a进行复制 - 2、在第二个输入框中ctrl+V连续十次进行粘贴,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0040 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0040") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0040')); - await rich.click(); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_A); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_C); - await Utils.sleep(500); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0040_01')); - await rich1.click(); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0040.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0050 - *des:1、添加两个输入框,在第一个输入枉中添加长文本,在文本中间按回车进行换行(长文本变成两个自然段),右键点击菜单中复制选项 - 2、在第二个输入框中点击粘贴,粘贴的文本仍未两个自然段保留手动换行,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0050 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0050") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0050')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0050_01')); - await rich1.click(); - await Utils.sleep(1000); - await rich1.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0050.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0060 - *des:1、添加两个输入框,在第一个输入框中添加长文本和图片,使用快捷键ctrl+c进行复制,文本内容,再用快捷键复制图片 - 2、在第二个输入框中ctrl+v粘贴,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0060', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0060 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0060") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0060')); - await rich.longClick(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_C); - await Utils.sleep(500); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0060_01')); - await rich1.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0060.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0070 - *des:1、在第一个输入框中选中文本进行复制 - 2、在第二个输入框中选中一段文本/图片 - 3、ctrl+v进行粘贴操作,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0070', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0070 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0070") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0070')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_A); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_C); - await Utils.sleep(500); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0070_01')); - await rich1.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_A); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0070.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0080 - *des:1、在第一个输入框中输入长本文,手势长按文本弹出菜单栏,点击”复制 - 2、在第二个输入框中手势长按进行粘贴,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0080', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0080 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0080") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0080')); - await rich.click(); - await Utils.sleep(1000); - await rich.click(); - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')); - await selectAll?.click(); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0080_01')); - await rich1.click(); - await Utils.sleep(1000); - await rich1.click(); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0080.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0090 - *des:1、在第一个输入框中输入长本文,使用 ctrl+c夏制文本内容 - 2、在第二个输入框中使用快捷键ctrl+v进行粘贴,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0090', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0090 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0090") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0090')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_A); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_C); - await Utils.sleep(500); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0090_01')); - await rich1.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0090.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0100 - *des:1、在第一个输入框中输入长本文,使用 ctrl+c夏制文本内容 - 2、在第二个输入框中使用快捷键ctrl+v进行粘贴,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0100', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0100 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0100") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0100')); - await rich.longClick(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_C); - await Utils.sleep(500); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0100_01')); - await rich1.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0100.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0110 - *des:1、在第一个输入框中输入长本文,鼠标右键弹出菜单栏,点击复制 - 2、在第二个输入框中使用快捷键ctrl+v进行粘贴,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0110', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0110 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0110") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0110')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_A); - await Utils.sleep(500); - let ponit = await rich.getBoundsCenter(); - await Utils.sleep(1000); - await driver.mouseClick(ponit, MouseButton.MOUSE_BUTTON_RIGHT); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0110_01')); - await rich1.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0110.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0120 - *des:1、在第一个输入框中输入长本文,使用ctrl+c复制文本内容 - 2、在第二个输入框中右键粘贴,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0120', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0120 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0120") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0120')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_A); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_C); - await Utils.sleep(500); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0120_01')); - await rich1.click(); - await Utils.sleep(1000); - let ponit = await rich1.getBoundsCenter(); - await Utils.sleep(1000); - await driver.mouseClick(ponit, MouseButton.MOUSE_BUTTON_RIGHT); - await Utils.sleep(1000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0120.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0130 - *des:1、在第一个输入框中输入图片,鼠标右键弹出菜单栏,点击”复制 - 2、第二个输入框中使用快捷键ctrl+v进行拈贴,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0130', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0130 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0130") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0130')); - await rich.click(); - await Utils.sleep(1000); - let ponit = await rich.getBounds(); - await Utils.sleep(500); - await driver.mouseClick({x:ponit.left+57,y:ponit.top+57}, MouseButton.MOUSE_BUTTON_RIGHT); - await Utils.sleep(500); - let copy = await driver.findComponent(ON.text('复制')); - await copy?.click(); - await Utils.sleep(1000); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0130_01')); - await rich1.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0130.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0140 - *des:1、在第一个输入框中长文本,选中一段文字后,使用ctrl+x剪切 - 2、第二个输入框中使用快捷键ctrl+v进行粘贴,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0140', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0140 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0140") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0140')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_A); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_X); - await Utils.sleep(500); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0140_01')); - await rich1.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0140.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0150 - *des:1、在第一个输入框中输入长文本,选中一段文字后,使用ctrl+x剪切 - 2、再在第一个输入框中选中一段文字,使用ctrl+c复制一段文本 - 3、在第二个输入框中使用ctrl+v粘贴一段文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0150', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0150 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0150") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0150')); - await rich.longClick(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_X); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_A); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_C); - await Utils.sleep(500); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0150_01')); - await rich1.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0150.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0160 - *des:1、在第一个输入框中输入长文本,选中一段文字后,使用ctrl+x剪切 - 2、再在第一个输入框中选中一段文字,使用ctrl+c复制一段文本 - 3、在第二个输入框中使用ctrl+v粘贴一投文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0160', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0160 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0160") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0160')); - await rich.longClick(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_X); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_A); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_C); - await Utils.sleep(500); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0160_01')); - await rich1.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0160.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0170 - *des:1、在第一个输入框中输入长文本,选中一段文字后,使用ctrl+x剪切 - 2、再使用ctrl+z撒销剪切的文本 - 3、在第二个输入框中使用ctrl+v粘贴一段文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0170', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0170 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0170") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0170')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_A); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_X); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_Z); - await Utils.sleep(500); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0170_01')); - await rich1.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0170.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0180 - *des:1、在第一个输入框中3张图片,选中一张图片后,使用ctrl+x剪切 - 2、在第二个输入框中使用ctrl+v粘贴图片,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0180', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0180 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0180") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0180')); - await rich.longClick(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_X); - await Utils.sleep(500); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0180_01')); - await rich1.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0180.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0190 - *des:1、在第一个输入框中3张图片,选中一张图片后,使用ctrl+x剪切 - 2、再选中另一张图片,使用ctrl+x剪切 - 3、在第二个输入框中使用ctrl+v粘贴图片,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0190', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0190 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0190") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0190')); - await rich.longClick(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_X); - await Utils.sleep(500); - await rich.longClick(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_X); - await Utils.sleep(500); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0190_01')); - await rich1.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0190.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0200 - *des:1、在第一个输入框中输入图片和文字,选中一段文字后,使用ctrl+x剪切 - 2、再选中另一张图片,使用ctrl+x剪切 - 3、在第二个输入框中使用ctrl+v粘贴,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0200', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0200 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0200") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0200')); - await rich.click(); - await Utils.sleep(1000); - let select = await driver.findComponent(ON.id('select')); - await select.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_X); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(1000); - let select1 = await driver.findComponent(ON.id('select1')); - await select1.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_X); - await Utils.sleep(500); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0200_01')); - await rich1.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0200.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0210 - *des:1、在第一个输入框中输入图片和文字,选中一张图片后,使用ctrl+x剪切 - 2、再选中一段文字,使用ctrl+x剪切 - 3、在第二个输入框中使用ctrl+v,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0210', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0210 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0210") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0210')); - await rich.click(); - await Utils.sleep(1000); - let select = await driver.findComponent(ON.id('select')); - await select.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_X); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(1000); - let select1 = await driver.findComponent(ON.id('select1')); - await select1.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_X); - await Utils.sleep(500); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0210_01')); - await rich1.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0210.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0220 - *des:1、在第一个输入框中输入文字,使用手势长按一段文本选中 - 再弹出的菜单栏中,点击”剪切" - 2、在第二个输入框中使用ctrl+v,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0220', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0220 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0220") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0220')); - await rich.longClick(); - await Utils.sleep(1000); - let cut = await driver.findComponent(ON.text('剪切')); - await cut.click(); - await Utils.sleep(1000); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0220_01')); - await rich1.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0220.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0230 - *des:1、在第一个输入框中输入文字,选中一段文本后,使用ctrl+x剪切文本内容 - 2、在第二个输入框中使用手势长按,点击”粘贴按钮,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0230', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0230 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0230") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0230')); - await rich.click(); - await Utils.sleep(1000); - let select = await driver.findComponent(ON.id('select')); - await select.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_X); - await Utils.sleep(1000); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0230_01')); - await rich1.click(); - await Utils.sleep(500); - await rich1.longClick(); - await Utils.sleep(500); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0230.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0240 - *des:1、在第一个输入框中输入图片,选中一张图片后,使用手势长 - 按 ·弹出菜单,点击”剪切",剪切图片 - 2、在第二个输入框中使用 ctrl+y,粘贴图片内容,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0240', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0240 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0240") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0240')); - await rich.longClick(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_X); - await Utils.sleep(1000); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0240_01')); - await rich1.click(); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0240.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0260 - *des:1、在第一个输入框中输入长文本内容,选中一段文字,ctrl+c剪切 - 2、在第二个输入框中手势长按,弹出菜单,点击粘贴,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0260', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0260 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0260") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0260')); - await rich.longClick(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_X); - await Utils.sleep(1000); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0260_01')); - await rich1.click(); - await Utils.sleep(500); - await rich1.longClick(); - await Utils.sleep(500); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0260.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0270 - *des:1、在第一个输入框中输入图片内容,选中一张图片,手势长 - 按,点击的切图片 - 2、在第二个输入框中使用ctrl+v,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0270', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0270 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0270") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0270')); - await rich.longClick(); - await Utils.sleep(1000); - let cut = await driver.findComponent(ON.text('剪切')); - await cut.click(); - await Utils.sleep(1000); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0270_01')); - await rich1.click(); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0270.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0280 - *des:1、在第一个输入框中输入长文本内容,使用ctrl+c复制文本内容 - 2、在第二个输入框中使用ctrl+v粘贴文本内容 - 3、ctrl+z散销粘贴操作 - 4、ctrl+y或ctrl+shift+z,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0280', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0280 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0280") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0280')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_A); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_X); - await Utils.sleep(500); - let rich1 = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0280_01')); - await rich1.click(); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(500); - await rich1.click(); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_Z); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_Y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0280.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0290 - *des:1、在第一个输入框中输入长文本内容,对文本内容进行删除 - 2、ctrl+z撤销删除操作 - 3、ctrl+y或ctrl+shift+z,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0290', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0290 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0290") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0290')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_A); - await Utils.sleep(500); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_Z); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_Y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0290.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0300 - *des:1、在第一个输入框中输入长文本内容,使用ctrl+c夏制文本内容 - 2、 ctrl+v粘贴文本内容 - 3、ctrl+y或ctrl+shift+z,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0300', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0300 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0300") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0300')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_A); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_C); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_V); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_Y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0300.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0310 - *des:1、在第一个输入框中输入长文本内容,使用ctrl+剪切文本内 - 容 - 2、再次选中一段文本内容 - 3、ctrl+y或ctrl+shift+z,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0310', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0310 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0310") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0310')); - await rich.longClick(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_X); - await Utils.sleep(500); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_A); - await Utils.sleep(500); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_Y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0310.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0320 - *des:1、在第一个输入框中输入长文本内容,分成3个自然段 - 2、光标位于第一自然段段首 - 3、按ctrl+↓,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0320', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0320 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0320") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0320')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_MOVE_HOME); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DPAD_UP); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DPAD_UP); - await Utils.sleep(100); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_RIGHT, KeyCode.KEYCODE_DPAD_DOWN); - await Utils.sleep(100); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_RIGHT, KeyCode.KEYCODE_DPAD_DOWN); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_MOVE_HOME); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0320.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0330 - *des:1、在第一个输入框中输入长文本内容,分成3个自然段 - 2、光标位于第一自然段段尾 - 3、按ctrl+↓,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0330', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0330 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0330") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0330')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DPAD_UP); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DPAD_UP); - await Utils.sleep(100); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_DPAD_DOWN); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_MOVE_HOME); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0330.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0340 - *des:1、在第一个输入框中输入长文本内容,分成3个自然段 - 2、光标位于第二自然段段首 - 3、按ctrl+↑,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0340', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0340 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0340") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0340')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_MOVE_HOME); - await Utils.sleep(500); - await driver.triggerKey(KeyCode.KEYCODE_DPAD_UP); - await Utils.sleep(100); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_LEFT, KeyCode.KEYCODE_DPAD_UP); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0340.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0350 - *des:1、在第一个输入框中输入长文本内容,分成3个自然段 - 2、光标位于自然段段首 - 3、按ctrl+↓,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0350', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0350 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0350") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0350')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_MOVE_HOME); - await Utils.sleep(100); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_RIGHT, KeyCode.KEYCODE_DPAD_UP); - await Utils.sleep(100); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_RIGHT, KeyCode.KEYCODE_DPAD_UP); - await Utils.sleep(100); - await driver.triggerCombineKeys(KeyCode.KEYCODE_CTRL_RIGHT, KeyCode.KEYCODE_DPAD_DOWN); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0350.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0360 - *des:1、输入长文本,光标位于自然段段中 - 2、按ctrl+←,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0360', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0360 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0360") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0360')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey( KeyCode.KEYCODE_DPAD_LEFT); - await Utils.sleep(100); - await driver.triggerKey( KeyCode.KEYCODE_DPAD_LEFT); - await Utils.sleep(100); - await driver.triggerKey( KeyCode.KEYCODE_DPAD_LEFT); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0360.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0370 - *des:1、输入长文本,光标位于自然段段中 - 2、按Ctrl+→,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0370', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0370 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0370") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0370')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey( KeyCode.KEYCODE_DPAD_LEFT); - await Utils.sleep(100); - await driver.triggerKey( KeyCode.KEYCODE_DPAD_LEFT); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DPAD_RIGHT); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0370.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0380 - *des:1、输入长文本,光标位于自然段段中 - 2、按Ctrl+home,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0380', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0380 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0380") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorShortKcutKeys0380')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey( KeyCode.KEYCODE_DPAD_LEFT); - await Utils.sleep(100); - await driver.triggerKey( KeyCode.KEYCODE_DPAD_LEFT); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_MOVE_HOME); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDIT0R_SHORTKCUTKEYS_0380.`); - done(); - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformanceTests.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformanceTests.test.ets deleted file mode 100644 index c33d01b5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformanceTests.test.ets +++ /dev/null @@ -1,231 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 Settings from '../model/Settings' -import windowSnap from '../model/snapShot' -import Logger from '../model/Logger' -import Utils from '../model/Utils' -import { Driver, ON, On } from '@ohos.UiTest' -import { KeyCode } from '@kit.InputKit' - -/* - * SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0006:UXCONFORMANCE相关用例 - * - * 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 ComponentTextRicheditorUxConformanceTests() { - - describe('ComponentTextRicheditorUxConformanceTests', () => { - - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0006 - *des:1、调用addTextSpan添加一段文本, 设定装饰 - 线颜色不设定字体颜色,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0006', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0006 start.`); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0006") - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0006.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0007 - *des:1、调用addTextSpan添加一段文本, 设定装饰 - 线颜色为 Red, 字体颜色为 Pink,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0007', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0007 start.`); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0007") - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0007.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0011 - *des:1、点击多张图片中间位置,将光标放至任意一张图片后 - 2、点击虚拟键盘上的删除按钮 - 3、再次点击虚拟键盘上的删除按钮,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0011', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0011 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0011") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorUxConformance0011')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(2014); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0011.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0012 - *des:1、 richeditor添加多张图片 - 2、点击多张图片中间位置,将光标放至任意一 - 张图片后 - 3、点击物理键盘上的 backspace键,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0012', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0012 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0012") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorUxConformance0012')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(2014); - await Utils.sleep(100); - await driver.triggerKey(2014); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0012.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0013 - *des:1、 richeditor添加多张图片 - 2、点击多张图片中间位置,将光标放至任意一 - 张图片后 - 3、点击物理键盘上的 delete键,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0013', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0013 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0013") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorUxConformance0013')); - await rich.click(); - await Utils.sleep(1000); - await driver.triggerKey(2014); - await Utils.sleep(100); - await driver.triggerKey(2014); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0013.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0014 - *des:1、选中一段内容,图片在选中内容首位/末尾/ - 中间 - 2、点击虚拟键盘上的删除按钮,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0014', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0014 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0014") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorUxConformance0014')); - await rich.click(); - let select = await driver.findComponent(ON.id('select')); - await select.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0014.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0015 - *des:1、选中一段内容,图片在选中内容首位/末尾/ - 中间 - 2、点击物理键盘上的 backspace键,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0015', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0015 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0015") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorUxConformance0015')); - await rich.click(); - let select = await driver.findComponent(ON.id('select')); - await select.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0015.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0016 - *des:1、选中一段内容, 图片在选中内容首位/末尾/ - 中间 - 2、点击物理键盘上的 delete键,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0016', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0016 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0016") - await Utils.sleep(1000); - let rich = await driver.findComponent(ON.id('ComponentTextRicheditorUxConformance0016')); - await rich.click(); - let select = await driver.findComponent(ON.id('select')); - await select.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_UXCONFORMANCE_0016.`); - done(); - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreaks.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreaks.test.ets deleted file mode 100644 index 747d6088..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreaks.test.ets +++ /dev/null @@ -1,602 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 Settings from '../model/Settings' -import windowSnap from '../model/snapShot' -import Logger from '../model/Logger' -import Utils from '../model/Utils' -import { Driver, ON, On } from '@ohos.UiTest' -import { KeyCode } from '@kit.InputKit' - -/* - * SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK:设置断行规则 - * - * 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 ComponentTextRicheditorWordbreaks() { - - describe('ComponentTextRicheditorWordbreaks', () => { - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0001 - *des:wordBreak不设置属性,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0001', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0001 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0001"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0001 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0002 - *des:wordBreak设置属性 WordBreak.NORMAL,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0002', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0002 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0002"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0002 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0003 - *des:wordBreak设置属性-1,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0003', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0003 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0003"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0003 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0004 - *des:wordBreak默认设置为 wordBreak:WordBreak.NORMAL,更新为不设置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0004', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0004 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0004"); - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorWordbreak0004")); - let justBtn = await driver.findComponent(ON.id("updateParagraphStyle")); - await justBtn.click(); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0004 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0005 - *des:wordBreak更新为WordBreak.BREAK_ALL,更新为不设置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0005', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0005 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0005"); - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorWordbreak0005")); - let justBtn = await driver.findComponent(ON.id("updateParagraphStyle")); - await justBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0005 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0006 - *des:wordBreak更新为-1,更新为不设置,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0006', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0006 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0006"); - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorWordbreak0006")); - let justBtn = await driver.findComponent(ON.id("updateParagraphStyle")); - await justBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0006 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0007 - *des:wordBreak设置属性wordBreak:WordBreak.NORMAL,数字、 Non-CJK文本(如英文等) 只能在空白符处断行 - CJK(中文、日文、韩文)文本文本可以在任意2个字符间断行 - 图片、 Symbol、表情、特殊符号可以在任意2个字符间断行,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0007', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0007 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0007"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0007 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0008 - *des:wordBreak设置属性wordBreak:WordBreak.BREAK_ALL,数字、 Non-CJK文本(如英文等) 只能在空白符处断行 - CJK(中文、日文、韩文)文本文本可以在任意2个字符间断行 - 图片、 Symbol、表情、特殊符号可以在任意2个字符间断行,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0008', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0008 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0008"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0008 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0009 - *des:wordBreak设置属性wordBreak:WordBreak.BREAK_ALL,数字、 Non-CJK文本(如英文等) 只能在空白符处断行 - CJK(中文、日文、韩文)文本文本可以在任意2个字符间断行 - 图片、 Symbol、表情、特殊符号可以在任意2个字符间断行,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0009', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0009 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0009"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0009 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0010 - *des:设置 clip属性为 false.设置wordBreak属性值为NOBMAL, 输入不包含空白符的超长英文文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0010 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0010"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0010 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0011 - *des:设置 RichEditor分别设置workBreak属性为NORMAL、BREAK_AIL、BREAK_WORD - 2、输入 Non-CJK文本(如英文等) 和CJK(中文、日文、韩文)文 - 本混合文本,并使换行处为 Non-CJK文本 - 3、换行处的 Non-CJK文本前为CJK文本 - 4、换行处的 Non-CJK文本前为空格 - 5、换行处的 Non-CJK文本前为换行符,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0011', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0011 start.`); - Settings.createWindow("testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0011"); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0011 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0012 - *des:1、添加RichEditor组件 - 2、输入文本内容,通过updateParagraphStyle设置 workbreak属性为NORMAL - 3、addTextSpan不设置 workbreak属性,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0012', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0012 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0012"); - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorWordbreak0012")); - await richeditor.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(1000); - let justBtn = await driver.findComponent(ON.id("updateParagraphStyle")); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0012 finish.` + justBtn); - await justBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0012 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0013 - *des:1、添加RichEditor组件 - 2、输入文本内容,通过apdateParagraphStyle设置 workbreak属性为NORMAL - 3、addTextSpan设置 workbreak属性为BREAK_AIL,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0013', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0013 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0013"); - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorWordbreak0013")); - await richeditor.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(1000); - let justBtn = await driver.findComponent(ON.id("updateParagraphStyle")); - await justBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0013 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0014 - *des:1、添加RichEditor组件 - 2、输入文本内容,通过updateParagraphStyle设置 workbreak属性为NORMAL - 3、updateParagraphStyle更新部分文本 workbreak属性为 - BREAK_ALL,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0014', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0014 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0014"); - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorWordbreak0014")); - await richeditor.click(); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - let justBtn = await driver.findComponent(ON.id("updateParagraphStyle")); - await justBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0014 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0015 - *des:1、添加RichEditor组件 - 2、addTextSpan设置vordBreak属性为NORMAL - 3、 update?aragraphStyle更新部分文本 workbreak属性为BREAK _ALL_,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0015', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0015 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0015"); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorWordbreak0015")); - await Utils.sleep(1000); - let justBtn = await driver.findComponent(ON.id("updateParagraphStyle")); - await justBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0015 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0016 - *des:1、添加RichEditor组件 - 2、设置wordBreak属性值为NORMAL,文本内容同时有 Non-CJK文本(如英文等)和CJK(中文、日文、韩文)文本以及图片、Symbol、表情、数字、特殊符号 - 3、改变组件大小,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0016', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0016 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0016"); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorWordbreak0016")); - await Utils.sleep(1000); - let justBtn = await driver.findComponent(ON.id("updateParagraphStyle")); - await justBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0016 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0017 - *des:1、添加RichEditor组件 - 2、设置wordBreak属性值为NORMAL,文本内容同时有 Non-CJIS本(如英文等) 和CJK(中文、日文、韩文)文本以及图片、Symbol、表情、数字、特殊符号 - 3、改变字体大小,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0017', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0017 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0017"); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorWordbreak0017")); - await Utils.sleep(1000); - let justBtn = await driver.findComponent(ON.id("updateParagraphStyle")); - await justBtn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0017 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0018 - *des:1、添加RichEditor组件、 - 2、addTextSpan设置wordBreak属性为NORMAL - 3、通过软件盘删除部分文本,再输入文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0018', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0018 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0018"); - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorWordbreak0018")); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0018 start.` + richeditor); - await richeditor.click(); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0018 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0019 - *des:1、添加RichEditor组件、 - 2、addTextSpan设置wordBreak属性为NORMAL - 3、通过软件盘删除全部文本,再输入文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0019', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0019 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0019"); - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorWordbreak0019")); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0019 start.` + richeditor); - await richeditor.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_DEL); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_7); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_7); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_7); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - ; - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0019 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0020 - *des:1、添加RichEditor组件 - 2、addTextSpan设置wordBreak属性为NORMAL - 3、通过delSpan删除全部textSpan,再输入文本,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0020 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0020"); - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorWordbreak0020")); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0019 start.` + richeditor); - await richeditor.click(); - let justBtn = await driver.findComponent(ON.id("updateParagraphStyle")); - await justBtn.click(); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_V); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_7); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_7); - await Utils.sleep(100); - await driver.triggerKey(KeyCode.KEYCODE_7); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0020 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0021 - *des:1、添加RichEditor组件 - 2、输入文本内容,设置wordBreak属性值为NORMAL - 3、长按文本内容,点击粘贴,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0021', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0021 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0021"); - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorWordbreak0021")); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0021 start.` + richeditor); - await richeditor.longClick(); - await Utils.sleep(2000); - let paste = await driver.findComponent(ON.text('粘贴')); - await paste?.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0021 finish.`); - done(); - }) - /** - * NO.SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0022 - *des:1、添加RichEditor组件 - 2、输入文本内容,设置wordBreak属性值为NORMAL - 3、从其他组件拖拽文本到RichEditor,验证效果 - */ - it('SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0022', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0022 start.`); - let driver = Driver.create(); - await Utils.sleep(1000); - Settings.createWindow("testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0022"); - await Utils.sleep(1000); - let richeditor = await driver.findComponent(ON.id("ComponentTextRicheditorWordbreak0022")); - let textArea = await driver.findComponent(ON.id('TextArea')); - await textArea.click(); - await Utils.sleep(1000); - await textArea.click() - await Utils.sleep(1000); - let selectAll = await driver.findComponent(ON.text('全选')) - await selectAll?.click(); - await Utils.sleep(1000); - await textArea.dragTo(richeditor) - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_RICHEDITOR_WORDBREAK_0022 finish.`); - done(); - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/FunctionJiChuSR000HUB4KTest/FunctionJiChuSR000HUB4K.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/FunctionJiChuSR000HUB4KTest/FunctionJiChuSR000HUB4K.test.ets deleted file mode 100644 index 29b6f449..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/FunctionJiChuSR000HUB4KTest/FunctionJiChuSR000HUB4K.test.ets +++ /dev/null @@ -1,1062 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 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): - * 创建窗口,更改窗口基本配置,更改方式详见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 FunctionJiChuSR000HUB4K() { - - describe('FunctionJiChuSR000HUB4K', () => { - - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0120 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0120 - * @tc.desc promptAction message was set to string in the showToast - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0120', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0120 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K012"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0120")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0120 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0130 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0130 - * @tc.desc promptAction message was set to string in the showToast - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0130', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0130 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K013"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0130")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0130 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0140 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0140 - * @tc.desc promptAction message was set to string in the showToast - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0140', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0140 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K014"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0140")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0140 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0150 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0150 - * @tc.desc promptAction message was set to string in the showToast - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0150', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0150 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K015"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0150")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0150 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0160 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0160 - * @tc.desc promptAction message was set to string in the showToast - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0160', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0160 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K016"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0160")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0160 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0170 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0170 - * @tc.desc promptAction message was set to string in the showToast - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0170', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0170 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K017"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0170")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0170 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0180 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0180 - * @tc.desc promptAction message in the showToast command is set to the maximum length - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0180', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0180 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K018"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0180")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0180 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0190 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0190 - * @tc.desc promptAction message was set to string in the showToast - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0190', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0190 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K019"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0190")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0190 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0250 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0250 - * @tc.desc promptAction alignment in the showDialog is set to Default - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0250', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0250 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K025"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0250")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0250 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0200 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0200 - * @tc.desc The non-mandatory value of the non-mandatory parameter in the options object in promptAction showDialog is verified - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0200', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0200 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K020"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0200")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0200 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0620 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0620 - * @tc.desc promptAction showActionMenu Specifies that the color parameter under Buttons is set to the Resource type - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0620', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0620 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K062"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0620")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0620 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0260 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0260 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0260', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0260 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K026"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0260")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0260 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0610 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0610 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0610', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0610 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K061"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0610")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0610 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0230 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0230 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0230', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0230 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K023"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0230")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0230 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0210 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0210 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0210', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0210 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K021"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0210")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0210 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0220 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0220 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0220', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0220 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K022"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0220")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0220 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0240 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0240 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0240', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0240 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K024"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0240")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0240 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0270 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0270 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0270', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0270 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K027"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0270")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0270 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0280 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0280 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0280', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0280 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K028"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0280")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0280 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0290 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0290 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0290', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0290 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K029"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0290")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0290 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0320 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0320 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0320', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0320 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K032"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0320")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0320 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0310 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0310 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0310', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0310 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K031"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0310")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0310 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0300 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0300 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0300', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0300 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K030"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0300")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0300 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0330 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0330 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0330', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0330 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K033"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0330")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0330 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0370 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0370 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0370', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0370 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K037"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0370")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0370 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0380 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0380 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0380', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0380 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K038"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0380")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0380 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0340 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0340 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0340', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0340 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K034"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0340")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0340 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0360 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0360 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0360', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0360 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K036"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0360")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0360 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0350 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0350 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0350', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0350 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K035"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0350")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0350 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0560 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0560 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0560', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0560 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K056"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0560")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0560 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0390 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0390 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0390', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0390 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K039"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0390")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0390 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0400 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0400 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0400', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0400 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K040"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0400")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0400 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0420 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0420 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0420', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0420 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K042"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0420")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0420 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0410 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0410 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0410', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0410 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K041"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0410")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0410 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0430 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0430 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0430', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0430 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K043"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0430")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0430 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0450 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0450 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0450', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0450 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K045"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0450")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0450 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0440 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0440 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0440', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0440 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K044"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0440")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0440 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0470 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0470 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0470', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0470 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K047"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0470")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0470 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0480 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0480 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0480', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0480 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K048"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0480")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0480 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0460 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0460 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0460', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0460 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K046"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0460")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0460 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0490 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0490 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0490', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0490 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K049"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0490")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0490 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0500 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0500 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0500', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0500 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K050"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0500")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0500 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0520 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0520 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0520', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0520 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K052"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0520")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0520 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0510 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0510 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0510', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0510 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K051"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0510")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0510 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0530 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0530 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0530', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0530 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K053"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0530")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0530 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0540 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0540 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0540', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0540 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K054"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0540")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0540 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0550 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0550 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0550', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0550 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K055"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0550")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0550 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0580 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0580 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0580', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0580 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K058"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0580")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0580 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0570 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0570 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0570', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0570 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K057"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0570")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0570 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0590 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0590 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0590', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0590 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K059"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0590")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0590 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0600 - * @tc.name SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0600 - * @tc.desc promptAction alignment in the showDialog is set to Topstart - */ - it('SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0600', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0600 start.`); - Settings.createWindow("testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K060"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("FunctionJiChuSR000HUB4K0600")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_FUNCTION_JICHU_SR000HUB4K_0600 finish.`); - done(); - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/FunctionJichuWaterFlowTest/FunctionJichuWaterFlow.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/FunctionJichuWaterFlowTest/FunctionJichuWaterFlow.test.ets deleted file mode 100644 index e2b67bdc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/FunctionJichuWaterFlowTest/FunctionJichuWaterFlow.test.ets +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function FunctionJichuWaterFlow() { - - describe('FunctionJichuWaterFlow', () => { - - - /* - * @tc.number SUB_ACE_FUNCTION_JICHU_WATERFLOW_0350 - * @tc.name SUB_ACE_FUNCTION_JICHU_WATERFLOW_0350 - * @tc.desc 1、安装hap包 - 2、打开应用 - */ - it('SUB_ACE_FUNCTION_JICHU_WATERFLOW_0350', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_FUNCTION_JICHU_WATERFLOW_0350 start.`); - Settings.createWindow("testability/pages/FunctionJichuWaterFlow/FunctionJichuWaterFlow0350") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_FUNCTION_JICHU_WATERFLOW_0350 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_FUNCTION_JICHU_WATERFLOW_001806 -* @tc.name SUB_ACE_FUNCTION_JICHU_WATERFLOW_001806 -* @tc.desc 1、添加Waterflow组件 - 2、设置Waterflow的参数:设置参数footer -*/ - it('SUB_ACE_FUNCTION_JICHU_WATERFLOW_001806', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_FUNCTION_JICHU_WATERFLOW_001806 start.`); - Settings.createWindow("testability/pages/FunctionJichuWaterFlow/FunctionJichuWaterFlow001806") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(100) - let refreshListItem0 :Component = await driver.findComponent(ON.id('FunctionJichuWaterFlow001806_001')) - await Utils.sleep(200) - let pos = await refreshListItem0.getBoundsCenter() - await Utils.sleep(100) - await driver.swipe(pos.x,pos.y,pos.x,pos.y-400) - await Utils.sleep(1000) - await driver.swipe(pos.x,pos.y,pos.x,pos.y-400) - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_FUNCTION_JICHU_WATERFLOW_001806 finish.`); - done() - }) - - }) -} 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 919dd07e..52d29fef 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,16 +13,6 @@ * limitations under the License. */ -import ComponentTextRicheditorFontfeatures - from './ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeatures.test'; -import ComponentTextRicheditorCustomColors - from './ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColors.test'; -import ComponentTextRicheditorWordbreaks - from './ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreaks.test'; -import ComponentTextRicheditorLongPresstoselectalls - from './ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectalls.test'; -import ComponentTextRicheditorPlaceholderTests - from './ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholderTests.test'; import UIAttributesStateStylesInterfaceEditableTextThree from './UIAttributesStateStylesInterfaceEditableTextThreeTest/UIAttributesStateStylesInterfaceEditableTextThree.test'; import UIComponentAttributeImage from './UIComponentAttributeImageTest/UIComponentAttributeImage.test'; @@ -96,362 +86,9 @@ import UICustomTextShortCutKeyReplacement import UIComponentTextTextEvasiveInputMethod from './UIComponentTextTextEvasiveInputMethodTest/UIComponentTextTextEvasiveInputMethod.test'; import UIComponentTextTextAreaOnEditChangeTest from './UIComponentTextTextAreaOnEditChangeTest/UIComponentTextTextAreaOnEditChangeTest.test'; +import UIComponentCanvasModifier from './UIComponentCanvasModifierTest/UIComponentCanvasModifier.test'; -import ComponentTextRicheditorCustomkeyBoardAvoidAnceTests - from './ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnceTests.test'; -import ComponentTextRicheditorKeyboardReinForcingTests - from './ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcingTests.test'; -import ComponentTextRicheditorLineHeightLetterSpacingTests - from './ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacingTests.test'; -import ComponentTextRicheditorUxConformanceTests - from './ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformanceTests.test'; -import ComponentTextRicheditorAITests from './ComponentTextRicheditorAITest/ComponentTextRicheditorAITests.test'; -import ComponentTextRicheditorOnWillChangeTests - from './ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChangeTests.test'; -import ComponentTextRicheditorInterfaceTests - from './ComponentTextRicheditorInterface/ComponentTextRicheditorInterfaceTests.test'; -import ComponentTextRicheditorShortKcutKeysTests - from './ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeysTests.test'; - -import UIComponentNavTabsOnWillShow from './UIComponentNavTabsOnWillShowTest/UIComponentNavTabsOnWillShow.test'; -import UIComponentNavTabsContentAdapt from './UIComponentNavTabsContentAdaptTest/UIComponentNavTabsContentAdapt.test'; -import ArkUITabScrollable from './ArkUITabScrollableTest/ArkUITabScrollable.test'; -import ArkUITabsLabelStylefont from './ArkUITabsLabelStylefontTest/ArkUITabsLabelStylefont.test'; -import ArkUITabsLabelStyleSelectedColor - from './ArkUITabsLabelStyleSelectedColorTest/ArkUITabsLabelStyleSelectedColor.test'; -import ArkUITabsLabelStyleUnselectedColor - from './ArkUITabsLabelStyleUnselectedColorTest/ArkUITabsLabelStyleUnselectedColor.test'; -import UIComponentListAndGridWaterFlowAdd - from './UIComponentListAndGridWaterFlowAddTest/UIComponentListAndGridWaterFlowAdd.test'; -import UIComponentListAndGridWaterSections - from './UIComponentListAndGridWaterSectionsTest/UIComponentListAndGridWaterSections.test'; -import UIComponentNavModifier from './UIComponentNavModifierTest/UIComponentNavModifier.test'; -import UIComponentNavTabsAction from './UIComponentNavTabsActionTest/UIComponentNavTabsAction.test'; -import UIComponentNavTabsBlurStyle from './UIComponentNavTabsBlurStyleTest/UIComponentNavTabsBlurStyle.test'; -import UIComponentNavTabsCachedCount from './UIComponentNavTabsCachedCountTest/UIComponentNavTabsCachedCount.test'; -import UIComponentNavTabsImproTrace from './UIComponentNavTabsImproTraceTest/UIComponentNavTabsImproTrace.test'; -import UIComponentNavTabsInterception from './UIComponentNavTabsInterceptionTest/UIComponentNavTabsInterception.test'; -import UIComponentNavTabsInterface from './UIComponentNavTabsInterfaceTest/UIComponentNavTabsInterface.test'; -import UIComponentNavTabsMirror from './UIComponentNavTabsMirrorTest/UIComponentNavTabsMirror.test'; -import UIComponentTabTabBarSymbol from './UIComponentTabTabBarSymbolTest/UIComponentTabTabBarSymbol.test'; -import UIComponentOtherRefreshPromptText - from './UIComponentOtherRefreshPromptTextTest/UIComponentOtherRefreshPromptText.test'; -import UIComponentOtherRefreshInterface - from './UIComponentOtherRefreshInterfaceTest/UIComponentOtherRefreshInterface.test'; -import UIComponentOtherRefreshInterAction - from './UIComponentOtherRefreshInterActionTest/UIComponentOtherRefreshInterAction.test'; -import UIComponentOtherRefreshAbility from './UIComponentOtherRefreshAbilityTest/UIComponentOtherRefreshAbility.test'; -import FunctionJichuWaterFlow from './FunctionJichuWaterFlowTest/FunctionJichuWaterFlow.test'; -import UIComponentNavTabsSubTabbarStyle - from './UIComponentNavTabsSubTabbarStyleTest/UIComponentNavTabsSubTabbarStyle.test'; -import ArkUITabsVertical from './ArkUITabsVerticalTest/ArkUITabsVertical.test'; -import UIComponentNavTabsHeight from './UIComponentNavTabsHeightTest/UIComponentNavTabsHeight.test'; -import UIComponentNavTabsWidth from './UIComponentNavTabsWidthTest/UIComponentNavTabsWidth.test'; -import UIComponentNavTabsEdgeeffect from './UIComponentNavTabsEdgeeffectTest/UIComponentNavTabsEdgeeffect.test'; -import UIComponentNavTabsExpandsafearea - from './UIComponentNavTabsExpandsafeareaTest/UIComponentNavTabsExpandsafearea.test'; -import ArkUITabsIconStyleSelectedColor - from './ArkUITabsIconStyleSelectedColorTest/ArkUITabsIconStyleSelectedColor.test'; -import ArkUITabsIconStyleUnselectedColor - from './ArkUITabsIconStyleUnselectedColorTest/ArkUITabsIconStyleUnselectedColor.test'; -import ArkUITabsSingleSelectedcolor from './ArkUITabsSingleSelectedcolorTest/ArkUITabsSingleSelectedcolor.test'; -import ArkUITabsSingleUnselectedcolor from './ArkUITabsSingleUnselectedcolorTest/ArkUITabsSingleUnselectedcolor.test'; -import UIComponentScrollSwiperLayout from './UIComponentScrollSwiperLayoutTest/UIComponentScrollSwiperLayout.test'; -import UIComponentScrollSwiperUx from './UIComponentScrollSwiperUxTest/UIComponentScrollSwiperUx.test'; -import UIComponentScrollSwiperInterface - from './UIComponentScrollSwiperInterfaceTest/UIComponentScrollSwiperInterface.test'; -import UIComponentScrollSwiperAcross from './UIComponentScrollSwiperAcrossTest/UIComponentScrollSwiperAcross.test'; -import UIComponentScrollSwiperTeace from './UIComponentScrollSwiperTeaceTest/UIComponentScrollSwiperTeace.test'; -import UIComponentScrollSwiperDisplaycount - from './UIComponentScrollSwiperDisplaycountTest/UIComponentScrollSwiperDisplaycount.test'; -import UIComponentScrollSwiperArrowHead - from './UIComponentScrollSwiperArrowHeadTest/UIComponentScrollSwiperArrowHead.test'; -import UIComponentSpecialComponentsFormComponentTransparent - from './UIComponentSpecialComponentsFormComponentTransparentTest/UIComponentSpecialComponentsFormComponentTransparent.test'; -import UIComponentSpecialComponentsUIExtensionComponentPopupChange - from './UIComponentSpecialComponentsUIExtensionComponentPopupChangeTest/UIComponentSpecialComponentsUIExtensionComponentPopupChange.test'; - -import UIComponentPopupBoxSpecificationsShadow - from './UIComponentPopupBoxSpecificationsShadowTest/UIComponentPopupBoxSpecificationsShadow.test'; -import UIComponentButtonRadioLConic from './UIComponentButtonRadioLConicTest/UIComponentButtonRadioLConic.test'; -import ComponentFunctionLAdvancedComponentsPopupInterface - from './ComponentFunctionLAdvancedComponentsPopupInterfaceTest/ComponentFunctionLAdvancedComponentsPopupInterface.test'; -import UIComponentPopupBoxSpecifications - from './UIComponentPopupBoxSpecificationsTest/UIComponentPopupBoxSpecifications.test'; -import UIComponentButtonStyle from './UIComponentButtonStyleTest/UIComponentButtonStyle.test'; -import UIComponentButtonRadioCustonmizing - from './UIComponentButtonRadioCustonmizingTest/UIComponentButtonRadioCustonmizing.test'; -import UIComponentButtonRadioCheckMark - from './UIComponentButtonRadioCheckMarkTest/UIComponentButtonRadioCheckMark.test'; -import UIComponentButtonSelectAttribute - from './UIComponentButtonSelectAttributeTest/UIComponentButtonSelectAttribute.test'; -import UIComponentFunctionSelectSymbol from './UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol.test'; -import UIComponentButtonSelectControlSize - from './UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize.test'; -import UIComponentButtonSelectDivider from './UIComponentButtonSelectDivider/UIComponentButtonSelectDivider.test'; -import UITestCaseTest from './UITestCaseTest/UITestCaseTest.test'; -import FunctionJiChuSR000HUB4K from './FunctionJiChuSR000HUB4KTest/FunctionJiChuSR000HUB4K.test'; -import UIComponentUISupportColor from './UIComponentUISupportColorTest/UIComponentUISupportColor.test'; -import UIComponentButtonCommonButton from './UIComponentButtonCommonButtonTest/UIComponentButtonCommonButton.test' -import ComponentButtonSelectMenuItemContentModifier - from './ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier.test'; -import UiComponentButtonSelectEnhancement - from './UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement.test'; -import UiComponentButtonSelectAlign from './UiComponentButtonSelectAlign/UiComponentButtonSelectAlign.test'; -import UiComponentPopupboxZero from './UiComponentPopupboxZero/UiComponentPopupboxZero.test'; -import UIComponentPopupboxCalendarpickerInterface - from './UIComponentPopupboxCalendarpickerInterfaceTest/UIComponentPopupboxCalendarpickerInterface.test'; -import UIComponentPopupboxDatepickerDialogLanguageHabit - from './UIComponentPopupboxDatepickerDialogLanguageHabitTest/UIComponentPopupboxDatepickerDialogLanguageHabit.test'; -import TsComponentSR000HRP34 from './TsComponentSR000HRP34Test/TsComponentSR000HRP34Test.test'; -import UiComponentPopupboxDatePickerDialogScenarios - from './UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios.test'; -import UiComponentPopupboxDatePickerDialogInterface - from './UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface.test'; -import UIComponentPopupBoxAttribute from './UIComponentPopupBoxAttributeTest/UIComponentPopupBoxAttribute.test'; -import UIComponentPopupBoxPromptToastSequence - from './UIComponentPopupBoxPromptToastSequenceTest/UIComponentPopupBoxPromptToastSequence.test'; -import UIComponentPopupBoxSpecificationsPopup - from './UIComponentPopupBoxSpecificationsPopupTest/UIComponentPopupBoxSpecificationsPopup.test'; - -import UIComponentPopupBoxPopupInterface001 - from './UIComponentPopupBoxPopupInterfaceTest/UIComponentPopupBoxPopupInterface001.test'; -import UIComponentPopupPromptInterface001 - from './UIComponentPopupPromptInterfaceTest/UIComponentPopupPromptInterface001.test'; -import UIComponentPopupBoxToastStyleInterface001 - from './UIComponentPopupBoxToastStyleInterfaceTest/UIComponentPopupBoxToastStyleInterface001.test'; -import UIComponentPopupBoxFullDialogInterface001 - from './UIComponentPopupBoxFullDialogInterfaceTest/UIComponentPopupBoxFullDialogInterface001.test'; -import demoTest from './Demo.test' -import UIAttributeFontInterface001 from './UIAttributeFontInterfaceTest/UIAttributeFontInterface001.test' -import UIComponentDividerBlankLayout from './UIComponentDividerBlankLayout/UIComponentDividerBlankLayout.test' -import UIComponentDividerDividerInterface from './UIComponentDividerDividerInterface/UIComponentDividerDividerInterface.test' -import UIComponentDividerDividerLayout from './UIComponentDividerDividerLayout/UIComponentDividerDividerLayout.test' -import UIComponentDividerStyle from './UIComponentDividerStyle/UIComponentDividerStyle.test' -import UIComponentLayoutFlexInterface from './UIComponentLayoutFlexInterface/UIComponentLayoutFlexInterface.test' -import UIComponentTextRefactorAdjustment from './UIComponentTextRefactorAdjustment/UIComponentTextRefactorAdjustment.test' -import UIComponentTextTextareEnhances from './UIComponentTextTextareEnhances/UIComponentTextTextareEnhances.test' -import UIAttributeFontInterfaceColor from './UIAttributeFontInterfaceTest/UIAttributeFontInterfaceColor.test' -import UIAttributeFontInterfaceFontFamily from './UIAttributeFontInterfaceTest/UIAttributeFontInterfaceFontFamily.test' -import UIAttributeFontInterfaceSize from './UIAttributeFontInterfaceTest/UIAttributeFontInterfaceSize.test' -import UIAttributeFontInterfaceStyle from './UIAttributeFontInterfaceTest/UIAttributeFontInterfaceStyle.test' -import UIAttributeFontInterfaceWeight from './UIAttributeFontInterfaceTest/UIAttributeFontInterfaceWeight.test' -import UIComponentDividerBlankInterfaceColor from './UIComponentDividerBlankInterfaceTest/UIComponentDividerBlankInterfaceColor.test' -import UIComponentDividerBlankInterfaceMin from './UIComponentDividerBlankInterfaceTest/UIComponentDividerBlankInterfaceMin.test' -import UIComponentTextCommonTextStyleTextArea from './UIComponentTextCommonTextStyleTest/UIComponentTextCommonTextStyleTextArea.test' -import UIComponentTextCommonTextStyleText from './UIComponentTextCommonTextStyleTest/UIComponentTextCommonTextStyleText.test' -import UIComponentTextCommonTextStyleSpan from './UIComponentTextCommonTextStyleTest/UIComponentTextCommonTextStyleSpan.test' -import UIComponentLayoutColumnInterface from './UIComponentLayoutColumnInterfaceTest/UIComponentLayoutColumnInterface.test' -import UIVisibilityInterface001 from './UIAttributePositionVisibilityTest/UIAttributePositionVisibility001.test' -import UiComponentTextCommonTextstyle from './UiComponentTextCommonTextstyleTest/UiComponentTextCommonTextstyle.test' -import UiComponentTextTextareaInterface from './UiComponentTextTextareaInterfaceTest/UiComponentTextTextareaInterface.test' -import UIAttributePositionSizeLayoutTest from './UIAttributePositionSizeLayoutTest/UIAttributePositionSizeLayoutTest.test' -import UIAttributePositionInterfaceTest from './UIAttributePositionInterfaceTest/UIAttributePositionInterfaceTest.test' -import ComponentAttributeStringModifyingStyle001 from './ComponentAttributeStringModifyingStyleTest/ComponentAttributeStringModifyingStyle001.test' -import ComponentAttributeStringModifyingStyleText001 from './ComponentAttributeStringModifyingStyleTextTest/ComponentAttributeStringModifyingStyleText001.test' -import ComponentAttributeStringModifyingText001 from './ComponentAttributeStringModifyingTextTest/ComponentAttributeStringModifyingText001.test' -import ComponentTextAttributeString001 from './ComponentTextAttributeStringTest/ComponentTextAttributeStringTest001.test' -import ComponentTextAttributeStringConstructs001 from './ComponentTextAttributeStringConstructsTest/ComponentTextAttributeStringConstructsTest001.test' -import ComponentLayoutCommonPixelTest001 from './ComponentLayoutCommonPixelTest/ComponentLayoutCommonPixelTest001.test' -import UiTextBrightenTest001 from './UiTextBrightenTest/UiTextBrightenTest001.test' -import UiTextShadowTest001 from './UiTextShadowTest/UiTextShadowTest001.test' -import UiComponentDividerStyle from './UiComponentDividerStyleTest/UiComponentDividerStyle.test' -import UiComponentLayoutCommonPixel from './UiComponentLayoutCommonPixelTest/UiComponentLayoutCommonPixel.test' -import UiComponentRowcolumnSidebarcontainerInterface from './UiComponentRowcolumnSidebarcontainerInterfaceTest/UiComponentRowcolumnSidebarcontainerInterface.test' -import UiComponentTextModifier from './UiComponentTextModifierTest/UiComponentTextModifier.test' -import UIComponentTextCapi from './UIComponentTextCapiTest/UIComponentTextCapi.test' -import UiComponentWordbreak from './UiComponentWordbreakTest/UiComponentWordbreak.test' -import UITestCase from './UITestCaseTest/UITestCase.test' -import UIComponentCreateColor from './UIComponentCreateColorTest/UIComponentCreateColor.test' -import UIComponentTextCommonLocationTest from './UIComponentTextCommonLocationTest/UIComponentTextCommonLocation.test' -import UIComponentSymbolColorrendering from './UIComponentSymbolColorrenderingTest/UIComponentSymbolColorrendering.test' -import UIComponentLineheightDecoration from './UIComponentLineheightDecorationTest/UIComponentLineheightDecoration.test' -import UIComponentTextinputUnderlinecolor from './UIComponentTextinputUnderlinecolorTest/UIComponentTextinputUnderlinecolor.test' -import UIComponentLayoutStackTest from './UIComponentLayoutStackTest/UIComponentLayoutStack.test' -import UIFontFeature from './UIFontFeatureTest/UIFontFeature.test' -import UIComponentCommonattrDrawingLayout from './UIComponentCommonattrDrawingLayoutTest/UIComponentCommonattrDrawingLayout.test' -import UIComponentLayoutModifierTest from './UIComponentLayoutModifierTest/UIComponentLayoutModifier.test' -import UIComponentTextTextinputInterface from './UIComponentTextTextinputInterfaceTest/UIComponentTextTextinputInterface.test' -import UIComponentTextTextinputPolymorphic from './UIComponentTextTextinputPolymorphicTest/UIComponentTextTextinputPolymorphic.test' -import UIComponentLayoutColumnLayout from './UIComponentLayoutColumnLayoutTest/UIComponentLayoutColumnLayout.test' -import UIComponentTextCommonLinespace from './UIComponentTextCommonLinespaceTest/UIComponentTextCommonLinespace.test' -import UIComponentTextCommonLinespaceC from './UIComponentTextCommonLinespaceCTest/UIComponentTextCommonLinespaceC.test' -import UiComponentNavModifier from './UiComponentNavModifierTest/UiComponentNavModifier.test' -import UiComponentSymbolSymbol from './UiComponentSymbolSymbolTest/UiComponentSymbolSymbol.test' -import UiComponentTextCommonAffineTransformation from './UiComponentTextCommonAffineTransformationTest/UiComponentTextCommonAffineTransformation.test' -import UIComponentScrollSwiperInterfaceMixTest from './UIComponentScrollSwiperInterfaceMixTest/UIComponentScrollSwiperInterfaceMix.test' -import UiComponentSpanBaselineoffset from './UiComponentSpanBaselineoffsetTest/UiComponentSpanBaselineoffset.test' -import ComponentTextCommonTextMinFontSize001 from './ComponentTextCommonTextMinFontSizeTest/ComponentTextCommonTextMinFontSizeTest001.test' -import ComponentLayoutModifierTest001 from './ComponentLayoutModifierTest/ComponentLayoutModifierTest001.test' -import ComponentRowColumnSidebarContainerAttributeTest001 from './ComponentRowColumnSidebarContainerAttributeTest/ComponentRowColumnSidebarContainerAttributeTest001.test' -import ComponentRowColumnSidebarContainerBlurStyleTest001 from './ComponentRowColumnSidebarContainerBlurStyleTest/ComponentRowColumnSidebarContainerBlurStyleTest001.test' -import ComponentTextCommonAffineTransformationTest001 from './ComponentTextCommonAffineTransformationTest/ComponentTextCommonAffineTransformationTest001.test' -import UIComponentTextTextinputAction from './UIComponentTextTextinputActionTest/UIComponentTextTextinputAction.test' -import UIComponentTextCommonAffingTranTest from './UIComponentTextCommonAffingTranTest/UIComponentTextCommonAffingTran.test' -import UIComponentSymbolDisplay from './UIComponentSymbolDisplayTest/UIComponentSymbolDisplay.test' -import UIAttributeFontSupportstage from './UIAttributeFontSupportstageTest/UIAttributeFontSupportstage.test' -import UIAttributeFontInterface002 from './UIAttributeFontInterfaceTest/UIAttributeFontInterface002.test' -import UIAttributeFontInterface003 from './UIAttributeFontInterfaceTest/UIAttributeFontInterface003.test' export default function testsuite() { - ComponentTextRicheditorFontfeatures(); - ComponentTextRicheditorCustomColors(); - ComponentTextRicheditorWordbreaks(); - ComponentTextRicheditorLongPresstoselectalls(); - ComponentTextRicheditorPlaceholderTests(); - ComponentTextRicheditorCustomkeyBoardAvoidAnceTests(); - ComponentTextRicheditorKeyboardReinForcingTests(); - ComponentTextRicheditorLineHeightLetterSpacingTests(); - ComponentTextRicheditorUxConformanceTests(); - ComponentTextRicheditorAITests(); - ComponentTextRicheditorOnWillChangeTests(); - ComponentTextRicheditorInterfaceTests(); - ComponentTextRicheditorShortKcutKeysTests(); - - UIComponentNavTabsOnWillShow(); - UIComponentNavTabsContentAdapt(); - ArkUITabScrollable(); - ArkUITabsLabelStylefont(); - ArkUITabsLabelStyleSelectedColor(); - ArkUITabsLabelStyleUnselectedColor(); - UIComponentListAndGridWaterFlowAdd(); - UIComponentListAndGridWaterSections(); - UIComponentNavModifier(); - UIComponentNavTabsAction(); - UIComponentNavTabsBlurStyle(); - UIComponentNavTabsCachedCount(); - UIComponentNavTabsImproTrace(); - UIComponentNavTabsInterception(); - UIComponentNavTabsInterface(); - UIComponentNavTabsMirror(); - UIComponentTabTabBarSymbol(); - UIComponentOtherRefreshPromptText(); - UIComponentOtherRefreshInterface(); - UIComponentOtherRefreshInterAction(); - UIComponentOtherRefreshAbility(); - FunctionJichuWaterFlow(); - UIComponentNavTabsSubTabbarStyle(); - ArkUITabsVertical(); - UIComponentNavTabsHeight(); - UIComponentNavTabsWidth(); - UIComponentNavTabsEdgeeffect(); - UIComponentNavTabsExpandsafearea(); - ArkUITabsIconStyleSelectedColor(); - ArkUITabsIconStyleUnselectedColor(); - ArkUITabsSingleSelectedcolor(); - ArkUITabsSingleUnselectedcolor(); - - UIComponentScrollSwiperLayout(); - UIComponentScrollSwiperUx(); - UIComponentScrollSwiperInterface(); - UIComponentScrollSwiperAcross(); - UIComponentScrollSwiperTeace(); - UIComponentScrollSwiperDisplaycount(); - UIComponentScrollSwiperArrowHead(); - - UIComponentPopupBoxFullDialogInterface001(); - UIComponentPopupBoxToastStyleInterface001(); - UIComponentPopupPromptInterface001(); - UIComponentPopupBoxPopupInterface001(); - UIComponentButtonStyle(); - UIComponentButtonRadioLConic(); - ComponentFunctionLAdvancedComponentsPopupInterface(); - UIComponentPopupBoxSpecifications(); - UIComponentButtonRadioCustonmizing(); - UIComponentButtonRadioCheckMark(); - UIComponentButtonSelectAttribute(); - UIComponentSpecialComponentsFormComponentTransparent(); - UIComponentSpecialComponentsUIExtensionComponentPopupChange(); - UIComponentPopupBoxSpecificationsShadow(); - UIComponentFunctionSelectSymbol(); - UIComponentButtonSelectControlSize(); - UIComponentButtonSelectDivider(); - UITestCaseTest(); - FunctionJiChuSR000HUB4K(); - UIComponentUISupportColor(); - UIComponentButtonCommonButton(); - ComponentButtonSelectMenuItemContentModifier(); - UiComponentButtonSelectEnhancement(); - UiComponentButtonSelectAlign(); - UiComponentPopupboxZero(); - UIComponentPopupboxCalendarpickerInterface(); - UIComponentPopupboxDatepickerDialogLanguageHabit(); - TsComponentSR000HRP34(); - UiComponentPopupboxDatePickerDialogScenarios(); - UiComponentPopupboxDatePickerDialogInterface(); - UIComponentPopupBoxAttribute(); - UIComponentPopupBoxPromptToastSequence(); - UIComponentPopupBoxSpecificationsPopup(); - demoTest(); - UIAttributeFontInterface001(); - UIComponentDividerBlankLayout(); - UIComponentDividerDividerInterface(); - UIComponentDividerDividerLayout(); - UIComponentDividerStyle(); - UIComponentLayoutFlexInterface(); - UIComponentTextRefactorAdjustment(); - UIComponentTextTextareEnhances(); - UIAttributeFontInterfaceColor(); - UIAttributeFontInterfaceFontFamily(); - UIAttributeFontInterfaceSize(); - UIAttributeFontInterfaceStyle(); - UIAttributeFontInterfaceWeight(); - UIComponentDividerBlankInterfaceColor(); - UIComponentDividerBlankInterfaceMin(); - UIComponentTextCommonTextStyleTextArea(); - UIComponentTextCommonTextStyleText(); - UIComponentTextCommonTextStyleSpan(); - UIComponentLayoutColumnInterface(); - UIVisibilityInterface001(); - UiComponentTextCommonTextstyle(); - UiComponentTextTextareaInterface(); - UIAttributePositionSizeLayoutTest(); - UIAttributePositionInterfaceTest(); - ComponentAttributeStringModifyingStyle001(); - ComponentAttributeStringModifyingStyleText001(); - ComponentAttributeStringModifyingText001(); - ComponentTextAttributeString001(); - ComponentTextAttributeStringConstructs001(); - ComponentLayoutCommonPixelTest001(); - UiTextBrightenTest001(); - UiTextShadowTest001(); - UiComponentDividerStyle(); - UiComponentLayoutCommonPixel(); - UiComponentRowcolumnSidebarcontainerInterface(); - UiComponentTextModifier(); - UIComponentCreateColor(); - UIComponentTextCapi(); - UIComponentTextTextinputInterface(); - UIComponentTextTextinputPolymorphic(); - UiComponentWordbreak(); - UIFontFeature(); - UIComponentTextCommonLocationTest(); - UITestCase(); - UIComponentLayoutStackTest(); - UIComponentSymbolColorrendering(); - UIComponentCommonattrDrawingLayout(); - UIComponentLayoutModifierTest(); - UIComponentLineheightDecoration(); - UIComponentTextinputUnderlinecolor(); - UIComponentLayoutColumnLayout(); - UIComponentTextCommonLinespace(); - UIComponentTextCommonLinespaceC(); - UiComponentNavModifier(); - UiComponentSymbolSymbol(); - UiComponentTextCommonAffineTransformation(); - UIComponentScrollSwiperInterfaceMixTest(); - UiComponentSpanBaselineoffset(); - - ComponentTextCommonTextMinFontSize001(); - ComponentLayoutModifierTest001(); - ComponentRowColumnSidebarContainerAttributeTest001(); - ComponentRowColumnSidebarContainerBlurStyleTest001(); - ComponentTextCommonAffineTransformationTest001(); - UIComponentTextTextinputAction(); - UIComponentTextCommonAffingTranTest(); - UIComponentSymbolDisplay(); - UIAttributeFontSupportstage(); - UIAttributeFontInterface002(); - UIAttributeFontInterface003(); UIComponentAttributeImage(); StatusManagerBelievable(); UIComponentAttributeStringModifyingStyle(); @@ -472,6 +109,7 @@ export default function testsuite() { UIComponentTextTransparency(); UIAttributesStateStylesInterfaceEditableTextThree(); UIComponentCreateColor(); + UIComponentTextInput0010(); UIComponentScrollSwiperInterfacemix(); UIComponentTextAttribute(); @@ -497,6 +135,7 @@ export default function testsuite() { UIComponentInputKeyboardAvoidMode(); UIComponentTextTextEvasiveInputMethod(); UIComponentTextTextAreaOnEditChangeTest(); + UIComponentCanvasModifier(); } diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/StatusManagerBelievableTest/StatusManagerBelievable.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/StatusManagerBelievableTest/StatusManagerBelievable.test.ets index 35d9964d..373ebfb5 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/StatusManagerBelievableTest/StatusManagerBelievable.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/StatusManagerBelievableTest/StatusManagerBelievable.test.ets @@ -13,15 +13,33 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, 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 { uiAppearance } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit' export default function StatusManagerBelievable() { describe('StatusManagerBelievable', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return; diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test.test.ets deleted file mode 100644 index 598039d5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test.test.ets +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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' -import { KeyCode } from '@kit.InputKit' - -/* - * TsComponentSR000HRP34 - * - * 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 TsComponentSR000HRP34() { - - describe('TsComponentSR000HRP34', () => { - - - /* - * @tc.number SUB_ACE_TS_COMPONENT_SR000HRP34_124 - * @tc.name SUB_ACE_TS_COMPONENT_SR000HRP34_124 - * @tc.desc Regular call: DatePickerDialog-textStyle-PickerTextStyle-color-Color.Blue - */ - it('SUB_ACE_TS_COMPONENT_SR000HRP34_124', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_TS_COMPONENT_SR000HRP34_124 start.`); - Settings.createWindow("testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test124") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('TsComponentSR000HRP34_124_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_TS_COMPONENT_SR000HRP34_124 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_TS_COMPONENT_SR000HRP34_125 - * @tc.name SUB_ACE_TS_COMPONENT_SR000HRP34_125 - * @tc.desc Regular call: DatePickerDialog-textStyle-PickerTextStyle-color-0x0000ff - */ - it('SUB_ACE_TS_COMPONENT_SR000HRP34_125', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_TS_COMPONENT_SR000HRP34_125 start.`); - Settings.createWindow("testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test125") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('TsComponentSR000HRP34_125_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_TS_COMPONENT_SR000HRP34_125 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_TS_COMPONENT_SR000HRP34_126 - * @tc.name SUB_ACE_TS_COMPONENT_SR000HRP34_126 - * @tc.desc Regular call: DatePickerDialog-textStyle-PickerTextStyle-color-"rgb(255,0,0)" - */ - it('SUB_ACE_TS_COMPONENT_SR000HRP34_126', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_TS_COMPONENT_SR000HRP34_126 start.`); - Settings.createWindow("testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test126") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('TsComponentSR000HRP34_126_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_TS_COMPONENT_SR000HRP34_126 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_TS_COMPONENT_SR000HRP34_127 - * @tc.name SUB_ACE_TS_COMPONENT_SR000HRP34_127 - * @tc.desc Regular call: DatePickerDialog-textStyle-PickerTextStyle-color-$r(app.color blue) - */ - it('SUB_ACE_TS_COMPONENT_SR000HRP34_127', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_TS_COMPONENT_SR000HRP34_127 start.`); - Settings.createWindow("testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test127") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('TsComponentSR000HRP34_127_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_TS_COMPONENT_SR000HRP34_127 finish.`); - done() - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIAttributesStateStylesInterfaceEditableTextThreeTest/UIAttributesStateStylesInterfaceEditableTextThree.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIAttributesStateStylesInterfaceEditableTextThreeTest/UIAttributesStateStylesInterfaceEditableTextThree.test.ets index e476882a..5ed21f99 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIAttributesStateStylesInterfaceEditableTextThreeTest/UIAttributesStateStylesInterfaceEditableTextThree.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIAttributesStateStylesInterfaceEditableTextThreeTest/UIAttributesStateStylesInterfaceEditableTextThree.test.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, describe, it } from '@ohos/hypium' import Settings from '../model/Settings' import windowSnap from '../model/snapShot' import Logger from '../model/Logger' @@ -21,10 +21,28 @@ import Utils from '../model/Utils' import { Driver, ON } from '@ohos.UiTest' import { KeyCode } from '@kit.InputKit' +import { uiAppearance } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit' export default function UIAttributesStateStylesInterfaceEditableTextThree() { describe('UIAttributesStateStylesInterfaceEditableTextThree', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return; diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeImageTest/UIComponentAttributeImage.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeImageTest/UIComponentAttributeImage.test.ets index bba4274b..3c44381e 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeImageTest/UIComponentAttributeImage.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeImageTest/UIComponentAttributeImage.test.ets @@ -13,16 +13,34 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, 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 '@kit.TestKit' +import { uiAppearance } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit' export default function UIComponentAttributeImage001() { describe('UIComponentAttributeImage001', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return; diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeStringModifyingStyleTest/UIComponentAttributeStringModifyingStyle.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeStringModifyingStyleTest/UIComponentAttributeStringModifyingStyle.test.ets index 6b9f6855..afb4745c 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeStringModifyingStyleTest/UIComponentAttributeStringModifyingStyle.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeStringModifyingStyleTest/UIComponentAttributeStringModifyingStyle.test.ets @@ -13,16 +13,34 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, 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 '@kit.TestKit' +import { uiAppearance } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit' export default function UIComponentAttributeStringModifyingStyle() { describe('UIComponentAttributeStringModifyingStyle', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeStringModifyingStyleTextTest/UIComponentAttributeStringModifyingStyleText.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeStringModifyingStyleTextTest/UIComponentAttributeStringModifyingStyleText.test.ets index 8324d3bc..b49c1bf9 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeStringModifyingStyleTextTest/UIComponentAttributeStringModifyingStyleText.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeStringModifyingStyleTextTest/UIComponentAttributeStringModifyingStyleText.test.ets @@ -13,16 +13,34 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, 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 '@kit.TestKit' +import { uiAppearance } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit' export default function UIComponentAttributeStringModifyingStyleText() { describe('UIComponentAttributeStringModifyingStyleText', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeUserData/UIComponentAttributeUserData.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeUserData/UIComponentAttributeUserData.test.ets index c4c9e3cb..614b0dc4 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeUserData/UIComponentAttributeUserData.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentAttributeUserData/UIComponentAttributeUserData.test.ets @@ -13,16 +13,34 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, 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 '@kit.TestKit' +import { uiAppearance } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit' export default function UIComponentAttributeUserData() { describe('UIComponentAttributeUserData', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return; 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 deleted file mode 100644 index f0efa3c9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonCommonButtonTest/UIComponentButtonCommonButton.test.ets +++ /dev/null @@ -1,228 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 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' - -/* - * UIComponentButtonCommonButton - * - * 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 UIComponentButtonCommonButton() { - - describe('UIComponentButtonCommonButton', () => { - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0330 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0330 - * @tc.desc : Verify the Radio component and test whether the modifier configuration is the same as the original configuration when parameter index=1 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0330', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0330 start.`); - Settings.createWindow("testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton033"); - await Utils.sleep(3000); - await windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0330 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0340 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0340 - * @tc.desc : Verify the Radio component and test whether the modifier configuration is the same as the original configuration when parameter index=2 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0340', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0340 start.`); - Settings.createWindow("testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton034"); - await Utils.sleep(3000); - await windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0340 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0350 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0350 - * @tc.desc : Verify the Radio component and test whether the modifier configuration is the same as the original configuration when parameter index=3 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0350', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0350 start.`); - Settings.createWindow("testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton035"); - await Utils.sleep(3000); - await windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0350 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0360 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0360 - * @tc.desc : Verify the Radio component and test whether the modifier configuration is the same as the original configuration when parameter index=4 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0360', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0360 start.`); - Settings.createWindow("testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton036"); - await Utils.sleep(3000); - await windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0360 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0370 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0370 - * @tc.desc : Verify the Rating component and test whether the modifier configuration is the same as the original configuration when parameter index=1 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0370', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0370 start.`); - Settings.createWindow("testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton037"); - await Utils.sleep(3000); - await windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0370 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0380 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0380 - * @tc.desc : Verify the Rating component and test whether the modifier configuration is the same as the original configuration when parameter index=2 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0380', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0380 start.`); - Settings.createWindow("testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton038"); - await Utils.sleep(3000); - await windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0380 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0390 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0390 - * @tc.desc : Verify the Rating component and test whether the modifier configuration is the same as the original configuration when parameter index=3 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0390', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0390 start.`); - Settings.createWindow("testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton039"); - await Utils.sleep(3000); - await windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0390 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0400_1 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0400_1 - * @tc.desc : Verify the Rating component and test whether the modifier configuration is the same as the original configuration when parameter index=1 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0400_1', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0400_1 start.`); - Settings.createWindow("testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton040"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonCommonButton0400")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(3000); - await windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0400_1 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0400_2 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0400_2 - * @tc.desc : Verify the Rating component and test whether the modifier configuration is the same as the original configuration when parameter index=1 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0400_2', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0400_2 start.`); - Settings.createWindow("testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton040"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonCommonButton0401")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(3000); - await windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0400_2 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0410_1 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0410_1 - * @tc.desc : Verify the Rating component and test whether the modifier configuration is the same as the original configuration when parameter index=2 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0410_1', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0410_1 start.`); - Settings.createWindow("testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton041"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonCommonButton0410")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(3000); - await windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0410_1 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0410_2 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0410_2 - * @tc.desc : Verify the Rating component and test whether the modifier configuration is the same as the original configuration when parameter index=2 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0410_2', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0410_2 start.`); - Settings.createWindow("testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton041"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonCommonButton0411")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(3000); - await windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0410_2 finish.`); - done() - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonRadioCheckMarkTest/UIComponentButtonRadioCheckMark.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonRadioCheckMarkTest/UIComponentButtonRadioCheckMark.test.ets deleted file mode 100644 index 733cd861..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonRadioCheckMarkTest/UIComponentButtonRadioCheckMark.test.ets +++ /dev/null @@ -1,228 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 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): - * 创建窗口,更改窗口基本配置,更改方式详见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 UIComponentButtonRadioCheckMark() { - - describe('UIComponentButtonRadioCheckMark', () => { - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0030 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0030 - * @tc.desc Radio Indicates the selected type and the press state - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CHECKMARK_0030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0030 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark003"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonRadioCheckMark0030")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.longClick(pointButtonCenter.x, pointButtonCenter.y) - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0030 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0010 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0010 - * @tc.desc Radio is selected for the selected type - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CHECKMARK_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0010 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark001"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0010 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0080 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0080 - * @tc.desc Radio Indicates the selected type and the press state - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CHECKMARK_0080', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0080 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark008"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonRadioCheckMark0080")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.longClick(pointButtonCenter.x, pointButtonCenter.y) - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0080 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0060 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0060 - * @tc.desc Radio is selected for the selected type - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CHECKMARK_0060', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0060 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark006"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0060 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0050 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0050 - * @tc.desc Radio is selected for the selected type - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CHECKMARK_0050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0050 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark005"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0050 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0100 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0100 - * @tc.desc Radio is selected for the selected type - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CHECKMARK_0100', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0100 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark010"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0100 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0130 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0130 - * @tc.desc Radio is selected for the selected type - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CHECKMARK_0130', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0130 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark013"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let backgroundColorButtonCom = await driver.findComponent(ON.id("UIComponentButtonRadioCheckMark0130")); - let borderColorButtonCom = await driver.findComponent(ON.id("UIComponentButtonRadioCheckMark0131")); - let indicatorColorButtonCom = await driver.findComponent(ON.id("UIComponentButtonRadioCheckMark0132")); - let backgroundColorButtonCenter = await backgroundColorButtonCom.getBoundsCenter(); - let borderColorButtonCenter = await borderColorButtonCom.getBoundsCenter(); - let indicatorColorButtonCenter = await indicatorColorButtonCom.getBoundsCenter(); - await driver.click(backgroundColorButtonCenter.x, backgroundColorButtonCenter.y) - await Utils.sleep(1000); - await driver.click(borderColorButtonCenter.x, borderColorButtonCenter.y) - await Utils.sleep(1000); - await driver.click(indicatorColorButtonCenter.x, indicatorColorButtonCenter.y) - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0130 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0140 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0140 - * @tc.desc Radio Left unchecked for check type, non-select status Stroke color - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CHECKMARK_0140', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0140 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark014"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let backgroundColorButtonCom = await driver.findComponent(ON.id("UIComponentButtonRadioCheckMark0140")); - let borderColorButtonCom = await driver.findComponent(ON.id("UIComponentButtonRadioCheckMark0141")); - let indicatorColorButtonCom = await driver.findComponent(ON.id("UIComponentButtonRadioCheckMark0142")); - let backgroundColorButtonCenter = await backgroundColorButtonCom.getBoundsCenter(); - let borderColorButtonCenter = await borderColorButtonCom.getBoundsCenter(); - let indicatorColorButtonCenter = await indicatorColorButtonCom.getBoundsCenter(); - await driver.click(backgroundColorButtonCenter.x, backgroundColorButtonCenter.y) - await Utils.sleep(1000); - await driver.click(borderColorButtonCenter.x, borderColorButtonCenter.y) - await Utils.sleep(1000); - await driver.click(indicatorColorButtonCenter.x, indicatorColorButtonCenter.y) - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0140 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0110 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0110 - * @tc.desc Radio component. Set the checked property to true - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CHECKMARK_0110', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0110 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark011"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0110 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0120 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0120 - * @tc.desc Radio component. Set the checked property to false - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CHECKMARK_0120', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0120 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark012"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADI0_CHECKMARK_0120 finish.`); - done(); - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonRadioCustonmizingTest/UIComponentButtonRadioCustonmizing.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonRadioCustonmizingTest/UIComponentButtonRadioCustonmizing.test.ets deleted file mode 100644 index 7bb67ae5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonRadioCustonmizingTest/UIComponentButtonRadioCustonmizing.test.ets +++ /dev/null @@ -1,362 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 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 { KeyCode } from '@kit.InputKit' -import { BusinessError, screenLock } from '@kit.BasicServicesKit' - -/* - * 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 UIComponentButtonRadioCustonmizing() { - - describe('UIComponentButtonRadioCustonmizing', () => { - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_003 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_003 - * @tc.desc Custom buildRadio, in Raido value passed in the string "Radio", enable set to false; value is empty, and the radio component is not clickable - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_003', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_003 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing003"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonRadioCustonmizing0033")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_003 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_008 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_008 - * @tc.desc Custom buildRadio, set triggerChange to nul - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_008', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_008 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing008"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonRadioCustonmizing0082")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_008 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_002 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_002 - * @tc.desc Custom buildRadio, in Radio value is passed to the string "",checked:false,value is displayed as empty, radio is not selected - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_002', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_002 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing002"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonRadioCustonmizing0022")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_002 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_006 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_006 - * @tc.desc To customize buildRadio, use triggerChange to select the status change - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_006', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_006 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing006"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonRadioCustonmizing0066")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_006 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_009 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_009 - * @tc.desc Custom buildRadio, triggerChange is set to undefined - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_009', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_009 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing009"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonRadioCustonmizing0092")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_009 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_001 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_001 - * @tc.desc Custom buildRadio,value passed the string "Radio1", checked: true, value can be displayed normally, radio is clicked state - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_001', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_001 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing001"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonRadioCustonmizing0010")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_001 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_007 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_007 - * @tc.desc Custom buildRadio, using triggerChange, set onchange events to radio, triggerChange can trigger onchange - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_007', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_007 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing007"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let buttonCom = await driver.findComponent(ON.id("UIComponentButtonRadioCustonmizing00761")); - let circleCom = await driver.findComponent(ON.id("UIComponentButtonRadioCustonmizing00760")); - let pointButtonCenter = await buttonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - await circleCom.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_007 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_005 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_005 - * @tc.desc Custom buildRadio, value is passed undefined in Radio,checked: undefined value is displayed as empty, radio component is not selected medium - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_005', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_005 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing005"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let buttonCom = await driver.findComponent(ON.id("UIComponentButtonRadioCustonmizing0055")); - let pointButtonCenter = await buttonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_005 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_004 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_004 - * @tc.desc Custom buildRadio,Radio value passed to null checked:null; value is empty and the radio component is unchecked - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_004', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_004 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing004"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let buttonCom = await driver.findComponent(ON.id("UIComponentButtonRadioCustonmizing0044")); - let pointButtonCenter = await buttonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_004 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_012 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_012 - * @tc.desc Custom buildRadio, not set - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_012', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_012 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing012"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let buttonCom = await driver.findComponent(ON.id("UIComponentButtonRadioCustonmizing0120")); - let pointButtonCenter = await buttonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_012 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_010 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_010 - * @tc.desc Custom buildRadio, contentModifier set to undefined - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_010 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing010"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let buttonCom = await driver.findComponent(ON.id("UIComponentButtonRadioCustonmizing0100")); - let pointButtonCenter = await buttonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_010 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_011 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_011 - * @tc.desc Custom buildRadio, contentModifier set to null - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_011', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_011 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing011"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let buttonCom = await driver.findComponent(ON.id("UIComponentButtonRadioCustonmizing0110")); - let pointButtonCenter = await buttonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_011 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_017 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_017 - * @tc.desc Call contentModifer twice for the last setting to take effect - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_017', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_017 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing017"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_017 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_016 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_016 - * @tc.desc Custom buildRadio, verify that the Radio component switches the program to the table and back after the program starts, and the program continues as normal - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_016', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_016 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing016"); - let driver: Driver = Driver.create(); - await Utils.sleep(5000); - let currentWindow = await Settings.windowClass; - if (currentWindow) { - await currentWindow.hide(); - await driver.triggerKey(KeyCode.KEYCODE_HOME); - await Utils.sleep(2000); - await currentWindow.showWindow(); - } - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_016 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_016 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_016 - * @tc.desc Custom buildRadio to verify how the Radio component looks when the screen is lit up after the breath screen - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_013', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_013 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing013"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - await Utils.sleep(1000); - await screenLock.lock((err: BusinessError, data: Boolean) => { - if (err) { - console.error(`Failed to lock the screen, Code: ${err.code}, message: ${err.message}`); - return; - } - console.info(`Succeeded in locking the screen. result: ${data}`); - }); - await Utils.sleep(2000); - await screenLock.unlock((err: BusinessError) => { - if (err) { - console.error(`Failed to unlock the screen, Code: ${err.code}, message: ${err.message}`); - return; - } - console.info(`Succeeded unlocking the screen.`); - }); - await driver.drag(100, 900, 100, 1, 1000); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_CUSTONMIZING_013 finish.`); - done(); - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonRadioLConicTest/UIComponentButtonRadioLConic.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonRadioLConicTest/UIComponentButtonRadioLConic.test.ets deleted file mode 100644 index 9eb3d8b3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonRadioLConicTest/UIComponentButtonRadioLConic.test.ets +++ /dev/null @@ -1,327 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 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 { BusinessError, screenLock } from '@kit.BasicServicesKit' -import { KeyCode } from '@kit.InputKit' - -/* - * 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 UIComponentButtonRadioLConic() { - - describe('UIComponentButtonRadioLConic', () => { - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_013 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_013 - * @tc.desc set radioStyle.checkedBackgroundColor - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_013', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_013 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic013"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonRadioLConic0130")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_013 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_025 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_025 - * @tc.desc set indicatorType: RadioIndicatorType.TICK, indicatorBuilder: null in Breath screen and light screen - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_025', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_025 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic025"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonRadioLConic0250")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_025 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_020 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_020 - * @tc.desc indicatorBuilder is set to image, indicatorColor is set to Pink, Radio is set to 50vp,image is passed 20vp image - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_020 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic020"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonRadioLConic0200")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_020 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_022 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_022 - * @tc.desc Radio indicatorType is passed in TICK, builder is passed in image - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_022', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_022 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic022"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let RadioCom = await driver.findComponent(ON.id("UIComponentButtonRadioLConic0220")); - let pointRadioCenter = await RadioCom.getBoundsCenter(); - await driver.click(pointRadioCenter.x, pointRadioCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_022 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_008 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_008 - * @tc.desc indicatorBuilder is set to image,Radio does not set the size, image is 100 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_008', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_008 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic008"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let RadioCom = await driver.findComponent(ON.id("UIComponentButtonRadioLConic0080")); - let pointRadioCenter = await RadioCom.getBoundsCenter(); - await driver.click(pointRadioCenter.x, pointRadioCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_008 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_024 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_024 - * @tc.desc indicatorBuilder is set to undefined,Radio selected style is checkmark style - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_024', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_024 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic024"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let RadioCom = await driver.findComponent(ON.id("UIComponentButtonRadioLConic0240")); - let pointRadioCenter = await RadioCom.getBoundsCenter(); - await driver.click(pointRadioCenter.x, pointRadioCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_024 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_019 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_019 - * @tc.desc indicatorBuilder value is set to image,indicatorColor is set to Pink,Radio is set to 50,image is passed 100vp image - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_019', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_019 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic019"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let RadioCom = await driver.findComponent(ON.id("UIComponentButtonRadioLConic0190")); - let pointRadioCenter = await RadioCom.getBoundsCenter(); - await driver.click(pointRadioCenter.x, pointRadioCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_019 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_009 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_009 - * @tc.desc indicatorBuilder value is set to image,Radio does not set the size, image is set to 10 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_009', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_009 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic009"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let RadioCom = await driver.findComponent(ON.id("UIComponentButtonRadioLConic0090")); - let pointRadioCenter = await RadioCom.getBoundsCenter(); - await driver.click(pointRadioCenter.x, pointRadioCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_009 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_030 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_030 - * @tc.desc indicatorBuilder is set to image, Radio is set to 50,image is set to 100 and clip is set to true - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_030 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic030"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let RadioCom = await driver.findComponent(ON.id("UIComponentButtonRadioLConic0300")); - let pointRadioCenter = await RadioCom.getBoundsCenter(); - await driver.click(pointRadioCenter.x, pointRadioCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_030 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_031 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_031 - * @tc.desc indicatorBuilder value is set to image, image is set according to the percentage, passing 20% of the image - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_031', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_031 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic031"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let RadioCom = await driver.findComponent(ON.id("UIComponentButtonRadioLConic0310")); - let pointRadioCenter = await RadioCom.getBoundsCenter(); - await driver.click(pointRadioCenter.x, pointRadioCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_031 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_028 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_028 - * @tc.desc indicatorBuilder is set to button1, bind the click event, click the button, button becomes selected - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_028', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_028 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic028"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - await Utils.sleep(5000); - let currentWindow = await Settings.windowClass; - if (currentWindow) { - await currentWindow.hide(); - await driver.triggerKey(KeyCode.KEYCODE_HOME); - await Utils.sleep(2000); - await currentWindow.showWindow(); - } - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_028 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_027 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_027 - * @tc.desc set TICK、DOT style and Image Component in screen lock(unlock) - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_027', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_027 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic027"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - await Utils.sleep(1000); - await screenLock.lock((err: BusinessError, data: Boolean) => { - if (err) { - console.error(`Failed to lock the screen, Code: ${err.code}, message: ${err.message}`); - return; - } - console.info(`Succeeded in locking the screen. result: ${data}`); - }); - await Utils.sleep(2000); - await screenLock.unlock((err: BusinessError) => { - if (err) { - console.error(`Failed to unlock the screen, Code: ${err.code}, message: ${err.message}`); - return; - } - console.info(`Succeeded unlocking the screen.`); - }); - await driver.drag(100, 900, 100, 1, 1000); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_027 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_004 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_004 - * @tc.desc indicatorBuilder is set to image,Radio does not set the size, image is 100 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_004', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_004 start.`); - Settings.createWindow("testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic004"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let RadioCom = await driver.findComponent(ON.id("UIComponentButtonRadioLConic0040")); - let RadioCom1 = await driver.findComponent(ON.id("UIComponentButtonRadioLConic0041")); - let pointRadioCenter = await RadioCom.getBoundsCenter(); - let pointRadioCenter1 = await RadioCom1.getBoundsCenter(); - await driver.click(pointRadioCenter.x, pointRadioCenter.y); - await Utils.sleep(1000); - await driver.click(pointRadioCenter1.x, pointRadioCenter1.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_RADIO_LCONIC_004 finish.`); - done(); - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSelectAttributeTest/UIComponentButtonSelectAttribute.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSelectAttributeTest/UIComponentButtonSelectAttribute.test.ets deleted file mode 100644 index 4829146b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSelectAttributeTest/UIComponentButtonSelectAttribute.test.ets +++ /dev/null @@ -1,257 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 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): - * 创建窗口,更改窗口基本配置,更改方式详见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 UIComponentButtonSelectAttribute() { - - describe('UIComponentButtonSelectAttribute', () => { - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0320_1 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0320_1 - * @tc.desc By default, the selected item is the first - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0320_1', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0320_1 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute032"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonSelectAttribute0320")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0320_1 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0320_2 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0320_2 - * @tc.desc Click the mask layer to exit, and the content of the drop-down button will not change - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0320_2', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0320_2 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute032"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonSelectAttribute0320")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0320_2 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0340_1 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0340_1 - * @tc.desc By default, the selected item is the first - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0340_1', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0340_1 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute034"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonSelectAttribute0340")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0340_1 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0340_2 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0340_2 - * @tc.desc Click the mask layer to exit, and the content of the drop-down button will not change - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0340_2', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0340_2 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute034"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonSelectAttribute0340")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0340_2 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0310_1 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0310_1 - * @tc.desc By default, the selected item is the first - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0310_1', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0310_1 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute031"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonSelectAttribute0310")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0310_1 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0310_2 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0310_2 - * @tc.desc Click the mask layer to exit, and the content of the drop-down button will not change - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0310_2', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0310_2 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute031"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonSelectAttribute0310")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0310_2 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0330_1 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0330_1 - * @tc.desc By default, the selected item is the first - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0330_1', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0330_1 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute033"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonSelectAttribute0330")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0330_1 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0330_2 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0330_2 - * @tc.desc Click the mask layer to exit, and the content of the drop-down button will not change - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0330_2', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0330_2 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute033"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonSelectAttribute0330")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0330_2 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0350_1 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0350_1 - * @tc.desc By default, the selected item is the first - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0350_1', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0350_1 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute035"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonSelectAttribute0350")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0350_1 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0350_2 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0350_2 - * @tc.desc Click the mask layer to exit, and the content of the drop-down button will not change - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0350_2', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0350_2 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute035"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonSelectAttribute0350")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0350_2 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0040 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0040 - * @tc.desc The attribute font-size is set to number - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0040 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute004"); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ATTRIBUTE_0040 finish.`); - done(); - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize.test.ets deleted file mode 100644 index b9bf9012..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize.test.ets +++ /dev/null @@ -1,1688 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 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' - -/* - * UIComponentButtonSelectControlSize - * - * 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 UIComponentButtonSelectControlSize() { - - describe('UIComponentButtonSelectControlSize', () => { - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0020 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0020 - * @tc.desc : select尺寸为NORMAL时,UX展示效果 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0020 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0020") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0020 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0030 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0030 - * @tc.desc : select尺寸为NORMAL时,width设置大于66vp - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0030 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0030") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0030 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0040 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0040 - * @tc.desc : select尺寸为NORMAL时,width设置小于66vp - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0040 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0040") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0040 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0050 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0050 - * @tc.desc : select尺寸为NORMAL时,width异常值:undefined/null/-1/"" - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0050 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0050") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0050 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0060 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0060 - * @tc.desc : select尺寸为NORMAL时,width默认值是否与66vp一致 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0060', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0060 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0060") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0060 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0070 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0070 - * @tc.desc : 尺寸NORMAL,Width不设置 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0070', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0070 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0070") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0070 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0080 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0080 - * @tc.desc : select尺寸为NORMAL时,borderStyle四条边设置相同 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0080', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0080 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0080") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0080 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0090 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0090 - * @tc.desc : select尺寸为NORMAL时,borderStyle四条边设置不同 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0090', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0090 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0090") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0090 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0100 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0100 - * @tc.desc : select尺寸为NORMAL时borderstyle默认值是否与Solid一致 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0100', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0100 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0100") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0100 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0110 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0110 - * @tc.desc : select尺寸为NORMAL时borderStyle不设置时是否和之前版本一致 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0110', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0110 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0110") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0110 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0120 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0120 - * @tc.desc : select尺寸为NORMAL时,borderRadius正常值20 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0120', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0120 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0120") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0120 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0130 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0130 - * @tc.desc : select尺寸为NORMAL时borderRadius大于高度的一半500 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0130', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0130 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0130") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0130 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0140 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0140 - * @tc.desc : select尺寸为NORMAL时borderRadius设置异常值-1/10% - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0140', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0140 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0140") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0140 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0150 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0150 - * @tc.desc : select尺寸为NORMAL时borderRadius设置异常值null/undefined - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0150', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0150 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0150") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0150 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0160 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0160 - * @tc.desc : select尺寸为NORMAL,borderRadius默认值是否和20一致 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0160', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0160 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0160") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0160 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0170 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0170 - * @tc.desc : select尺寸为NORMAL时,font正常值 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0170', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0170 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0170") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0170 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0180 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0180 - * @tc.desc : select尺寸为NORMAL时,size异常值-10/null/undefined/10% - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0180', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0180 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0180") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0180 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0190 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0190 - * @tc.desc : select尺寸为NORMAL时,size异常值10% - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0190', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0190 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0190") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0190 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0200 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0200 - * @tc.desc : select尺寸为NORMAL时,weight异常值-10/10% - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0200', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0200 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0200") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0200 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0210 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0210 - * @tc.desc : select尺寸为NORMAL时,weight异常值null/undefined - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0210', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0210 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0210") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0210 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0220 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0220 - * @tc.desc : select尺寸为NORMAL时,font默认值是否与size:“16fp",weight: FontWeight.Medium一致 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0220', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0220 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0220") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0220 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0230 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0230 - * @tc.desc : select尺寸为NORMAL时,number:0xffff00黄色 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0230', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0230 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0230") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0230 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0240 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0240 - * @tc.desc : select尺寸为NORMAL时,color: pink - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0240', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0240 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0240") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0240 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0250 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0250 - * @tc.desc : select尺寸为NORMAL时,string:#ff0000ff(蓝色) - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0250', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0250 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0250") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0250 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0260 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0260 - * @tc.desc : select尺寸为NORMAL时,resource:#FF508131 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0260', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0260 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0260") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0260 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0270 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0270 - * @tc.desc : select尺寸为NORMAL时fontColor异常值:undefned/null/0/""/2% - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0270', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0270 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0270") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0270 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0280 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0280 - * @tc.desc : select尺寸为NORMAL时,fontColor异常值:-1 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0280', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0280 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0280") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0280 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0290 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0290 - * @tc.desc : select尺寸为NORMAL时fontColor默认值是否和黑色一致 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0290', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0290 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0290") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0290 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0300 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0300 - * @tc.desc : select尺寸为NORMAL时,fontColor不设置时是否和之前版本一致 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0300', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0300 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0300") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0300 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0310 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0310 - * @tc.desc : select尺寸为NORMAL时,backgroundColor设为number:0xffff00黄色 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0310', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0310 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0310") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0310 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0320 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0320 - * @tc.desc : select尺寸为NORMAL时,backgroundColor设为color:pink - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0320', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0320 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0320") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0320 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0330 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0330 - * @tc.desc : select尺寸为NORMAL时,backgroundColor设为string:#ff0000ff(蓝色) - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0330', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0330 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0330") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0330 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0340 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0340 - * @tc.desc : select尺寸为NORMAL时,backgroundColor设为resource:#FF508131 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0340', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0340 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0340") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0340 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0350 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0350 - * @tc.desc : select尺寸为NORMAL时,backgroundColor设为异常值:undefned/null/-1/""/2% - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0350', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0350 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0350") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0350 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0360 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0360 - * @tc.desc : select尺寸为NORMAL时backgroundColor设为异常值0/2% - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0360', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0360 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0360") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0360 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0370 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0370 - * @tc.desc : select尺寸为NORMAL时.backgroundColor设为默认值是否和#E5000000一致 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0370', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0370 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0370") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0370 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0380 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0380 - * @tc.desc : select尺寸为NORMAL时,backgroundColor不设置时是否和之前版本一致 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0380', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0380 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0380") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0380 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0390 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0390 - * @tc.desc : select尺寸为NORMAL时.padding{ top: 8, left: 16, bottom:8, right: 16 } - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0390', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0390 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0390") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0390 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0400 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0400 - * @tc.desc : select尺寸为NORMAL时,padding设为异常值-1 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0400', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0400 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0400") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0400 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0410 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0410 - * @tc.desc : 尺寸为NORMAL时,padding设为异常值null - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0410', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0410 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0410") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0410 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0420 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0420 - * @tc.desc : select尺寸为NORMAL时,padding默认值是否和padding{top: 8, left: 16, bottom: 8, right: 16}一致 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0420', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0420 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0420") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0420 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0430 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0430 - * @tc.desc : select尺寸为NORMAL时.padding不设置时是否和之前版本一致 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0430', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0430 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0430") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0430 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0450 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0450 - * @tc.desc : controlSize设为NORMAL时,press - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0450', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0450 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0450") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0450_001')); - await button1.click(); - await Utils.sleep(1000); - let select: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0450_002')); - await select.longClick(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0450 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0470 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0470 - * @tc.desc : select尺寸为SMALL - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0470', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0470 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0470") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0470 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0480 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0480 - * @tc.desc : select尺寸为SMALL时,width设大于66vp - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0480', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0480 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0480") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0480 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0490 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0490 - * @tc.desc : select尺寸为SMALL时,width设置小于66vp - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0490', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0490 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0490") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0490 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0500 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0500 - * @tc.desc : select尺寸为SMALL时,width设为异常值:undefined/null/-1/"" - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0500', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0500 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0500") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0500 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0510 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0510 - * @tc.desc : select尺寸为SMALL时,width默认值是否与66vp一致 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0510', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0510 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0510") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0510 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0520 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0520 - * @tc.desc : controlSize设为small时.borderStyle四条边设置相同 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0520', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0520 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0520") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0520 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0530 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0530 - * @tc.desc : controlSize设为small时borderStyle四条边设置不同 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0530', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0530 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0530") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0530 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0540 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0540 - * @tc.desc : controlSize设为small时borderStyle默认值是否与Solid一致 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0540', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0540 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0540") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0540 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0550 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0550 - * @tc.desc : 尺寸small时borderStyle不设置 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0550', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0550 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0550") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0550 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0560 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0560 - * @tc.desc : controlSize设为small时borderRadius正常值20 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0560', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0560 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0560") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0560 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0570 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0570 - * @tc.desc : controlSize设为small时,borderRadius大于高度的一半500 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0570', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0570 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0570") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0570 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0580 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0580 - * @tc.desc : controlSize设为small时,borderRadius设置异常值-1/10% - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0580', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0580 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0580") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0580 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0590 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0590 - * @tc.desc : controlSize设为small时borderRadius设置异常值null/undefined - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0590', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0590 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0590") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0590 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0600 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0600 - * @tc.desc : controlSize设为small时borderRadius默认值是否和20一致 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0600', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0600 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0600") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0600 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0610 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0610 - * @tc.desc : controlSize设为small时,font正常值 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0610', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0610 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0610") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0610 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0620 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0620 - * @tc.desc : controlSize设为small时,size异常值-10/null/undefined/10% - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0620', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0620 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0620") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0620 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0630 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0630 - * @tc.desc : controlSize设为small时,size异常值10% - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0630', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0630 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0630") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0630 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0640 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0640 - * @tc.desc : controlSize设为smal时,weight 异常值-10/10% - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0640', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0640 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0640") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0640 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0650 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0650 - * @tc.desc : controlSize设为small时,weight异常值null/undefined - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0650', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0650 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0650") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0650 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0660 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0660 - * @tc.desc : controlSize设为small时font默认值是否与size:“16fp”,weight: FontWeight.Medium一致 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0660', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0660 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0660") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0660 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0670 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0670 - * @tc.desc : controlSize设为small时,color设为number:#ffff00黄色 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0670', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0670 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0670") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0670 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0680 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0680 - * @tc.desc : controlSize设为small时,color设为color: pink - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0680', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0680 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0680") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0680 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0690 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0690 - * @tc.desc : controlSize设为small时,color设为string:#ff0000ff(蓝色) - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0690', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0690 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0690") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0690 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0700 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0700 - * @tc.desc : controlSize设为small时,color设为resource:#FF508131 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0700', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0700 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0700") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0700 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0710 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0710 - * @tc.desc : controlSize设为small时,color设为异常值:undefined/null/0/""/2% - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0710', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0710 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0710") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0710 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0720 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0720 - * @tc.desc : controlsize设为small时,color设为异常值:-1 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0720', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0720 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0720") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0720 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0730 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0730 - * @tc.desc : controlSize设为small时,color设为默认值是否和黑色一致 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0730', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0730 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0730") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0730 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0740 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0740 - * @tc.desc : controlSize设为small时backgroundColor设为number:0xffff00黄色 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0740', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0740 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0740") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0740 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0750 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0750 - * @tc.desc : controlSize设为small时,backGroundColor设为color:pink - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0750', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0750 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0750") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0750 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0760 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0760 - * @tc.desc : backgroundColor设为string:#ff0000ff(蓝色) - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0760', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0760 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0760") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0760 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0770 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0770 - * @tc.desc : controlSize设为small时,backGroundColor设为resource:#FF508131 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0770', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0770 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0770") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0770 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0780 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0780 - * @tc.desc : controlSize设为small时backGroundColor设为异常值:undefined/null/-1/""/2% - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0780', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0780 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0780") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0780 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0790 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0790 - * @tc.desc : controlSize设为small时,backGroundColor设为异常值0/2% - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0790', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0790 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0790") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0790 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0800 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0800 - * @tc.desc : controlSize设为small时,backGroundColor不设置,默认值是否和#E5000000一致 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0800', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0800 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0800") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0800 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0810 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0810 - * @tc.desc : controlSize设为small时,padding{ top: 8, left: 16, bottom:8. right: 16 } - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0810', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0810 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0810") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0810 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0820 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0820 - * @tc.desc : controlSize设为small时padding设为异常值-1 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0820', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0820 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0820") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0820 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0830 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0830 - * @tc.desc : controlSize设为small时padding设为异常值null/undefined - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0830', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0830 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0830") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0830 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0840 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0840 - * @tc.desc : controlSize设为small时padding默认值是否和padding{ top: 8, left: 16, bottom: 8, right:16 }一致 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0840', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0840 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0840") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0840 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0860 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0860 - * @tc.desc : controlSize设为small时,press - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0860', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0860 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0860") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0860_001')); - await button1.click(); - await Utils.sleep(1000); - let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0860_002')); - await button2.click(); - await Utils.sleep(1000); - let select: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0860_003')); - await select.longClick(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0860 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0880 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0880 - * @tc.desc : 文本长度>normal宽度:80 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0880', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0880 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0880") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0880_001')); - await button1.click(); - await Utils.sleep(1000); - let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0880_002')); - await button2.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0880 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0890 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0890 - * @tc.desc : 文本长度大于smal小于normal:56 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0890', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0890 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0890") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0890_001')); - await button1.click(); - await Utils.sleep(1000); - let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0890_002')); - await button2.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0890 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0900 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0900 - * @tc.desc : 文本长度小于small:20 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0900', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0900 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0900") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0900_001')); - await button1.click(); - await Utils.sleep(1000); - let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0900_002')); - await button2.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0900 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0910 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0910 - * @tc.desc : 文本超长”你好我的朋友上午好早上好中午好晚上好晚安” - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0910', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0910 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0910") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0910_001')); - await button1.click(); - await Utils.sleep(1000); - let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0910_002')); - await button2.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0910 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0920 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0920 - * @tc.desc : 容器宽度大于normal宽度:80 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0920', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0920 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0920") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0920_001')); - await button1.click(); - await Utils.sleep(1000); - let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0920_002')); - await button2.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0920 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0930 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0930 - * @tc.desc : 容器宽度大于small小于normal:56 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0930', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0930 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0930") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0930_001')); - await button1.click(); - await Utils.sleep(1000); - let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0930_002')); - await button2.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0930 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0940 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0940 - * @tc.desc : 容器宽度小于small:20 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0940', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0940 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0940") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0940_001')); - await button1.click(); - await Utils.sleep(1000); - let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0940_002')); - await button2.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0940 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0950 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0950 - * @tc.desc : 不设置容器高度,文本高度>normal高度:font-size:100 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0950', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0950 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0950") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0950_001')); - await button1.click(); - await Utils.sleep(1000); - let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0950_002')); - await button2.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0950 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0960 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0960 - * @tc.desc : 不设置容器高度,文本高度>normal高度:font-size:35 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0960', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0960 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0960") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0960_001')); - await button1.click(); - await Utils.sleep(1000); - let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0960_002')); - await button2.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0960 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0970 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0970 - * @tc.desc : 不设置容器高度,文本高度 { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0970 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0970") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0970_001')); - await button1.click(); - await Utils.sleep(1000); - let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0970_002')); - await button2.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0970 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0980 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0980 - * @tc.desc : 容器高度大于normal高度:80 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0980', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0980 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0980") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0980_001')); - await button1.click(); - await Utils.sleep(1000); - let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0980_002')); - await button2.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0980 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0990 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0990 - * @tc.desc : 容器高度大于small小于normal:35 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0990', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0990 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize0990") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0990_001')); - await button1.click(); - await Utils.sleep(1000); - let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize0990_002')); - await button2.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_0990 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_1000 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_1000 - * @tc.desc : 容器高度小于small:20 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_1000', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_1000 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize1000") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize1000_001')); - await button1.click(); - await Utils.sleep(1000); - let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSelectControlSize1000_002')); - await button2.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_1000 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_1010 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_1010 - * @tc.desc : controlSize不设置 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_1010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_1010 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectControlSize/" + - "UIComponentButtonSelectControlSize1010") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_CONTROLSIZE_1010 finish.`); - done(); - }) - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider.test.ets deleted file mode 100644 index 333000e8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider.test.ets +++ /dev/null @@ -1,440 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 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' - -/* - * UIComponentButtonSelectDivider - * - * 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 UIComponentButtonSelectDivider() { - - describe('UIComponentButtonSelectDivider', () => { - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0010 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0010 - * @tc.desc : divider设置为默认值:strokeWidth("1px"),color("#33000000")1px线条细,分割线颜色为灰色 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0010 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0010") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let isDivider: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0010_001')); - await isDivider.click(); - await Utils.sleep(500); - let dividerConfig: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0010_002')); - await dividerConfig.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0010_003')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0010 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0020 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0020 - * @tc.desc : divider为null,不显示 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0020 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0020") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let isDivider: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0020_001')); - await isDivider.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0020_002')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0020 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0030 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0030 - * @tc.desc : divder设置为默认值:strokeWidth("1px"),color("#33000000")且只有一个菜单项一个菜单项,没有分割线 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0030 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0030") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let isDivider: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0030_001')); - await isDivider.click(); - await Utils.sleep(500); - let dividerConfig: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0030_002')); - await dividerConfig.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0030_003')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0030 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0040 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0040 - * @tc.desc : divder设置strokeWidth/startMargin/endMargin(引用$r5vp),color(引用$r#00FFFF) - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0040 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0040") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let isDivider: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0040_001')); - await isDivider.click(); - await Utils.sleep(500); - let dividerConfig: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0040_002')); - await dividerConfig.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0040_003')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0040 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0050 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0050 - * @tc.desc : 异常值:startMargin - endMargin接近0:optionWidth为(100.1) divder设置startMargin(50),endMargin(50) - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0050 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0050") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let isDivider: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0050_001')); - await isDivider.click(); - await Utils.sleep(500); - let dividerConfig: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0050_002')); - await dividerConfig.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0050_003')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0050 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0060 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0060 - * @tc.desc : divder设置strokeWidth("5fp"),startMargin("5fp"),endMargin("5fp"),color("#ff00ff") - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0060', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0060 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0060") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let isDivider: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0060_001')); - await isDivider.click(); - await Utils.sleep(500); - let dividerConfig: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0060_002')); - await dividerConfig.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0060_003')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0060 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0070 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0070 - * @tc.desc : divder设置strokeWidth("10LPX”), startMargin("10LPX”),endMargin("10LPX”),color(Color.Green) - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0070', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0070 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0070") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let isDivider: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0070_001')); - await isDivider.click(); - await Utils.sleep(500); - let dividerConfig: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0070_002')); - await dividerConfig.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0070_003')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0070 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0080 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0080 - * @tc.desc : divder不设置,默认显示 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0080', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0080 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0080") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let isDivider: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0080_001')); - await isDivider.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0080_002')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0080 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0090 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0090 - * @tc.desc : 异常值负数-10:divder设置strokeWidth("-10"),startMargin("-10"),endMargin("-10"),color(null) - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0090', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0090 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0090") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let isDivider: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0090_001')); - await isDivider.click(); - await Utils.sleep(500); - let dividerConfig: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0090_002')); - await dividerConfig.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0090_003')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0090 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0100 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0100 - * @tc.desc : 异常值startMargin - endMargin等于0:optionWidth为 (56) divder设置startMargin (28),endMargin(28) - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0100', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0100 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0100") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let isDivider: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0100_001')); - await isDivider.click(); - await Utils.sleep(500); - let dividerConfig: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0100_002')); - await dividerConfig.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0100_003')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0100 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0110 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0110 - * @tc.desc : 异常值undefined,默认显示 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0110', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0110 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0110") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let isDivider: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0110_001')); - await isDivider.click(); - await Utils.sleep(500); - let dividerConfig: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0110_002')); - await dividerConfig.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0110_003')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0110 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0120 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0120 - * @tc.desc : divder设置strokeWidth("20px"),startMargin("20px"), endMargin("10px"), color (Color.Red) - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0120', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0120 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0120") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let isDivider: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0120_001')); - await isDivider.click(); - await Utils.sleep(500); - let dividerConfig: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0120_002')); - await dividerConfig.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0120_003')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0120 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0130 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0130 - * @tc.desc : divder设置为默认值后动态切换 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0130', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0130 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0130") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0130_003')); - await select.click(); - await Utils.sleep(1000); - let change: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0130_001')); - await change.click(); - await Utils.sleep(1000); - let change130: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0130_002')); - await change130.click(); - await Utils.sleep(500); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0130 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0140 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0140 - * @tc.desc : divder设置strokeWidth("5vp"),startMargin("5vp),endMargin("5vP"),color(0xffff00) - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0140', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0140 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0140") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let isDivider: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0140_001')); - await isDivider.click(); - await Utils.sleep(500); - let dividerConfig: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0140_002')); - await dividerConfig.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0140_003')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0140 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0150 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0150 - * @tc.desc : 异常值超大整数99999,分割线的strokeWidth设置过宽时,会覆盖文字,灰色 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0150', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0150 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0150") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let isDivider: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0150_001')); - await isDivider.click(); - await Utils.sleep(500); - let dividerConfig: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0150_002')); - await dividerConfig.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0150_003')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0150 finish.`); - done(); - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0160 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0160 - * @tc.desc : 异常值null 参数不允许null值 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0160', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0160 start.`); - Settings.createWindow("testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0160") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let isDivider: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0160_001')); - await isDivider.click(); - await Utils.sleep(500); - let dividerConfig: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0160_002')); - await dividerConfig.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentButtonSelectDivider0160_003')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_DIVIDER_0160 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 deleted file mode 100644 index 2a173564..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonStyleTest/UIComponentButtonStyle.test.ets +++ /dev/null @@ -1,182 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 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): - * 创建窗口,更改窗口基本配置,更改方式详见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 UIComponentButtonStyle() { - - describe('UIComponentButtonStyle', () => { - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0540 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0540 - * @tc.desc set Rating.starStyle - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0540', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0540 start.`); - Settings.createWindow("testability/pages/UIComponentButtonStyle/UIComponentButtonStyle054"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonStyle0540")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0540 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 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0530', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0530 start.`); - Settings.createWindow("testability/pages/UIComponentButtonStyle/UIComponentButtonStyle053"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonStyle0530")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0530 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0510 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0510 - * @tc.desc set Rating.Rating - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0510', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0510 start.`); - Settings.createWindow("testability/pages/UIComponentButtonStyle/UIComponentButtonStyle051"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonStyle0510")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0510 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0520 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0520 - * @tc.desc set Rating.stars - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0520', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0520 start.`); - Settings.createWindow("testability/pages/UIComponentButtonStyle/UIComponentButtonStyle052"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonStyle0520")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0520 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0570 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0570 - * @tc.desc set Radio.checked - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0570', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0570 start.`); - Settings.createWindow("testability/pages/UIComponentButtonStyle/UIComponentButtonStyle057"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonStyle0570")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0570 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0550 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0550 - * @tc.desc radioStyle style modifies properties - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0550', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0550 start.`); - Settings.createWindow("testability/pages/UIComponentButtonStyle/UIComponentButtonStyle055"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonStyle0550")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0550 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0560 - * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0560 - * @tc.desc radio style modifies properties - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0560', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0560 start.`); - Settings.createWindow("testability/pages/UIComponentButtonStyle/UIComponentButtonStyle056"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentButtonStyle0560")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0560 finish.`); - done(); - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentCreateColorTest/UIComponentCreateColor.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentCreateColorTest/UIComponentCreateColor.test.ets index af256c79..2d346a74 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentCreateColorTest/UIComponentCreateColor.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentCreateColorTest/UIComponentCreateColor.test.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, describe, it } from '@ohos/hypium' import Settings from '../model/Settings' import windowSnap from '../model/snapShot' import Logger from '../model/Logger' @@ -21,10 +21,28 @@ import Utils from '../model/Utils' import { Driver, ON, MouseButton } from '@kit.TestKit' import { Component } from '@ohos.UiTest' import { KeyCode } from '@kit.InputKit' +import { uiAppearance } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit' export default function UIComponentCreateColor() { describe('UIComponentCreateColor', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol.test.ets deleted file mode 100644 index 9be823c8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol.test.ets +++ /dev/null @@ -1,269 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' -import { uiAppearance } from '@kit.ArkUI' -import { BusinessError } from '@kit.BasicServicesKit' - -/* - * UIComponentFunctionSelectSymbol - * - * 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 UIComponentFunctionSelectSymbol() { - - describe('UIComponentFunctionSelectSymbol', () => { - - /* - * @tc.number : ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0010 - * @tc.name : ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0010 - * @tc.desc : select组件下拉菜单项单独设置symbolicon(fontsize:999,fontcolor: “#ffffff") - */ - it('ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0010', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0010 start.`); - Settings.createWindow("testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0010") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let button: Component = await driver.findComponent(ON.id('UIComponentFunctionSelectSymbol0010_001')); - await button.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentFunctionSelectSymbol0010_002')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0010 finish.`); - done(); - }) - - /* - * @tc.number : ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0020 - * @tc.name : ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0020 - * @tc.desc : select组件下拉菜单项同时设置symbolicon,使用modifier动态改变symbol图片和symbol(fontsize、fontcolor)样式 - */ - it('ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0020', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0020 start.`); - Settings.createWindow("testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0020") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let button: Component = await driver.findComponent(ON.id('UIComponentFunctionSelectSymbol0020_001')); - await button.click(); - await Utils.sleep(500); - let button1: Component = await driver.findComponent(ON.id('UIComponentFunctionSelectSymbol0020_002')); - await button1.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentFunctionSelectSymbol0020_003')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0020 finish.`); - done(); - }) - - /* - * @tc.number : ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0030 - * @tc.name : ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0030 - * @tc.desc : select组件下拉菜单项单独设置symbolicon(fontsize:24,fontcolor:#E5182431) - */ - it('ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0030', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0030 start.`); - Settings.createWindow("testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0030") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let button: Component = await driver.findComponent(ON.id('UIComponentFunctionSelectSymbol0030_001')); - await button.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentFunctionSelectSymbol0030_002')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0030 finish.`); - done(); - }) - - /* - * @tc.number : ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0040 - * @tc.name : ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0040 - * @tc.desc : select组件下拉莱单项设置icon资源:引用图片,symbolicon为undefined - */ - it('ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0040', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0040 start.`); - Settings.createWindow("testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0040") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let button: Component = await driver.findComponent(ON.id('UIComponentFunctionSelectSymbol0040_001')); - await button.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentFunctionSelectSymbol0040_002')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0040 finish.`); - done(); - }) - - /* - * @tc.number : ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0050 - * @tc.name : ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0050 - * @tc.desc : select组件下拉菜单项同时设置icon、symbolicon为undefined - */ - it('ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0050', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0050 start.`); - Settings.createWindow("testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0050") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let button: Component = await driver.findComponent(ON.id('UIComponentFunctionSelectSymbol0050_001')); - await button.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentFunctionSelectSymbol0050_002')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0050 finish.`); - done(); - }) - - /* - * @tc.number : ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0060 - * @tc.name : ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0060 - * @tc.desc : select组件下拉菜单项单独设置symbolicon,icon为undefined - */ - it('ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0060', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0060 start.`); - Settings.createWindow("testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0060") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let button: Component = await driver.findComponent(ON.id('UIComponentFunctionSelectSymbol0060_001')); - await button.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentFunctionSelectSymbol0060_002')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0060 finish.`); - done(); - }) - - /* - * @tc.number : ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0070 - * @tc.name : ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0070 - * @tc.desc : select组件下拉菜单项设置icon、symbolicon (fontsize:引用"$r(app.string.string50)50",fontcolor:"$r(app.color.color1)"#ff000000"") - */ - it('ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0070', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0070 start.`); - Settings.createWindow("testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0070") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let button: Component = await driver.findComponent(ON.id('UIComponentFunctionSelectSymbol0070_001')); - await button.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentFunctionSelectSymbol0070_002')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0070 finish.`); - done(); - }) - - /* - * @tc.number : ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0090 - * @tc.name : ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0090 - * @tc.desc : select组件下拉菜单项同时不设置icon、symbolicon - */ - it('ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0090', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0090 start.`); - Settings.createWindow("testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0090") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let button: Component = await driver.findComponent(ON.id('UIComponentFunctionSelectSymbol0090_001')); - await button.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentFunctionSelectSymbol0090_002')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0090 finish.`); - done(); - }) - - /* - * @tc.number : ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0110 - * @tc.name : ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0110 - * @tc.desc : select组件下拉菜单项单独设置icon资源:引用图片 - */ - it('ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0110', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0110 start.`); - Settings.createWindow("testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0110") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let button: Component = await driver.findComponent(ON.id('UIComponentFunctionSelectSymbol0110_001')); - await button.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentFunctionSelectSymbol0110_002')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0110 finish.`); - done(); - }) - - /* - * @tc.number : ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0120 - * @tc.name : ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0120 - * @tc.desc : select组件下拉菜单项单独设置symbolicon (fontsize:-24,fontcolor: 0xffa500) - */ - it('ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0120', 0, async (done: Function) => { - Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0120 start.`); - Settings.createWindow("testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0120") - await Utils.sleep(500); - let driver: Driver = Driver.create(); - let button: Component = await driver.findComponent(ON.id('UIComponentFunctionSelectSymbol0120_001')); - await button.click(); - await Utils.sleep(500); - let select: Component = await driver.findComponent(ON.id('UIComponentFunctionSelectSymbol0120_002')); - await select.click(); - await Utils.sleep(500); - windowSnap.snapShot(); - await Utils.sleep(500); - Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SELECT_SYMBOL_0120 finish.`); - done(); - }) - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentInputKeyboardAvoidModeTest/UIComponentInputKeyboardAvoidMode.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentInputKeyboardAvoidModeTest/UIComponentInputKeyboardAvoidMode.test.ets index c0ccd784..882bb6b4 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentInputKeyboardAvoidModeTest/UIComponentInputKeyboardAvoidMode.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentInputKeyboardAvoidModeTest/UIComponentInputKeyboardAvoidMode.test.ets @@ -13,17 +13,35 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, 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, Component, ON } from '@ohos.UiTest' import { KeyCode } from '@kit.InputKit' +import { uiAppearance } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit' export default function UIComponentInputKeyboardAvoidMode() { describe('UIComponentInputKeyboardAvoidMode', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return; diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentListAndGridWaterFlowAddTest/UIComponentListAndGridWaterFlowAdd.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentListAndGridWaterFlowAddTest/UIComponentListAndGridWaterFlowAdd.test.ets deleted file mode 100644 index 60f88eae..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentListAndGridWaterFlowAddTest/UIComponentListAndGridWaterFlowAdd.test.ets +++ /dev/null @@ -1,308 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function UIComponentListAndGridWaterFlowAdd() { - - describe('UIComponentListAndGridWaterFlowAdd', () => { - - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0270_011 - * @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0270_011 - * @tc.desc 1、添加Waterflow组件 - 2、设置Waterflow的属性: - .columnsTemplate("1fr 1fr") - .itemConstraintSize({minWidth:'0%',maxWidth:'50%',minHeight:'0%',maxHeight:'100%'}) - 3.编译安装demo - */ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0270_011', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0270_011 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0270011") - await Utils.sleep(1000) - - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0270_011 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0130_072 - * @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0130_072 - * @tc.desc 1、添加Waterflow组件 - 2、设置Waterflow的属性:columnsGap(“”) - */ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0130_072', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0130_072 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0130072") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0130_072 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0140_666 - * @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0140_666 - * @tc.desc 1、添加Waterflow组件 - 2、设置Waterflow的属性:columnsGap(10) - */ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0140_666', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0140_666 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0140666") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0140_666 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0160_890 - * @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0160_890 - * @tc.desc 1、添加Waterflow组件 - 2、设置Waterflow的属性:columnsGap('5vp') -*/ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0160_890', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0160_890 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0160890") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0160_890 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0150_827 - * @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0150_827 - * @tc.desc 1、添加Waterflow组件 - 2、在string.json里设置string: - "name":'width_20","value':“20" - 3、设置Waterflow的属性:columnsGap($r(app.string.width_20')) - */ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0150_827', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0150_827 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0150827") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0150_827 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0170_444 -* @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0170_444 -* @tc.desc 1、添加Waterflow组件 - 2、设置Waterflow的属性:columnsGap("abc") -*/ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0170_444', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0170_444 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0170444") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0170_444 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0280_056 -* @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0280_056 -* @tc.desc 1、添加Waterflow组件 - 2、设置Waterflow的属性:rowsGap(“”) -*/ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0280_056', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0280_056 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0280056") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0280_056 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0290_223 -* @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0290_223 -* @tc.desc 1、添加Waterflow组件 - 2、设置Waterflow的属性:rowsGap(10) -*/ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0290_223', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0290_223 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0290223") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0290_223 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0300_414 -* @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0300_414 -* @tc.desc 1、添加Waterflow组件 - 2、在string.json里设置string - "name":"height_20°,"value':‘20° - 3、设置Waterflow的属性:rowsGap($r('app.string.height_20')) -*/ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0300_414', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0300_414 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0300414") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0300_414 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0310_330 - * @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0310_330 - * @tc.desc 1、添加Waterflow组件 - 2、设置Waterflow的属性:rowsGap('5vp') - */ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0310_330', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0310_330 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0310330") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0310_330 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0320_534 - * @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0320_534 - * @tc.desc 1、添加Waterflow组件 - 2、设置Waterflow的属性:rowsGap('abc') - */ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0320_534', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0320_534 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0320534") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0320_534 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0080_458 -* @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0080_458 -* @tc.desc 1、添加Waterflow组件 - 2、设置Waterflov的属性: - columnsTemplate("1fr 1fr") - rowsTemplate("1fr 1fr 1fr') - layoutDirection(FlexDirection.ColumnReverse) -*/ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0080_458', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0080_458 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0080458") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0080_458 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0090_321 -* @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0090_321 -* @tc.desc 1、添加Waterflow组件 - 2、设置Waterflov的属性: - columnsTemplate("1fr 1fr") - rowsTemplate("1fr 1fr 1fr') - layoutDirection(FlexDirection.Column) -*/ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0090_321', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0090_321 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0090321") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0090_321 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0100_678 -* @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0100_678 -* @tc.desc 1、添加Waterflow组件 - 2、设置Waterflow的属性: - columnsTemplate(”1fr 1fr") - rowsTemplate(“ifr 1fr 1fr”) - layoutDirection(FlexDirection.RowReverse) -*/ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0100_678', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0100_678 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0100678") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0100_678 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0110_972 -* @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0110_972 -* @tc.desc 1、添加Waterflow组件 - 2、设置Waterflow的属性: - columnsTemplate(”1fr 1fr") - rowsTemplate(“ifr 1fr 1fr”) - layoutDirection(FlexDirection.Row) -*/ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0110_972', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0110_972 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0110972") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0110_972 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0120_725 -* @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0120_725 -* @tc.desc 1、添加Waterflow组件 - 2、设置Waterflow的属性: - colunnsTenplate(”1fr 1fr") - rowsTemplate(“1fr lfr 1fr') - 不设置layoutDirection -*/ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0120_725', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0120_725 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0120725") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_ADD_0120_725 finish.`); - done() - }) - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentListAndGridWaterSectionsTest/UIComponentListAndGridWaterSections.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentListAndGridWaterSectionsTest/UIComponentListAndGridWaterSections.test.ets deleted file mode 100644 index 0bd9f7c7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentListAndGridWaterSectionsTest/UIComponentListAndGridWaterSections.test.ets +++ /dev/null @@ -1,295 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function UIComponentListAndGridWaterSections() { - - describe('UIComponentListAndGridWaterSections', () => { - - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0560 - * @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0560 - * @tc.desc 1、创建分组瀑布流 - 2、splice方法中替换的分组不设置返回高 - */ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0560', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0560 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0560") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentListAndGridWaterSections0560_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0560 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0380 - * @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0380 - * @tc.desc 1、创建分组瀑布流 - 2、push进一个分组 - 3、改变分组的columnsGap -*/ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0380', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0380 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0380") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentListAndGridWaterSections0380_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2:Component = await driver.findComponent(ON.id('UIComponentListAndGridWaterSections0380_002')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0380 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0370 -* @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0370 -* @tc.desc 1、创建分组瀑布流 - 2、push进一个分组 - 3、改变分组的crossCount -*/ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0370', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0370 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0370") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentListAndGridWaterSections0370_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2:Component = await driver.findComponent(ON.id('UIComponentListAndGridWaterSections0370_002')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0370 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0390 -* @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0390 -* @tc.desc 1、创建分组瀑布流 - 2、push进一个分组 - 3、改变分组的crossCount -*/ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0390', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0390 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0390") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentListAndGridWaterSections0390_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2:Component = await driver.findComponent(ON.id('UIComponentListAndGridWaterSections0390_002')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0390 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0410 - * @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0410 - * @tc.desc 1、创建分组瀑布流 - 2、push进一个分组 - 3、改变分组的margin -*/ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0410', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0410 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0410") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentListAndGridWaterSections0410_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2:Component = await driver.findComponent(ON.id('UIComponentListAndGridWaterSections0410_002')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0410 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0400 - * @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0400 - * @tc.desc 1、创建分组瀑布流 - 2、push进一个分组 - 3、改变分组的rowsGap -*/ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0400', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0400 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0400") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentListAndGridWaterSections0400_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2:Component = await driver.findComponent(ON.id('UIComponentListAndGridWaterSections0400_002')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0400 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0420 - * @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0420 - * @tc.desc 1、创建分组瀑布流 - 2、push进一个分组 - 3、改变分组的返回高度 - */ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0420', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0420 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0420") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentListAndGridWaterSections0420_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2:Component = await driver.findComponent(ON.id('UIComponentListAndGridWaterSections0420_002')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0420 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0500 - * @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0500 - * @tc.desc 1、创建分组瀑布流,不设置crossCount - */ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0500', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0500 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0500") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0500 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0510 - * @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0510 - * @tc.desc 创建分组瀑布流,不设置columnsGap - */ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0510', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0510 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0510") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0510 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0520 - * @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0520 - * @tc.desc 创建分组瀑布流,不设置rowsGap - */ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0520', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0520 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0520") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0520 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0530 -* @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0530 -* @tc.desc 创建分组瀑布流,不设置margin -*/ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0530', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0530 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0530") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0530 finish.`); - done() - }) - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0540 - * @tc.name SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0540 - * @tc.desc 1、创建分组瀑布流 - 2、push进一个分组 - 3、改变分组的返回高度 - */ - it('SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0540', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0540 start.`); - Settings.createWindow("testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0540") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentListAndGridWaterSections0540_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_LISTANDGRID_WATERFLOW_SECTIONS_0540 finish.`); - done() - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavModifierTest/UIComponentNavModifier.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavModifierTest/UIComponentNavModifier.test.ets deleted file mode 100644 index 12e9b46a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavModifierTest/UIComponentNavModifier.test.ets +++ /dev/null @@ -1,484 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver, ON } from '@ohos.UiTest' - -export default function UIComponentNavModifier() { - - describe('UIComponentNavModifier', () => { - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0460 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0460 - * @tc.desc 1、添加Tabs组件 - 2、分割线设置为0xFF0000 - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0460', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0460 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier046") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0460 finish.`); - done() - }) - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0530 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0530 - * @tc.desc 1、添加Tabs组件 - 2、设置endMargin(-10) - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0530', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0530 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier053") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier053_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0530 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0560 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0560 - * @tc.desc 1、添加Tabs组件 - 2、设置endMargin(-10) - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0560', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0560 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier056") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier056_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0560 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0580 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0580 - * @tc.desc 1、添加Tabs组件 - 2、设置endMargin(-10) - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0580', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0580 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier058") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier058_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0580 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0830 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0830 - * @tc.desc 1、添加Tabs组件 - 2、barWidth设置为Resource - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0830', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0830 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier083") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier083_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0830 finish.`); - done() - }) - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0480 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0480 - * @tc.desc 1、添加Tabs组件 - 2、分割线设置为0xffc0cb - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0480', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0480 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier048") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0480 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0450 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0450 - * @tc.desc 1、添加Tabs组件 - 2、分割线设置为Color.Blue - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0450', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0450 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier045") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0450 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0410 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0410 - * @tc.desc 1、添加Tabs组件 - 2、strokeWidth设置为string类型 - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0410', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0410 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier041") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier041_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0410 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0440 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0440 - * @tc.desc 1、添加Tabs组件 - 2、strokeWidth设置为Resource类 - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0440', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0440 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier044") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier044_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0440 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0430 -* @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0430 -* @tc.desc 1、添加Tabs组件 - 2、分割线设置为Color.Blue -*/ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0430', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0430 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier043") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier043_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0430 finish.`); - done() - }) - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0600 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0600 - * @tc.desc 1、添加Tabs组件 - 2、fadingEdge设置为false - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0600', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0600 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier060") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0600 finish.`); - done() - }) - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0650 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0650 - * @tc.desc 1、添加Tabs组件 - 2、背景色设置为’#ffffff’ - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0650', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0650 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier065") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier065_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0650 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0630 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0630 - * @tc.desc 1、添加Tabs组件 - 2、背景色设置为’#ffffff’ - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0630', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0630 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier063") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier063_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0630 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0660 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0660 - * @tc.desc 1、添加Tabs组件 - 2、背景色设置为’#ffffff’ -*/ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0660', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0660 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier066") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier066_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0660 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0810 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0810 - * @tc.desc 1、添加Tabs组件 - 2、设置barWidth为'100% - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0810', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0810 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0810") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0810 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0770 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0770 - * @tc.desc 1、添加Tabs组件 - 2、设置barWidth为负值 -*/ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0770', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0770 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0770") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0770 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0860 -* @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0860 -* @tc.desc 1、添加Tabs组件 - 2、设置barHeight为250 -*/ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0860', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0860 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0860") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0860 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0840 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0840 - * @tc.desc 1、添加Tabs组件 - 2、设置barHeight为小于0的数 - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0840', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0840 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0840") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0840 finish.`); - done() - }) - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0900 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0900 - * @tc.desc 1、添加Tabs组件 - 2、设置animationDuration设置为小于0 - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0900', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0900 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0900") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('blue')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2: Component = await driver.findComponent(ON.id('green')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0900 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0920 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0920 - * @tc.desc 1、添加Tabs组件 - 2、设置animationDuration设置为百分比 -*/ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0920', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0920 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0920") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('blue')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2: Component = await driver.findComponent(ON.id('green')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0920 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0370 -* @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0370 -* @tc.desc 1、添加Tabs组件 - 2、barGridAlign设置为gutter -*/ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0370', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0370 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0370") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier0370_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2: Component = await driver.findComponent(ON.id('UIComponentNavModifier0370_002')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0370 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0380 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0380 - * @tc.desc barGridAlign设置为sm - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0380', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0380 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0380") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0380 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0130 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0130 - * @tc.desc barGridAlign设置为lg - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0400', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0400 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0400") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0400 finish.`); - done() - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsActionTest/UIComponentNavTabsAction.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsActionTest/UIComponentNavTabsAction.test.ets deleted file mode 100644 index 9c7a17f4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsActionTest/UIComponentNavTabsAction.test.ets +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function UIComponentNavTabsAction() { - - describe('UIComponentNavTabsAction', () => { - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_ACTION_0011 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_ACTION_0011 - * @tc.desc 1、添加Tabs组件 - 2、设置多个TabContent - 3、多次改变窗口大小,切换前后台 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_ACTION_0011', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_ACTION_0011 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsAction/UIComponentNavTabsAction0011") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button:Component = await driver.findComponent(ON.id('UIComponentNavTabsAction0011_002')); - await Utils.sleep(200) - await button.click() - await Utils.sleep(200) - await button.click() - await Utils.sleep(1000) - let tabsCenter:Component = await driver.findComponent(ON.id('UIComponentNavTabsAction0011_001')); - await Utils.sleep(1000) - let pos = await tabsCenter.getBoundsCenter() - await driver.swipe(pos.x+100,pos.y,pos.x-300,pos.y) - await Utils.sleep(1000) - let pos1 = await tabsCenter.getBoundsCenter() - await driver.swipe(pos1.x-100,pos1.y,pos1.x+300,pos1.y) - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_ACTION_0011 finish.`); - done() - }) - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_ACTION_0030 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_ACTION_0030 - * @tc.desc 1、在pink页面点击 - 2、点击页签切换页面 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_ACTION_0030', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_ACTION_0030 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsAction/UIComponentNavTabsAction0030") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let tabBar1:Component = await driver.findComponent(ON.id('Pink')); - await Utils.sleep(100) - await tabBar1.click() - await Utils.sleep(100) - let tabBar2:Component = await driver.findComponent(ON.id('Yellow')); - await Utils.sleep(100) - await tabBar2.click() - await Utils.sleep(100) - await tabBar1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_ACTION_0030 finish.`); - done() - }) - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_ACTION_0012 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_ACTION_0012 - * @tc.desc 1、添加tabs组件设置100个子组件 - 2、点击页签切换页面 - 3、滑动页面切换 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_ACTION_0012', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_ACTION_0012 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsAction/UIComponentNavTabsAction0012") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let tabBar:Component = await driver.findComponent(ON.id('tab1')); - await Utils.sleep(1000) - await tabBar.click() - await Utils.sleep(1000) - let tabsCenter :Component = await driver.findComponent(ON.id('UIComponentNavTabsAction0012_001')) - await Utils.sleep(1000) - let pos = await tabsCenter.getBoundsCenter() - await Utils.sleep(100) - - await driver.swipe(pos.x-100,pos.y,pos.x+356,pos.y) - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_ACTION_0012 finish.`); - done() - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsBlurStyleTest/UIComponentNavTabsBlurStyle.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsBlurStyleTest/UIComponentNavTabsBlurStyle.test.ets deleted file mode 100644 index e5dabdb4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsBlurStyleTest/UIComponentNavTabsBlurStyle.test.ets +++ /dev/null @@ -1,1645 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver, ON } from '@ohos.UiTest' - -export default function UIComponentNavTabsBlurStyle() { - - describe('UIComponentNavTabsBlurStyle', () => { - - - /* -* @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0016 -* @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0016 -* @tc.desc 1、设置13个按钮,点击后给Tabs页签组件模糊效果改为Thin、Regular、Thick、 - BACKGROUND_THIN、BACKGROUND_REGULAR、BACKGROUND_THICK、 - BACKGROUND_ULTRA_THICK、NONE、 - COMPONENT_ULTRA_THIN、 - COMPONENT_THIN、COMPONENT_REGULAR、 - COMPONENT_THICK、COMPONENT_ULTRA_THICK - 2、Tabs组件中添加四个TabContent,分别设置SubTabBarStyle为Pink、Yellow,Blue、Green -*/ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0016', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0016 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0016") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0016_001')); - await Utils.sleep(100) - await button1.click() - await Utils.sleep(100) - let button2: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0016_002')); - await Utils.sleep(100) - await button2.click() - await Utils.sleep(100) - let button3: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0016_003')); - await Utils.sleep(100) - await button3.click() - await Utils.sleep(100) - let button4: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0016_004')); - await Utils.sleep(100) - await button4.click() - await Utils.sleep(100) - let button5: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0016_005')); - await Utils.sleep(100) - await button5.click() - await Utils.sleep(100) - let button6: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0016_006')); - await Utils.sleep(100) - await button6.click() - await Utils.sleep(100) - let button7: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0016_007')); - await Utils.sleep(100) - await button7.click() - await Utils.sleep(100) - let button8: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0016_008')); - await Utils.sleep(100) - await button8.click() - await Utils.sleep(100) - let button9: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0016_009')); - await Utils.sleep(100) - await button9.click() - await Utils.sleep(100) - let button10: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0016_010')); - await Utils.sleep(100) - await button10.click() - await Utils.sleep(100) - let button11: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0016_011')); - await Utils.sleep(100) - await button11.click() - await Utils.sleep(100) - let button12: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0016_012')); - await Utils.sleep(100) - await button12.click() - await Utils.sleep(100) - let button13: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0016_013')); - await Utils.sleep(100) - await button13.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0016 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0015 -* @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0015 -* @tc.desc 1、设置13个按钮,点击后给Tabs页签组件模糊效果改为Thin、Regular、Thick、 - BACKGROUND_THIN、BACKGROUND_REGULAR、BACKGROUND_THICK、 - BACKGROUND_ULTRA_THICK、NONE、 - COMPONENT_ULTRA_THIN、 - COMPONENT_THIN、COMPONENT_REGULAR、 - COMPONENT_THICK、COMPONENT_ULTRA_THICK - 2、Tabs组件中添加四个TabContent,分别设置SubTabBarStyle为Pink、Yellow,Blue、Green -*/ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0015', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0015 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0015") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0015_001')); - await Utils.sleep(100) - await button1.click() - await Utils.sleep(100) - let button2: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0015_002')); - await Utils.sleep(100) - await button2.click() - await Utils.sleep(100) - let button3: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0015_003')); - await Utils.sleep(100) - await button3.click() - await Utils.sleep(100) - let button4: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0015_004')); - await Utils.sleep(100) - await button4.click() - await Utils.sleep(100) - let button5: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0015_005')); - await Utils.sleep(100) - await button5.click() - await Utils.sleep(100) - let button6: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0015_006')); - await Utils.sleep(100) - await button6.click() - await Utils.sleep(100) - let button7: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0015_007')); - await Utils.sleep(100) - await button7.click() - await Utils.sleep(100) - let button8: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0015_008')); - await Utils.sleep(100) - await button8.click() - await Utils.sleep(100) - let button9: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0015_009')); - await Utils.sleep(100) - await button9.click() - await Utils.sleep(100) - let button10: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0015_010')); - await Utils.sleep(100) - await button10.click() - await Utils.sleep(100) - let button11: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0015_011')); - await Utils.sleep(100) - await button11.click() - await Utils.sleep(100) - let button12: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0015_012')); - await Utils.sleep(100) - await button12.click() - await Utils.sleep(100) - let button13: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0015_013')); - await Utils.sleep(100) - await button13.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0015 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0014 -* @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0014 -* @tc.desc 1、设置13个按钮,点击后给Tabs页签组件模糊效果改为Thin、Regular、Thick、 - BACKGROUND_THIN、BACKGROUND_REGULAR、BACKGROUND_THICK、 - BACKGROUND_ULTRA_THICK、NONE、 - COMPONENT_ULTRA_THIN、 - COMPONENT_THIN、COMPONENT_REGULAR、 - COMPONENT_THICK、COMPONENT_ULTRA_THICK - 2、Tabs组件中添加四个TabContent,分别设置SubTabBarStyle为Pink、Yellow,Blue、Green -*/ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0014', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0014 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0014") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0014_001')); - await Utils.sleep(100) - await button1.click() - await Utils.sleep(100) - let button2: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0014_002')); - await Utils.sleep(100) - await button2.click() - await Utils.sleep(100) - let button3: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0014_003')); - await Utils.sleep(100) - await button3.click() - await Utils.sleep(100) - let button4: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0014_004')); - await Utils.sleep(100) - await button4.click() - await Utils.sleep(100) - let button5: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0014_005')); - await Utils.sleep(100) - await button5.click() - await Utils.sleep(100) - let button6: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0014_006')); - await Utils.sleep(100) - await button6.click() - await Utils.sleep(100) - let button7: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0014_007')); - await Utils.sleep(100) - await button7.click() - await Utils.sleep(100) - let button8: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0014_008')); - await Utils.sleep(100) - await button8.click() - await Utils.sleep(100) - let button9: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0014_009')); - await Utils.sleep(100) - await button9.click() - await Utils.sleep(100) - let button10: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0014_010')); - await Utils.sleep(100) - await button10.click() - await Utils.sleep(100) - let button11: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0014_011')); - await Utils.sleep(100) - await button11.click() - await Utils.sleep(100) - let button12: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0014_012')); - await Utils.sleep(100) - await button12.click() - await Utils.sleep(100) - let button13: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0014_013')); - await Utils.sleep(100) - await button13.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0014 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0013 -* @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0013 -* @tc.desc 1、设置13个按钮,点击后给Tabs页签组件模糊效果改为Thin、Regular、Thick、 - BACKGROUND_THIN、BACKGROUND_REGULAR、BACKGROUND_THICK、 - BACKGROUND_ULTRA_THICK、NONE、 - COMPONENT_ULTRA_THIN、 - COMPONENT_THIN、COMPONENT_REGULAR、 - COMPONENT_THICK、COMPONENT_ULTRA_THICK - 2、Tabs组件中添加四个TabContent,分别设置SubTabBarStyle为Pink、Yellow,Blue、Green -*/ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0013', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0013 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0013") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0013_001')); - await Utils.sleep(100) - await button1.click() - await Utils.sleep(100) - let button2: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0013_002')); - await Utils.sleep(100) - await button2.click() - await Utils.sleep(100) - let button3: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0013_003')); - await Utils.sleep(100) - await button3.click() - await Utils.sleep(100) - let button4: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0013_004')); - await Utils.sleep(100) - await button4.click() - await Utils.sleep(100) - let button5: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0013_005')); - await Utils.sleep(100) - await button5.click() - await Utils.sleep(100) - let button6: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0013_006')); - await Utils.sleep(100) - await button6.click() - await Utils.sleep(100) - let button7: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0013_007')); - await Utils.sleep(100) - await button7.click() - await Utils.sleep(100) - let button8: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0013_008')); - await Utils.sleep(100) - await button8.click() - await Utils.sleep(100) - let button9: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0013_009')); - await Utils.sleep(100) - await button9.click() - await Utils.sleep(100) - let button10: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0013_010')); - await Utils.sleep(100) - await button10.click() - await Utils.sleep(100) - let button11: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0013_011')); - await Utils.sleep(100) - await button11.click() - await Utils.sleep(100) - let button12: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0013_012')); - await Utils.sleep(100) - await button12.click() - await Utils.sleep(100) - let button13: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0013_013')); - await Utils.sleep(100) - await button13.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0013 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0012 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0012 - * @tc.desc 1、设置13个按钮,点击后给Tabs页签组件模糊效果改为Thin、Regular、Thick、 - BACKGROUND_THIN、BACKGROUND_REGULAR、BACKGROUND_THICK、 - BACKGROUND_ULTRA_THICK、NONE、 - COMPONENT_ULTRA_THIN、 - COMPONENT_THIN、COMPONENT_REGULAR、 - COMPONENT_THICK、COMPONENT_ULTRA_THICK - 2、Tabs组件中添加四个TabContent,分别设置SubTabBarStyle为Pink、Yellow,Blue、Green - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0012', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0012 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0012") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0012_001')); - await Utils.sleep(100) - await button1.click() - await Utils.sleep(100) - let button2: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0012_002')); - await Utils.sleep(100) - await button2.click() - await Utils.sleep(100) - let button3: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0012_003')); - await Utils.sleep(100) - await button3.click() - await Utils.sleep(100) - let button4: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0012_004')); - await Utils.sleep(100) - await button4.click() - await Utils.sleep(100) - let button5: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0012_005')); - await Utils.sleep(100) - await button5.click() - await Utils.sleep(100) - let button6: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0012_006')); - await Utils.sleep(100) - await button6.click() - await Utils.sleep(100) - let button7: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0012_007')); - await Utils.sleep(100) - await button7.click() - await Utils.sleep(100) - let button8: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0012_008')); - await Utils.sleep(100) - await button8.click() - await Utils.sleep(100) - let button9: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0012_009')); - await Utils.sleep(100) - await button9.click() - await Utils.sleep(100) - let button10: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0012_010')); - await Utils.sleep(100) - await button10.click() - await Utils.sleep(100) - let button11: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0012_011')); - await Utils.sleep(100) - await button11.click() - await Utils.sleep(100) - let button12: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0012_012')); - await Utils.sleep(100) - await button12.click() - await Utils.sleep(100) - let button13: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0012_013')); - await Utils.sleep(100) - await button13.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0012 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0017 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0017 - * @tc.desc 1、设置13个按钮,点击后给Tabs页签组件模糊效果改为Thin、Regular、Thick、 - BACKGROUND_THIN、BACKGROUND_REGULAR、BACKGROUND_THICK、 - BACKGROUND_ULTRA_THICK、NONE、 - COMPONENT_ULTRA_THIN、 - COMPONENT_THIN、COMPONENT_REGULAR、 - COMPONENT_THICK、COMPONENT_ULTRA_THICK - 2、Tabs组件中添加四个TabContent,分别设置SubTabBarStyle为Pink、Yellow,Blue、Green - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0017', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0017 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0017") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0017_001')); - await Utils.sleep(100) - await button1.click() - await Utils.sleep(100) - let button2: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0017_002')); - await Utils.sleep(100) - await button2.click() - await Utils.sleep(100) - let button3: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0017_003')); - await Utils.sleep(100) - await button3.click() - await Utils.sleep(100) - let button4: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0017_004')); - await Utils.sleep(100) - await button4.click() - await Utils.sleep(100) - let button5: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0017_005')); - await Utils.sleep(100) - await button5.click() - await Utils.sleep(100) - let button6: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0017_006')); - await Utils.sleep(100) - await button6.click() - await Utils.sleep(100) - let button7: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0017_007')); - await Utils.sleep(100) - await button7.click() - await Utils.sleep(100) - let button8: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0017_008')); - await Utils.sleep(100) - await button8.click() - await Utils.sleep(100) - let button9: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0017_009')); - await Utils.sleep(100) - await button9.click() - await Utils.sleep(100) - let button10: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0017_010')); - await Utils.sleep(100) - await button10.click() - await Utils.sleep(100) - let button11: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0017_011')); - await Utils.sleep(100) - await button11.click() - await Utils.sleep(100) - let button12: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0017_012')); - await Utils.sleep(100) - await button12.click() - await Utils.sleep(100) - let button13: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0017_013')); - await Utils.sleep(100) - await button13.click() - await Utils.sleep(100) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0017 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0011 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0011 - * @tc.desc 1、设置13个按钮,点击后给Tabs页签组件模糊效果改为Thin、Regular、Thick、 - BACKGROUND_THIN、BACKGROUND_REGULAR、BACKGROUND_THICK、 - BACKGROUND_ULTRA_THICK、NONE、 - COMPONENT_ULTRA_THIN、 - COMPONENT_THIN、COMPONENT_REGULAR、 - COMPONENT_THICK、COMPONENT_ULTRA_THICK - 2、Tabs组件中添加四个TabContent,分别设置SubTabBarStyle为Pink、Yellow,Blue、Green - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0011', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0011 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0011") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0011_001')); - await Utils.sleep(100) - await button1.click() - await Utils.sleep(100) - let button2: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0011_002')); - await Utils.sleep(100) - await button2.click() - await Utils.sleep(100) - let button3: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0011_003')); - await Utils.sleep(100) - await button3.click() - await Utils.sleep(100) - let button4: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0011_004')); - await Utils.sleep(100) - await button4.click() - await Utils.sleep(100) - let button5: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0011_005')); - await Utils.sleep(100) - await button5.click() - await Utils.sleep(100) - let button6: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0011_006')); - await Utils.sleep(100) - await button6.click() - await Utils.sleep(100) - let button7: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0011_007')); - await Utils.sleep(100) - await button7.click() - await Utils.sleep(100) - let button8: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0011_008')); - await Utils.sleep(100) - await button8.click() - await Utils.sleep(100) - let button9: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0011_009')); - await Utils.sleep(100) - await button9.click() - await Utils.sleep(100) - let button10: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0011_010')); - await Utils.sleep(100) - await button10.click() - await Utils.sleep(100) - let button11: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0011_011')); - await Utils.sleep(100) - await button11.click() - await Utils.sleep(100) - let button12: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0011_012')); - await Utils.sleep(100) - await button12.click() - await Utils.sleep(100) - let button13: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0011_013')); - await Utils.sleep(100) - await button13.click() - await Utils.sleep(100) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0011 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0010 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0010 - * @tc.desc 1、设置13个按钮,点击后给Tabs页签组件模糊效果改为Thin、Regular、Thick、 - BACKGROUND_THIN、BACKGROUND_REGULAR、BACKGROUND_THICK、 - BACKGROUND_ULTRA_THICK、NONE、 - COMPONENT_ULTRA_THIN、 - COMPONENT_THIN、COMPONENT_REGULAR、 - COMPONENT_THICK、COMPONENT_ULTRA_THICK - 2、Tabs组件中添加四个TabContent,分别设置SubTabBarStyle为Pink、Yellow,Blue、Green - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0010', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0010 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0010") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0010_001')); - await Utils.sleep(100) - await button1.click() - await Utils.sleep(100) - let button2: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0010_002')); - await Utils.sleep(100) - await button2.click() - await Utils.sleep(100) - let button3: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0010_003')); - await Utils.sleep(100) - await button3.click() - await Utils.sleep(100) - let button4: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0010_004')); - await Utils.sleep(100) - await button4.click() - await Utils.sleep(100) - let button5: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0010_005')); - await Utils.sleep(100) - await button5.click() - await Utils.sleep(100) - let button6: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0010_006')); - await Utils.sleep(100) - await button6.click() - await Utils.sleep(100) - let button7: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0010_007')); - await Utils.sleep(100) - await button7.click() - await Utils.sleep(100) - let button8: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0010_008')); - await Utils.sleep(100) - await button8.click() - await Utils.sleep(100) - let button9: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0010_009')); - await Utils.sleep(100) - await button9.click() - await Utils.sleep(100) - let button10: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0010_010')); - await Utils.sleep(100) - await button10.click() - await Utils.sleep(100) - let button11: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0010_011')); - await Utils.sleep(100) - await button11.click() - await Utils.sleep(100) - let button12: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0010_012')); - await Utils.sleep(100) - await button12.click() - await Utils.sleep(100) - let button13: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0010_013')); - await Utils.sleep(100) - await button13.click() - await Utils.sleep(100) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0010 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0050 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0050 - * @tc.desc 1、设置Tabs组件barMode(BarMode.Scrollable),使得每一个TabBar均使用实际布局宽度, - * 设置TabBar背景颜色为backgroundColor(0xF5F5F5), - * 设置barOverlap(true) - 2、Tabs组件中添加六个TabContent,分别设置SubTabBarStyle为Pink、Yellow、Blue、Green、red、blue - 3、TabBar设置barWidth(50) - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0050', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0050 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0050") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0050 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0049 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0049 - * @tc.desc 1、设置Tabs组件barMode(BarMode.Scrollable),使得每一个TabBar均使用实际布局宽度, - * 设置TabBar背景颜色为backgroundColor(0xF5F5F5), - * 设置barOverlap(true) - 2、Tabs组件中添加六个TabContent,分别设置SubTabBarStyle为Pink、Yellow、Blue、Green、red、blue - 3、TabBar设置barWidth(100) - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0049', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0049 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0049") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0049 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0048 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0048 - * @tc.desc 1、设置Tabs组件barMode(BarMode.Scrollable),使得每一个TabBar均使用实际布局宽度,设置 - TabBar背景颜色为backgroundColor(0xF5F5F5),设置barOverlap(true) - 2、Tabs组件中添加六个TabContent,分别设置SubTabBarStyle为Pink、Yellow、Blue、Green、red、blue - 3、设置分割线线宽为strokeWidth(1),颜色为红色 - 4、添加padding设置为10vp - 5、添加按钮Button(“关闭模糊效果),添加点击效果,backgroundBlurStyle参数设置为NONE - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0048', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0048 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0048") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0048_001')); - await Utils.sleep(100) - await button1.click() - await Utils.sleep(100) - let button2: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0048_002')); - await Utils.sleep(100) - await button2.click() - await Utils.sleep(100) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0048 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0042 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0042 - * @tc.desc 1、设置Tabs组件barMode(BarMode.Fixed),所有TabBar平均分配barWidth宽度;设置 - SelecteMode =Selectedlode.BOARD - 2、Tabs组件中添加六个TabContent,分别设置SubTabBarStyle为Pink、Yellow、Blue、Green、red、blue - 3、TabBar设置barWidth(50) - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0042', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0042 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0042") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0042 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0046 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0046 - * @tc.desc 1、设置Tabs组件barMode(BarMode.Fixed),所有TabBar平均分配barWidth宽度; - * 设置Selectedlode =Selectedlode.BOARD; - 2、Tabs组件中添加四个TabContent,分别设置SubTabBarStyle为Pink、Yellow、Blue、Green - 3、添加padding设置为10vp - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0046', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0046 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0046") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0046 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0043 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0043 - * @tc.desc 1、设置Tabs组件barMode(Barode.Scrollable),使得每一个TabBar均使用实际布局宽度; - 设置Selectedllode =Selectedlode.BOARD,BarMode参数设为Scrollable - 2、Tabs组件中添加六个TabContent,分别设置SubTabBarStyle为Pink、Yellow、Blue、Green、red、blue - 3、TabBar设置barVidth(80) - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0043', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0043 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0043") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0043 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0045 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0045 - * @tc.desc 1、设置Tabs组件barMode(Barode.Scrollable),使得每一个TabBar均使用实际布局宽度;设置Selectedilode =Selectedlode.BOARD; - 2、Tabs组件中添加四个TabContent,分别设置SubTabBarStyle为Pink、Yellow、Blue、Green - 3、添加padding设置为10vp - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0045', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0045 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0045") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0045 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0044 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0044 - * @tc.desc 1、设置Tabs组件barMode(BarMode.Scrollable),使得每一个TabBar均使用实际布局宽度; - * 设置Selectedllode =Selectedllode.BOARD - 2、Tabs组件中添加六个TabContent,分别设置SubTabBarStyle为Pink、Yellow、Blue、Green、red、blue - 3、TabBar设置barHeight(300) - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0044', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0044 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0044") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0044 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0038 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0038 - * @tc.desc 1、设置Tabs组件barMode(Bar)ode.Scrollable),使得每一个TabBar均使用实际布局宽度 - 2、Tabs组件中添加四个TabContent,分别设置SubTabBarStyle为Pink、Yellow、Blue、Green - 3、添加padding设置为10vp - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0038', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0038 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0038") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0038 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0041 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0041 - * @tc.desc 1、设置Tabs组件barMode(BarIode.Scrollable),使得每一个TabBar均使用实际布局宽度, - * 设置TabBar背景颜色为backgroundColor(0xF5F5F5), - * 设置barOverlap(true) - * 2、Tabs组件中添加六个TabContent,分别设置SubTabBarStyle为Pink、Yellow、Blue、Green、red、blue - 3、TabBar设置barWidth(50) - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0041', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0041 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0041") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0041 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0040 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0040 - * @tc.desc 1、设置Tabs组件barMode(BarIode.Scrollable),使得每一个TabBar均使用实际布局宽度, - * 设置TabBar背景颜色为backgroundColor(0xF5F5F5), - * 设置barOverlap(true) - * 2、Tabs组件中添加六个TabContent,分别设置SubTabBarStyle为Pink、Yellow、Blue、Green、red、blue - 3、TabBar设置barWidth(100) - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0040', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0040 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0040") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0040 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0039 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0039 - * @tc.desc 1、设置Tabs组件barMode(BarMode.Scrollable),使得每一个TabBar均使用实际布局宽度, - * 设置TabBar背景颜色为backgroundColor(0xF5F5F5), - * 设置barOverlap(true) - 2、Tabs组件中添加六个TabContent,分别设置SubTabBarStyle为Pink、Yellow、Blue、Green、red、blue - 3、设置分割线线宽为strokeWidth(1),颜色为红色 - 4、添加padding设置为10vp - 5、添加按钮Button(“关闭模糊效果),添加点击效果,backgroundBlurStyle参数设置为NONE - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0039', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0039 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0039") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0039_001')); - await Utils.sleep(100) - await button1.click() - await Utils.sleep(100) - let button2: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0039_002')); - await Utils.sleep(100) - await button2.click() - await Utils.sleep(100) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0039 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0033 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0033 - * @tc.desc 1、设置Tabs组件barMode(BarMode.Fixed),所有TabBar平均分配barWidth宽度; - * 设置Selectedllode =Selectedlode.BOARD - 2、Tabs组件中添加六个TabContent,分别设置SubTabBarStyle为Pink、YellowBlue、Green、red、blue - 3、TabBar设置barWidth(50) - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0033', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0033 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0033") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0033 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0034 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0034 - * @tc.desc 1、设置Tabs组件barMode(BarMode.Scrollable),使得每一个TabBar均使用实际布局宽度; - * 设置Selectedilode =Selectedlode.BOARD,BarMode参数设为Scrollable - 2、Tabs组件中添加六个TabContent,分别设置SubTabBarStyle为Pink、Yellow、Blue、Green、red、blue - 3、TabBar设置barWidth(80) - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0034', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0034 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0034") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0034 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0036 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0036 - * @tc.desc 1、设置Tabs组件barMode(Barode.Scrollable),使得每一个TabBar均使用实际布局宽度; - * 设置Selectedllode =Selectedlode.BOARD; - 2、Tabs组件中添加四个TabContent,分别设置SubTabBarStyle为Pink、Yellow、Blue、Green - 3、添加padding设置为10vp - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0036', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0036 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0036") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0036 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0035 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0035 - * @tc.desc 1、设置Tabs组件barMode(BarMode.Scrollable),使得每一个TabBar均使用实际布局宽度; - * 设置Selectedllode =Selectedlode.BOARD - 2、Tabs组件中添加六个TabContent,分别设置SubTabBarStyle为Pink、Yellow、Blue、Green、red、blue - 3、TabBar设置barHeight(300) - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0035', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0035 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0035") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0035 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0032 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0032 - * @tc.desc 1、设置Tabs组件barMode(BarMode.Scrollable),使得每一个TabBar均使用实际布局宽度 - 2、Tabs组件中添加四个TabContent,分别设置SubTabBarStyle为Pink、Yellow、Blue、Green - 对Tabs组件添加Magin设置为12vp - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0032', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0032 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0032") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0032 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0031 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0031 - * @tc.desc 1、设置Tabs组件barMode(Barode.Scrollable),使得每一个TabBar均使用实际布局宽度, - * 设置TabBar背景颜色为backgroundColor(0xF5F5F5), - * 设置bar0verlap(true) - 2、Tabs组件中添加六个TabContent,分别设置SubTabBarStyle为Pink、Yellow、Blue、Green、red、blue - 3、TabBar设置barWidth(50) - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0031', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0031 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0031") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0031 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0030 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0030 - * @tc.desc 1、设置Tabs组件barMode(Barode.Scrollable),使得每一个TabBar均使用实际布局宽度, - * 设置TabBar背景颜色为backgroundColor(0xF5F5F5), - * 设置bar0verlap(true) - 2、Tabs组件中添加六个TabContent,分别设置SubTabBarStyle为Pink、Yellow、Blue、Green、red、blue - 3、TabBar设置barWidth(100) - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0030', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0030 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0030") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0030 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0029 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0029 - * @tc.desc 1、设置Tabs组件barMode(BarMode.Scrollable),使得每一个TabBar均使用实际布局宽度, - * 设置TabBar背景颜色为backgroundColor(0xF5F5F5), - * 设置barOverlap(true) - 2、Tabs组件中添加六个TabContent,分别设置SubTabBarStyle为Pink、Yellow、Blue、Green、red、blue - 3、设置分割线线宽为strokeWidth(1),颜色为红色 - 4、添加padding设置为10vp - 5、添加按钮Button(“关闭模糊效果),添加点击效果,backgroundBlurStyle参数设置为NONE - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0029', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0029 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0029") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0029_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0029_002')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0029 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0018 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0018 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0018', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0018 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0018") - await Utils.sleep(1000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0018_001')) - await Utils.sleep(1000) - await button.click() - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0018 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0019 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0019 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0019', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0019 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0019") - await Utils.sleep(1000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('UIComponentNavTabsBlurStyle0019_001')) - await Utils.sleep(1000) - await button.click() - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0019 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0020 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0020 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0020 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0020") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0020 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0021 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0021 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0021', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0021 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0021") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0021 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0022 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0022 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0022', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0022 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0022") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0022 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0023 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0023 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0023', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0023 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0023") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0023 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0024 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0024 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0024', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0024 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0024") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0024 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0025 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0025 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0025', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0025 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0025") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0025 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0026 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0026 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0026', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0026 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0026") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0026 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0027 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0027 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0027', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0026 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0027") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0027 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0028 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0028 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0028', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0028 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0028") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0028 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0047 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0047 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0047', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0047 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0047") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0047 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0051 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0051 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0051', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0051 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0051") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0051 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0052 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0052 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0052', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0052 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0052") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0052 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0053 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0053 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0053', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0053 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0053") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0053 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0060 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0060 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0060', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0060 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0060") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0060 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0080 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0080 - * @tc.desc nav width -*/ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0080', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0080 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0080") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0080 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0100 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0100 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0100', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0100 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0100") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0100 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0110 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0110 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0110', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0110 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0110") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0110 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0160 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0160 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0160', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0160 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0160") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0160 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0170 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0170 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0170', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0170 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0170") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0170 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0180 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0180 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0180', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0180 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0180") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0180 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0190 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0190 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0190', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0190 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0190") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0190 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0200 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0200 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0200', 0, async (done: Function) => { - Logger.info('TEST', `ccSUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0200 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0200") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ccSUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0200 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0210 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0210 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0210', 0, async (done: Function) => { - Logger.info('TEST', `ccSUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0210 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0210") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ccSUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0210 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0220 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0220 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0220', 0, async (done: Function) => { - Logger.info('TEST', `ccSUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0220 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0220") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `ccSUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0220 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0230 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0230 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0230', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0230 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0230") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0230 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0240 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0240 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0240', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0240 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0240") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0240 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0250 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0250 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0250', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0250 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0250") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0250 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0260 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0260 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0260', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0260 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0260") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0260 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0270 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0270 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0270', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0270 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0270") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0270 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0280 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0280 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0280', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0280 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0280") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0280 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0290 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0290 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0290', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0290 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0290") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0290 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0300 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0300 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0300', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0300 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0300") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0300 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0310 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0310 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0310', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0310 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0310") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0310 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0320 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0320 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0320', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0320 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0320") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0320 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0340 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0340 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0340', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0340 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0340") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0340 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0350 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0350 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0350', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0350 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0350") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0350 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0360 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0360 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0360', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0360 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0360") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0360 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0370 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0370 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0370', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0370 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0370") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0370 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0380 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0380 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0380', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0380 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0380") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0380 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0390 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0390 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0390', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0390 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0390") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0390 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0400 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0400 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0400', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0400 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0400") - await Utils.sleep(1000) - await windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_BLURSTYLE_0400 finish.`); - done() - }) - - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsCachedCountTest/UIComponentNavTabsCachedCount.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsCachedCountTest/UIComponentNavTabsCachedCount.test.ets deleted file mode 100644 index 764434b8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsCachedCountTest/UIComponentNavTabsCachedCount.test.ets +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function UIComponentNavTabsCachedCount() { - - describe('UIComponentNavTabsCachedCount', () => { - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CACHEDCOUNT_0140 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CACHEDCOUNT_0140 - * @tc.desc 1、创建tabs,设置BarPosition.Start 2、设置preloadItens[1,3] - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CACHEDCOUNT_0140', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CACHEDCOUNT_0140 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsCachedCount/UIComponentNavTabsCachedCount014") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabs014_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CACHEDCOUNT_0140 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CACHEDCOUNT_0150 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CACHEDCOUNT_0150 - * @tc.desc 1、创建tabs,设置BarPosition.End 2、设置preloadItens[1,3] - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CACHEDCOUNT_0150', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CACHEDCOUNT_0150 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsCachedCount/UIComponentNavTabsCachedCount015") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabs015_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CACHEDCOUNT_0150 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CACHEDCOUNT_0160 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CACHEDCOUNT_0160 - * @tc.desc 1、创建tabs,设置BarPosition动态改变 - 2、设置preloadItens[1,3] - 3、动态切换BarPosition - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CACHEDCOUNT_0160', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CACHEDCOUNT_0160 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsCachedCount/UIComponentNavTabsCachedCount016") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button2:Component = await driver.findComponent(ON.id('UIComponentNavTabs016_002')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CACHEDCOUNT_0160 finish.`); - done() - }) - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsContentAdaptTest/UIComponentNavTabsContentAdapt.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsContentAdaptTest/UIComponentNavTabsContentAdapt.test.ets deleted file mode 100644 index 2cf0a074..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsContentAdaptTest/UIComponentNavTabsContentAdapt.test.ets +++ /dev/null @@ -1,699 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function UIComponentNavTabsContentAdapt() { - - describe('UIComponentNavTabsContentAdapt', () => { - - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0310 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0310 - * @tc.desc 1、创建横向tabs(BarPosition.Start),设置height为auto,设置每个页面高度不同 - 2、编译安装查看效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0310', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0310 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0310") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let tabBar1:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt0310_001')); - await Utils.sleep(1000) - await tabBar1.click() - await Utils.sleep(1000) - await tabBar1.click() - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0310 finish.`); - done() - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0010 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0010 - * @tc.desc 创建横向tabs(BarPosition.Start),设置width为auto,设置每个页面宽度不同 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0010', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0010 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt001") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0010 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0020 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0020 - * @tc.desc 创建横向tabs(BarPosition.Start),设置height为auto,设置每个页面高度不同 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0020', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0020 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt002") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0020 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0030 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0030 - * @tc.desc 创建横向tabs(BarPosition.End),设置height为auto,设置每个页面高度不同 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0030', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0030 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt003") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0030 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0040 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0040 - * @tc.desc 创建横向tabs(BarPosition.End),设置width为auto,设置每个页面宽度不同 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0040', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0040 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt004") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0040 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0100 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0100 - * @tc.desc 1、创建纵向tabs(BarPosition.Start),设置width为auto,设置每个页面宽度不同 - 2、编译安装查看效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0100', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0100 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt010") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0100 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0110 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0110 - * @tc.desc 1、创建纵向tabs(BarPosition.Start),设置height为auto,设置每个页面高度不同 - 2、编译安装查看效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0110', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0110 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt011") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0110 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0120 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0120 - * @tc.desc 1、创建纵向tabs(BarPosition.End),设置height为auto,设置每个页面高度不同 - 2、编译安装查看效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0120', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0120 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt012") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0120 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0130 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0130 - * @tc.desc 1、创建纵向tabs(BarPosition.End),设置width为auto,设置每个页面宽度不同 - 2、编译安装查看效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0130', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0130 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt013") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0130 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0330 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0330 - * @tc.desc 1、创建横向tabs(BarPosition.Start),设置height为auto,设置每个页面高度不同,设置barPosition可以动态切换 - 2、动态切换barPosition属性观察效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0330', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0330 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt033") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabs033_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0330 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0340 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0340 - * @tc.desc 1、创建纵向tabs(BarPosition.Start),设置width可以动态切换(200、‘auto'、‘100%、-100) - 2、动态切换观察效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0340', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0340 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt034") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt034_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt034_002')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - let button3:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt034_003')); - await Utils.sleep(1000) - await button3.click() - await Utils.sleep(1000) - let button4:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt034_004')); - await Utils.sleep(1000) - await button4.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0340 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0350 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0350 - * @tc.desc 1、创建横向tabs(BarPosition.Start),设置height可以动态切换入参(300、‘auto',50%’、-1) - 2、动态切换观察效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0350', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0350 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt035") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt035_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button3:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt035_002')); - await Utils.sleep(1000) - await button3.click() - await Utils.sleep(1000) - let button4:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt035_003')); - await Utils.sleep(1000) - await button4.click() - await Utils.sleep(1000) - let button2:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt035_004')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0350 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0070 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0070 - * @tc.desc 1、创建横向tabs(BarPosition.Start),设置height可以动态切换入参(300、‘auto',50%’、-1) - 2、动态切换观察效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0070', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0070 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt007") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt007_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt007_002')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - let button3:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt007_003')); - await Utils.sleep(1000) - await button3.click() - await Utils.sleep(1000) - let button4:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt007_004')); - await Utils.sleep(1000) - await button4.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0070 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0320 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0320 - * @tc.desc 1、创建横向tabs(BarPosition.Start),设置width和height为auto,设置每个页面高度、宽度不同,设置vertical可以动态切换 - 2、动态切换vertical属性观察效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0320', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0320 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt032") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt032_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0320 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0140 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0140 - * @tc.desc 1、创建横向tabs(BarPosition.Start),设置height为auto,设置每个页面高度不同,scrollable属性设置为false - 2、编译安装查看效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0140', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0140 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt014") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0140 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0270 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0270 - * @tc.desc 1、创建横向tabs(BarPosition.Start),设置height为auto,设置每个页面高度不同,设置divider大小可以动态改变 - 2、编译安装查看效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0270', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0270 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt027") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt027_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt027_002')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0270 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0280 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0280 - * @tc.desc 1、创建横向tabs(BarPosition.Start),设置height为auto,设置每个页面高度不同, - * 设置divider可以动态改变颜色、前后Margin - 2、编译安装查看效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0280', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0280 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt028") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt028_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt028_002')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - let button3:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt028_003')); - await Utils.sleep(1000) - await button3.click() - await Utils.sleep(1000) - let button4:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt028_004')); - await Utils.sleep(1000) - await button4.click() - await Utils.sleep(1000) - let button5:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt028_005')); - await Utils.sleep(1000) - await button5.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0280 finish.`); - done() - }) - /* -* @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0300 -* @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0300 -* @tc.desc 1、创建横向tabs(BarPosition.Start),设置height为auto, - 设置每个页面高度不同,设置barOverlap为true - 2、编译安装查看效果 -*/ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0300', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0300 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt030") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0300 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0080 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0080 - * @tc.desc 1、创建横向tabs(BarPosition.Start),设置height为auto,设置每个页面高度不同;设置border可以改变 - 2、编译安装查看效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0080', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0080 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0080") - await Utils.sleep(1000) - let driver: Driver = Driver.create() - await Utils.sleep(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt0080_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt0080_002')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0080 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0050 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0050 - * @tc.desc 1、创建横向tabs(BarPosition.Start),设置height为auto,设置每个页面高度不同;设置border可以改变 - 2、编译安装查看效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0050', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0050 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0050") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0050 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0210 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0210 - * @tc.desc 1、创建横向tabs(BarPosition.Start),设置height为auto - 2、页签为BottomTabbarStyle样式,动态切换barheight观察自适应情况 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0210', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0210 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0210") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt0210_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0210 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0150 -* @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0150 -* @tc.desc 1、创建横向tabs(BarPosition.Start),设置height为auto - 2、页签为BottomTabbarStyle样式,动态切换barwidth观察自适应情况 -*/ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0150', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0150 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0150") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt0150_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0150 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0240 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0240 - * @tc.desc 1、创建纵向tabs(BarPosition.Start),设置width为auto - 2、页签为BottomTabbarStyle样式,动态切换barheight观察自适应情况 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0240', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0240 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0240") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt0240_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0240 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0180 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0180 - * @tc.desc 1、创建纵向tabs(BarPosition.Start),设置width为auto - 2、页签为BottomTabbarStyle样式,动态切换barwidth观察自适应情况 -*/ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0180', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0180 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0180") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsContentAdapt0180_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0180 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0220 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0220 - * @tc.desc 横向 tabs(BarPosition.Start), height: auto, change barheight - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0220', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0220 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0220") - await Utils.sleep(2000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('UIComponentNavTabsContentadapt0220_001')) - await button.click() - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0220 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0160 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0160 - * @tc.desc 横向 tabs(BarPosition.Start), height: auto, change barwidth - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0160', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0160 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0160") - await Utils.sleep(2000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('UIComponentNavTabsContentadapt0160_001')) - await button.click() - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0160 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0250 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0250 - * @tc.desc 纵向 tabs(BarPosition.Start), width: auto, change barheight - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0250', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0250 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0250") - await Utils.sleep(2000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('UIComponentNavTabsContentadapt0250_001')) - await button.click() - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0250 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0190 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0190 - * @tc.desc 纵向 tabs(BarPosition.Start), width: auto, change barwidth - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0190', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0190 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0190") - await Utils.sleep(2000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('UIComponentNavTabsContentadapt0190_001')) - await button.click() - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0190 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0170 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0170 - * @tc.desc 横向 tabs(BarPosition.Start), height: auto, change barwidth - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0170', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0170 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0170") - await Utils.sleep(2000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('UIComponentNavTabsContentadapt0170_001')) - await button.click() - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0170 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0200 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0200 - * @tc.desc 纵向 tabs(BarPosition.Start), height: auto, change barwidth - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0200', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0200 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0200") - await Utils.sleep(2000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('UIComponentNavTabsContentadapt0200_001')) - await button.click() - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0200 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0230 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0230 - * @tc.desc 横向 tabs(BarPosition.Start), height: auto, change barheight - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0230', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0230 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0230") - await Utils.sleep(2000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('UIComponentNavTabsContentadapt0230_001')) - await button.click() - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0230 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0260 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0260 - * @tc.desc 纵向 tabs(BarPosition.Start), width: auto, change barheight - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0260', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0260 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0260") - await Utils.sleep(2000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('UIComponentNavTabsContentadapt0260_001')) - await button.click() - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_CONTENTADAPT_0260 finish.`); - done() - }) - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsEdgeeffectTest/UIComponentNavTabsEdgeeffect.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsEdgeeffectTest/UIComponentNavTabsEdgeeffect.test.ets deleted file mode 100644 index c40fb8c1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsEdgeeffectTest/UIComponentNavTabsEdgeeffect.test.ets +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function UIComponentNavTabsEdgeeffect() { - - describe('UIComponentNavTabsEdgeeffect', () => { - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_EDGEEFFECT_0230 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_EDGEEFFECT_0230 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_EDGEEFFECT_0230', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EDGEEFFECT_0230 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsEdgeeffect/UIComponentNavTabsEdgeeffect0230") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EDGEEFFECT_0230 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_EDGEEFFECT_0270 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_EDGEEFFECT_0270 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_EDGEEFFECT_0270', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EDGEEFFECT_0270 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsEdgeeffect/UIComponentNavTabsEdgeeffect0270") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EDGEEFFECT_0270 finish.`); - done() - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsExpandsafeareaTest/UIComponentNavTabsExpandsafearea.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsExpandsafeareaTest/UIComponentNavTabsExpandsafearea.test.ets deleted file mode 100644 index 48b15dd2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsExpandsafeareaTest/UIComponentNavTabsExpandsafearea.test.ets +++ /dev/null @@ -1,198 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function UIComponentNavTabsExpandsafearea() { - - describe('UIComponentNavTabsExpandsafearea', () => { - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0090 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0090 - * @tc.desc scroller+tab - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0090', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0090 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0090") - await Utils.sleep(2000) - // let driver: Driver = Driver.create() - // let button: Component = await driver.findComponent(ON.id('UIComponentTabTabbarTabbarsymbol0050_001')) - // await button.click() - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0090 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0090 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0090 - * @tc.desc scroller+tab - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0090 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0010") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0090 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0120 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0120 - * @tc.desc scroller+tab - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0120', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0120 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0120") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0120 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0050 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0050 - * @tc.desc scroller+tab - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0050 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0050") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0050 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0080 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0080 - * @tc.desc scroller+tab - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0080', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0080 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0080") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0080 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0070 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0070 - * @tc.desc scroller+tab - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0070', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0070 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0070") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0070 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0060 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0060 - * @tc.desc scroller+tab - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0060', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0060 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0060") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0060 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0040 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0040 - * @tc.desc scroller+tab - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0040 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0040") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0040 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0030 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0030 - * @tc.desc scroller+tab - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0030 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0030") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0030 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0020 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0020 - * @tc.desc scroller+tab - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0020 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0020") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0020 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0100 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0100 - * @tc.desc scroller+tab - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0100', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0100 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0100") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0100 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0110 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0110 - * @tc.desc scroller+tab - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0110', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0110 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0110") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_EXPANDSAFEAREA_0110 finish.`); - done() - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsHeightTest/UIComponentNavTabsHeight.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsHeightTest/UIComponentNavTabsHeight.test.ets deleted file mode 100644 index aad3189a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsHeightTest/UIComponentNavTabsHeight.test.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function UIComponentNavTabsHeight() { - - describe('UIComponentNavTabsHeight', () => { - - /* -* @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_HEIGHT_0010 -* @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_HEIGHT_0010 -* @tc.desc 1、创建tabs组件,设置tabs组件height为auto - 2、动态切换观察效果 -*/ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_HEIGHT_0010', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_HEIGHT_0010 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsHeight/UIComponentNavTabsHeight001") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_HEIGHT_0010 finish.`); - done() - }) - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsImproTraceTest/UIComponentNavTabsImproTrace.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsImproTraceTest/UIComponentNavTabsImproTrace.test.ets deleted file mode 100644 index ebabf71d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsImproTraceTest/UIComponentNavTabsImproTrace.test.ets +++ /dev/null @@ -1,354 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function UIComponentNavTabsImproTrace() { - - describe('UIComponentNavTabsImproTrace', () => { - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0150 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0150 - * @tc.desc 1、tabs组件,设置2000个子组件,TabBar设置为Scrollable - 2、使用index切换页面 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0150', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0150 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0150") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0150_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0150_002')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0150 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0140 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0140 - * @tc.desc 1、tabs组件,设置2000个子组件,TabBar设置为Scrollable - 2、使用changeindex切换页面 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0140', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0140 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0140") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0140_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0140_002')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0140 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0120 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0120 - * @tc.desc 1、tabs组件,设置2000个子组件,TabBar设置为Scrollable - 2、更改tabscontent宽高 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0120', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0120 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0120") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0120_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0120_002')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0120 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0080 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0080 - * @tc.desc 1、tabs组件,设置2000个子组件,TabBar设置为Scrollable - 2、横竖屏旋转 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0080', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0080 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0080") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0080_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0080_002')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0080 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0040 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0040 - * @tc.desc 1、tabs组件,设置2000个子组件,TabBar设置为Scrollable - 2、滑动页签 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0040', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0040 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0040") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0040_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let tabsCenter:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0040_002')); - let pos = await tabsCenter.getBoundsCenter() - await driver.swipe(pos.x,pos.y+250,pos.x-350,pos.y+250) - await Utils.sleep(1000) - await driver.swipe(pos.x,pos.y+250,pos.x+350,pos.y+250) - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0040 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0060 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0060 - * @tc.desc 1、tabs组件,设置2000个子组件,TabBar设置为Scrollable - 2、滑动页签边缘, 触发边缘回弹效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0060', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0060 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0060") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0060_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let tabsCenter:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0060_002')); - let pos = await tabsCenter.getBoundsCenter() - await driver.swipe(pos.x,pos.y+250,pos.x+200,pos.y+250) - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0060 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0070 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0070 - * @tc.desc 1、tabs组件,设置2000个子组件,TabBar设置为Scrollable - 2、滑动页面切换页签 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0070', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0070 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0070") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0070_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let tabsCenter:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0070_002')); - let pos = await tabsCenter.getBoundsCenter() - await driver.swipe(pos.x+300,pos.y,pos.x-300,pos.y) - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0070 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0030 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0030 - * @tc.desc 1、tabs组件,设置2000个子组件,TabBar设置为Scrollable - 2、点击不同页签切换页面 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0030', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0030 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0030") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0030_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let tabBar:Component = await driver.findComponent(ON.id('2')); - await Utils.sleep(1000) - await tabBar.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0030 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0020 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0020 - * @tc.desc 1、tabs组件,设置2000个子组件,TabBar设置为Scrollable - 2、自定义页签 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0020', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0020 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0020") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0020 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0160 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0160 - * @tc.desc 1、设置不同初始index值 - 2、设置不同的vertical(排列方向)、barMode(布局模式)、barHeight(页签高度)、barGridAlign(栅格)、direction(镜像)等属性 - 3、设置不同的页签样式,包括子页签、底部页签(image、svg、symbol格式)、自定义页签等,设置不同页签属性,如selectedMode、layoutMode、symmetricExtensible等 - 4、进入页面查看 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0160', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0160 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0160") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0160_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(100) - let button2:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0160_002')); - await Utils.sleep(500) - await button2.click() - await Utils.sleep(100) - let button3:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0160_003')); - await Utils.sleep(500) - await button3.click() - await Utils.sleep(100) - let button4:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0160_004')); - await Utils.sleep(500) - await button4.click() - await Utils.sleep(100) - let button5:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0160_005')); - await Utils.sleep(500) - await button5.click() - await Utils.sleep(100) - let button6:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0160_006')); - await Utils.sleep(500) - await button6.click() - await Utils.sleep(100) - let button7:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0160_007')); - await Utils.sleep(500) - await button7.click() - await Utils.sleep(100) - let button8:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0160_008')); - await Utils.sleep(500) - await button8.click() - await Utils.sleep(100) - let button9:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0160_009')); - await Utils.sleep(500) - await button9.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0160 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0130 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0130 - * @tc.desc 1、tabs组件,设置2000个子组件,TabBar设置为Scrollable - 2、镜像测试 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0130', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0130 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0130") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0130_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - let button2:Component = await driver.findComponent(ON.id('UIComponentNavTabsImproTrace0130_002')); - await Utils.sleep(500) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0130 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0010 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0010 - * @tc.desc 1、tabs组件,设置2000个子组件,TabBar设置为Scrollable - 2、首次进入页面 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0010', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0010 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0010") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_IMPROTRACE_0010 finish.`); - done() - }) - - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsInterceptionTest/UIComponentNavTabsInterception.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsInterceptionTest/UIComponentNavTabsInterception.test.ets deleted file mode 100644 index e30fe0a5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsInterceptionTest/UIComponentNavTabsInterception.test.ets +++ /dev/null @@ -1,295 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function UIComponentNavTabsInterception() { - - describe('UIComponentNavTabsInterception', () => { - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0130 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0130 - * @tc.desc 1、创建纵向Tabs包含5个TabContent,index=0 - 2、设置onContentWil1Change接口,如果comingIndex为3,return false,编译安装 - 3、手指滑动素引2页到素引3页 - 4、手指滑动素引4页到素引3页 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0130', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0130 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0130") - await Utils.sleep(1000) - let driver: Driver = Driver.create() - let tabsCenter :Component = await driver.findComponent(ON.id('UIComponentNavTabsInterception0130_001')) - await Utils.sleep(1000) - let pos = await tabsCenter.getBoundsCenter() - await driver.swipe(pos.x,pos.y,pos.x-56,pos.y) - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0130 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0040 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0040 - * @tc.desc 1、创建Tabs包合5个TabContent,index=0 - 2、设置onContentVillChange接口,如果comingIndex为3,return false; - 设置TabsController.changeIndex。编译安装 - 3、点击按钮切换到素引3的页签(调用changeIndex) - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0040', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0040 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0040") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsInterception0040_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0040 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0060 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0060 - * @tc.desc 1、创建Tabs包合5个TabContent,index=0 - 2、设置onContentVillChange接口,如果comingIndex为3,return false; - 设置TabsController.changeIndex。编译安装 - 3、点击按钮切换到素引3的页签(调用changeIndex) - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0060', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0060 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0060") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsInterception0060_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0060 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0080 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0080 - * @tc.desc 1、创建Tabs包合5个TabContent,index=0 - 2、设置onContentVillChange接口,如果comingIndex为3,return false; - 设置TabsController.changeIndex。编译安装 - 3、点击按钮切换到素引3的页签(调用changeIndex) - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0080', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0080 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0080") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let tabBar:Component = await driver.findComponent(ON.id('我的')); - await Utils.sleep(1000) - await tabBar.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0080 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0050 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0050 - * @tc.desc 1、创建Tabs包含5个TabContent,index=0 - 2、设置onContentWillChange接口,如果comingIndex为3,return true; - 设置TabsController.changeIndex。编译安装 - 3、点击按钮切换到素引3的页签(调用changeIndex) - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0050', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0050 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0050") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button:Component = await driver.findComponent(ON.id('UIComponentNavTabsInterception0050_001')); - await Utils.sleep(1000) - await button.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0050 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0070 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0070 - * @tc.desc 1、创建Tabs包含5个TabContent,index=0 - 2、设置onContentWillChange接口,如果comingIndex为3,return true; - 设置TabsController.changeIndex。编译安装 - 3、点击按钮切换到素引3的页签(调用changeIndex) - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0070', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0070 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0070") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button:Component = await driver.findComponent(ON.id('UIComponentNavTabsInterception0070_001')); - await Utils.sleep(1000) - await button.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0070 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0010 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0010 - * @tc.desc 1、创建Tabs包含5个TabContent,index=0 - 2、设置onContentWillChange接口,如果currentIndex为2,coningIndex为3,return false,编译安装 - 3、手指滑动索引2页面到素引3页面 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0010', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0010 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0010") - await Utils.sleep(1000) - let driver: Driver = Driver.create() - await Utils.sleep(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsInterception0010_002')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let tabsCenter :Component = await driver.findComponent(ON.id('UIComponentNavTabsInterception0010_001')) - await Utils.sleep(1000) - let pos = await tabsCenter.getBoundsCenter() - await driver.swipe(pos.x+100,pos.y,pos.x-356,pos.y) - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0010 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0030 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0030 - * @tc.desc 1、创建Tabs包含5个TabContent,index=3 - 2、设置onContentVil1Change接口,如果comingIndex为3,return true,编译安装 - 3、手指滑动素引2页到素引3页 - 4、手指滑动素引4页到索引3页 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0030', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0030 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0030") - await Utils.sleep(1000) - let driver: Driver = Driver.create() - await Utils.sleep(1000) - - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsInterception0030_002')); - await Utils.sleep(100) - await button1.click() - await Utils.sleep(100) - - let tabsCenter :Component = await driver.findComponent(ON.id('UIComponentNavTabsInterception0030_001')) - await Utils.sleep(1000) - let pos = await tabsCenter.getBoundsCenter() - await Utils.sleep(100) - await driver.swipe(pos.x+100,pos.y,pos.x-356,pos.y) - await Utils.sleep(2000) - - let button4:Component = await driver.findComponent(ON.id('UIComponentNavTabsInterception0030_004')); - await Utils.sleep(1000) - await button4.click() - await Utils.sleep(1000) - - await driver.swipe(pos.x-100,pos.y,pos.x+356,pos.y) - await Utils.sleep(1000) - - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0030 finish.`); - done() - }) - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0150 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0150 - * @tc.desc 1、创建Tabs包含5个TabContent,index=0,设置TabContent可动态改变个数 - 2、设置onContentWil1Change接口,如果comingIndex为3,return false,编译安装 - 3、点击按钮动态减少、增加TabContent - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0150', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0150 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0150") - await Utils.sleep(1000) - let driver: Driver = Driver.create() - await Utils.sleep(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsInterception0150_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2:Component = await driver.findComponent(ON.id('UIComponentNavTabsInterception0150_002')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0150 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0090 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0090 - * @tc.desc 1、创建Tabs包含5个TabContent,index=0 - 2、设置onContentWil1Change接口,如果comingIndex为3,return true,编译安装 - 3、点击素引3页的tabbar - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0090', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0090 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0090") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let tabBar:Component = await driver.findComponent(ON.id('我的')); - await Utils.sleep(1000) - await tabBar.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERCEPTION_0090 finish.`); - done() - }) - - - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsInterfaceTest/UIComponentNavTabsInterface.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsInterfaceTest/UIComponentNavTabsInterface.test.ets deleted file mode 100644 index 82671418..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsInterfaceTest/UIComponentNavTabsInterface.test.ets +++ /dev/null @@ -1,103 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function UIComponentNavTabsInterface() { - - describe('UIComponentNavTabsInterface', () => { - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_INTERFACE_0120 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_INTERFACE_0120 - * @tc.desc 1、添加Tabs组件 - 2、设置index:0 - 3、设置TabContent数量为4 - 4、设置barwidth超过容器宽度 - 6、不设置属性fadingEdge - 7、编译安装 -*/ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_INTERFACE_0120', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERFACE_0120 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsInterface/UIComponentNavTabsInterface012") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERFACE_0120 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_INTERFACE_1190 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_INTERFACE_1190 - * @tc.desc 1、添加Tabs组件 - 2、添加TabContent - 3、设置选中位置为新添加的位置 - 4、编译安装 - 5、动态增加tab页签个数 - 6、观察选中状态的位置 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_INTERFACE_1190', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERFACE_1190 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsInterface/UIComponentNavTabsInterface1190") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsInterface1190_001')); - await Utils.sleep(100) - await button1.click() - await Utils.sleep(100) - await button1.click() - await Utils.sleep(100) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERFACE_1190 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_INTERFACE_1220 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_INTERFACE_1220 - * @tc.desc 1、添加Tabs组件 - 2、添加TabContent - 3、第一个tabcontent右滑 - 4、边缘效果未结束前点击返回 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_INTERFACE_1220', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERFACE_1220 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsInterface/UIComponentNavTabsInterface1220") - await Utils.sleep(1000) - let driver: Driver = Driver.create() - await Utils.sleep(1000) - let tabsCenter :Component = await driver.findComponent(ON.id('UIComponentNavTabsInterface1220_001')) - await Utils.sleep(1000) - let pos = await tabsCenter.getBoundsCenter() - await driver.swipe(pos.x,pos.y,pos.x-100,pos.y) - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_INTERFACE_1220 finish.`); - done() - }) - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsMirrorTest/UIComponentNavTabsMirror.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsMirrorTest/UIComponentNavTabsMirror.test.ets deleted file mode 100644 index 66e339f3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsMirrorTest/UIComponentNavTabsMirror.test.ets +++ /dev/null @@ -1,378 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function UIComponentNavTabsMirror() { - - describe('UIComponentNavTabsMirror', () => { - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0100 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0100 - * @tc.desc 1、创建横向tabs页签位置BarPosition.Start,设置barOverlap属性 - 2、设置direction可以动态改变 - 3、动态切换镜像方向观察效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0100', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0100 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror010") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsMirror010_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0100 finish.`); - done() - }) - - - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0070 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0070 - * @tc.desc 1、创建tabs布局方向可以动态改变更新转测版本,新建ets页面 - 2、设置direction可以动态改变 - 3、动态切换属性观察效果 - */ - it('SUB_ACE_UI_0OMPONENT_NAV_TABS_MIRROR_0070', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_0OMPONENT_NAV_TABS_MIRROR_0070 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0070") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsMirror0070_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_0OMPONENT_NAV_TABS_MIRROR_0070 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0030 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0030 - * @tc.desc 1、创建横向tabs页签位置可以动态改变 - 2、设置direction可以动态改变 - 3、动态切换镜像方向观察效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0030', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0030 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0030") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsMirror0030_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0030 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0090 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0090 - * @tc.desc 1、创建横向tabs页签位置BarPosition.Start - 2、设置direction可以动态改变 - 3、动态切换镜像方向观察效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0090', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0090 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0090") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsMirror0090_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0090 finish.`); - done() - }) - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0110 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0110 - * @tc.desc 1、创建tabs,设置SubTabBarStyle样式 - 2、设置镜像效果 -*/ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0110', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0110 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0110") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsMirror0110_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0110 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0160 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0160 - * @tc.desc 1、创建tabs,设置SubTabBarStyle样式 - 2、设置镜像效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0160', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0160 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0160") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsMirror0160_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0160 finish.`); - done() - }) - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0120 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0120 - * @tc.desc 1、创建tabs,设置BottomTabBarStyle样式 - 2、设置镜像效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0120', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0120 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0120") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsMirror0120_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0120 finish.`); - done() - }) - - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0140 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0140 - * @tc.desc 1、创建tabs,设置BottomTabBarStyle样式 - 2、设置镜像效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0140', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0140 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0140") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsMirror0140_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0140 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0130 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0130 - * @tc.desc 1、创建tabs,设置tabbar布局模式设为BarMode.Scrollable - 2、设置镜像效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0130', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0130 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0130") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsMirror0130_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0130 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0150 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0150 - * @tc.desc 1、创建tabs,tabbar设置padding动态改变 - 2、设置镜像效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0150', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0150 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0150") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsMirror0150_001')); - await Utils.sleep(500) - await button1.click() - await Utils.sleep(100) - await button1.click() - await Utils.sleep(100) - let button2:Component = await driver.findComponent(ON.id('UIComponentNavTabsMirror0150_002')); - await Utils.sleep(500) - await button2.click() - await Utils.sleep(100) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0150 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0260 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0260 - * @tc.desc 1、创建tabs嵌套横向list - 2、设置镜像效果 - 3、切换页签 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0260', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0260 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0260") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let tabBar0:Component = await driver.findComponent(ON.id('Tab0')); - await Utils.sleep(1000) - await tabBar0.click() - await Utils.sleep(1000) - let tabBar1:Component = await driver.findComponent(ON.id('Tab1')); - await Utils.sleep(1000) - await tabBar1.click() - await Utils.sleep(1000) - await tabBar0.click() - await Utils.sleep(1000) - let button:Component = await driver.findComponent(ON.id('UIComponentNavTabsMirror0260_001')); - await Utils.sleep(200) - await button.click() - await Utils.sleep(200) - await button.click() - await Utils.sleep(200) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0260 finish.`); - done() - }) - - - /* -* @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0250 -* @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0250 -* @tc.desc 1、创建tabs嵌套web - 2、设置镜像效果 - 3、切换页签 -*/ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0250', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0250 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0250") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button:Component = await driver.findComponent(ON.id('UIComponentNavTabsMirror0250_001')); - await Utils.sleep(1000) - await button.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0250 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0080 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0080 - * @tc.desc 1、创建tabs,设置divider的前后Margin动态改变 - 2、设置direction可以动态改变 - 3、动态切换属性观察效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0080', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0080 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror080") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentNavTabsMirror080_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2:Component = await driver.findComponent(ON.id('UIComponentNavTabsMirror080_002')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - let button3:Component = await driver.findComponent(ON.id('UIComponentNavTabsMirror080_003')); - await Utils.sleep(1000) - await button3.click() - await Utils.sleep(1000) - let button4:Component = await driver.findComponent(ON.id('UIComponentNavTabsMirror080_004')); - await Utils.sleep(1000) - await button4.click() - await Utils.sleep(1000) - let button5:Component = await driver.findComponent(ON.id('UIComponentNavTabsMirror080_005')); - await Utils.sleep(1000) - await button5.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_MIRROR_0080 finish.`); - done() - }) - - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsOnWillShowTest/UIComponentNavTabsOnWillShow.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsOnWillShowTest/UIComponentNavTabsOnWillShow.test.ets deleted file mode 100644 index acfc595c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsOnWillShowTest/UIComponentNavTabsOnWillShow.test.ets +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function UIComponentNavTabsOnWillShow() { - - describe('UIComponentNavTabsOnWillShow', () => { - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_TABS_ONWILLSHOW_0190 - * @tc.name SUB_ACE_UI_COMPONENT_TABS_ONWILLSHOW_0190 - * @tc.desc 1、创建tabs组件,包含子组件TabContent - 2、点击底部页签或侧边页签 -*/ - it('SUB_ACE_UI_COMPONENT_TABS_ONWILLSHOW_0190', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TABS_ONWILLSHOW_0190 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsOnWillShow/UIComponentNavTabsOnWillShow0190") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('tab2')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2:Component = await driver.findComponent(ON.id('tab_2')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TABS_ONWILLSHOW_0190 finish.`); - done() - }) - - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsSubTabbarStyleTest/UIComponentNavTabsSubTabbarStyle.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsSubTabbarStyleTest/UIComponentNavTabsSubTabbarStyle.test.ets deleted file mode 100644 index 577359a2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsSubTabbarStyleTest/UIComponentNavTabsSubTabbarStyle.test.ets +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function UIComponentNavTabsSubTabbarStyle() { - - describe('UIComponentNavTabsSubTabbarStyle', () => { - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_SUBTABBARSTYLE_0010 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_SUBTABBARSTYLE_0010 - * @tc.desc 1、创建tabs组件 - 2、页签为SubTabbarStyle样式,页签设置为svg图片+文本 - 3、切换页面 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_SUBTABBARSTYLE_0010', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_SUBTABBARSTYLE_0010 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsSubTabbarStyle/UIComponentNavTabsSubTabbarStyle0010") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('Pink')); - await Utils.sleep(100) - await button1.click() - await Utils.sleep(100) - let button2:Component = await driver.findComponent(ON.id('Yellow')); - await Utils.sleep(100) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_SUBTABBARSTYLE_0010 finish.`); - done() - }) - - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsWidthTest/UIComponentNavTabsWidth.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsWidthTest/UIComponentNavTabsWidth.test.ets deleted file mode 100644 index 54b79ec3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavTabsWidthTest/UIComponentNavTabsWidth.test.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function UIComponentNavTabsWidth() { - - describe('UIComponentNavTabsWidth', () => { - - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_TABS_WIDTH_0010 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_TABS_WIDTH_0010 - * @tc.desc 1、创建tabs组件,设置tabs组件width为auto - 2、动态切换观察效果 - */ - it('SUB_ACE_UI_COMPONENT_NAV_TABS_WIDTH_0010', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_WIDTH_0010 start.`); - Settings.createWindow("testability/pages/UIComponentNavTabsWidth/UIComponentNavTabsWidth001") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_TABS_WIDTH_0010 finish.`); - done() - }) - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherRefreshAbilityTest/UIComponentOtherRefreshAbility.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherRefreshAbilityTest/UIComponentOtherRefreshAbility.test.ets deleted file mode 100644 index a86014eb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherRefreshAbilityTest/UIComponentOtherRefreshAbility.test.ets +++ /dev/null @@ -1,169 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function UIComponentOtherRefreshAbility() { - - describe('UIComponentOtherRefreshAbility', () => { - - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0080 - * @tc.name SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0080 - * @tc.desc 创建Refresh组件,设置refreshOffset(-1),编译安装 -*/ - it('SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0080', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0080 start.`); - Settings.createWindow("testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0080") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let refreshListItem0 :Component = await driver.findComponent(ON.id('0')) - await Utils.sleep(200) - let pos = await refreshListItem0.getBoundsCenter() - await Utils.sleep(100) - await driver.swipe(pos.x,pos.y,pos.x,pos.y+200) - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0080 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0070 - * @tc.name SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0070 - * @tc.desc 创建Refresh组件,设置refreshOffset(0),编译安装 -*/ - it('SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0070', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0070 start.`); - Settings.createWindow("testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0070") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let refreshListItem0 :Component = await driver.findComponent(ON.id('0')) - await Utils.sleep(200) - let pos = await refreshListItem0.getBoundsCenter() - await Utils.sleep(100) - await driver.swipe(pos.x,pos.y,pos.x,pos.y+200) - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0070 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0090 - * @tc.name SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0090 - * @tc.desc 创建Refresh组件,组件高度为499,设置refreshOffset(500),编译安装 - */ - it('SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0090', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0090 start.`); - Settings.createWindow("testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0090") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let refreshListItem0 :Component = await driver.findComponent(ON.id('0')) - await Utils.sleep(200) - let pos = await refreshListItem0.getBoundsCenter() - await Utils.sleep(100) - await driver.swipe(pos.x,pos.y,pos.x,pos.y+200) - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0090 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0050 - * @tc.name SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0050 - * @tc.desc 创建Refresh组件,设置refreshOffset(70),编译安装 - */ - it('SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0050', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0050 start.`); - Settings.createWindow("testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0050") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let refreshListItem0 :Component = await driver.findComponent(ON.id('0')) - await Utils.sleep(200) - let pos = await refreshListItem0.getBoundsCenter() - await Utils.sleep(100) - await driver.swipe(pos.x,pos.y,pos.x,pos.y+200) - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0050 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0100 - * @tc.name SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0100 - * @tc.desc 创建Refresh组件,设置refreshOffset(60.5)编译安装 - */ - it('SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0100', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0100 start.`); - Settings.createWindow("testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0100") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let refreshListItem0 :Component = await driver.findComponent(ON.id('0')) - await Utils.sleep(200) - let pos = await refreshListItem0.getBoundsCenter() - await Utils.sleep(100) - await driver.swipe(pos.x,pos.y,pos.x,pos.y+200) - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0100 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0040 - * @tc.name SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0040 - * @tc.desc 创建Refresh组件,设置pullToRefresh值可以动态修改,编译安装 - */ - it('SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0040', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0040 start.`); - Settings.createWindow("testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0040") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button:Component = await driver.findComponent(ON.id('UIComponentOtherRefreshAbility0040_001')); - await Utils.sleep(1000) - await button.click() - await Utils.sleep(1000) - let refreshListItem0 :Component = await driver.findComponent(ON.id('0')) - await Utils.sleep(200) - let pos = await refreshListItem0.getBoundsCenter() - await Utils.sleep(100) - await driver.swipe(pos.x,pos.y,pos.x,pos.y+200) - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_ABILITY_0040 finish.`); - done() - }) - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherRefreshInterActionTest/UIComponentOtherRefreshInterAction.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherRefreshInterActionTest/UIComponentOtherRefreshInterAction.test.ets deleted file mode 100644 index 5982175f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherRefreshInterActionTest/UIComponentOtherRefreshInterAction.test.ets +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function UIComponentOtherRefreshInterAction() { - - describe('UIComponentOtherRefreshInterAction', () => { - - - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERACTION_0380 - * @tc.name SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERACTION_0380 - * @tc.desc 1、进入list builder不设置宽高页面 - 2、下拉组件刷新 - */ - it('SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERACTION_0380', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERACTION_0380 start.`); - Settings.createWindow("testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0380") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let refreshListItem0 :Component = await driver.findComponent(ON.id('0')) - await Utils.sleep(200) - let pos = await refreshListItem0.getBoundsCenter() - await Utils.sleep(100) - await driver.swipe(pos.x,pos.y,pos.x,pos.y+200) - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERACTION_0380 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERACTION_0400 - * @tc.name SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERACTION_0400 - * @tc.desc 1、进入list设置高度大于刷新区域页面 - 2、下拉组件刷新 - */ - it('SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERACTION_0400', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERACTION_0400 start.`); - Settings.createWindow("testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0400") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let refreshListItem0 :Component = await driver.findComponent(ON.id('0')) - await Utils.sleep(200) - let pos = await refreshListItem0.getBoundsCenter() - await Utils.sleep(100) - await driver.swipe(pos.x,pos.y,pos.x,pos.y+400) - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERACTION_0400 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERACTION_0390 - * @tc.name SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERACTION_0390 - * @tc.desc 1、进入list固定高度页面 - 2、下拉组件刷新 - */ - it('SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERACTION_0390', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERACTION_0390 start.`); - Settings.createWindow("testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0390") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let refreshListItem0 :Component = await driver.findComponent(ON.id('0')) - await Utils.sleep(200) - let pos = await refreshListItem0.getBoundsCenter() - await Utils.sleep(100) - await driver.swipe(pos.x,pos.y,pos.x,pos.y+400) - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERACTION_0390 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERACTION_0410 - * @tc.name SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERACTION_0410 - * @tc.desc 1、进入list builder宽高设置百分比 - 2、下拉组件刷新 - */ - it('SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERACTION_0410', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERACTION_0410 start.`); - Settings.createWindow("testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0410") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let refreshListItem0 :Component = await driver.findComponent(ON.id('0')) - await Utils.sleep(200) - let pos = await refreshListItem0.getBoundsCenter() - await Utils.sleep(100) - await driver.swipe(pos.x,pos.y,pos.x,pos.y+400) - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERACTION_0410 finish.`); - done() - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherRefreshInterfaceTest/UIComponentOtherRefreshInterface.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherRefreshInterfaceTest/UIComponentOtherRefreshInterface.test.ets deleted file mode 100644 index 5243db1f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherRefreshInterfaceTest/UIComponentOtherRefreshInterface.test.ets +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function UIComponentOtherRefreshInterface() { - - describe('UIComponentOtherRefreshInterface', () => { - - - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERFACE_0140 - * @tc.name SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERFACE_0140 - * @tc.desc 1、Refresh的offset参数:string :'0'设置friction:100 - 2、页面下拉 - */ - it('SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERFACE_0140', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERFACE_0140 start.`); - Settings.createWindow("testability/pages/UIComponentOtherRefreshInterface/UIComponentOtherRefreshInterface0140") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let refreshListItem0 :Component = await driver.findComponent(ON.id('0')) - await Utils.sleep(200) - let pos = await refreshListItem0.getBoundsCenter() - await Utils.sleep(100) - await driver.swipe(pos.x,pos.y,pos.x,pos.y+200) - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERFACE_0140 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERFACE_0170 - * @tc.name SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERFACE_0170 - * @tc.desc 1、Refresh的offset参数:nunber :-100,设置friction:100 - 2、页面下拉 - */ - it('SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERFACE_0170', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERFACE_0170 start.`); - Settings.createWindow("testability/pages/UIComponentOtherRefreshInterface/UIComponentOtherRefreshInterface0170") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let refreshListItem0 :Component = await driver.findComponent(ON.id('0')) - await Utils.sleep(200) - let pos = await refreshListItem0.getBoundsCenter() - await Utils.sleep(100) - await driver.swipe(pos.x,pos.y,pos.x,pos.y+200) - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERFACE_0170 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERFACE_0180 - * @tc.name SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERFACE_0180 - * @tc.desc 1、Refresh的offset参数:number :0 设置friction:100 - 2、页面下拉 - */ - it('SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERFACE_0180', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERFACE_0180 start.`); - Settings.createWindow("testability/pages/UIComponentOtherRefreshInterface/UIComponentOtherRefreshInterface0180") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let refreshListItem0 :Component = await driver.findComponent(ON.id('0')) - await Utils.sleep(200) - let pos = await refreshListItem0.getBoundsCenter() - await Utils.sleep(100) - await driver.swipe(pos.x,pos.y,pos.x,pos.y+200) - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_INTERFACE_0180 finish.`); - done() - }) - - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherRefreshPromptTextTest/UIComponentOtherRefreshPromptText.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherRefreshPromptTextTest/UIComponentOtherRefreshPromptText.test.ets deleted file mode 100644 index f1c73b54..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherRefreshPromptTextTest/UIComponentOtherRefreshPromptText.test.ets +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function UIComponentOtherRefreshPromptText() { - - describe('UIComponentOtherRefreshPromptText', () => { - - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0110 - * @tc.name SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0110 - * @tc.desc 1、创建refresh,设置自定义文本为Resource类型的混合内容 - 2、下拉刷新 - */ - it('SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0110', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0110 start.`); - Settings.createWindow("testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0110") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let refreshListItem0 :Component = await driver.findComponent(ON.id('0')) - await Utils.sleep(200) - let pos = await refreshListItem0.getBoundsCenter() - await Utils.sleep(100) - await driver.swipe(pos.x,pos.y,pos.x,pos.y+200) - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0110 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0100 - * @tc.name SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0100 - * @tc.desc 1、创建refresh,设置自定义文本为Resource类型的特殊字符 - 2、下拉刷新 - */ - it('SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0100', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0100 start.`); - Settings.createWindow("testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0100") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let refreshListItem0 :Component = await driver.findComponent(ON.id('0')) - await Utils.sleep(200) - let pos = await refreshListItem0.getBoundsCenter() - await Utils.sleep(100) - await driver.swipe(pos.x,pos.y,pos.x,pos.y+200) - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0100 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0060 - * @tc.name SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0060 - * @tc.desc 1、创建refresh,设置自定义文本为字符串类型的混合内容 - 2、下拉刷新 - */ - it('SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0060', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0060 start.`); - Settings.createWindow("testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0060") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let refreshListItem0 :Component = await driver.findComponent(ON.id('0')) - await Utils.sleep(200) - let pos = await refreshListItem0.getBoundsCenter() - await Utils.sleep(100) - await driver.swipe(pos.x,pos.y,pos.x,pos.y+200) - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0060 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0050 -* @tc.name SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0050 -* @tc.desc 1、创建refresh,设置自定义文本为字符串类型的特殊字符 - 2、下拉刷新 -*/ - it('SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0050', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0050 start.`); - Settings.createWindow("testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0050") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let refreshListItem0 :Component = await driver.findComponent(ON.id('0')) - await Utils.sleep(200) - let pos = await refreshListItem0.getBoundsCenter() - await Utils.sleep(100) - await driver.swipe(pos.x,pos.y,pos.x,pos.y+200) - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0050 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0120 -* @tc.name SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0120 -* @tc.desc 1、创建refresh,设置自定义文本为字符串类型的超长文本 - 2、下拉刷新 -*/ - it('SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0120', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0120 start.`); - Settings.createWindow("testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0120") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let refreshListItem0 :Component = await driver.findComponent(ON.id('0')) - await Utils.sleep(200) - let pos = await refreshListItem0.getBoundsCenter() - await Utils.sleep(100) - await driver.swipe(pos.x,pos.y,pos.x,pos.y+200) - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0120 finish.`); - done() - }) - /* -* @tc.number SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0040 -* @tc.name SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0040 -* @tc.desc 1、创建refresh,设置自定义文本为字符串类型的超长文本 - 2、下拉刷新 -*/ - it('SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0040', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0040 start.`); - Settings.createWindow("testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0040") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let refreshListItem0 :Component = await driver.findComponent(ON.id('0')) - await Utils.sleep(200) - let pos = await refreshListItem0.getBoundsCenter() - await Utils.sleep(100) - await driver.swipe(pos.x,pos.y,pos.x,pos.y+200) - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_OTHER_REFRESH_PROMPTTEXT_0040 finish.`); - done() - }) - - - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxAttributeTest/UIComponentPopupBoxAttribute.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxAttributeTest/UIComponentPopupBoxAttribute.test.ets deleted file mode 100644 index 6a9868b2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxAttributeTest/UIComponentPopupBoxAttribute.test.ets +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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, expect, 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): - * 创建窗口,更改窗口基本配置,更改方式详见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 UIComponentPopupBoxAttribute() { - - describe('UIComponentPopupBoxAttribute', () => { - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ATTRIBUTE_0510 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ATTRIBUTE_0510 - * @tc.desc The custom popup set is the generic showInSubWindow=false - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ATTRIBUTE_0510', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ATTRIBUTE_0510 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute051"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxAttribute0510")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(5000); - let textCom = await driver.findComponent(ON.id("UIComponentPopupBoxAttribute0511")); - let cc = await textCom.getText(); - if (!JSON.stringify(cc).includes('弹框开启后已定时关闭')) { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ATTRIBUTE_0510 error.`); - done(); - } - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ATTRIBUTE_0510 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ATTRIBUTE_0500 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ATTRIBUTE_0500 - * @tc.desc The custom popup set is the generic showInSubWindow=true - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ATTRIBUTE_0500', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ATTRIBUTE_0500 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute050"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxAttribute0500")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(5000); - let textCom = await driver.findComponent(ON.id("UIComponentPopupBoxAttribute0501")); - let cc = await textCom.getText(); - if (!JSON.stringify(cc).includes('弹框开启后已定时关闭')) { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ATTRIBUTE_0500 error.`); - done(); - } - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ATTRIBUTE_0500 finish.`); - done(); - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxFullDialogInterfaceTest/UIComponentPopupBoxFullDialogInterface001.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxFullDialogInterfaceTest/UIComponentPopupBoxFullDialogInterface001.test.ets deleted file mode 100644 index eb02ccf5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxFullDialogInterfaceTest/UIComponentPopupBoxFullDialogInterface001.test.ets +++ /dev/null @@ -1,299 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver, MouseButton, 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)}`) - * */ - -export default function UIComponentPopupBoxFullDialogInterface001() { - - describe('UIComponentPopupBoxFullDialogInterface001', () => { - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0350 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0350 - * @tc.desc customDialog test isModal为false - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0350', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0350 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface001") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxFullDialogInterface001_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0350 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0360 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0360 - * @tc.desc customDialog test isModal为true - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0360', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0360 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface008") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxFullDialogInterface008_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0360 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0370 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0370 - * @tc.desc customDialog test isModal为true - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0370', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0370 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface0010") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxFullDialogInterface0010_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0370 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0310 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0310 - * @tc.desc customDialog test iterations参数设置为-1 - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0310', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0310 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface001") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxFullDialogInterface001_button_001')) - await Utils.sleep(1000) - await button?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0310 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0040 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0040 - * @tc.desc customDialog test autoCancel动态更新 - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0040 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface002") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxFullDialogInterface002_button_001')) - await Utils.sleep(1000) - await button?.click() - await Utils.sleep(500) - await driver?.click(50, 100) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(500) - await driver?.click(50, 100) - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0040 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0080 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0080 - * @tc.desc customDialog test open Two dialog &showInSubWindow - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0080', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0080 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface009") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxFullDialogInterface009_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - let buttonTwo: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxFullDialogInterface009_button_02')) - await Utils.sleep(500) - await buttonTwo?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0080 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0090 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0090 - * @tc.desc customDialog test open Two dialog - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0090', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0090 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface003") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxFullDialogInterface003_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - let buttonTwo: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxFullDialogInterface003_button_02')) - await Utils.sleep(500) - await buttonTwo?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0090 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0110 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0110 - * @tc.desc customDialog test offset - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0110', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0110 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface004") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxFullDialogInterface004_button_001')) - await Utils.sleep(1000) - await button?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0110 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0050 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0050 - * @tc.desc customDialog test change markColor - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0050 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface005") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxFullDialogInterface005_button_001')) - await Utils.sleep(500) - for (let index = 0; index < 4; index++) { - await Utils.sleep(500) - await button?.click() - await Utils.sleep(500) - await driver?.click(50, 100) - } - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0050 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0020 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0020 - * @tc.desc customDialog test change alignment - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0020 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface006") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxFullDialogInterface006_button_001')) - await Utils.sleep(500) - for (let index = 0; index < 5; index++) { - await Utils.sleep(500) - await button?.click() - await Utils.sleep(500) - await driver?.click(50, 100) - } - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0020 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0060 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0060 - * @tc.desc customDialog test change offset - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0060', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0060 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface007") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxFullDialogInterface007_button_001')) - await Utils.sleep(500) - for (let index = 0; index < 6; index++) { - await Utils.sleep(500) - await button?.click() - await Utils.sleep(500) - await driver?.click(50, 100) - } - await Utils.sleep(500) - windowSnap.snapShot() - await Utils.sleep(500) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_FULLDIALOG_0060 finish.`); - done() - }) - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxPopupInterfaceTest/UIComponentPopupBoxPopupInterface001.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxPopupInterfaceTest/UIComponentPopupBoxPopupInterface001.test.ets deleted file mode 100644 index 049f8800..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxPopupInterfaceTest/UIComponentPopupBoxPopupInterface001.test.ets +++ /dev/null @@ -1,206 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver, MouseButton, 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)}`) - * */ - -export default function UIComponentPopupBoxPopupInterface001() { - - describe('UIComponentPopupBoxPopupInterface001', () => { - - - /* - * @tc.number SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0020 - * @tc.name SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0020 - * @tc.desc customDialog test inputMethod - */ - it('SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0020 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface001") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxPopupInterface001_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - let textInput: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxPopupInterface001_textInput_001')) - await Utils.sleep(500) - await textInput?.inputText("This is test text") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_REVERSEANALYSIS_0020 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0030 - * @tc.name SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0030 - * @tc.desc customDialog test inputMethod & open and close - */ - it('SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0030 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface001") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxPopupInterface001_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - let textInput: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxPopupInterface001_textInput_001')) - let text: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxPopupInterface001_text_001')) - await Utils.sleep(500) - await textInput?.inputText("test") - await Utils.sleep(500) - await driver?.triggerKey(2049) - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0030 finish.`); - done() - }) - - - /* - * @tc.number SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0040 - * @tc.name SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0040 - * @tc.desc customDialog test inputMethod - */ - it('SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0040 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface001") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxPopupInterface001_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - let textInput: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxPopupInterface001_textInput_001')) - let text: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxPopupInterface001_text_001')) - await Utils.sleep(500) - await textInput?.inputText("test") - await Utils.sleep(500) - await driver?.triggerKey(2049) - await Utils.sleep(500) - await textInput?.inputText("test1") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_ANALYSE_UI_COMPONENT_POPUPBOX_POPUP_0040 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_SCENARIOS_0010 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_SCENARIOS_0010 - * @tc.desc prompt.showDialog - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_SCENARIOS_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_SCENARIOS_0010 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface002") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxPopupInterface002_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_SCENARIOS_0010 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_SCENARIOS_0120 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_SCENARIOS_0120 - * @tc.desc prompt.showDialog & confirm - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_SCENARIOS_0120', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_SCENARIOS_0120 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface002") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxPopupInterface002_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - let confirmButton: Component = await driver.findComponent(ON.text('confirm')) - await Utils.sleep(500) - await confirmButton?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_SCENARIOS_0120 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_SCENARIOS_0110 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_SCENARIOS_0110 - * @tc.desc promptAction - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_SCENARIOS_0110', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_SCENARIOS_0110 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface003") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxPopupInterface003_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - let confirmButton: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxPopupInterface003_button_002')) - await Utils.sleep(500) - await confirmButton?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_SCENARIOS_0110 finish.`); - done() - }) - - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxPromptToastSequenceTest/UIComponentPopupBoxPromptToastSequence.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxPromptToastSequenceTest/UIComponentPopupBoxPromptToastSequence.test.ets deleted file mode 100644 index a5589bad..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxPromptToastSequenceTest/UIComponentPopupBoxPromptToastSequence.test.ets +++ /dev/null @@ -1,254 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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, expect, 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): - * 创建窗口,更改窗口基本配置,更改方式详见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 UIComponentPopupBoxPromptToastSequence() { - - describe('UIComponentPopupBoxPromptToastSequence', () => { - - - /* - * @tc.number SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0020 - * @tc.name SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0020 - * @tc.desc The custom popup set is the generic showInSubWindow=false - */ - it('SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0020 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence002"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxPromptToastSequence0020")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0020 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0150 - * @tc.name SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0150 - * @tc.desc The custom popup set is the generic showInSubWindow=false - */ - it('SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0150', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0150 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence015"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxPromptToastSequence0151")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - let ButtonCom1 = await driver.findComponent(ON.id("UIComponentPopupBoxPromptToastSequence0150")); - let pointButtonCenter1 = await ButtonCom1.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - await driver.click(pointButtonCenter1.x, pointButtonCenter1.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0150 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0080 - * @tc.name SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0080 - * @tc.desc The custom popup set is the generic showInSubWindow=false - */ - it('SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0080', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0080 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence008"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxPromptToastSequence0080")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(4000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0080 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0140 - * @tc.name SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0140 - * @tc.desc The custom popup set is the generic showInSubWindow=false - */ - it('SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0140', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0140 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence014"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxPromptToastSequence0140")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - let ButtonCom1 = await driver.findComponent(ON.id("UIComponentPopupBoxPromptToastSequence0141")); - let pointButtonCenter1 = await ButtonCom1.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - await driver.click(pointButtonCenter1.x, pointButtonCenter1.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0140 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0030 - * @tc.name SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0030 - * @tc.desc The custom popup set is the generic showInSubWindow=false - */ - it('SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0030 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence003"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxPromptToastSequence0030")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0030 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0040 - * @tc.name SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0040 - * @tc.desc The custom popup set is the generic showInSubWindow=false - */ - it('SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0040 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence004"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxPromptToastSequence0040")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0040 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0070 - * @tc.name SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0070 - * @tc.desc The custom popup set is the generic showInSubWindow=false - */ - it('SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0070', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0070 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence007"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxPromptToastSequence0070")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0070 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0090 - * @tc.name SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0090 - * @tc.desc The custom popup set is the generic showInSubWindow=false - */ - it('SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0090', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0090 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence009"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxPromptToastSequence0091")); - let ButtonCom1 = await driver.findComponent(ON.id("UIComponentPopupBoxPromptToastSequence0090")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - let pointButtonCenter1 = await ButtonCom1.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - await driver.click(pointButtonCenter1.x, pointButtonCenter1.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0090 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0050 - * @tc.name SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0050 - * @tc.desc The custom popup set is the generic showInSubWindow=false - */ - it('SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0050 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence005"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxPromptToastSequence0050")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0050 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0060 - * @tc.name SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0060 - * @tc.desc The custom popup set is the generic showInSubWindow=false - */ - it('SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0060', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0060 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence006"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxPromptToastSequence0060")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSEQUENCE_0060 finish.`); - done(); - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxSpecificationsPopupTest/UIComponentPopupBoxSpecificationsPopup.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxSpecificationsPopupTest/UIComponentPopupBoxSpecificationsPopup.test.ets deleted file mode 100644 index 4b584d61..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxSpecificationsPopupTest/UIComponentPopupBoxSpecificationsPopup.test.ets +++ /dev/null @@ -1,162 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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, expect, 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): - * 创建窗口,更改窗口基本配置,更改方式详见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 UIComponentPopupBoxSpecificationsPopup() { - - describe('UIComponentPopupBoxSpecificationsPopup', () => { - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0010 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0010 - * @tc.desc Verify the Menu component and test whether the modifier configuration is consistent with the original configuration when parameter index=1 - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0010 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup001"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecificationsPopup0010")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(5000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0010 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0020 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0020 - * @tc.desc Verify the Menu component and test whether the modifier configuration is consistent with the original configuration when parameter index=2 - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0020 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup002"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecificationsPopup0020")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(5000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0020 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0030 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0030 - * @tc.desc Verify the Menu component and test whether the modifier configuration is consistent with the original configuration when parameter index=3 - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0030 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup003"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecificationsPopup0030")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(5000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0030 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0040 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0040 - * @tc.desc Verify the MenuItem component and test whether the modifier configuration is consistent with the original configuration when parameter index=1 - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0040 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup004"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecificationsPopup0040")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(5000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0040 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0050 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0050 - * @tc.desc Verify the MenuItem component and test whether the modifier configuration is consistent with the original configuration when parameter index=2 - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0050 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup005"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecificationsPopup0050")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(5000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0050 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0060 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0060 - * @tc.desc Verify the MenuItem component and test whether the modifier configuration is consistent with the original configuration when parameter index=3 - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0060', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0060 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup006"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecificationsPopup0060")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(5000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_POPUP_0060 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 deleted file mode 100644 index d1ef9fb3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxSpecificationsShadowTest/UIComponentPopupBoxSpecificationsShadow.test.ets +++ /dev/null @@ -1,242 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 } 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)}`) - * */ - -export default function UIComponentPopupBoxSpecificationsShadow() { - describe('UIComponentPopupBoxSpecificationsShadow', () => { - - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0200 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0200 - * @tc.desc SelectDialog configures shadow ({radius: reference 100vp,type: ShadowType.COLOR, color: ColoringStrategy.PRIMARY offsetX: 30vp,offsetY: 30vp,fill:false}) - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0200', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0200 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow020"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecificationsShadow0200")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0200 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0170 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0170 - * @tc.desc SelectDialog configures shadow ({radius: reference 30vp,type: ShadowType.COLOR, color: Color.Black offsetX: 30vp,offsetY: 30vp,fill: true}) - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0170', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0170 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow017"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecificationsShadow0170")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0170 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0120 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0120 - * @tc.desc SelectDialog Configure shadow (ShadowStyle.OUTER_DEFAULT_LG) - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0120', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0120 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow012"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecificationsShadow0120")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0120 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0180 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0180 - * @tc.desc SelectDialog configures shadow ({radius: reference 100vp,type: ShadowType.COLOR, color: ColoringStrategy.AVERAGE offsetX: 30vp,offsetY: 30vp,fill: false}) - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0180', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0180 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow018"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecificationsShadow0180")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0180 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0130 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0130 - * @tc.desc SelectDialog Configure shadow (ShadowStyle.OUTER_DEFAULT_SM) - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0130', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0130 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow013"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecificationsShadow0130")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0130 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0140 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0140 - * @tc.desc SelectDialog Configure shadow (ShadowStyle.OUTER_DEFAULT_XS) - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0140', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0140 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow014"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecificationsShadow0140")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0140 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0160 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0160 - * @tc.desc SelectDialog Configure shadow (ShadowStyle.OUTER_FLOATING_SM) - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0160', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0160 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow016"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecificationsShadow0160")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0160 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0210 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0210 - * @tc.desc SelectDialog configures shadow ({radius: reference 30vp,type: ShadowType.BLUR, color: "#FF00FF" offsetX: 30vp,offsetY: 30vp,fill: false}) - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0210', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0210 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow021"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecificationsShadow0210")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0210 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0220 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0220 - * @tc.desc SelectDialog configures shadow ({radius: reference 30vp,type: ShadowType.BLUR, color: reference "#00FFFF" offsetX: 100vp,offsetY: 100vp,fill: false}) - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0220', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0220 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow022"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecificationsShadow0220")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0220 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0830 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0830 - * @tc.desc The SelectDialog configures shadow: undefined - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0830', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0830 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow083"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecificationsShadow0830")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0830 finish.`); - done(); - }) - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxSpecificationsTest/UIComponentPopupBoxSpecifications.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxSpecificationsTest/UIComponentPopupBoxSpecifications.test.ets deleted file mode 100644 index df8f62fe..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxSpecificationsTest/UIComponentPopupBoxSpecifications.test.ets +++ /dev/null @@ -1,609 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 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): - * 创建窗口,更改窗口基本配置,更改方式详见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 UIComponentPopupBoxSpecifications() { - - describe('UIComponentPopupBoxSpecifications', () => { - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0610 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0610 - * @tc.desc Set the button size to only 50vp and snug to the right of the screen - bubble flicks down - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0610', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0610 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications061"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0610")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0610 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0600 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0600 - * @tc.desc Set the button size to only 50vp and snug to the right of the screen - bubble pops up - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0600', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0600 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications060"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0600")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0600 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0590 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0590 - * @tc.desc Set the button size to only 50vp and snug to the left of the screen - bubble flicks down - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0590', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0590 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications059"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0590")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0590 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0620 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0620 - * @tc.desc Set the button size to only 50vp and close to the top of the screen - bubble up - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0620', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0620 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications062"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0620")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0620 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0690 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0690 - * @tc.desc Set the button size to only 50vp and close to the top right of the screen - bubble flicks down - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0690', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0690 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications069"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0690")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0690 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0640 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0640 - * @tc.desc Set the button size to only 50vp and close to the bottom of the screen - the bubble pops up - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0640', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0640 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications064"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0640")); - let pointCenter = await SliderCom.getBoundsCenter(); - ; - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0640 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0650 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0650 - * @tc.desc Set the button size to only 50vp and close to the bottom of the screen - the bubble pops down - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0650', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0650 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications065"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0650")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0650 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0790 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0790 - * @tc.desc Set the button size to only 50vp, arrowoffset set to a value of <0 and close to the top of the screen - the bubble pops down - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0790', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0790 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications079"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0790")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0790 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0800 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0800 - * @tc.desc Set the button size to only 50VP, set arrowofset to <0 and pop up against the bubble at the bottom of the screen - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0800', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0800 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications080"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0800")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0800 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0710 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0710 - * @tc.desc Set the button size to only 50vp and snug to the bottom left of the screen - bubble pops down - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0710', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0710 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications071"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0710")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0710 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0720 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0720 - * @tc.desc Set the button size to only 50vp and snug to the bottom right of the screen - bubble pops up - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0720', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0720 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications072"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0720")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0720 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0630 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0630 - * @tc.desc Set the button size to only 50vp and close to the top of the screen - bubble flicks down - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0630', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0630 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications063"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0630")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0630 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0700 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0700 - * @tc.desc Set the button size to only 50VP and close to the bottom left of the screen - bubble pops up - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0700', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0700 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications070"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0700")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0700 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0670 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0670 - * @tc.desc Set the button size to only 50VD and close to the top left of the screen - bubble flicks down - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0670', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0670 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications067"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0670")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0670 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0660 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0660 - * @tc.desc Set the button size to only 50vP and close to the top left of the screen - bubble up - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0660', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0660 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications066"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0660")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0660 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0740 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0740 - * @tc.desc Set the button size to only 50vp, set arrowOffset to a value of <0 and stick to the left side of - * the screen - bubble up - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0740', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0740 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications074"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0740")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0740 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0680 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0680 - * @tc.desc Set the button size to only 50vp and close to the top right of the screen - bubble up - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0680', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0680 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications068"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0680")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0680 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0730 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0730 - * @tc.desc Set the button size to only 50vp and snug to the bottom right of the screen - bubble pops down - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0730', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0730 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications073"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0730")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0730 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0830 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0830 - * @tc.desc Set the button size to only 50vp and close to the right side of the screen, offset to {x:-100.y:0} - * and the bubble to the right - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0830', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0830 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications083"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0830")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0830 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0760 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0760 - * @tc.desc Set the button size to only 50vp arrowOffset to a value of <0 and snug to the right of the screen - - * the bubble pops up - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0760', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0760 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications076"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0760")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0760 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0750 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0750 - * @tc.desc Set the button size to only 50vp arrowOffset set to a value of <0 and close to the left side of the - * screen - the bubble pops down - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0750', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0750 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications075"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0750")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0750 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0780 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0780 - * @tc.desc Set the button size to only 50VP arrowOffset set to a value of <0 and close to the top of - * the screen - the bubble pops up - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0780', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0780 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications078"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0780")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0780 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0810 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0810 - * @tc.desc Set the button size to only 50vp, arrowOffset to <0 and close to the bottom of the screen - bubble pops down - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0810', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0810 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications081"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0810")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0810 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0770 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0770 - * @tc.desc Set the button size to only 50 vp arrowOffset to a value of <0 and close to the right side of - * the screen - the bubble pops down - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0770', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0770 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications077"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0770")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0770 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0840 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0840 - * @tc.desc Set button size to only 50vp and close to the top of the screen, offset to {x:0.y:100) Bubble and up - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0840', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0840 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications084"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0840")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0840 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0850 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0850 - * @tc.desc Set button size to only 50vp and close to the bottom of the screen, offset to {x:0.y:-100} Bubble and down - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0850', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0850 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications085"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0850")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0850 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0820 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0820 - * @tc.desc Set button size to only 50vp and close to the left of the screen, offset to {x:100.y:0} bubble and left - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0820', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0820 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications082"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0820")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0820 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0580 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0580 - * @tc.desc Set the button size to only 50vp and snug to the left of the screen - bubble pops up - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0580', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0580 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications058"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentPopupBoxSpecifications0580")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_0580 finish.`); - done(); - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxToastStyleInterfaceTest/UIComponentPopupBoxToastStyleInterface001.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxToastStyleInterfaceTest/UIComponentPopupBoxToastStyleInterface001.test.ets deleted file mode 100644 index 4ba11fad..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupBoxToastStyleInterfaceTest/UIComponentPopupBoxToastStyleInterface001.test.ets +++ /dev/null @@ -1,138 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver, MouseButton, ON } from '@ohos.UiTest' -import uiAppearance from '@ohos.uiAppearance' - -/* - * - * 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 UIComponentPopupBoxToastStyleInterface001() { - - describe('UIComponentPopupBoxToastStyleInterface001', () => { - - - /* - * @tc.number SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSTYLE_0010 - * @tc.name SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSTYLE_0010 - * @tc.desc toast test 单行文本&dark - */ - it('SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSTYLE_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSTYLE_0010 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface001") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxToastStyleInterface001_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(500) - uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK) - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(500) - uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT) - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSTYLE_0010 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSTYLE_0020 - * @tc.name SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSTYLE_0020 - * @tc.desc toast test 多行文本&dark - */ - it('SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSTYLE_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSTYLE_0020 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface002") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxToastStyleInterface002_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(500) - uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK) - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(500) - uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT) - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSTYLE_0020 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSTYLE_0030 - * @tc.name SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSTYLE_0030 - * @tc.desc toast test showMode.TOP_MOST - */ - it('SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSTYLE_0030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSTYLE_0030 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface004") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxToastStyleInterface004_button_001')) - let textInput: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxToastStyleInterface004_textInput_001')) - await Utils.sleep(1000) - await textInput?.click() - await Utils.sleep(500) - await button?.click() - await Utils.sleep(500) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSTYLE_0030 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSTYLE_0040 - * @tc.name SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSTYLE_0040 - * @tc.desc toast test message 超长 - */ - it('SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSTYLE_0040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSTYLE_0040 start.`); - Settings.createWindow("testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface003") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupBoxToastStyleInterface003_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_Ul_COMPONENT_POPUPBOX_PROMPT_TOASTSTYLE_0040 finish.`); - done() - }) - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupPromptInterfaceTest/UIComponentPopupPromptInterface001.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupPromptInterfaceTest/UIComponentPopupPromptInterface001.test.ets deleted file mode 100644 index f6d92718..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupPromptInterfaceTest/UIComponentPopupPromptInterface001.test.ets +++ /dev/null @@ -1,605 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver, MouseButton, 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)}`) - * */ - -export default function UIComponentPopupPromptInterface001() { - - describe('UIComponentPopupPromptInterface001', () => { - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0290 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0290 - * @tc.desc changeDuration = 1000s - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0290', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0290 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface001") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface001_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1500) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0290 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0300 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0300 - * @tc.desc changeDuration = 15000s - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0300', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0300 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface001") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface001_button_001')) - let changeDuration: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface001_button_002')) - await Utils.sleep(500) - await changeDuration?.click() - await Utils.sleep(500) - await button?.click() - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0300 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0310 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0310 - * @tc.desc changeDuration = 5000s - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0310', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0310 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface001") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface001_button_001')) - let changeDuration: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface001_button_003')) - await Utils.sleep(500) - await changeDuration?.click() - await Utils.sleep(500) - await button?.click() - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0310 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0270 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0270 - * @tc.desc bottom = 150px - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0270', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0270 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface002") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface002_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0270 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0280 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0280 - * @tc.desc bottom = 150vp - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0280', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0280 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface002") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface002_button_001')) - let changeBottom: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface002_change_01')) - await Utils.sleep(500) - await changeBottom?.click() - await Utils.sleep(500) - await button?.click() - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0280 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0250 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0250 - * @tc.desc bottom = '0' - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0250', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0250 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface002") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface002_button_001')) - let changeBottom: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface002_change_02')) - await Utils.sleep(500) - await changeBottom?.click() - await Utils.sleep(500) - await button?.click() - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0250 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0320 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0320 - * @tc.desc bottom = '-100' - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0320', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0320 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface002") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface002_button_001')) - let changeBottom: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface002_change_03')) - await Utils.sleep(500) - await changeBottom?.click() - await Utils.sleep(500) - await button?.click() - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0320 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0260 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0260 - * @tc.desc bottom = '150aaa' - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0260', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0260 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface002") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface002_button_001')) - let changeBottom: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface002_change_04')) - await Utils.sleep(500) - await changeBottom?.click() - await Utils.sleep(500) - await button?.click() - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0260 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0220 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0220 - * @tc.desc bottom = -100 - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0220', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0220 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface003") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface003_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0220 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0230 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0230 - * @tc.desc bottom = 0 - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0230', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0230 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface003") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface003_button_001')) - let changeBottom: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface003_change_01')) - await Utils.sleep(500) - await changeBottom?.click() - await Utils.sleep(500) - await button?.click() - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0230 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0010 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0010 - * @tc.desc show ActionMenu 同步返回result - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0010 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface004") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface004_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - let item: Component = await driver.findComponent(ON.text('item1')) - await Utils.sleep(500) - await item?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0010 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0020 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0020 - * @tc.desc show ActionMenu 异步返回result - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0010 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface006") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface006_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - let item: Component = await driver.findComponent(ON.text('item1')) - await Utils.sleep(500) - await item?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0010 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0040 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0040 - * @tc.desc show ActionMenu set4个button - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0040 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface006") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface006_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0040 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0110 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0110 - * @tc.desc show ActionMenu no title - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0110', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0110 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface005") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface005_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0110 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0080 - * @tc.name SSUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0080 - * @tc.desc show ActionMenu no title & setColor - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0080', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0080 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface005") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface005_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0080 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0120 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0120 - * @tc.desc show ActionMenu set title - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0120', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0120 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface006") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface006_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0120 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0140 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0140 - * @tc.desc show Dialog 异步返回result - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0140', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0140 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface007") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface007_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - let item: Component = await driver.findComponent(ON.text('button1')) - await Utils.sleep(500) - await item?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0140 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0130 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0130 - * @tc.desc show Dialog 同步返回result - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0130', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0130 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface008") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface008_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - let item: Component = await driver.findComponent(ON.text('button1')) - await Utils.sleep(500) - await item?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0130 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0200 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0200 - * @tc.desc show Dialog not set title - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0200', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0200 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface009") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface009_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0200 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0210 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0210 - * @tc.desc show Dialog set title为string类型 - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0210', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0210 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface008") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface008_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0210 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0150 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0150 - * @tc.desc show Dialog test not set button - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0150', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0150 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface0010") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface0010_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0150 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0160 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0160 - * @tc.desc show Dialog test set three button - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0160', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0160 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface008") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface008_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0160 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0190 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0190 - * @tc.desc show Dialog test set message为string - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0190', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0190 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface009") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface009_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0190 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0170 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0170 - * @tc.desc show Dialog test set 4个button - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0170', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0170 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface0011") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface0011_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0170 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0180 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0180 - * @tc.desc show Dialog test not set message - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0180', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0180 start.`); - Settings.createWindow("testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface0012") - await Utils.sleep(500) - let driver: Driver = Driver.create() - let button: Component = - await driver.findComponent(ON.id('UIComponentPopupPromptInterface0012_button_001')) - await Utils.sleep(500) - await button?.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_PROMPT_INTERFACE_0180 finish.`); - done() - }) - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxCalendarpickerInterfaceTest/UIComponentPopupboxCalendarpickerInterface.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxCalendarpickerInterfaceTest/UIComponentPopupboxCalendarpickerInterface.test.ets deleted file mode 100644 index 56efac85..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxCalendarpickerInterfaceTest/UIComponentPopupboxCalendarpickerInterface.test.ets +++ /dev/null @@ -1,374 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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, MouseButton, ON } from '@kit.TestKit'; - -export default function UIComponentPopupboxCalendarpickerInterface() { - - describe('UIComponentPopupboxCalendarpickerInterface', () => { - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0070 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0070 - * @tc.desc CalendarPicker:switch month - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0070', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0070 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0070") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let calPicker = await driver.findComponent(ON.id('calendarpickerInterface0070')); - await Utils.sleep(500); - await calPicker.doubleClick(); - await Utils.sleep(500); - await driver.triggerKey(2012); - await Utils.sleep(500); - await driver.triggerKey(2012); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0070 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0080 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0080 - * @tc.desc CalendarPicker:switch month - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0080', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0080 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0070") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let calPicker = await driver.findComponent(ON.id('calendarpickerInterface0070')); - let point =await calPicker.getBounds(); - await Utils.sleep(500); - await calPicker.doubleClick(); - await Utils.sleep(500); - await driver.triggerKey(2012); - await Utils.sleep(500); - await driver.triggerKey(2012); - await Utils.sleep(500); - await driver.mouseClick({x:point.right-100,y:point.top+20},MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0080 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0060 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0060 - * @tc.desc CalendarPicker:switch date - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0060', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0060 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0070") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let calPicker = await driver.findComponent(ON.id('calendarpickerInterface0070')); - await Utils.sleep(500); - let point = await calPicker.getBounds(); - await driver.mouseDoubleClick({x:point.right-20,y:point.top+5},MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(500); - await driver.mouseClick({x:point.right-100,y:point.top+20},MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0060 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0250 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0250 - * @tc.desc CalendarPicker:switch date - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0250', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0250 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0250") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let calPicker = await driver.findComponent(ON.id('calendarpickerInterface0250')); - await Utils.sleep(500); - let point = await calPicker.getBounds(); - await driver.mouseClick({x:point.right-20,y:point.top+5},MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0250 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0300 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0300 - * @tc.desc CalendarPicker:switch date&month - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0300', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0300 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0070") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let calPicker = await driver.findComponent(ON.id('calendarpickerInterface0070')); - await Utils.sleep(500); - let point = await calPicker.getBounds(); - await driver.mouseDoubleClick({x:point.right-20,y:point.top+5},MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(500); - await calPicker.doubleClick(); - await Utils.sleep(500); - await driver.mouseDoubleClick({x:point.right-20,y:point.top+5},MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(500); - await driver.mouseClick({x:point.right-100,y:point.top+20},MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0300 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0040 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0040 - * @tc.desc CalendarPicker:switch year - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0040 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0070") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let calPicker = await driver.findComponent(ON.id('calendarpickerInterface0070')); - await Utils.sleep(500); - let point = await calPicker.getBounds(); - await driver.mouseDoubleClick({x:point.left+20,y:point.top+20},MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(500); - await driver.mouseDoubleClick({x:point.right-20,y:point.top+5},MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(500); - await driver.mouseClick({x:point.right-100,y:point.top+20},MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0040 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0050 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0050 - * @tc.desc CalendarPicker:switch date - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0050 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0070") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let calPicker = await driver.findComponent(ON.id('calendarpickerInterface0070')); - await Utils.sleep(500); - let point = await calPicker.getBounds(); - await driver.mouseDoubleClick({x:point.right-20,y:point.top+5},MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0050 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0030 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0030 - * @tc.desc CalendarPicker:switch year - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0030 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0070") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let calPicker = await driver.findComponent(ON.id('calendarpickerInterface0070')); - await Utils.sleep(500); - let point = await calPicker.getBounds(); - await driver.mouseDoubleClick({x:point.left+20,y:point.top+20},MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(500); - await driver.mouseDoubleClick({x:point.right-20,y:point.top+5},MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0030 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0020 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0020 - * @tc.desc CalendarPicker:switch all - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0030 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0070") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let calPicker = await driver.findComponent(ON.id('calendarpickerInterface0070')); - await Utils.sleep(500); - let point = await calPicker.getBounds(); - for (let index = 0; index < 4; index++) { - await Utils.sleep(300); - await driver.mouseDoubleClick({x:point.right-20,y:point.top+5},MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(300); - await calPicker.doubleClick(); - await Utils.sleep(300); - await driver.mouseDoubleClick({x:point.right-20,y:point.bottom-5},MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(300); - await driver.mouseDoubleClick({x:point.left+20,y:point.top+20},MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(300); - await driver.mouseDoubleClick({x:point.right-20,y:point.top+5},MouseButton.MOUSE_BUTTON_LEFT); - } - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0020 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0320 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0320 - * @tc.desc CalendarPicker:onChange callback - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0320', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0320 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0250") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let calPicker = await driver.findComponent(ON.id('calendarpickerInterface0250')); - await Utils.sleep(500); - let point = await calPicker.getBounds(); - await driver.mouseClick({x:point.right-20,y:point.bottom-5},MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(500); - await calPicker.doubleClick(); - await Utils.sleep(500); - await driver.triggerKey(2013); - await Utils.sleep(500); - await calPicker.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0320 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0290 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0290 - * @tc.desc CalendarPicker:switch all - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0290', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0290 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0070") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let calPicker = await driver.findComponent(ON.id('calendarpickerInterface0070')); - await Utils.sleep(500); - let point = await calPicker.getBounds(); - await Utils.sleep(300); - await driver.mouseDoubleClick({x:point.right-20,y:point.top+5},MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(300); - await calPicker.doubleClick(); - await Utils.sleep(300); - await driver.triggerKey(2013); - await Utils.sleep(300); - await driver.mouseDoubleClick({x:point.left+20,y:point.top+20},MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(300); - await driver.mouseDoubleClick({x:point.right-20,y:point.top+5},MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0290 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0310 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0310 - * @tc.desc CalendarPicker:set Illegal Date - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0310', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0310 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0310") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let calPicker = await driver.findComponent(ON.id('calendarpickerInterface0310')); - await Utils.sleep(500); - await calPicker.inputText('1999-13-32'); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0310 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0330 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0330 - * @tc.desc CalendarPicker:System Date - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0330', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0330 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0330") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let calPicker = await driver.findComponent(ON.id('calendarpickerInterface0330')); - let btn = await driver.findComponent(ON.id('calendarpickerInterface0330_btn')); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0330 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0010 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0010 - * @tc.desc CalendarPicker:switch all - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0010 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0070") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let calPicker = await driver.findComponent(ON.id('calendarpickerInterface0070')); - await Utils.sleep(500); - let point = await calPicker.getBounds(); - await driver.mouseDoubleClick({x:point.right-20,y:point.top+5},MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(300); - await calPicker.doubleClick(); - await Utils.sleep(300); - await driver.triggerKey(2013); - await Utils.sleep(300); - await driver.mouseDoubleClick({x:point.left+20,y:point.top+20},MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(300); - await driver.mouseDoubleClick({x:point.right-20,y:point.top+5},MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(300); - await calPicker.click(); - await Utils.sleep(300); - await calPicker.click(); - for (let index = 0; index < 12; index++) { - await Utils.sleep(300); - await driver.triggerKey(2013); - await Utils.sleep(300); - await calPicker.click(); - } - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CALENDARPICKER_INTERFACE_0010 finish.`); - done(); - }) - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxDatepickerDialogLanguageHabitTest/UIComponentPopupboxDatepickerDialogLanguageHabit.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxDatepickerDialogLanguageHabitTest/UIComponentPopupboxDatepickerDialogLanguageHabit.test.ets deleted file mode 100644 index e7bd7e98..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxDatepickerDialogLanguageHabitTest/UIComponentPopupboxDatepickerDialogLanguageHabit.test.ets +++ /dev/null @@ -1,1346 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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, MouseButton, ON } from '@kit.TestKit'; - -export default function UIComponentPopupboxDatepickerDialogLanguageHabit() { - - describe('UIComponentPopupboxDatepickerDialogLanguageHabit', () => { - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0050 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0050 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0050 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0050") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePicker = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0050')); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0050_btn')); - await Utils.sleep(500); - Settings.switchLocales(); - await Utils.sleep(1000) - await btn.click(); - await Utils.sleep(500); - let point = await datePicker.getBoundsCenter(); - await Utils.sleep(500); - await driver.mouseScroll({ - x: point.x, y: point.y - }, true, 2); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0050 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0070 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0070 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0070', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0070 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0050") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePicker = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0050')); - await Utils.sleep(500); - let point = await datePicker.getBoundsCenter(); - await Utils.sleep(500); - await driver.mouseScroll({ - x: point.x, y: point.y - }, true, 2); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0070 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0100 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0100 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0100', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0100 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0050") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0050_btn')); - await Utils.sleep(500); - Settings.switchCusLocales('zh-Hans-CN'); - await Utils.sleep(1000) - await btn.click(); - await Utils.sleep(1000); - Settings.switchCusLocales('en-Latn-CN'); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0100 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0030 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0030 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0030 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0050") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePicker = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0050')); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0050_btn')); - await Utils.sleep(500); - Settings.switchCusLocales('zh-Hant-CN'); - await Utils.sleep(1000) - await btn.click(); - await Utils.sleep(500); - let point = await datePicker.getBoundsCenter(); - await Utils.sleep(500); - await driver.mouseScroll({ - x: point.x, y: point.y - }, true, 2); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0030 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0040 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0040 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0040 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0050") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePicker = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0050')); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0050_btn')); - await Utils.sleep(500); - Settings.switchCusLocales('zh-Hant-CN'); - await Utils.sleep(1000) - await btn.click(); - await Utils.sleep(500); - let point = await datePicker.getBoundsCenter(); - await Utils.sleep(500); - await driver.mouseScroll({ - x: point.x, y: point.y - }, true, 2); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0040 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0090 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0090 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0090', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0090 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0050") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePicker = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0050')); - await Utils.sleep(500); - Settings.switchCusLocales('zh-Hant-CN'); - await Utils.sleep(1000) - let point = await datePicker.getBoundsCenter(); - await Utils.sleep(500); - await driver.mouseScroll({ - x: point.x, y: point.y - }, true, 2); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0090 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0110 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0110 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0110', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0110 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0050") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0050_btn')); - await Utils.sleep(500); - Settings.switchCusLocales('zh-Hans-CN'); - await Utils.sleep(1000) - await btn.click(); - await Utils.sleep(1000); - Settings.switchCusLocales('zh-Hant-CN'); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0110 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0010 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0010 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0010 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0050") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0050_btn')); - let datePicker = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0050')); - await Utils.sleep(500); - Settings.switchCusLocales('zh-Hans-CN'); - await Utils.sleep(1000) - await btn.click(); - await Utils.sleep(500); - let point = await datePicker.getBoundsCenter(); - await Utils.sleep(500); - await driver.mouseScroll({ - x: point.x, y: point.y - }, true, 2); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0010 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0150 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0150 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0150', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0150 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0050") - await Utils.sleep(1000) - Settings.switchCusLocales('zh-Hans-CN'); - await Utils.sleep(1000); - Settings.switchCusLocales('zh-Hant-CN'); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0150 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0080 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0080 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0080', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0080 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0050") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePicker = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0050')); - await Utils.sleep(1000); - Settings.switchCusLocales('zh-Hant-CN'); - await Utils.sleep(500); - let point = await datePicker.getBoundsCenter(); - await Utils.sleep(500); - await driver.mouseScroll({ - x: point.x, y: point.y - }, true, 2); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0080 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0140 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0140 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0140', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0140 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0050") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0050_btn')); - await Utils.sleep(500); - Settings.switchCusLocales('zh-Hans-CN'); - await Utils.sleep(1000) - await btn.click(); - await Utils.sleep(1000); - Settings.switchCusLocales('ug-CN'); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0140 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0060 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0060 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0060', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0060 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0050") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePicker = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0050')); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0050_btn')); - await Utils.sleep(1000); - Settings.switchCusLocales('ug-CN'); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(500); - let point = await datePicker.getBoundsCenter(); - await Utils.sleep(500); - await driver.mouseScroll({ - x: point.x, y: point.y - }, true, 2); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0060 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0120 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0120 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0120', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0120 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0050") - await Utils.sleep(1000) - Settings.switchCusLocales('zh-Hans-CN'); - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0050_btn')); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(1000); - Settings.switchCusLocales('zh-Hant-CN'); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0120 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0130 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0130 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0130', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0130 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0050") - await Utils.sleep(1000) - Settings.switchCusLocales('zh-Hans-CN'); - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0050_btn')); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(1000); - Settings.switchCusLocales('bo-CN'); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0130 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0210_1 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0210_1 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0210_1', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0210_1 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000) - Settings.switchCusLocales('bo-CN'); - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(500); - let timePicker = await driver.findComponent(ON.type('TimePicker')); - let datePicker = await driver.findComponent(ON.type('DatePicker')); - let point1 = await datePicker.getBounds(); - let point2 = await timePicker.getBounds(); - let centerX1 = (point1.left + point1.right) / 2; - let centerY1 = (point1.top + point1.bottom) / 2; - let centerX2 = (point2.left + point2.right) / 2; - let centerY2 = (point2.top + point2.bottom) / 2; - await Utils.sleep(300); - await driver.mouseScroll({ - x: centerX1, y: centerY1 - }, true, 3); - await Utils.sleep(500); - await driver.mouseScroll({ - x: centerX2 - 80, y: centerY2 - }, true, 3); - await Utils.sleep(1000); - // await driver.mouseClick({x:point2.left+150,y:point2.bottom+100},MouseButton.MOUSE_BUTTON_LEFT); - await driver.click(point2.left + 150, point2.bottom + 100); - await Utils.sleep(1500); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0210_1 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0210_2 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0210_2 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0210_2', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0210_2 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000) - Settings.switchCusLocales('bo-CN'); - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let cb1 = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_cb1')); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(300); - await cb1.click(); - await Utils.sleep(300); - await btn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0210_2 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0210_3 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0210_3 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0210_3', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0210_3 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000) - Settings.switchCusLocales('bo-CN'); - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let cb2 = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_cb2')); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(500); - await cb2.click(); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(1500); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0210_3 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0170_1 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0170_1 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0170_1', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0170_1 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000) - Settings.switchCusLocales('zh-Hans-CN'); - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(500); - let timePicker = await driver.findComponent(ON.type('TimePicker')); - let datePicker = await driver.findComponent(ON.type('DatePicker')); - let point1 = await datePicker.getBounds(); - let point2 = await timePicker.getBounds(); - let centerX1 = (point1.left + point1.right) / 2; - let centerY1 = (point1.top + point1.bottom) / 2; - let centerX2 = (point2.left + point2.right) / 2; - let centerY2 = (point2.top + point2.bottom) / 2; - await Utils.sleep(300); - await driver.mouseScroll({ - x: centerX1, y: centerY1 - }, true, 2); - await Utils.sleep(500); - await driver.mouseScroll({ - x: centerX2 - 80, y: centerY2 - }, true, 3); - await Utils.sleep(1000); - await driver.click(point2.left + 150, point2.bottom + 100); - await Utils.sleep(1500); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0170_1 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0170_2 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0170_2 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0170_2', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0210_2 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000) - Settings.switchCusLocales('zh-Hans-CN'); - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let cb1 = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_cb1')); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(300); - await cb1.click(); - await Utils.sleep(300); - await btn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0170_2 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0170_3 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0170_3 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0170_3', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0170_3 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000) - Settings.switchCusLocales('zh-Hans-CN'); - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let cb2 = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_cb2')); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(500); - await cb2.click(); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(1500); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0170_3 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0190_1 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0190_1 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0190_1', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0190_1 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000) - Settings.switchCusLocales('zh-Hant-CN'); - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(500); - let timePicker = await driver.findComponent(ON.type('TimePicker')); - let datePicker = await driver.findComponent(ON.type('DatePicker')); - let point1 = await datePicker.getBounds(); - let point2 = await timePicker.getBounds(); - let centerX1 = (point1.left + point1.right) / 2; - let centerY1 = (point1.top + point1.bottom) / 2; - let centerX2 = (point2.left + point2.right) / 2; - let centerY2 = (point2.top + point2.bottom) / 2; - await Utils.sleep(300); - await driver.mouseScroll({ - x: centerX1, y: centerY1 - }, true, 2); - await Utils.sleep(500); - await driver.mouseScroll({ - x: centerX2 - 80, y: centerY2 - }, true, 3); - await Utils.sleep(1000); - await driver.click(point2.left + 150, point2.bottom + 100); - await Utils.sleep(1500); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0190_1 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0190_2 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0190_2 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0190_2', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0190_2 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000) - Settings.switchCusLocales('zh-Hant-CN'); - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let cb1 = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_cb1')); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(300); - await cb1.click(); - await Utils.sleep(300); - await btn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0190_2 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0190_3 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0190_3 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0190_3', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0170_3 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000) - Settings.switchCusLocales('zh-Hant-CN'); - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let cb2 = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_cb2')); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(500); - await cb2.click(); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(1500); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0190_3 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0200_1 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0200_1 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0200_1', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0200_1 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000); - Settings.switchCusLocales('zh-Hant-CN'); - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(500); - let timePicker = await driver.findComponent(ON.type('TimePicker')); - let datePicker = await driver.findComponent(ON.type('DatePicker')); - let point1 = await datePicker.getBounds(); - let point2 = await timePicker.getBounds(); - let centerX1 = (point1.left + point1.right) / 2; - let centerY1 = (point1.top + point1.bottom) / 2; - let centerX2 = (point2.left + point2.right) / 2; - let centerY2 = (point2.top + point2.bottom) / 2; - await Utils.sleep(300); - await driver.mouseScroll({ - x: centerX1, y: centerY1 - }, true, 2); - await Utils.sleep(500); - await driver.mouseScroll({ - x: centerX2 - 80, y: centerY2 - }, true, 3); - await Utils.sleep(1000); - await driver.click(point2.left + 150, point2.bottom + 100); - await Utils.sleep(1500); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0200_1 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0200_2 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0200_2 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0200_2', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0200_2 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000); - Settings.switchCusLocales('zh-Hant-CN'); - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let cb1 = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_cb1')); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(300); - await cb1.click(); - await Utils.sleep(300); - await btn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0200_2 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0200_3 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0200_3 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0200_3', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0200_3 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000); - Settings.switchCusLocales('zh-Hant-CN'); - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let cb2 = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_cb2')); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(500); - await cb2.click(); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(1500); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0200_3 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0220_1 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0220_1 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0220_1', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0220_1 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000); - Settings.switchCusLocales('ug-CN'); - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(500); - let datePicker = await driver.findComponent(ON.type('DatePicker')); - let timePicker = await driver.findComponent(ON.type('TimePicker')); - let point1 = await datePicker.getBounds(); - let point2 = await timePicker.getBounds(); - let centerX1 = (point1.left + point1.right) / 2; - let centerY1 = (point1.top + point1.bottom) / 2; - let centerX2 = (point2.left + point2.right) / 2; - let centerY2 = (point2.top + point2.bottom) / 2; - await Utils.sleep(300); - await driver.mouseScroll({ - x: centerX1, y: centerY1 - }, true, 3); - await Utils.sleep(500); - await driver.mouseScroll({ - x: centerX2 - 80, y: centerY2 - }, true, 3); - await Utils.sleep(1000); - await driver.click(point2.left + 150, point2.bottom + 100); - await Utils.sleep(1500); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0220_1 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0220_2 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0220_2 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0220_2', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0220_2 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000); - Settings.switchCusLocales('ug-CN'); - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let cb1 = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_cb1')); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(300); - await cb1.click(); - await Utils.sleep(300); - await btn.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0220_2 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0220_3 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0220_3 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0220_3', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0220_3 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000); - Settings.switchCusLocales('ug-CN'); - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let cb2 = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_cb2')); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(500); - await cb2.click(); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(1500); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0220_3 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0180_1 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0180_1 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0180_1', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0180_1 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000); - Settings.switchCusLocales('en-Latn-CN'); - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(500); - let datePicker = await driver.findComponent(ON.type('DatePicker')); - let timePicker = await driver.findComponent(ON.type('TimePicker')); - let point1 = await datePicker.getBounds(); - let point2 = await timePicker.getBounds(); - let centerX1 = (point1.left + point1.right) / 2; - let centerY1 = (point1.top + point1.bottom) / 2; - let centerX2 = (point2.left + point2.right) / 2; - let centerY2 = (point2.top + point2.bottom) / 2; - await Utils.sleep(300); - await driver.click(point1.left, point1.bottom + 30); - await Utils.sleep(1000); - await driver.mouseScroll({ - x: centerX1, y: centerY1 - }, true, 3); - await Utils.sleep(1000); - await driver.mouseScroll({ - x: centerX2 - 80, y: centerY2 - }, true, 3); - await Utils.sleep(1000); - await driver.click(point2.left + 150, point2.bottom + 100); - await Utils.sleep(1500); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0180_1 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0180_2 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0180_2 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0180_2', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0220_2 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000); - Settings.switchCusLocales('en-Latn-CN'); - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let cb1 = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_cb1')); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(300); - await cb1.click(); - await Utils.sleep(300); - await btn.click(); - await Utils.sleep(300); - let datePicker = await driver.findComponent(ON.type('DatePicker')); - let point1 = await datePicker.getBounds(); - await Utils.sleep(300); - await driver.click(point1.left, point1.bottom + 30); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0180_2 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0180_3 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0180_3 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0180_3', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0180_3 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000); - Settings.switchCusLocales('en-Latn-CN'); - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let cb2 = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_cb2')); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(500); - await cb2.click(); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(300); - let datePicker = await driver.findComponent(ON.type('DatePicker')); - let point1 = await datePicker.getBounds(); - await Utils.sleep(300); - await driver.click(point1.left, point1.bottom + 30); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0180_3 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0240_1 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0240_1 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0240_1', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0240_1 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000); - Settings.switchCusLocales('zh-Hant-CN'); - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(500); - let datePicker = await driver.findComponent(ON.type('DatePicker')); - let timePicker = await driver.findComponent(ON.type('TimePicker')); - let point1 = await datePicker.getBounds(); - let point2 = await timePicker.getBounds(); - let centerX1 = (point1.left + point1.right) / 2; - let centerY1 = (point1.top + point1.bottom) / 2; - let centerX2 = (point2.left + point2.right) / 2; - let centerY2 = (point2.top + point2.bottom) / 2; - await Utils.sleep(300); - await driver.click(point1.left, point1.bottom + 30); - await Utils.sleep(1000); - await driver.mouseScroll({ - x: centerX1, y: centerY1 - }, true, 3); - await Utils.sleep(1000); - await driver.mouseScroll({ - x: centerX2 - 80, y: centerY2 - }, true, 3); - await Utils.sleep(1000); - await driver.click(point2.left + 150, point2.bottom + 100); - await Utils.sleep(1500); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0240_1 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0240_2 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0240_2 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0240_2', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0240_2 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000); - Settings.switchCusLocales('zh-Hant-CN'); - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let cb1 = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_cb1')); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(300); - await cb1.click(); - await Utils.sleep(300); - await btn.click(); - await Utils.sleep(300); - let datePicker = await driver.findComponent(ON.type('DatePicker')); - let point1 = await datePicker.getBounds(); - await Utils.sleep(300); - await driver.click(point1.left, point1.bottom + 30); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0240_2 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0240_3 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0240_3 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0240_3', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0240_3 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000); - Settings.switchCusLocales('zh-Hant-CN'); - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let cb2 = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_cb2')); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(500); - await cb2.click(); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(300); - let datePicker = await driver.findComponent(ON.type('DatePicker')); - let point1 = await datePicker.getBounds(); - await Utils.sleep(300); - await driver.click(point1.left, point1.bottom + 30); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0240_3 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0250_1 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0250_1 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0250_1', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0250_1 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000); - Settings.switchCusLocales('zh-Hant-CN'); - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(500); - let datePicker = await driver.findComponent(ON.type('DatePicker')); - let timePicker = await driver.findComponent(ON.type('TimePicker')); - let point1 = await datePicker.getBounds(); - let point2 = await timePicker.getBounds(); - let centerX1 = (point1.left + point1.right) / 2; - let centerY1 = (point1.top + point1.bottom) / 2; - let centerX2 = (point2.left + point2.right) / 2; - let centerY2 = (point2.top + point2.bottom) / 2; - await Utils.sleep(300); - await driver.click(point1.left, point1.bottom + 30); - await Utils.sleep(1000); - await driver.mouseScroll({ - x: centerX1, y: centerY1 - }, true, 3); - await Utils.sleep(1000); - await driver.mouseScroll({ - x: centerX2 - 80, y: centerY2 - }, true, 3); - await Utils.sleep(1000); - await driver.click(point2.left + 150, point2.bottom + 100); - await Utils.sleep(1500); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0250_1 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0250_2 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0250_2 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0250_2', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0250_2 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000); - Settings.switchCusLocales('zh-Hant-CN'); - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let cb1 = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_cb1')); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(300); - await cb1.click(); - await Utils.sleep(300); - await btn.click(); - await Utils.sleep(300); - let datePicker = await driver.findComponent(ON.type('DatePicker')); - let point1 = await datePicker.getBounds(); - await Utils.sleep(300); - await driver.click(point1.left, point1.bottom + 30); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0250_2 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0250_3 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0250_3 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0250_3', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0250_3 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000); - Settings.switchCusLocales('zh-Hant-CN'); - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let cb2 = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_cb2')); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(500); - await cb2.click(); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(300); - let datePicker = await driver.findComponent(ON.type('DatePicker')); - let point1 = await datePicker.getBounds(); - await Utils.sleep(300); - await driver.click(point1.left, point1.bottom + 30); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0250_3 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0260 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0260 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0260', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0260 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000); - Settings.switchCusLocales('zh-Hans-CN'); - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - let cb1 = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_cb1')); - await Utils.sleep(500); - await cb1.click(); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(1000); - Settings.switchCusLocales('en-Latn-CN'); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0260 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0270 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0270 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0270', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0270 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000); - Settings.switchCusLocales('zh-Hans-CN'); - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - let cb1 = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_cb1')); - await Utils.sleep(500); - await cb1.click(); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(1000); - Settings.switchCusLocales('zh-Hant-CN'); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0270 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0280 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0280 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0280', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0280 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000); - Settings.switchCusLocales('zh-Hans-CN'); - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - let cb1 = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_cb1')); - await Utils.sleep(500); - await cb1.click(); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(1000); - Settings.switchCusLocales('zh-Hant-CN'); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0280 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0300 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0300 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0300', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0300 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000); - Settings.switchCusLocales('zh-Hans-CN'); - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - let cb1 = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_cb1')); - await Utils.sleep(500); - await cb1.click(); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(1000); - Settings.switchCusLocales('ug-CN'); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0300 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0230_1 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0230_1 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0230_1', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0230_1 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000); - Settings.switchCusLocales('zh-Hans-CN'); - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(500); - let datePicker = await driver.findComponent(ON.type('DatePicker')); - let timePicker = await driver.findComponent(ON.type('TimePicker')); - let point1 = await datePicker.getBounds(); - let point2 = await timePicker.getBounds(); - let centerX1 = (point1.left + point1.right) / 2; - let centerY1 = (point1.top + point1.bottom) / 2; - let centerX2 = (point2.left + point2.right) / 2; - let centerY2 = (point2.top + point2.bottom) / 2; - await Utils.sleep(300); - await driver.click(point1.left, point1.bottom + 30); - await Utils.sleep(1000); - await driver.mouseScroll({ - x: centerX1, y: centerY1 - }, true, 3); - await Utils.sleep(1000); - await driver.mouseScroll({ - x: centerX2 - 80, y: centerY2 - }, true, 3); - await Utils.sleep(1000); - await driver.click(point2.left + 150, point2.bottom + 100); - await Utils.sleep(1500); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0230_1 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0230_2 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0230_2 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0230_2', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0230_2 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000); - Settings.switchCusLocales('zh-Hant-CN'); - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let cb1 = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_cb1')); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(300); - await cb1.click(); - await Utils.sleep(300); - await btn.click(); - await Utils.sleep(300); - let datePicker = await driver.findComponent(ON.type('DatePicker')); - let point1 = await datePicker.getBounds(); - await Utils.sleep(300); - await driver.click(point1.left, point1.bottom + 30); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0230_2 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0230_3 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0230_3 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0230_3', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0230_3 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000); - Settings.switchCusLocales('zh-Hant-CN'); - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let cb2 = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_cb2')); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - await Utils.sleep(500); - await cb2.click(); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(300); - let datePicker = await driver.findComponent(ON.type('DatePicker')); - let point1 = await datePicker.getBounds(); - await Utils.sleep(300); - await driver.click(point1.left, point1.bottom + 30); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0230_3 finish.`); - done(); - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0290 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0290 - * @tc.desc DatePicker - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0290', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0290 start.`); - Settings.createWindow("testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210") - await Utils.sleep(1000); - Settings.switchCusLocales('zh-Hans-CN'); - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let btn = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_btn')); - let cb1 = await driver.findComponent(ON.id('datepickerDialogLanguageHabit0210_cb1')); - await Utils.sleep(500); - await cb1.click(); - await Utils.sleep(500); - await btn.click(); - await Utils.sleep(1000); - Settings.switchCusLocales('bo-CN'); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_LANGUAGEHABIT_0290 finish.`); - done(); - }) - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperAcrossTest/UIComponentScrollSwiperAcross.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperAcrossTest/UIComponentScrollSwiperAcross.test.ets deleted file mode 100644 index 77c7949e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperAcrossTest/UIComponentScrollSwiperAcross.test.ets +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON, PointerMatrix } from '@ohos.UiTest' - -export default function UIComponentScrollSwiperAcross() { - describe('UIComponentScrollSwiperAcross', () => { - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0010 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0820 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0010") - await Utils.sleep(1000) - windowSnap.snapShot() - let driver: Driver = Driver.create() - let button_ChangeIndex:Component =await driver.findComponent(ON.id('UIComponentScrollSwiperAcross0010_ChangeIndex')); - button_ChangeIndex.click() - await Utils.sleep(1000) - windowSnap.snapShot() - let button_ShowNext:Component =await driver.findComponent(ON.id('UIComponentScrollSwiperAcross0010_ShowNext')); - button_ShowNext.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0010 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0030 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0030 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0030") - await Utils.sleep(1000) - let driver: Driver = Driver.create() - let button_ChangeIndex:Component =await driver.findComponent(ON.id('UIComponentScrollSwiperAcross0030_ChangeIndex')); - button_ChangeIndex.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0030 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0060 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0060_1', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0060 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0060") - await Utils.sleep(1000) - let driver: Driver = Driver.create() - let button_ChangeIndex:Component =await driver.findComponent(ON.id('UIComponentScrollSwiperAcross0060_Remove')); - button_ChangeIndex.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0060 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0060 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0060_2', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0060 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0060") - await Utils.sleep(1000) - let driver: Driver = Driver.create() - let button_ChangeIndex:Component =await driver.findComponent(ON.id('UIComponentScrollSwiperAcross0060_ChangeIndex')); - button_ChangeIndex.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0060 finish.`); - done() - }) - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperArrowHeadTest/UIComponentScrollSwiperArrowHead.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperArrowHeadTest/UIComponentScrollSwiperArrowHead.test.ets deleted file mode 100644 index 1169f15b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperArrowHeadTest/UIComponentScrollSwiperArrowHead.test.ets +++ /dev/null @@ -1,498 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver, ON, MouseButton, PointerMatrix } from '@ohos.UiTest' - -export default function UIComponentScrollSwiperArrowHead() { - - describe('UIComponentScrollSwiperArrowHead', () => { - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0010 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0010") - await Utils.sleep(3000); - let driver: Driver = Driver.create(); - let swiperArrow = await driver.findComponent(ON.type("RightArrow")); - await swiperArrow.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0010 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0020 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0020") - await Utils.sleep(3000); - let driver: Driver = Driver.create(); - let swiperArrow = await driver.findComponent(ON.type("RightArrow")); - await swiperArrow.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0020 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0030 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0030") - await Utils.sleep(3000); - let driver: Driver = Driver.create(); - let swiperArrow = await driver.findComponent(ON.type("RightArrow")); - let point = await swiperArrow.getBoundsCenter(); - await driver.mouseMoveTo({x:point.x, y:point.y}); - await Utils.sleep(2000); - await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(3000); - await swiperArrow.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0030 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0040 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0040") - await Utils.sleep(3000); - let driver: Driver = Driver.create(); - let swiperArrow = await driver.findComponent(ON.type("RightArrow")); - let point = await swiperArrow.getBoundsCenter(); - await driver.mouseMoveTo({x:point.x, y:point.y}); - await Utils.sleep(2000); - await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(3000); - await swiperArrow.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0040 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0610', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0610 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0610") - await Utils.sleep(3000); - let driver: Driver = Driver.create(); - let swiperArrow = await driver.findComponent(ON.type("RightArrow")); - await swiperArrow.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0610 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0620', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0620 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0620") - await Utils.sleep(3000); - let driver: Driver = Driver.create(); - let swiperArrow = await driver.findComponent(ON.type("RightArrow")); - await swiperArrow.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0620 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0630', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0630 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0630"); - await Utils.sleep(3000); - let driver: Driver = Driver.create(); - let swiperArrow = await driver.findComponent(ON.type("RightArrow")); - let point = await swiperArrow.getBoundsCenter(); - await driver.mouseMoveTo({x:point.x, y:point.y}); - await Utils.sleep(2000); - await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(3000); - await swiperArrow.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0630 finish.`); - done(); - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0640', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0640 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0640"); - await Utils.sleep(3000); - let driver: Driver = Driver.create(); - let swiperArrow = await driver.findComponent(ON.type("RightArrow")); - let point = await swiperArrow.getBoundsCenter(); - await driver.mouseMoveTo({x:point.x, y:point.y}); - await Utils.sleep(2000); - await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(3000); - await swiperArrow.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0640 finish.`); - done(); - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0650', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0650 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0650"); - await Utils.sleep(1000); - let driver = Driver.create(); - let swiper = await driver.findComponent(ON.id("UIComponentScrollSwiperArrowHead0650_001")); - let point = await swiper.getBoundsCenter(); - await driver.mouseClick({ - x: point.x, y: point.y - }, MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(1000); - let rightArrow = await driver.findComponent(ON.type("RightArrow")); - let arrowPoint = await rightArrow.getBoundsCenter(); - await driver.mouseClick({ - x: arrowPoint.x, y: arrowPoint.y - }, MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(3000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0650 finish.`); - done(); - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0660', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0660 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0660") - await Utils.sleep(1000); - let driver = Driver.create(); - let swiper = await driver.findComponent(ON.id("UIComponentScrollSwiperArrowHead0660_001")); - let point = await swiper.getBoundsCenter(); - await driver.mouseClick({ - x: point.x, y: point.y - }, MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(1000); - let rightArrow = await driver.findComponent(ON.type("RightArrow")); - let arrowPoint = await rightArrow.getBoundsCenter(); - await driver.mouseClick({ - x: arrowPoint.x, y: arrowPoint.y - }, MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(3000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0660 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0670', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0670 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0670") - await Utils.sleep(3000); - let driver: Driver = Driver.create(); - let swiperButton = await driver.findComponent(ON.id("UIComponentScrollSwiperArrowHead0670_001")); - let button = await swiperButton.getBoundsCenter(); - await driver.mouseClick({ - x: button.x, y: button.y - }, MouseButton.MOUSE_BUTTON_LEFT); - let swiperArrow = await driver.findComponent(ON.type("RightArrow")); - let point = await swiperArrow.getBoundsCenter(); - await driver.mouseMoveTo({x:point.x, y:point.y}); - await Utils.sleep(2000); - await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(3000); - await swiperArrow.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0670 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0680', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0680 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0680") - await Utils.sleep(3000); - let driver: Driver = Driver.create(); - let swiperButton = await driver.findComponent(ON.id("UIComponentScrollSwiperArrowHead0680_001")); - let button = await swiperButton.getBoundsCenter(); - await driver.mouseClick({ - x: button.x, y: button.y - }, MouseButton.MOUSE_BUTTON_LEFT); - let swiperArrow = await driver.findComponent(ON.type("RightArrow")); - let point = await swiperArrow.getBoundsCenter(); - await driver.mouseMoveTo({x:point.x, y:point.y}); - await Utils.sleep(2000); - await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(3000); - await swiperArrow.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0680 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0690', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0690 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0690") - await Utils.sleep(3000); - let driver: Driver = Driver.create(); - let swiperArrow = await driver.findComponent(ON.type("RightArrow")); - await swiperArrow.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0690 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0700', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0700 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0700") - await Utils.sleep(3000); - let driver: Driver = Driver.create(); - let swiperArrow = await driver.findComponent(ON.type("RightArrow")); - await swiperArrow.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0700 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0710', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0710 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0710") - await Utils.sleep(3000); - let driver: Driver = Driver.create(); - let swiperArrow = await driver.findComponent(ON.type("RightArrow")); - let point = await swiperArrow.getBoundsCenter(); - await driver.mouseMoveTo({x:point.x, y:point.y}); - await Utils.sleep(2000); - await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(3000); - await swiperArrow.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0710 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0720', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0720 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0720") - await Utils.sleep(3000); - let driver: Driver = Driver.create(); - let swiperArrow = await driver.findComponent(ON.type("RightArrow")); - let point = await swiperArrow.getBoundsCenter(); - await driver.mouseMoveTo({x:point.x, y:point.y}); - await Utils.sleep(2000); - await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(3000); - await swiperArrow.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0720 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0730', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0730 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0730") - await Utils.sleep(3000); - let driver: Driver = Driver.create(); - let swiperButton = await driver.findComponent(ON.id("UIComponentScrollSwiperArrowHead0730_001")); - let button = await swiperButton.getBoundsCenter(); - await driver.mouseClick({ - x: button.x, y: button.y - }, MouseButton.MOUSE_BUTTON_LEFT); - let swiperArrow = await driver.findComponent(ON.type("RightArrow")); - let point = await swiperArrow.getBoundsCenter(); - await driver.mouseMoveTo({x:point.x, y:point.y}); - await Utils.sleep(2000); - await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(3000); - await swiperArrow.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0730 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0740', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0740 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0740") - await Utils.sleep(3000); - let driver: Driver = Driver.create(); - let swiperButton = await driver.findComponent(ON.id("UIComponentScrollSwiperArrowHead0740_001")); - let button = await swiperButton.getBoundsCenter(); - await driver.mouseClick({ - x: button.x, y: button.y - }, MouseButton.MOUSE_BUTTON_LEFT); - let swiperArrow = await driver.findComponent(ON.type("RightArrow")); - let point = await swiperArrow.getBoundsCenter(); - await driver.mouseMoveTo({x:point.x, y:point.y}); - await Utils.sleep(2000); - await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(3000); - await swiperArrow.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0740 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0750', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0750 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0750") - await Utils.sleep(3000); - let driver: Driver = Driver.create(); - let swiperButton = await driver.findComponent(ON.id("UIComponentScrollSwiperArrowHead0750_001")); - let button = await swiperButton.getBoundsCenter(); - await driver.mouseClick({ - x: button.x, y: button.y - }, MouseButton.MOUSE_BUTTON_LEFT); - let swiperArrow = await driver.findComponent(ON.type("RightArrow")); - let point = await swiperArrow.getBoundsCenter(); - await driver.mouseMoveTo({x:point.x, y:point.y}); - await Utils.sleep(2000); - await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(3000); - await swiperArrow.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0750 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0760', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0760 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0760") - await Utils.sleep(3000); - let driver: Driver = Driver.create(); - let swiperButton = await driver.findComponent(ON.id("UIComponentScrollSwiperArrowHead0760_001")); - let button = await swiperButton.getBoundsCenter(); - await driver.mouseClick({ - x: button.x, y: button.y - }, MouseButton.MOUSE_BUTTON_LEFT); - let swiperArrow = await driver.findComponent(ON.type("RightArrow")); - let point = await swiperArrow.getBoundsCenter(); - await driver.mouseMoveTo({x:point.x, y:point.y}); - await Utils.sleep(2000); - await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(3000); - await swiperArrow.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0760 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0770', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0770 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0770") - await Utils.sleep(3000); - let driver: Driver = Driver.create(); - let swiperButton = await driver.findComponent(ON.id("UIComponentScrollSwiperArrowHead0770_001")); - let button = await swiperButton.getBoundsCenter(); - await driver.mouseClick({ - x: button.x, y: button.y - }, MouseButton.MOUSE_BUTTON_LEFT); - let swiperArrow = await driver.findComponent(ON.type("RightArrow")); - let point = await swiperArrow.getBoundsCenter(); - await driver.mouseMoveTo({x:point.x, y:point.y}); - await Utils.sleep(2000); - await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(3000); - await swiperArrow.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0770 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0780', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0780 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0780") - await Utils.sleep(3000); - let driver: Driver = Driver.create(); - let swiperButton = await driver.findComponent(ON.id("UIComponentScrollSwiperArrowHead0780_001")); - let button = await swiperButton.getBoundsCenter(); - await driver.mouseClick({ - x: button.x, y: button.y - }, MouseButton.MOUSE_BUTTON_LEFT); - let swiperArrow = await driver.findComponent(ON.type("RightArrow")); - let point = await swiperArrow.getBoundsCenter(); - await driver.mouseMoveTo({x:point.x, y:point.y}); - await Utils.sleep(2000); - await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(3000); - await swiperArrow.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0780 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0790', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0790 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0790") - await Utils.sleep(3000); - let driver: Driver = Driver.create(); - let swiperButton = await driver.findComponent(ON.id("UIComponentScrollSwiperArrowHead0790_001")); - let button = await swiperButton.getBoundsCenter(); - await driver.mouseClick({ - x: button.x, y: button.y - }, MouseButton.MOUSE_BUTTON_LEFT); - let swiperArrow = await driver.findComponent(ON.type("RightArrow")); - let point = await swiperArrow.getBoundsCenter(); - - let swiper = await driver.findComponent(ON.type("SwiperIndicator")); - let swiperPoint = await swiper.getBoundsCenter(); - await driver.mouseMoveTo({ - x: swiperPoint.x, y: swiperPoint.y - }); - - await Utils.sleep(2000); - await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(3000); - await swiperArrow.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0790 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0800', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0800 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0800") - await Utils.sleep(3000); - let driver: Driver = Driver.create(); - let swiperButton = await driver.findComponent(ON.id("UIComponentScrollSwiperArrowHead0800_001")); - let button = await swiperButton.getBoundsCenter(); - await driver.mouseClick({ - x: button.x, y: button.y - }, MouseButton.MOUSE_BUTTON_LEFT); - let swiperArrow = await driver.findComponent(ON.type("RightArrow")); - let point = await swiperArrow.getBoundsCenter(); - - let swiper = await driver.findComponent(ON.type("SwiperIndicator")); - let swiperPoint = await swiper.getBoundsCenter(); - await driver.mouseMoveTo({ - x: swiperPoint.x, y: swiperPoint.y - }); - - await Utils.sleep(2000); - await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); - await Utils.sleep(3000); - await swiperArrow.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0800 finish.`); - done() - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperDisplaycountTest/UIComponentScrollSwiperDisplaycount.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperDisplaycountTest/UIComponentScrollSwiperDisplaycount.test.ets deleted file mode 100644 index d814c97a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperDisplaycountTest/UIComponentScrollSwiperDisplaycount.test.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON, PointerMatrix } from '@ohos.UiTest' - -export default function UIComponentScrollSwiperDisplaycount() { - describe('UIComponentScrollSwiperDisplaycount', () => { - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_DISPLAYCOUNT_0140 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_DISPLAYCOUNT_0140', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_DISPLAYCOUNT_0140 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperDisplaycount/UIComponentScrollSwiperDisplaycount0140") - await Utils.sleep(1000) - windowSnap.snapShot() - let driver: Driver = Driver.create() - let button_ShowNext:Component =await driver.findComponent(ON.id('UIComponentScrollSwiperDisplaycount0140_ShowPrevious')); - button_ShowNext.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_DISPLAYCOUNT_0140 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_DISPLAYCOUNT_0130 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_DISPLAYCOUNT_0130', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_DISPLAYCOUNT_0130 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperDisplaycount/UIComponentScrollSwiperDisplaycount0140") - await Utils.sleep(1000) - windowSnap.snapShot() - let driver: Driver = Driver.create() - let button_ShowPrevious:Component =await driver.findComponent(ON.id('UIComponentScrollSwiperDisplaycount0130_ShowNext')); - button_ShowPrevious.click() - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_DISPLAYCOUNT_0130 finish.`); - done() - }) - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperInterfaceTest/UIComponentScrollSwiperInterface.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperInterfaceTest/UIComponentScrollSwiperInterface.test.ets deleted file mode 100644 index 3611b971..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperInterfaceTest/UIComponentScrollSwiperInterface.test.ets +++ /dev/null @@ -1,890 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON, PointerMatrix } from '@ohos.UiTest' - -export default function UIComponentScrollSwiperInterface() { - describe('UIComponentScrollSwiperInterface', () => { - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0040 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0040") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0040 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0820 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0820', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0820 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0820") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0820 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0830 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0830', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0830 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0830") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0830 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3160 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3160', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3160 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3160") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3160 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3300 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3300', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3300 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3300") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3300 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3310 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3310', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3310 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3310") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3310 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3330 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3330', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3330 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3330") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3330 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3340 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3340', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3340 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3340") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3340 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3350 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3350', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3350 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3350") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3350 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3380 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3380', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3380 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3380") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3380 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3430 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3430', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3430 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3430") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3430 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3450 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3450', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3450 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3450") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3450 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3460 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3460', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3460 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3460") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3460 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3500 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3500', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3500 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3500") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3500 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3510 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3510', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3510 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3510") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3510 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3390 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3390', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3390 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3390") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3390 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3520 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3520', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3520 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3520") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3520 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3530 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3530', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3530 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3530") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3530 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1010 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1010") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1010 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1030 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1030") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1030 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1040 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1040") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1040 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1050 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1050") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1050 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1180', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1180 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1180") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1180 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1190', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1190 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1190") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1190 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1210', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1210 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1210") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1210 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1220', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1220 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1220") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1220 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1230', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1230 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1230") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1230 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1260', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1260 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1260") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1260 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1270', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1270 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1270") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1270 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2910', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2910 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2910") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2910 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3030 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3030") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3030 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3040 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3040") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3040 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3050 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3050") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3050 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3060', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3060 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3060") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3060 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3070', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3070 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3070") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3070 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3120', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3120 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3120") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3120 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3130', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3130 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3130") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3130 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3140', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3140 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3140") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3140 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3550 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3550', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3550 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3550") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3550 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3560 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3560', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3560 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3560") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3560 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3570 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3570', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3570 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3570") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3570 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3600 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3600', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3600 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3600") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3600 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3610 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3610', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3610 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3610") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3610 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3700 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3700', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3700 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3700") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3700 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2180 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2180', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2180 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2180") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2180 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2190 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2190', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2190 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2190") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2190 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2200 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2200', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2200 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2200") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2200 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2210 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2210', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2210 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2210") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2210 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2230 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2230', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2230 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2230") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2230 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2330 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2330', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2330 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2330") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2330 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2340 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2340', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2340 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2340") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2340 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2350 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2350', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2350 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2350") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2350 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2460 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2460', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2460 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2460") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2460 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2560 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2560', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2560 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2560") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2560 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2570 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2570', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2570 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2570") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2570 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2720 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2720', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2720 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2720") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2720 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2790 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2790', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2790 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2790") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2790 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0890 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0890', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0890 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0890") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0890 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0960 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0960', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0960 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0960") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0960 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0980 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0980', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0980 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0980") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0980 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0990 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0990', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0990 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0990") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0990 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3780 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3780', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3780 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3780") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3780 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3790 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3790', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3790 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3790") - await Utils.sleep(1000) - let driver: Driver = Driver.create() - let button_ShowNext:Component =await driver.findComponent(ON.id('UIComponentScrollSwiperInterface3790_ShowNext')); - button_ShowNext.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3790 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3810 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3810', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3810 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3810") - await Utils.sleep(1000) - let driver: Driver = Driver.create() - let button_ShowNext:Component =await driver.findComponent(ON.id('UIComponentScrollSwiperInterface3810_ShowNext')); - button_ShowNext.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3810 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3820 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3820', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3810 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3820") - await Utils.sleep(1000) - let driver: Driver = Driver.create() - let button_ShowPrevious:Component =await driver.findComponent(ON.id('UIComponentScrollSwiperInterface3820_Previous')); - button_ShowPrevious.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3820 finish.`); - done() - }) - - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1660', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1660 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1660") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1660 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1670', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1670 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1670") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1670 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1680', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1680 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1680") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1680 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1710', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1710 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1710") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1710 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1780', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1780 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1780") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1780 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1860', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1860 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1860") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1860 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1870', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1870 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1870") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1870 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1890', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1890 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1890") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1890 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1900', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1900 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1900") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1900 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1970', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1970 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1970") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1970 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2050 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2050") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2050 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2060', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2060 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2060") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2060 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2110', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2110 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2110") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2110 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2160', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2160 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2160") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2160 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2370', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2370 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2370") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2370 finish.`); - done() - }) - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperInterfacemixTest/UIComponentScrollSwiperInterfacemix.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperInterfacemixTest/UIComponentScrollSwiperInterfacemix.test.ets index 733a9687..add2a57e 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperInterfacemixTest/UIComponentScrollSwiperInterfacemix.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperInterfacemixTest/UIComponentScrollSwiperInterfacemix.test.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, describe, it } from '@ohos/hypium' import Settings from '../model/Settings' import windowSnap from '../model/snapShot' import Logger from '../model/Logger' @@ -21,10 +21,27 @@ import Utils from '../model/Utils' import { Driver, MouseButton, ON, Component } from '@kit.TestKit' import { uiAppearance } from '@kit.ArkUI' import { KeyCode } from '@kit.InputKit' +import { i18n } from '@kit.LocalizationKit' export default function UIComponentScrollSwiperInterfacemix() { describe('UIComponentScrollSwiperInterfacemix', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperLayoutTest/UIComponentScrollSwiperLayout.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperLayoutTest/UIComponentScrollSwiperLayout.test.ets deleted file mode 100644 index 445abeb0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperLayoutTest/UIComponentScrollSwiperLayout.test.ets +++ /dev/null @@ -1,2457 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { UiComponent, Component, Driver, ON, BY, MouseButton } from '@ohos.UiTest'; - -export default function UIComponentScrollSwiperLayout() { - describe('UIComponentScrollSwiperLayout', () => { - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0010 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0010 - * @tc.desc ADD SWIPER, main shaft, displayCount = 3 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0010 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0010") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0010 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0020 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0020 - * @tc.desc ADD SWIPER, crossed-axis, displayCount = 3 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0020 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0020") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0020 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0030 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0030 - * @tc.desc ADD SWIPER, Swiper sub node spindle layout, displayCount = 3 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0030 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0030") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0030 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0040 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0040 - * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayCount = 3 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0040 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0040") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0040 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0050 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0050 - * @tc.desc ADD SWIPER, crossed-axis, border = 10, displayCount = 3 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0050 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0050") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0050 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0060 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0060 - * @tc.desc ADD SWIPER, Swiper sub node spindle layout, border = 10, displayCount = 3 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0060', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0060 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0060") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0060 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0070 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0070 - * @tc.desc ADD SWIPER, crossed-axis, padding = 10, displayCount = 3 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0070', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0070 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0070") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0070 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0080 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0080 - * @tc.desc ADD SWIPER, Swiper sub node spindle layout, padding = 10, displayCount = 3 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0080', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0080 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0080") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0080 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0090 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0090 - * @tc.desc ADD SWIPER, Swiper sub node spindle layout, prevMargin/nextMargin+itemSpace - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0090', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0090 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0090") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0090 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0100 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0100 - * @tc.desc ADD SWIPER, main shaft, displayMode = AutoLinear - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0100', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0100 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0100") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0100 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0110 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0110 - * @tc.desc ADD SWIPER, crossed-axis, displayMode = AutoLinear - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0110', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0110 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0110") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0110 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0120 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0120 - * @tc.desc ADD SWIPER, Swiper sub node spindle layout, displayMode = AutoLinear - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0120', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0120 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0120") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0120 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0130 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0130 - * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayMode = AutoLinear - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0130', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0130 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0130") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0130 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0140 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0140 - * @tc.desc ADD SWIPER, Swiper sub node spindle layout, displayMode = AutoLinear, border = 10 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0140', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0140 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0140") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0140 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0150 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0150 - * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayMode = AutoLinear, border = 10 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0150', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0150 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0150") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0150 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0160 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0160 - * @tc.desc ADD SWIPER, Swiper sub node spindle layout, displayMode = AutoLinear, padding = 10 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0160', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0160 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0160") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0160 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0170 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0170 - * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayMode = AutoLinear, padding = 10 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0170', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0170 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0170") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0170 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0180 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0180 - * @tc.desc ADD SWIPER, main shaft, displayMode = Stretch or displayCount = 1 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0180', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0180 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0180") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0180 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0190 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0190 - * @tc.desc ADD SWIPER, crossed-axis, displayMode = Stretch or displayCount = 1 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0190', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0190 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0190") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0190 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0200 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0200 - * @tc.desc ADD SWIPER, Swiper sub node spindle layout, displayMode = Stretch or displayCount = 1 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0200', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0200 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0200") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0200 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0210 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0210 - * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayMode = Stretch or displayCount = 1 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0210', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0210 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0210") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0210 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0220 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0220 - * @tc.desc ADD SWIPER, main shaft, displayMode = Stretch or displayCount = 1, border = 10 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0220', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0220 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0220") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0220 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0230 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0230 - * @tc.desc ADD SWIPER, crossed-axis, displayMode = Stretch or displayCount = 1, border = 10 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0230', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0230 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0230") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0230 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0240 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0240 - * @tc.desc ADD SWIPER, main shaft, displayMode = Stretch or displayCount = 1, padding = 10 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0240', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0240 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0240") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0240 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0250 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0250 - * @tc.desc ADD SWIPER, crossed-axis, displayMode = Stretch or displayCount = 1, padding = 10 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0250', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0250 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0250") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0250 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0260 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0260 - * @tc.desc ADD SWIPER, main shaft, displayCount = 3, width = 200 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0260', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0260 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0260") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0260 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0270 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0270 - * @tc.desc ADD SWIPER, crossed-axis, displayCount = 3, width = 200 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0270', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0270 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0270") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0270 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0280 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0280 - * @tc.desc ADD SWIPER, Swiper sub node spindle layout, displayCount = 3, width = 200 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0280', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0280 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0280") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0280 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0290 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0290 - * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayCount = 3, width = 200 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0290', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0290 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0290") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0290 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0300 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0300 - * @tc.desc ADD SWIPER, Swiper sub node spindle layout, displayCount = 3, width = 200, border = 10 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0300', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0300 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0300") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0300 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0310 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0310 - * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayCount = 3, width = 200, border = 10 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0310', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0310 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0310") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0310 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0320 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0320 - * @tc.desc ADD SWIPER, Swiper sub node spindle layout, displayCount = 3, width = 200, padding = 10 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0320', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0320 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0320") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0320 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0330 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0330 - * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayCount = 3, width = 200, padding = 10 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0330', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0330 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0330") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0330 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0340 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0340 - * @tc.desc ADD SWIPER, main shaft, width = 200, displayMode = AutoLinear - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0340', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0340 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0340") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0340 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0350 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0350 - * @tc.desc ADD SWIPER, crossed-axis, width = 200, displayMode = AutoLinear - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0350', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0350 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0350") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0350 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0360 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0360 - * @tc.desc ADD SWIPER, Swiper sub node spindle layout, width = 200, displayMode = AutoLinear - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0360', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0360 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0360") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0360 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0370 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0370 - * @tc.desc ADD SWIPER, Swiper child node cross axis layout, width = 200, displayMode = AutoLinear - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0370', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0370 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0370") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0370 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0380 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0380 - * @tc.desc ADD SWIPER, main shaft, width = 200, displayMode = AutoLinear, padding = 10 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0380', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0380 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0380") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0380 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0390 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0390 - * @tc.desc ADD SWIPER, crossed-axis, width = 200, displayMode = AutoLinear, padding = 10 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0390', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0390 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0390") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0390 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0400 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0400 - * @tc.desc ADD SWIPER, Swiper sub node spindle layout, width = 200, displayMode = AutoLinear, padding = 10 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0400', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0400 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0400") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0400 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0410 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0410 - * @tc.desc ADD SWIPER, Swiper child node cross axis layout, width = 200, displayMode = AutoLinear, padding = 10 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0410', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0410 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0410") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0410 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0420 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0420 - * @tc.desc ADD SWIPER, main shaft, width = 200, displayMode = Stretch or displayCount = 1 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0420', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0420 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0420") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0420 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0430 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0430 - * @tc.desc ADD SWIPER, crossed-axis, width = 200, displayMode = Stretch or displayCount = 1 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0430', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0430 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0430") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0430 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0440 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0440 - * @tc.desc ADD SWIPER, Swiper sub node spindle layout, width = 200, displayMode = Stretch or displayCount = 1 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0440', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0440 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0440") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0440 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0450 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0450 - * @tc.desc ADD SWIPER, Swiper child node cross axis layout, width = 200, displayMode = Stretch or displayCount = 1 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0450', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0450 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0450") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0450 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0460 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0460 - * @tc.desc ADD SWIPER, Swiper sub node spindle layout, width = 200, border = 10, displayMode = Stretch or displayCount = 1 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0460', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0460 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0460") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0460 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0470 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0470 - * @tc.desc ADD SWIPER, Swiper child node cross axis layout, width = 200, border = 10, displayMode = Stretch or displayCount = 1 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0470', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0470 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0470") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0470 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0480 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0480 - * @tc.desc ADD SWIPER, Swiper sub node spindle layout, width = 200, displayCount = 3, padding = 10, displayMode = Stretch or displayCount = 1 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0480', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0480 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0480") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0480 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0490 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0490 - * @tc.desc ADD SWIPER, Swiper child node cross axis layout, width = 200, displayCount = 3, padding = 10, displayMode = Stretch or displayCount = 1 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0490', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0490 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0490") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0490 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0500 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0500 - * @tc.desc ADD SWIPER, Swiper sub node spindle layout, width = 200, displayCount = 3, prevMargin/nextMargin+itemSpace, displayMode = Stretch or displayCount = 1 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0500', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0500 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0500") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0500 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0510 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0510 - * @tc.desc ADD SWIPER, Swiper sub node spindle layout, width = 200, displayCount = 3, prevMargin/nextMargin+itemSpace - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0510', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0510 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0510") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0510 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0520 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0520 - * @tc.desc ADD SWIPER, Two pictures, Swiper sub node spindle layout, displayCount = 3 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0520', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0520 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0520") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0520 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0530 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0530 - * @tc.desc ADD SWIPER, Two pictures, Swiper child node cross axis layout, displayCount = 3 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0530', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0530 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0530") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0530 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0540 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0540 - * @tc.desc ADD SWIPER, Two pictures, Swiper sub node spindle layout, displayCount = 3 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0540', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0540 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0540") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0540 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0550 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0550 - * @tc.desc ADD SWIPER, Two pictures, Swiper child node cross axis layout, displayCount = 3 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0550', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0550 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0550") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0550 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0560 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0560 - * @tc.desc ADD SWIPER, Two pictures, Swiper sub node spindle layout, displayCount = 3, border = 10 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0560', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0560 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0560") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0560 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0570 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0570 - * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayCount = 3, padding = 10 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0570', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0570 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0570") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0570 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0580 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0580 - * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayCount = 3, prevMargin/nextMargin+itemSpace - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0580', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0580 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0580") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0580 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0590 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0590 - * @tc.desc ADD SWIPER, main shaft, displayMode = AutoLinear - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0590', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0590 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0590") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0590 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0600 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0600 - * @tc.desc ADD SWIPER, crossed-axis, displayMode = AutoLinear - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0600', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0600 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0600") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0600 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0610 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0610 - * @tc.desc ADD SWIPER, Swiper sub node spindle layout, displayMode = AutoLinear - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0610', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0610 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0610") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0610 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0620 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0620 - * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayMode = AutoLinear - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0620', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0620 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0620") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0620 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0630 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0630 - * @tc.desc ADD SWIPER, Swiper sub node spindle layout, border = 10, displayMode = AutoLinear - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0630', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0630 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0630") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0630 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0640 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0640 - * @tc.desc ADD SWIPER, Swiper child node cross axis layout, border = 10, displayMode = AutoLinear - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0640', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0640 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0640") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0640 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0650 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0650 - * @tc.desc ADD SWIPER, Swiper sub node spindle layout, padding = 10, displayMode = AutoLinear - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0650', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0650 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0650") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0650 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0660 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0660 - * @tc.desc ADD SWIPER, Swiper child node cross axis layout, padding = 10, displayMode = AutoLinear - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0660', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0660 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0660") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0660 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0670 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0670 - * @tc.desc ADD SWIPER, main shaft, displayMode = Stretch or displayCount = 1 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0670', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0670 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0670") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0670 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0680 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0680 - * @tc.desc ADD SWIPER, crossed-axis, displayMode = Stretch or displayCount = 1 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0680', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0680 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0680") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0680 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0690 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0690 - * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayMode = Stretch or displayCount = 1 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0690', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0690 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0690") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0690 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0700 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0700 - * @tc.desc ADD SWIPER, Swiper sub node spindle layout, displayMode = Stretch or displayCount = 1 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0700', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0700 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0700") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0700 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0710 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0710 - * @tc.desc ADD SWIPER, main shaft, border = 10, displayMode = Stretch or displayCount = 1 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0710', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0710 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0710") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0710 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0720 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0720 - * @tc.desc ADD SWIPER, Two pictures, crossed-axis, border = 10, displayMode = Stretch or displayCount = 1 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0720', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0720 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0720") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0720 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0730 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0730 - * @tc.desc ADD SWIPER, Two pictures, main shaft, padding = 10, displayMode = Stretch or displayCount = 1 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0730', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0730 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0730") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0730 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0740 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0740 - * @tc.desc ADD SWIPER, Two pictures, crossed-axis, padding = 10, displayMode = Stretch or displayCount = 1 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0740', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0740 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0740") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0740 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0750 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0750 - * @tc.desc ADD SWIPER, Two pictures, main shaft, displayCount = 3, width = 200 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0750', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0750 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0750") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0750 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0760 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0760 - * @tc.desc ADD SWIPER, Two pictures, crossed-axis, displayCount = 3, width = 200 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0760', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0760 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0760") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0760 finish.`); - done() - }) - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0820 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0820 - * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayCount = 3, width = 200, padding = 10 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0820', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0820 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0820") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0820 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0830 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0830 - * @tc.desc ADD SWIPER, Swiper sub node spindle layout, displayCount = 3, prevMargin/nextMargin+itemSpace - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0830', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0830 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0830") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0830 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0840 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0840 - * @tc.desc ADD SWIPER, main shaft, displayMode = AutoLinear, width = 200 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0840', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0840 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0840") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0840 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0850 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0850 - * @tc.desc ADD SWIPER, crossed-axis, displayMode = AutoLinear, width = 200 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0850', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0850 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0850") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0850 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0860 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0860 - * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayMode = AutoLinear, width = 200 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0860', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0860 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0860") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0860 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0870 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0870 - * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayMode = AutoLinear, width = 200 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0870', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0870 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0870") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0870 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0880 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0880 - * @tc.desc ADD SWIPER, main shaft, displayMode = Stretch or displayCount = 1, width = 200 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0880', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0880 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0880") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0880 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0890 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0890 - * @tc.desc ADD SWIPER, crossed-axis, displayMode = Stretch or displayCount = 1, width = 200 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0890', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0890 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0890") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0890 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0900 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0900 - * @tc.desc ADD SWIPER, Swiper sub node spindle layout, displayMode = Stretch or displayCount = 1, width = 200 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0900', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0900 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0900") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0900 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0910 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0910 - * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayMode = Stretch or displayCount = 1, width = 200 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0910', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0910 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0910") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0910 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0920 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0920 - * @tc.desc ADD SWIPER, Two pictures, Swiper sub node spindle layout, border = 10, displayMode = Stretch or displayCount = 1, width = 200 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0920', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0920 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0920") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0920 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0930 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0930 - * @tc.desc ADD SWIPER, Two pictures, Swiper child node cross axis layout, border = 10, displayMode = Stretch or displayCount = 1, width = 200 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0930', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0930 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0930") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0930 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0940 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0940 - * @tc.desc ADD SWIPER, Two pictures, Swiper sub node spindle layout, padding = 10, displayMode = Stretch or displayCount = 1, width = 200 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0940', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0940 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0940") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0940 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0950 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0950 - * @tc.desc ADD SWIPER, Two pictures, Swiper child node cross axis layout, displayMode = Stretch or displayCount = 1, padding = 10, width = 200 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0950', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0950 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0950") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0950 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0960 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0960 - * @tc.desc ADD SWIPER, Two pictures, Swiper sub node spindle layout, displayMode = Stretch or displayCount = 1, prevMargin/nextMargin+itemSpace, width = 200 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0960', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0960 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0960") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0960 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0970 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0970 - * @tc.desc ADD SWIPER, Two pictures, main shaft, displayCount = 3 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0970', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0970 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0970") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0970 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0980 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0980 - * @tc.desc ADD SWIPER, Two pictures, crossed-axis, displayCount = 3 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0980', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0980 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0980") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0980 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0990 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0990 - * @tc.desc ADD SWIPER, Two pictures, Swiper sub node spindle layout, displayCount = 3 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0990', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0990 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0990") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0990 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1000 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1000 - * @tc.desc ADD SWIPER, Two pictures, Swiper child node cross axis layout, displayCount = 3 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1000', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1000 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1000") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1000 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1010 - * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1010 - * @tc.desc ADD SWIPER, Two pictures, crossed-axis, displayCount = 3, border = 10 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1010 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1010") - await Utils.sleep(3000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1010 finish.`); - done() - }) - - /** - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0770 - * @tc.name SCROLL_SWIPER_LAYOUT - * @tc.desc Normal replacement of some string styles - * @tc.level Level 3 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0770', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0770 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0770") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0770 finish.`); - done() - }) - - /** - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0790 - * @tc.name SCROLL_SWIPER_LAYOUT - * @tc.desc Normal replacement of some string styles - * @tc.level Level 3 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0790', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0790 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0790") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0790 finish.`); - done() - }) - - /** - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0810 - * @tc.name SCROLL_SWIPER_LAYOUT - * @tc.desc Normal replacement of some string styles - * @tc.level Level 3 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0810', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0810 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0810") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0810 finish.`); - done() - }) - - /** - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1020 - * @tc.name SCROLL_SWIPER_LAYOUT - * @tc.desc Normal replacement of some string styles - * @tc.level Level 3 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1020 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1020") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1020 finish.`); - done() - }) - - /** - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1040 - * @tc.name SCROLL_SWIPER_LAYOUT - * @tc.desc Normal replacement of some string styles - * @tc.level Level 3 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1040 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1040") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1040 finish.`); - done() - }) - - /** - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1050 - * @tc.name SCROLL_SWIPER_LAYOUT - * @tc.desc Normal replacement of some string styles - * @tc.level Level 3 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1050 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1050") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1050 finish.`); - done() - }) - - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1060', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1060 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1060") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1060 finish.`); - done() - }) - - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1080', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1080 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1080") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1080 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1090', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1090 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1090") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1090 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1100', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1100 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1100") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1100 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1110', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1110 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1110") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1110 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1120', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1120 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1120") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1120 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1130', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1130 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1130") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1130 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1140', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1140 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1140") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1140 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1150', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1150 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1150") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1150 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1160', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1160 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1160") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1160 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1170', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1170 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1170") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1170 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1180', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1180 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1180") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1180 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1190', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1190 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1190") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1190 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1200', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1200 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1200") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1200 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1210', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1210 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1210") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1210 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1220', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1220 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1220") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1220 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1230', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1230 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1230") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1230 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1240', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1240 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1240") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1240 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1250', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1250 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1250") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1250 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1260', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1260 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1260") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1260 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1270', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1270 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1270") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1270 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1280', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1280 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1280") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1280 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1290', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1290 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1290") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1290 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1300', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1300 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1300") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1300 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1310', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1310 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1310") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1310 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1320', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1320 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1320") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1320 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1330', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1330 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1330") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1330 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1340', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1340 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1340") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1340 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1350', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1350 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1350") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1350 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1360', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1360 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1360") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1360 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1370', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1370 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1370") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1370 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1380', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1380 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1380") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1380 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1390', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1390 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1390") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1390 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1400', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1400 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1400") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1400 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1410', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1410 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1410") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1410 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1420', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1420 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1420") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1420 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1430', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1430 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1430") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1430 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1440', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1440 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1440") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1440 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1450', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1450 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1450") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1450 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1460', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1460 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1460") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1460 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1470', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1470 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1470") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1470 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1480', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1480 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1480") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1480 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1490', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1490 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1490") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1490 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1500', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1500 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1510") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1500 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1510', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1510 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1510") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1510 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1520', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1520 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1520") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1520 finish.`); - done() - }) - - - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1530', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1530 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1530") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1530 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1540', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1540 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1540") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1540 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1550', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1550 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1550") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1550 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1560', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1560 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1560") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1560 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1570', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1570 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1570") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1570 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1580', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1580 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1580") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1580 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1590', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1590 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1590") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1590 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1600', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1600 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1600") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1600 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1610', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1610 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1610") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1610 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1620', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1620 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1620") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1620 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1630', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1630 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1630") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1630 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1640', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1640 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1640") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1640 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1650', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1650 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1650") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1650 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1660', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1660 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1660") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1660 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1670', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1670 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1670") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1670 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1680', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1680 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1680") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1680 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1690', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1690 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1690") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1690 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1700', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1700 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1700") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1700 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1710', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1710 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1710") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1710 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1720', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1720 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1720") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1720 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1730', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1730 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1730") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1730 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1740', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1740 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1740") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1740 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1750', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1750 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1750") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1750 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1760', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1760 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1760") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1760 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1770', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1770 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1770") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1770 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1780', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1780 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1780") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1780 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1790', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1790 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1790") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1790 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1860', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1860 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1860") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1860 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1870', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1870 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1870") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1870 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1880', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1880 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1880") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1880 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1890', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1890 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1890") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1890 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1900', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1900 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1900") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1900 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1910', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1910 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1910") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1910 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1920', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1920 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1920") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1920 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1930', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1930 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1930") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1930 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1940', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1940 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1940") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1940 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1950', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1950 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1950") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1950 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1960', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1960 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1960") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1960 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1970', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1970 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1970") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1970 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1980', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1980 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1980") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1980 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1990', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1990 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1990") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1990 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2000', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2000 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2000") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2000 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2010 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2010") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2010 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2020 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2020") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2020 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2030 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2030") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2030 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2040 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2040") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2040 finish.`); - done() - }) - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2050 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2050") - await Utils.sleep(4000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2050 finish.`); - done() - }) - /** - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1800 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1800', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1800 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1800") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1800 finish.`); - done() - }) - /** - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1810 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1810', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1810 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1810") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1810 finish.`); - done() - }) - /** - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1820 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1820', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1820 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1820") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1820 finish.`); - done() - }) - /** - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1830 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1830', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1830 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1830") - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1830 finish.`); - done() - }) - /** - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1850 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1840', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1840 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1840") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1840 finish.`); - done() - }) - /** - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1850 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1850', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1850 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1850") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1850 finish.`); - done() - }) - /** - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2060 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2060', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2060 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2060") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2060 finish.`); - done() - }) - /** - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2070 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2070', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2070 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2070") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2070 finish.`); - done() - }) - /** - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2080 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2080', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2080 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2080") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2080 finish.`); - done() - }) - /** - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2090 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2090', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2090 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2090") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2090 finish.`); - done() - }) - /** - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2100 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2100', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2100 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2100") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2100 finish.`); - done() - }) - /** - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2110 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2110', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2110 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2110") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2110 finish.`); - done() - }) - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperTeaceTest/UIComponentScrollSwiperTeace.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperTeaceTest/UIComponentScrollSwiperTeace.test.ets deleted file mode 100644 index 45774daa..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperTeaceTest/UIComponentScrollSwiperTeace.test.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON, PointerMatrix } from '@ohos.UiTest' - -export default function UIComponentScrollSwiperTeace() { - describe('UIComponentScrollSwiperTeace', () => { - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_TEACE_0070 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_TEACE_0070', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_TEACE_0070 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0070") - await Utils.sleep(1000) - windowSnap.snapShot() - let driver: Driver = Driver.create() - let button_ShowNext:Component =await driver.findComponent(ON.id('UIComponentScrollSwiperTeace0070_ShowNext')); - button_ShowNext.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_Teace_0070 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_TEACE_0080 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_TEACE_0080', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_TEACE_0080 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0080") - await Utils.sleep(1000) - windowSnap.snapShot() - let driver: Driver = Driver.create() - let button_ShowPrevious:Component =await driver.findComponent(ON.id('UIComponentScrollSwiperTeace0080_ShowPrevious')); - button_ShowPrevious.click() - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_Teace_0080 finish.`); - done() - }) - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperUxTest/UIComponentScrollSwiperUx.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperUxTest/UIComponentScrollSwiperUx.test.ets deleted file mode 100644 index 47cb0da7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperUxTest/UIComponentScrollSwiperUx.test.ets +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON, PointerMatrix } from '@ohos.UiTest' - -export default function UIComponentScrollSwiperUx() { - - describe('UIComponentScrollSwiperUx', () => { - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_UX_0520 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_UX_0520', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_UX_0520 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0520") - await Utils.sleep(1000) - let driver = Driver.create(); - await driver.fling({x: 500, y: 480},{x: 450, y: 480},5,20000); - await Utils.sleep(3000); - windowSnap.snapShot() - await Utils.sleep(4000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_UX_0520 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_UX_0010 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_UX_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_UX_0010 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0010") - await Utils.sleep(1000) - let driver = Driver.create(); - await driver.fling({x: 300, y: 100},{x: 0, y: 100},5,600); - await Utils.sleep(1000); - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_UX_0010 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_UX_0020 - */ - it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_UX_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_UX_0020 start.`); - Settings.createWindow("testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0020") - await Utils.sleep(1000) - let driver = Driver.create(); - await driver.fling({x: 300, y: 100},{x: 0, y: 100},5,600); - await Utils.sleep(1000); - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_UX_0020 finish.`); - done() - }) - - - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsFormComponentTransparentTest/UIComponentSpecialComponentsFormComponentTransparent.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsFormComponentTransparentTest/UIComponentSpecialComponentsFormComponentTransparent.test.ets deleted file mode 100644 index 12c11f63..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsFormComponentTransparentTest/UIComponentSpecialComponentsFormComponentTransparent.test.ets +++ /dev/null @@ -1,2449 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 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): - * 创建窗口,更改窗口基本配置,更改方式详见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 UIComponentSpecialComponentsFormComponentTransparent() { - - describe('UIComponentSpecialComponentsFormComponentTransparent', () => { - - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1260 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1260 - * @tc.desc Verify that Popup's CustomPopupOptions.arrowWidth parameter type Dimension (Resource):r(app.media.string ") references 30PX - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1260', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1260 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent126"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1260")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1260 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1540 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1540 - * @tc.desc Verify CustomPopupOptions for Popup. The shadow(ShadowOptions) parameter type is color(ColoringStrategy):PRIMARY - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1540', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1540 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent154"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1540")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1540 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0100 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0100 - * @tc.desc Verify the arrowOffset of Popup. The parameter type is Resource: 15% - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0100', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0100 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent010"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0100")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0100 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0390 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0390 - * @tc.desc Verify that Popup's targetSpaceLength parameter type Resource:Sr(app.media.string) references 30px - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0390', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0390 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent039"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0390")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0390 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1520 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1520 - * @tc.desc CustomPopupOptions for Popup, shadow (ShadowOptions) parameter type color(ColoringStrategy):INVERT - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1520', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1520 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent152"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1520")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(2000); - Logger.info('TEST', `SUB_ACE UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1520 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0130 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0130 - * @tc.desc Validate the mask of Popup with the argument type boolean: true - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0130', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0130 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent013"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0130")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0130 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1300 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1300 - * @tc.desc Validation Popup CustomPopupOptions, arrowHeight parameter type Dimension (FP) : 30 FP - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1300', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1300 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent130"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1300")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1300 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1570 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1570 - * @tc.desc Verify that CustomPopupOptions for Popup, shadow(ShadowOptions) parameter type offsetX(Resource): r("app.media.string ") references 30px - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1570', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1570 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent157"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1570")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1570 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1230 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1230 - * @tc.desc Validation Popup CustomPopupOptions. ArrowWidth parameter type Dimension (FP) : 30 FP - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1230', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1230 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent123"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1230")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1230 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1500 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1500 - * @tc.desc Verify the CustomPopupOptions for Popup, shadow (ShadowOptions) parameter type color string):"ee4508de" - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1500', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1500 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent150"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1500")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1500 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1770 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1770 - * @tc.desc Verify the CustomPopupOptions. backgroundBlurStyle parameter type of Popup BlurStyle. BACKGROUND_ULTRA_THICK - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1770', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1770 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent177"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1770")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1770 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0190 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0190 - * @tc.desc Verify that the messageOptions. textColor parameter type of Popup is ResourceColor(string):ee4508de - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0190', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0190 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent019"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0190")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0190 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1280 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1280 - * @tc.desc Validate the CustomPopupOptions.arrowHeight parameter type Dimension (PX):30PX for Popup - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1280', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1280 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent128"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1280")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1280 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1530 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1530 - * @tc.desc Verify the CustomPopupOptions of Popup, shadow(ShadowOptions) parameter type color(ColoringStrategy):AVERAGE - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1530', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1530 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent153"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1530")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1530 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1780 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1780 - * @tc.desc Validation Popup CustomPopupOptions, backgroundBlurStyle parameter types BlurStyle: NONE - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1780', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1780 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent178"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1780")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1780 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0820 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0820 - * @tc.desc Verify that the Popup backaroundBlurStyle parameter is set to COMPONENT_THICK - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0820', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0820 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent082"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0820")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0820 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0170 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0170 - * @tc.desc Verify that the messageOptions.textColor parameter type of Popup is ResourceColor(Color):0x008000 - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0170', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0170 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent017"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0170")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0170 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1220 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1220 - * @tc.desc Validation Popup CustomPopupOptions, arrowWidth parameter type Dimension (VP) : 30 VP - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1220', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1220 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent122"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1220")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1220 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1310 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1310 - * @tc.desc Validation Popup CustomPopupOptions. ArrowHeight parameter type Dimension (LPX) : 30 LPX - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1310', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1310 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent131"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1310")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1310 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0600 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0600 - * @tc.desc Verify that Popup's shadow, references color.gray - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0600', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0600 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent060"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0600")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0600 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1290 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1290 - * @tc.desc Validation Popup CustomPopupOptions. ArrowHeight parameter type Dimension (VP) : 30 VP - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1290', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1290 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent129"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1290")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1290 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0630 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0630 - * @tc.desc Verify that the type of the Popup shadowColoringStrategy parameter is PRIMARY - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0630', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0630 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent063"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0630")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0630 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0830 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0830 - * @tc.desc Verify the backgroundBlurStyle of Popup. The type of the BlurStyle parameter is COMPONENT_ULTRA_THICK - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0830', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0830 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent083"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0830")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0830 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0620 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0620 - * @tc.desc Verify that the type of the shadow.ColoringStrategy parameter of Popup is AVERAGE - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0620', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0620 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent062"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0620")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0620 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0360 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0360 - * @tc.desc Verify that Popup messageOptions,style parameter type FontStyle:Italic - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0360', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0360 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent036"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0360")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0360 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1470 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1470 - * @tc.desc Verify CustomPopupOptions for Popup. The shadow(ShadowOptions) parameter type is BLUR - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1470', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1470 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent147"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1470")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1470 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1760 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1760 - * @tc.desc Verify the CustomPopupOptions backgroundBlurStyle parameter type of Popup BlurStyle: BACKGROUND_THICK - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1760', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1760 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent176"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1760")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1760 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1240 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1240 - * @tc.desc Validation Popup CustomPopupOptions, arrowWidth parameter type Dimension (LPX) : 30 LPX - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1240', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1240 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent124"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1240")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1240 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1560 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1560 - * @tc.desc Validation of the Popup CustomPopupOptions. Shadow (ShadowOptions) parameter types offsetX (number) : 30 px - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1560', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1560 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent156"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1560")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1560 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0180 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0180 - * @tc.desc Verify that the messageOptions textColor parameter type of Popup is ResourceColor(Resource) - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0180', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0180 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent018"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0180")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0180 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1800 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1800 - * @tc.desc Validation Popup CustomPopupOptions. BlurStyle backgroundBlurStyle parameter types: COMPONENT THIN - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1800', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1800 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent180"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1800")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1800 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1250 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1250 - * @tc.desc Validation Popup CustomPopupOptions. ArrowWVidth parameter type Dimension (Percentage) : 10% - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1250', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1250 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent125"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1250")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1250 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1210 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1210 - * @tc.desc Verify Popup's "CustomPopupOptions arrowWidth" parameter type Dimension(PX):30PX - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1210', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1210 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent121"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1210")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1210 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1510 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1510 - * @tc.desc Verify PopuD CustomPopupOptions, shadow (ShadowOptions) parameter types color (Resource) : reference color. Gray - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1510', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1510 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent151"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1510")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1510 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1790 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1790 - * @tc.desc Validation Popup CustomPopupOptions. BlurStyle backgroundBlurStyle parameter types: COMPONENT_ULTRA_THIN - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1790', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1790 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent179"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1790")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1790 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0150 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0150 - * @tc.desc Verify the mask of Popup with parameter type Resource: reference Color.gray - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0150', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0150 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent015"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0150")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0150 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1750 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1750 - * @tc.desc Validation Popup CustomPopupOptions. BlurStyle backgroundBlurStyle parameter types: BACKGROUND_REGULAR - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1750', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1750 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent175"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1750")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1750 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0610 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0610 - * @tc.desc Verify that the Popup shadow.ColoringStrategy parameter is of INVERT type - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0610', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0610 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent061"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0610")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0610 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0140 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0140 - * @tc.desc Verify the masK of Popup. The parameter type is string: "ee4508de". - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0140', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0140 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent014"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0140")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0140 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1330 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1330 - * @tc.desc Validate Popup's CustomPopupOptions, arrowHeight parameter type Dimension(Resource): reference 30px - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1330', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1330 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent133"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1330")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1330 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1590 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1590 - * @tc.desc Validation Popup CustomPopupOptions, shadow (ShadowOptions) parameter types offsetY (number) : 30 px - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1590', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1590 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent159"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1590")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1590 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0920 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0920 - * @tc.desc Validation Popup CustomPopupOptions. AutoCancel parameter types Boolean: false - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0920', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0920 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent092"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0920")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - let rect = await SliderCom.getBounds(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0920 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0650 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0650 - * @tc.desc Verify the Popup shadow, offsetX parameter type Resource: reference "30px" - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0650', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0650 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent065"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0650")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0650 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1020 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1020 - * @tc.desc Validation Popup CustomPopupOptions. TargetSpace parameter type string: 30 px - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1020 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent102"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1020")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1020 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0940 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0940 - * @tc.desc Validate the CustomPopupOptions.onStateChange parameter type for Popup :(event: {isVisible: boolean}) =>void - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0940', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0940 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent094"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0940")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0940 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1080 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1080 - * @tc.desc Verify the CustomPopupOptions for Popup with the width parameter Dimension(PX):30PX - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1080', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1080 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent108"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1080")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1080 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1350 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1350 - * @tc.desc Validation Popup CustomPopupOptions, the radius Dimension parameter type (PX) : 30 PX - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1350', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1350 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent135"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1350")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1350 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0670 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0670 - * @tc.desc Verify the Popup shadow, offsetY parameter type Resource: reference "30px. - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0670', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0670 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent067"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0670")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0670 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1820 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1820 - * @tc.desc Verify Popup CustomPopupOptions. BlurStyle backgroundBlurStyle parameter types: COMPONENT_THICK - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1820', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1820 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent182"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1820")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1820 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1090 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1090 - * @tc.desc Verify the CustomPopupOptions for Popup, width parameter of type Dimension(VP):30VP - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1090', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1090 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent109"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1090")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1090 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1380 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1380 - * @tc.desc Verify CustomPopupOptions for Popup. radius parameter type Dimension(LPX):30LPX - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1380', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1380 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent138"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1380")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1380 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1810 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1810 - * @tc.desc Validation Popup CustomPopupOptions. BlurStyle backgroundBlurStyle parameter types: COMPONENT_REGULAR - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1810', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1810 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent181"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1810")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1810 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1040 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1040 - * @tc.desc Validation Popup CustomPopupOptions. TargetSpace parameter types Resource: 30 px - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1040 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent104"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1040")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1040 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1360 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1360 - * @tc.desc set autoCancel:false;showinSubWindow:true;onWillDismiss: true, Click empty and do not exit - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1360', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1360 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent136"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1360")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1360 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1600 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1600 - * @tc.desc Verify Popup CustomPopupOptions. Shadow (ShadowOptions) parameter types offsetY (Resource) : refer to "30 px - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1600', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1600 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent160"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1600")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1600 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0960 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0960 - * @tc.desc Validation Popup CustomPopupOptions, showInSubWindow parameter types Boolean: true - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0960', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0960 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent096"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0960")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0960 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1170 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1170 - * @tc.desc Validation Popup CustomPopupOptions. ArrowPointPosition parameter types: CENTER - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1170', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1170 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent117"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1170")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1170 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1840 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1840 - * @tc.desc Validation Popup NCustomPopupOptions. Focusable parameter types Boolean: true - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1840', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1840 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent184"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1840")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1840 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1100 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1100 - * @tc.desc Verify the CustomPopupOptions for Popup,width parameter of type Dimension(FP):30FP - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1100', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1100 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent110"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1100")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1100 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0710 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0710 - * @tc.desc Verify that the backgroundBlurStyle. BlurStyle parameter type of Popup is Thin - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0710', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0710 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent071"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0710")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0710 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0980 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0980 - * @tc.desc Validates the CustomPopupOptions for Popup. The mask parameter type is boolean:true - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0980', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0980 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent098"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0980")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0980 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1370 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1370 - * @tc.desc Verify Popup CustomPopupOptions, the radius Dimension parameter type (FP) : 30 FP - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1370', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1370 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent137"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1370")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1370 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1390 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1390 - * @tc.desc Verify the CustomPopupOptions of Popup. radius parameter type Dimension(Percentage):10% - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1390', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1390 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent139"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1390")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1390 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0720 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0720 - * @tc.desc Verify that the backgroundBlurStyle. BlurStyle parameter type of Popup is Regular - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0720', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0720 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent072"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0720")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0720 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1830 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1830 - * @tc.desc Validation Popup CustomPopupOptions. BlurStyle backgroundBlurStyle parameter types: COMPONENT_ULTRA_THICK - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1830', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1830 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent183"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1830")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1830 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1120 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1120 - * @tc.desc Validate CustomPopupOptions for Popup, width parameter type Dimension(Percentage):10% - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1120', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1120 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent112"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1120")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1120 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0730 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0730 - * @tc.desc Verify the backgroundBlurStyle. BlurStyle parameter type of Popup :Thick - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0730', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0730 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent073"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0730")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0730 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0990 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0990 - * @tc.desc CustomPopupOptons of the Popup, mask parameter type ResourceColor(including string):ee4508de - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0990', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0990 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent099"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0990")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0990 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1180 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1180 - * @tc.desc Validation Popup CustomPopupOptions. ArrowPointPosition parameter types: the END - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1180', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1180 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent118"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1180")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1180 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0740 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0740 - * @tc.desc Verify the backgroundBlurStyle. BlurStyle parameter type of Popup :BACKGROUND_THIN - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0740', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0740 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent074"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0740")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0740 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1110 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1110 - * @tc.desc Verify that Popup has the CustomPopupOptions.width parameter of type Dimension(LPX):30LPX - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1110', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1110 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent111"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1110")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1110 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0760 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0760 - * @tc.desc Verify the backgroundBlurStyle. BlurStyle parameter type of Popup :BACKGROUND_THICK - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0760', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0760 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent076"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0760")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0760 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1000 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1000 - * @tc.desc Verify the CustomPopupOptions of Popup, mask parameter type ResourceColor(including Resource): reference Color.gray - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1000', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1000 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent100"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1000")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1000 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1150 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1150 - * @tc.desc Validation Popup CustomPopupOptions. ArrowPointPosition parameter types: START and placement: Bottom - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1150', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1150 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent115"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1150")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1150 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1620 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1620 - * @tc.desc Validates the CustomPopupOptions for Popup, shadOw (ShadowOptions) parameter type fill(boolean): true - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1620', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1620 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent162"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1620")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1620 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1400 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1400 - * @tc.desc Verify CustomPopupOptions for Popup, radius parameter type Resource(PX): reference 30px - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1400', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1400 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent140"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1400")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1400 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0770 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0770 - * @tc.desc Card Popup backgroundBlurStyle. BlurStyle parameter types: BACKGROUND_ULTRA_THICK - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0770', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0770 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent077"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0770")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0770 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0230 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0230 - * @tc.desc Verify that the messageOptions.weight parameter of Popup is FontWeight:Normal - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0230', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0230 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent023"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0230")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0230 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1130 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1130 - * @tc.desc Verify the customPopupOptions for Popup, width parameter type Dimension(Resource): reference 30px - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1130', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1130 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent113"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1130")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1130 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1640 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1640 - * @tc.desc Verify customPopupOptions for Popup, shadow parameter type ShadowStyleOUTER_DEFAULT_XS - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1640', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1640 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent164"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1640")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1640 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0220 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0220 - * @tc.desc Verify that Popup's messageOptionsweight parameter is of type FontWeight:Lighter - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0220', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0220 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent022"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0220")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0220 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0540 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0540 - * @tc.desc Verify the shadow of Popup, radius parameter type Resource: reference "-30px" - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0540', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0540 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent054"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0540")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0540 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0780 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0780 - * @tc.desc Validation Popup backgroundBlurStyle. BlurStyle parameter types: NONE - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0780', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0780 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent078"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0780")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0780 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0240 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0240 - * @tc.desc Verify that the messageOptions.weight parameter of Popup is FontWeight:Regular - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0240', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0240 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent024"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0240")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0240 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0790 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0790 - * @tc.desc Verify the backgroundBlurStyle. BlurStyle parameter type of Popup :COMPONENT_ULTRA_THIN - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0790', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0790 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent079"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0790")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0790 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0250 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0250 - * @tc.desc Verify that the messageOptions.weight parameter type of Popup is FontWeight:Medium - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0250', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0250 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent025"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0250")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0250 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0530 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0530 - * @tc.desc Verify the shadow of Popup, radius parameter type Resource:r(app.media.string ") Reference "100vp" - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0530', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0530 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent053"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0530")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0530 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1650 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1650 - * @tc.desc Validation Popup CustomPopupOptions, shadow parameter types ShadowStyle OUTER_DEFAULT_SM - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1650', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1650 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent165"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1650")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1650 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1670 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1670 - * @tc.desc Verify the Popup CustomPopupOptions. The shadow ShadowStyleOUTER_DEFAULT_LG parameter types - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1670', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1670 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent167"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1670")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1670 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0260 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0260 - * @tc.desc Verify that Popup has the messageOptions.weight parameter type FontWeight:Bold - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0260', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0260 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent026"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0260")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0260 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0560 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0560 - * @tc.desc Verify that the Popup shadow ShadowType parameter is of the type :COLOR - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0560', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0560 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent056"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0560")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0560 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1690 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1690 - * @tc.desc Verify CustompopupOptions for Popup, shadow parameter type ShadowStyle:OUTER_FLOATING_MD - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1690', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1690 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent169"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1690")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1690 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0270 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0270 - * @tc.desc Verify that the messageOptions weight parameter of Popup is FontWeight:Bolder - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0270', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0270 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent027"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0270")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0270 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1420 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1420 - * @tc.desc Validation Popup CustomPopupOptions. Shadow (ShadowOptions) parameter types radius (number) : 30px - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1420', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1420 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent142"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1420")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1420 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0800 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0800 - * @tc.desc Verify that the backgroundBlurStyle. BlurStyle parameter type of Popup is :COMPONENT_THIN - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0800', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0800 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent080"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0800")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0800 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0570 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0570 - * @tc.desc Verify that the shadow.ShadowType parameter of Popup is of type BLUR - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0570', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0570 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent057"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0570")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0570 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1660 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1660 - * @tc.desc Verify CustomPopupOptions for Popup, shadow parameter type ShadowStyle OUTER_DEFAULT_MD - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1660', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1660 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent166"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1660")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1660 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1680 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1680 - * @tc.desc Verify CustomPopupOptionS of Popup, Shadow parameter types ShadowStyle, OUTER_FLOATING_SM - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1680', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1680 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent168"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1680")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1680 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0590 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0590 - * @tc.desc Verify the shadow,color parameter type string: "ee4508de" - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0590', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0590 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent059"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0590")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0590 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1730 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1730 - * @tc.desc Validation Popup CustomPopupOptions. BlurStyle backgroundBlurStyle parameter types: Thick - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1730', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1730 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent173"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1730")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1730 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0320 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0320 - * @tc.desc Verify the messageOptions.family parameter type of Popup string:"HarmonyOS Sans" - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0320', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0320 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent032"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0320")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0320 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1440 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1440 - * @tc.desc Validation Popup CustomPopupOptions, shadow (ShadowOptions) parameter types radius (Resource) : reference "-30 px - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1440', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1440 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent144"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1440")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1440 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1720 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1720 - * @tc.desc Validation Popup CustomPopupOptions, backgroundBlurStyle parameter types BlurStyle: Regular - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1720', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1720 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent172"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1720")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1720 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1430 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1430 - * @tc.desc Validation Popup CustomPopupOptions. Shadow (ShadowOptions) parameter types radius (Resource) : refer to "100 vp" - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1430', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1430 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent143"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1430")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1430 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1740 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1740 - * @tc.desc Validation Popup CustomPopupOptions, backgroundBlurStyle BlurStyle parameter types: BACKGROUND_THIN - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1740', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1740 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent174"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1740")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1740 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0350 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0350 - * @tc.desc Verify the Popup messageOptions,style parameter type FontStyle:Normal - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0350', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0350 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent035"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0350")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0350 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1460 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1460 - * @tc.desc set autoCancel:false;showinSubWindow:true;onWillDismiss: true, Click empty and do not exit - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1460', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1460 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent146"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1460")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1460 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1710 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1710 - * @tc.desc Validation Popup CustomPopupOptions, backgroundBlurStyle BlurStyle parameter types: Thin - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1710', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1710 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent171"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1710")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1710 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0340 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0340 - * @tc.desc Verify the messageOptions family parameter type of Popup. Resource: references HarmonyOS Sans - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0340', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0340 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent034"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0340")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0340 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1490 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1490 - * @tc.desc Validation Popup CustomPopupOptions, shadow (ShadowOptions) parameter types color (color) : color, Pink - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1490', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1490 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent149"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1490")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1490 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0810 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0810 - * @tc.desc Verify that the type of the backgroundBlurStyle. BlurStyle parameter of Popup is COMPONENT_REGULAR - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0810', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0810 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent081"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0810")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0810 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0290 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0290 - * @tc.desc Verify that the messageOptions weight parameter of Popup is of type number:400 - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0290', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0290 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent029"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0290")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0290 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0300 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0300 - * @tc.desc Verify that the messageOptions.weight parameter type of Popup is string: 30px. - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0300', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0300 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent030"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0300")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0300 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0400 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0400 - * @tc.desc Verify Popup's targetSpaceLength parameter type Resource: "15%" - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0400', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0400 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent040"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0400")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0400 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1030 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1030 - * @tc.desc Validation Popup CustomPopupOptions. TargetSpace parameter type string: 15%" - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1030 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent103"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1030")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1030 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1050 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1050 - * @tc.desc Validation Popup CustomPopupOptions targetSpace parameter types Resource: "15%" - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1050 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent105"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1050")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1050 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1160 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1160 - * @tc.desc Validation Popup CustomPopupOptions. ArrowPointPosition parameter types: START and placement: Right - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1160', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1160 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent116"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1160")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1160 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1190 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1190 - * @tc.desc Validation Popup CustomPopupOptions. ArrowPointPosition parameter types: the END - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1190', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1190 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent119"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1190")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1190 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1320 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1320 - * @tc.desc Verify that the CustomPopupOptions.arrowHeight parameter type Dimension (Percentage):10% for Popup - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1320', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1320 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent132"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent1320")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_1320 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0380 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0380 - * @tc.desc Verify Popup's targetSpace.Length parameter type string: "15% - */ - it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0380', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0380 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent038"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let SliderCom = await driver.findComponent(ON.id("UIComponentSpecialComponentsFormComponentTransparent0380")); - let pointCenter = await SliderCom.getBoundsCenter(); - await driver.click(pointCenter.x, pointCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_FORMCOMPONENT_TRANSPARENT_0380 finish.`); - done(); - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsUIExtensionComponentPopupChangeTest/UIComponentSpecialComponentsUIExtensionComponentPopupChange.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsUIExtensionComponentPopupChangeTest/UIComponentSpecialComponentsUIExtensionComponentPopupChange.test.ets deleted file mode 100644 index d0b2c2a2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsUIExtensionComponentPopupChangeTest/UIComponentSpecialComponentsUIExtensionComponentPopupChange.test.ets +++ /dev/null @@ -1,225 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 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 { KeyCode } from '@kit.InputKit' -import Window from '@ohos.window' - -/* - * 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 UIComponentSpecialComponentsUIExtensionComponentPopupChange() { - - describe('UIComponentSpecialComponentsUIExtensionComponentPopupChange', () => { - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_POPUPCHANGE_0050 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_POPUPCHANGE_0050 - * @tc.desc Verify input box After continuous text input is interrupted, popup will start changing again when text is entered again - */ - it('SUB_ACE_UI_COMPONENT_SPECIAL_POPUP_CHANGE_0050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIAL_POPUP_CHANGE_0050 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange005"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = - await driver.findComponent(ON.id("UIComponentSpecialComponentsUIExtensionComponentPopupChange0051")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - driver.triggerKey(KeyCode.KEYCODE_A); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIAL_POPUP_CHANGE_0050 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_POPUPCHANGE_0050_1 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_POPUPCHANGE_0050_1 - * @tc.desc Verify input box After continuous text input is interrupted, popup will start changing again when text is entered again - */ - it('SUB_ACE_UI_COMPONENT_SPECIAL_POPUP_CHANGE_0050_1', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIAL_POPUP_CHANGE_0050_1 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange005"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = - await driver.findComponent(ON.id("UIComponentSpecialComponentsUIExtensionComponentPopupChange0051")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - driver.triggerKey(KeyCode.KEYCODE_A); - await Utils.sleep(1000); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - driver.triggerKey(KeyCode.KEYCODE_B); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIAL_POPUP_CHANGE_0050_1 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_POPUPCHANGE_0060 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_POPUPCHANGE_0060 - * @tc.desc If the incoming parameter of the interface is empty, the popup popup window does not change after the input box content changes - */ - it('SUB_ACE_UI_COMPONENT_SPECIAL_POPUP_CHANGE_0060', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIAL_POPUP_CHANGE_0060 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange006"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = - await driver.findComponent(ON.id("UIComponentSpecialComponentsUIExtensionComponentPopupChange0060")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_A); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_B); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIAL_POPUP_CHANGE_0060 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_POPUPCHANGE_0020 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_POPUPCHANGE_0020 - * @tc.desc Verify that the content of the input box is changed, and the popup position will change - */ - it('SUB_ACE_UI_COMPONENT_SPECIAL_POPUP_CHANGE_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIAL_POPUP_CHANGE_0020 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange002"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = - await driver.findComponent(ON.id("UIComponentSpecialComponentsUIExtensionComponentPopupChange0020")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_A); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - let currentWindow = await Window.getLastWindow(getContext()); - await currentWindow.setPreferredOrientation(1); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIAL_POPUP_CHANGE_0020 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_POPUPCHANGE_0030 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_POPUPCHANGE_0030 - * @tc.desc Verify that the popup size does not change in position when the screen is deflecting - */ - it('SUB_ACE_UI_COMPONENT_SPECIAL_POPUP_CHANGE_0030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIAL_POPUP_CHANGE_0030 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange003"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = - await driver.findComponent(ON.id("UIComponentSpecialComponentsUIExtensionComponentPopupChange0030")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_A); - await driver.triggerKey(KeyCode.KEYCODE_B); - await driver.triggerKey(KeyCode.KEYCODE_C); - await driver.triggerKey(KeyCode.KEYCODE_D); - await driver.triggerKey(KeyCode.KEYCODE_E); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIAL_POPUP_CHANGE_0030 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_POPUPCHANGE_0010 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_POPUPCHANGE_0010 - * @tc.desc Verify that the popup bit changes when the input field content changes - */ - it('SUB_ACE_UI_COMPONENT_SPECIAL_POPUP_CHANGE_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIAL_POPUP_CHANGE_0010 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange001"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = - await driver.findComponent(ON.id("UIComponentSpecialComponentsUIExtensionComponentPopupChange0010")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_A); - await driver.triggerKey(KeyCode.KEYCODE_B); - await driver.triggerKey(KeyCode.KEYCODE_C); - await driver.triggerKey(KeyCode.KEYCODE_D); - await driver.triggerKey(KeyCode.KEYCODE_E); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIAL_POPUP_CHANGE_0010 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_POPUPCHANGE_0040 - * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_POPUPCHANGE_0040 - * @tc.desc Verify that the popup size changes in the case of screen avoidance - */ - it('SUB_ACE_UI_COMPONENT_SPECIAL_POPUP_CHANGE_0040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIAL_POPUP_CHANGE_0040 start.`); - Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange004"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = - await driver.findComponent(ON.id("UIComponentSpecialComponentsUIExtensionComponentPopupChange0040")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(2000); - await driver.triggerKey(KeyCode.KEYCODE_A); - await driver.triggerKey(KeyCode.KEYCODE_B); - await driver.triggerKey(KeyCode.KEYCODE_C); - await driver.triggerKey(KeyCode.KEYCODE_D); - await driver.triggerKey(KeyCode.KEYCODE_E); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIAL_POPUP_CHANGE_0040 finish.`); - done(); - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTabTabBarSymbolTest/UIComponentTabTabBarSymbol.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTabTabBarSymbolTest/UIComponentTabTabBarSymbol.test.ets deleted file mode 100644 index 17371bd3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTabTabBarSymbolTest/UIComponentTabTabBarSymbol.test.ets +++ /dev/null @@ -1,417 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -export default function UIComponentTabTabBarSymbol() { - - describe('UIComponentTabTabBarSymbol', () => { - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0040 - * @tc.name SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0040 - * @tc.desc 1、创建tabs,使用BottomTabBarStyle样式 - * 2、icon使用TabBarSymbol引入其他资源;selected态传系统Symbol资源 - */ - it('SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0040', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0040 start.`); - Settings.createWindow("testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0040") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('Blue')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2:Component = await driver.findComponent(ON.id('Pink')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0040 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0090 - * @tc.name SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0090 - * @tc.desc 1、创建tabs,BottomTabBarStyle,icon使用TabBarSymbol - * 2、normal态SymbolGlphlIodifier设置fontSize设置大于vidth和height的值 - */ - it('SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0090', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0090 start.`); - Settings.createWindow("testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0090") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0090 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0120 - * @tc.name SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0120 - * @tc.desc 1、创建tabs,BottonTabBarStyle,icon使用TabBarSyabol - * 2、normal态SymbolGlphlIodifier设置null - */ - it('SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0120', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0120 start.`); - Settings.createWindow("testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0120") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0120 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0110 - * @tc.name SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0110 - * @tc.desc 1、创建tabs,BottonTabBarStyle,icon使用TabBarSyabol - * 2、normal态SymbolGlphlIodifier设置undefined - */ - it('SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0110', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0110 start.`); - Settings.createWindow("testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0110") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0110 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0070 - * @tc.name SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0070 - * @tc.desc 1、创建tabs,BottonTabBarStyle,icon使用TabBarSyabol - * 2、normal态SymbolGlphlIodifier渲染策略为MULTIPLE_COLOR,设置4个fontcolor属性 - */ - it('SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0070', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0070 start.`); - Settings.createWindow("testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0070") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0070 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0080 - * @tc.name SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0080 - * @tc.desc 1、创建tabs,BottonTabBarStyle,icon使用TabBarSyabol - * 2、normal态SymbolGlphlIodifier渲染策略为OPACITY,设置4个fontcolor属性 - */ - it('SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0080', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0080 start.`); - Settings.createWindow("testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0080") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0080 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0060 - * @tc.name SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0060 - * @tc.desc 1、创建tabs,BottonTabBarStyle,icon使用TabBarSyabol - * 2、normal态SymbolGlphlIodifier渲染策略为单色,设置4个fontcolor属性 - */ - it('SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0060', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0060 start.`); - Settings.createWindow("testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0060") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0060 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0140 - * @tc.name SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0140 - * @tc.desc 1、创建tabs,BottonTabBarStyle,icon使用TabBarSymbol - * 2、normal态SymbolGlphlIodifier设置可以动态切换入参 - */ - it('SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0140', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0140 start.`); - Settings.createWindow("testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0140") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentTabTabBarSymbol0140_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0140 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0130 - * @tc.name SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0130 - * @tc.desc 1、创建tabs,BottonTabBarStyle,icon使用TabBarSymbol - * 2、nornal态SymbolGlyphModifier设置可以动态切换入 -参 - */ - it('SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0130', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0130 start.`); - Settings.createWindow("testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0130") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentTabTabBarSymbol0130_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0130 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0260 - * @tc.name SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0260 - * @tc.desc 1、创建tabs,BottonTabBarStyle,icon使用TabBarSymbol - * 2、nornal态SymbolGlyphModifier设置可以动态切换入参 - */ - it('SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0260', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0260 start.`); - Settings.createWindow("testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0260") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentTabTabBarSymbol0260_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0260 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0190 - * @tc.name SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0190 - * @tc.desc 1、创建tabs,BottonTabBarStyle,icon使用TabBarSymbol - * 2、nornal态SymbolGlyphModifier设置可以动态切换入参 - */ - it('SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0190', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0190 start.`); - Settings.createWindow("testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0190") - await Utils.sleep(1000) - let driver : Driver = Driver.create(); - await driver.delayMs(1000) - let button1:Component = await driver.findComponent(ON.id('UIComponentTabTabBarSymbol0190_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0190 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0180 - * @tc.name SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0180 - * @tc.desc 1、创建tabs,BottonTabBarStyle,icon使用TabBarSymbol - * 2、selected态SymbolGlphlIodifier不设置 - */ - it('SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0180', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0180 start.`); - Settings.createWindow("testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0180") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0180 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0160 - * @tc.name SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0160 - * @tc.desc 1、创建tabs,BottonTabBarStyle,icon使用TabBarSymbol - * 2、selected态SymbolGlphlIodifier设置null - */ - it('SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0160', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0160 start.`); - Settings.createWindow("testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0160") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0160 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0170 - * @tc.name SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0170 - * @tc.desc 1、创建tabs,BottonTabBarStyle,icon使用TabBarSymbol - * 2、selected态SymbolGlphlIodifier设置undefined - */ - it('SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0170', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0170 start.`); - Settings.createWindow("testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0170") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0170 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0030 - * @tc.name SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0030 - * @tc.desc 1、创建tabs,使用BottomTabBarStyle样式 - 2、icon使用TabBarSymbol引入其他资源 - */ - it('SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0030', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0030 start.`); - Settings.createWindow("testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0030") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0030 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0020 - * @tc.name SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0020 - * @tc.desc 1、创建tabs,使用BottomTabBarStyle样式 - * 2、icon使用TabBarSymbol引入系统media资源 - */ - it('SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0020', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0020 start.`); - Settings.createWindow("testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0020") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0020 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0010 - * @tc.name SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0010 - * @tc.desc 1、创建tabs,使用BottomTabBarStyle样式 - * 2、icon使用TabBarSymbol引入系统symbol资源 - */ - it('SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0010', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0010 start.`); - Settings.createWindow("testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0010") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0010 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0230 - * @tc.name SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0230 - * @tc.desc 1、创建tabs,BottonTabBarStyle,icon使用TabBarSymbol - */ - it('SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0230', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0230 start.`); - Settings.createWindow("testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0230") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0230 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0150 - * @tc.name SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0150 - * @tc.desc 1、创建tabs,BottonTabBarStyle,icon使用TabBarSynbol - * 2、normal态SymbolGlphIodifier引入系统symbol资源 - */ - it('SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0150', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0150 start.`); - Settings.createWindow("testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0150") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0150 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0050 - * @tc.name SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0050 - * @tc.desc TabBarSynbol.normal & selected - */ - it('SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0050 start.`); - Settings.createWindow("testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabbarTabbarsymbol0050") - await Utils.sleep(2000) - let driver: Driver = Driver.create() - let button: Component = await driver.findComponent(ON.id('UIComponentTabTabbarTabbarsymbol0050_001')) - await button.click() - await Utils.sleep(2000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0050 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0240 - * @tc.name SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0240 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0240', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0240 start.`); - Settings.createWindow("testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabbarTabbarsymbol0050") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0240 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0250 - * @tc.name SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0250 - * @tc.desc nav width - */ - it('SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0250', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0250 start.`); - Settings.createWindow("testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabbarTabbarsymbol0250") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TAB_TABBAR_TABBARSYMBOL_0250 finish.`); - done() - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextAttributeStringConstructsTest/UIComponentTextAttributeStringConstructs.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextAttributeStringConstructsTest/UIComponentTextAttributeStringConstructs.test.ets index 95ebe0c7..df784668 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextAttributeStringConstructsTest/UIComponentTextAttributeStringConstructs.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextAttributeStringConstructsTest/UIComponentTextAttributeStringConstructs.test.ets @@ -13,16 +13,34 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, 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, Component } from '@kit.TestKit' +import { uiAppearance } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit' export default function UIComponentTextAttributeStringConstructsTest() { describe('UIComponentTextAttributeStringConstructsTest', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextAttributeText/UIComponentTextAttribute.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextAttributeText/UIComponentTextAttribute.test.ets index db5cd409..422ad1f4 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextAttributeText/UIComponentTextAttribute.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextAttributeText/UIComponentTextAttribute.test.ets @@ -12,16 +12,34 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium'; +import { afterEach, beforeEach, describe, it } from '@ohos/hypium'; import Logger from '../model/Logger'; import Settings from '../model/Settings'; import { Component, Driver, ON } from '@ohos.UiTest'; import Utils from '../model/Utils'; import windowSnap from '../model/snapShot'; +import { uiAppearance } from '@kit.ArkUI'; +import { i18n } from '@kit.LocalizationKit'; export default function UIComponentTextAttribute() { describe('UIComponentTextAttribute', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonCopyOptionDraggableTest/UIComponentTextCommonCopyOptionDraggableTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonCopyOptionDraggableTest/UIComponentTextCommonCopyOptionDraggableTest.test.ets index c61f5285..4b9a310e 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonCopyOptionDraggableTest/UIComponentTextCommonCopyOptionDraggableTest.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonCopyOptionDraggableTest/UIComponentTextCommonCopyOptionDraggableTest.test.ets @@ -12,16 +12,34 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium'; +import { afterEach, beforeEach, 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, Component, ON, MouseButton } from '@kit.TestKit'; +import { uiAppearance } from '@kit.ArkUI'; +import { i18n } from '@kit.LocalizationKit'; export default function UIComponentTextCommonCopyOptionDraggableTest() { describe('UIComponentTextCommonCopyOptionDraggableTest', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan.test.ets index 4dc1e7c1..2108e216 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan.test.ets @@ -13,16 +13,34 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, 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, Component, ON } from '@kit.TestKit' +import { uiAppearance } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit' export default function UIComponentTextCommonCustomDrawingSpan() { describe('UIComponentTextCommonCustomDrawingSpan', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return; diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonItscaAttributeUpdaterTest/UIComponentTextCommonItscaAttributeUpdater.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonItscaAttributeUpdaterTest/UIComponentTextCommonItscaAttributeUpdater.test.ets index bb625af5..4c8d9430 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonItscaAttributeUpdaterTest/UIComponentTextCommonItscaAttributeUpdater.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonItscaAttributeUpdaterTest/UIComponentTextCommonItscaAttributeUpdater.test.ets @@ -13,16 +13,34 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, 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 { uiAppearance } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit' export default function UIComponentTextCommonItscaAttributeUpdater() { describe('UIComponentTextCommonItscaAttributeUpdater', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return; diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextHyperlinkInteractionTest/UIComponentTextHyperlinkInteraction.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextHyperlinkInteractionTest/UIComponentTextHyperlinkInteraction.test.ets index 4e90b20f..3827c39a 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextHyperlinkInteractionTest/UIComponentTextHyperlinkInteraction.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextHyperlinkInteractionTest/UIComponentTextHyperlinkInteraction.test.ets @@ -13,17 +13,35 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, 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, Component, ON, MouseButton } from '@ohos.UiTest' import { KeyCode } from '@kit.InputKit'; +import { uiAppearance } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit' export default function UIComponentTextHyperlinkInteraction() { describe('UIComponentTextHyperlinkInteraction', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return; diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextImagePrivacySensitiveTest/UIComponentTextImagePrivacySensitive.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextImagePrivacySensitiveTest/UIComponentTextImagePrivacySensitive.test.ets index 63d6039a..0df94861 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextImagePrivacySensitiveTest/UIComponentTextImagePrivacySensitive.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextImagePrivacySensitiveTest/UIComponentTextImagePrivacySensitive.test.ets @@ -12,15 +12,33 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium'; +import { afterEach, beforeEach, 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 { uiAppearance } from '@kit.ArkUI'; +import { i18n } from '@kit.LocalizationKit'; export default function UIComponentTextImagePrivacySensitive() { describe('UIComponentTextImagePrivacySensitive', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInlineTest/UIComponentTextInline.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInlineTest/UIComponentTextInline.test.ets index 9e18c2a4..6fca30be 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInlineTest/UIComponentTextInline.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInlineTest/UIComponentTextInline.test.ets @@ -13,17 +13,35 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, 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, Component, ON, MouseButton } from '@ohos.UiTest' import { KeyCode } from '@kit.InputKit'; +import { uiAppearance } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit' export default function UIComponentTextInline() { describe('UIComponentTextInline', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return; diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInputNumberDecimalTest/UIComponentTextInputNumberDecimalTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInputNumberDecimalTest/UIComponentTextInputNumberDecimalTest.test.ets index be6d6b9b..f4a905f5 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInputNumberDecimalTest/UIComponentTextInputNumberDecimalTest.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInputNumberDecimalTest/UIComponentTextInputNumberDecimalTest.test.ets @@ -12,16 +12,34 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium'; +import { afterEach, beforeEach, describe, it } from '@ohos/hypium'; import Logger from '../model/Logger'; import Settings from '../model/Settings'; import { Component, Driver, ON } from '@ohos.UiTest'; import Utils from '../model/Utils'; import windowSnap from '../model/snapShot'; +import { uiAppearance } from '@kit.ArkUI'; +import { i18n } from '@kit.LocalizationKit'; export default function UIComponentTextInputNumberDecimalTest() { describe('UIComponentTextInputNumberDecimalTest', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInputSecurityKeyboardScrollTest/UIComponentTextInputSecurityKeyboardScrollTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInputSecurityKeyboardScrollTest/UIComponentTextInputSecurityKeyboardScrollTest.test.ets index 7a115f2a..47cd78c4 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInputSecurityKeyboardScrollTest/UIComponentTextInputSecurityKeyboardScrollTest.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInputSecurityKeyboardScrollTest/UIComponentTextInputSecurityKeyboardScrollTest.test.ets @@ -12,16 +12,34 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium'; +import { afterEach, beforeEach, describe, it } from '@ohos/hypium'; import Logger from '../model/Logger'; import Settings from '../model/Settings'; import { Component, Driver, MouseButton, ON } from '@ohos.UiTest'; import Utils from '../model/Utils'; import windowSnap from '../model/snapShot'; +import { uiAppearance } from '@kit.ArkUI'; +import { i18n } from '@kit.LocalizationKit'; export default function UIComponentTextInputSecurityKeyboardScrollTest() { describe('UIComponentTextInputSecurityKeyboardScrollTest', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInputTest/UIComponentTextInput.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInputTest/UIComponentTextInput.test.ets index 45824b4a..dec6b5c0 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInputTest/UIComponentTextInput.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextInputTest/UIComponentTextInput.test.ets @@ -13,17 +13,34 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, 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 '@kit.TestKit' import { uiAppearance } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit' export default function UIComponentTextInput0010() { describe('UIComponentTextInput0010', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextReverseAnalysisTest/UIComponentTextReverseAnalysis.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextReverseAnalysisTest/UIComponentTextReverseAnalysis.test.ets index abcbe0ac..fe68e607 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextReverseAnalysisTest/UIComponentTextReverseAnalysis.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextReverseAnalysisTest/UIComponentTextReverseAnalysis.test.ets @@ -13,17 +13,35 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, 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, Component, ON, MouseButton } from '@ohos.UiTest' import { KeyCode } from '@kit.InputKit'; +import { uiAppearance } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit' export default function UIComponentTextReverseAnalysis() { describe('UIComponentTextReverseAnalysis', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return; diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaActionTest/UIComponentTextTextAreaActionTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaActionTest/UIComponentTextTextAreaActionTest.test.ets index 52966015..54ea1251 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaActionTest/UIComponentTextTextAreaActionTest.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaActionTest/UIComponentTextTextAreaActionTest.test.ets @@ -12,17 +12,35 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium'; +import { afterEach, beforeEach, 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, Component, ON } from '@kit.TestKit'; import { KeyCode } from '@kit.InputKit'; +import { uiAppearance } from '@kit.ArkUI'; +import { i18n } from '@kit.LocalizationKit'; export default function UIComponentTextTextAreaActionTest() { describe('UIComponentTextTextAreaActionTest', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaEnhancesTest/UIComponentTextTextAreaEnhancesTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaEnhancesTest/UIComponentTextTextAreaEnhancesTest.test.ets index 8fb79de0..48c52548 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaEnhancesTest/UIComponentTextTextAreaEnhancesTest.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaEnhancesTest/UIComponentTextTextAreaEnhancesTest.test.ets @@ -12,16 +12,34 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium'; +import { afterEach, beforeEach, 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, Component, ON } from '@kit.TestKit'; +import { uiAppearance } from '@kit.ArkUI'; +import { i18n } from '@kit.LocalizationKit'; export default function UIComponentTextTextAreaEnhancesTest() { describe('UIComponentTextTextAreaEnhancesTest', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaEnterkeyTypeTest/UIComponentTextTextAreaEnterkeyTypeTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaEnterkeyTypeTest/UIComponentTextTextAreaEnterkeyTypeTest.test.ets index f4a6efde..75a5c0a9 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaEnterkeyTypeTest/UIComponentTextTextAreaEnterkeyTypeTest.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaEnterkeyTypeTest/UIComponentTextTextAreaEnterkeyTypeTest.test.ets @@ -12,16 +12,34 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium'; +import { afterEach, beforeEach, 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, Component, ON } from '@kit.TestKit'; +import { uiAppearance } from '@kit.ArkUI'; +import { i18n } from '@kit.LocalizationKit'; export default function UIComponentTextTextAreaEnterkeyTypeTest() { describe('UIComponentTextTextAreaEnterkeyTypeTest', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaEvaSaveInputMethodTest/UIComponentTextTextAreaEvaSaveInputMethodTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaEvaSaveInputMethodTest/UIComponentTextTextAreaEvaSaveInputMethodTest.test.ets index 8c85fc55..9709e556 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaEvaSaveInputMethodTest/UIComponentTextTextAreaEvaSaveInputMethodTest.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaEvaSaveInputMethodTest/UIComponentTextTextAreaEvaSaveInputMethodTest.test.ets @@ -13,17 +13,35 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, 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, Component, ON, MouseButton, DisplayRotation } from '@ohos.UiTest' +import { uiAppearance } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit' export default function UIComponentTextTextAreaEvaSaveInputMethodTest() { describe('UIComponentTextTextAreaEvaSaveInputMethodTest', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return; diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaInterActionTest/UIComponentTextTextAreaInterActionTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaInterActionTest/UIComponentTextTextAreaInterActionTest.test.ets index 12c34193..674c53df 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaInterActionTest/UIComponentTextTextAreaInterActionTest.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaInterActionTest/UIComponentTextTextAreaInterActionTest.test.ets @@ -13,17 +13,35 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, 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, Component, ON, MouseButton } from '@ohos.UiTest' +import { uiAppearance } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit' export default function UIComponentTextTextAreaInterActionTest() { describe('UIComponentTextTextAreaInterActionTest', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return; diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaInterActiveTest/UIComponentTextTextAreaInterActiveTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaInterActiveTest/UIComponentTextTextAreaInterActiveTest.test.ets index ac1804be..9cfe4d9b 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaInterActiveTest/UIComponentTextTextAreaInterActiveTest.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaInterActiveTest/UIComponentTextTextAreaInterActiveTest.test.ets @@ -13,17 +13,35 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, 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, Component, ON, MouseButton } from '@ohos.UiTest' +import { uiAppearance } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit' export default function UIComponentTextTextAreaInterActiveTest() { describe('UIComponentTextTextAreaInterActiveTest', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return; diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaInterfaceTest/UIComponentTextTextAreaInterfaceTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaInterfaceTest/UIComponentTextTextAreaInterfaceTest.test.ets index d1128345..98acdcff 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaInterfaceTest/UIComponentTextTextAreaInterfaceTest.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaInterfaceTest/UIComponentTextTextAreaInterfaceTest.test.ets @@ -12,16 +12,34 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium'; +import { afterEach, beforeEach, describe, it } from '@ohos/hypium'; import Logger from '../model/Logger'; import Settings from '../model/Settings'; import { Component, Driver, ON } from '@ohos.UiTest'; import Utils from '../model/Utils'; import windowSnap from '../model/snapShot'; +import { uiAppearance } from '@kit.ArkUI'; +import { i18n } from '@kit.LocalizationKit'; export default function UIComponentTextTextAreaInterfaceTest() { describe('UIComponentTextTextAreaInterfaceTest', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaLayoutTest/UIComponentTextTextAreaLayoutTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaLayoutTest/UIComponentTextTextAreaLayoutTest.test.ets index e75b6f1d..b57db91e 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaLayoutTest/UIComponentTextTextAreaLayoutTest.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaLayoutTest/UIComponentTextTextAreaLayoutTest.test.ets @@ -12,16 +12,34 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium'; +import { afterEach, beforeEach, describe, it } from '@ohos/hypium'; import Logger from '../model/Logger'; import Settings from '../model/Settings'; import { Component, Driver, ON } from '@ohos.UiTest'; import Utils from '../model/Utils'; import windowSnap from '../model/snapShot'; +import { uiAppearance } from '@kit.ArkUI'; +import { i18n } from '@kit.LocalizationKit'; export default function UIComponentTextTextAreaLayoutTest() { describe('UIComponentTextTextAreaLayoutTest', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaOnEditChangeTest/UIComponentTextTextAreaOnEditChangeTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaOnEditChangeTest/UIComponentTextTextAreaOnEditChangeTest.test.ets index 1a971bca..f7093e53 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaOnEditChangeTest/UIComponentTextTextAreaOnEditChangeTest.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaOnEditChangeTest/UIComponentTextTextAreaOnEditChangeTest.test.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, describe, it } from '@ohos/hypium' import Settings from '../model/Settings' import windowSnap from '../model/snapShot' import Logger from '../model/Logger' @@ -21,10 +21,27 @@ import Utils from '../model/Utils' import { Driver, Component, ON } from '@kit.TestKit'; import { uiAppearance } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit' export default function UIComponentTextTextAreaOnEditChangeTest() { describe('UIComponentTextTextAreaOnEditChangeTest', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return; diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaSelectionTest/UIComponentTextTextAreaSelectionTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaSelectionTest/UIComponentTextTextAreaSelectionTest.test.ets index 24d1c7c6..a0aaed0c 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaSelectionTest/UIComponentTextTextAreaSelectionTest.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaSelectionTest/UIComponentTextTextAreaSelectionTest.test.ets @@ -13,17 +13,35 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, 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, Component, ON, MouseButton } from '@ohos.UiTest' +import { uiAppearance } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit' export default function UIComponentTextTextAreaSelectionTest() { describe('UIComponentTextTextAreaSelectionTest', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return; diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaUxComsistencyTest/UIComponentTextTextAreaUxComsistencyTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaUxComsistencyTest/UIComponentTextTextAreaUxComsistencyTest.test.ets index 42d1ba19..7fc2cbde 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaUxComsistencyTest/UIComponentTextTextAreaUxComsistencyTest.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextAreaUxComsistencyTest/UIComponentTextTextAreaUxComsistencyTest.test.ets @@ -12,16 +12,34 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium'; +import { afterEach, beforeEach, describe, it } from '@ohos/hypium'; import Logger from '../model/Logger'; import Settings from '../model/Settings'; import { Component, Driver, ON } from '@ohos.UiTest'; import Utils from '../model/Utils'; import windowSnap from '../model/snapShot'; +import { uiAppearance } from '@kit.ArkUI'; +import { i18n } from '@kit.LocalizationKit'; export default function UIComponentTextTextAreaUxComsistencyTest() { describe('UIComponentTextTextAreaUxComsistencyTest', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextEditableTest/UIComponentTextTextEditable.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextEditableTest/UIComponentTextTextEditable.test.ets index 6de381a2..8290d92e 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextEditableTest/UIComponentTextTextEditable.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextEditableTest/UIComponentTextTextEditable.test.ets @@ -12,16 +12,34 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium'; +import { afterEach, beforeEach, describe, it } from '@ohos/hypium'; import Logger from '../model/Logger'; import Settings from '../model/Settings'; import { Component, Driver, ON } from '@ohos.UiTest'; import Utils from '../model/Utils'; import windowSnap from '../model/snapShot'; +import { uiAppearance } from '@kit.ArkUI'; +import { i18n } from '@kit.LocalizationKit'; export default function UIComponentTextTextEditable() { describe('UIComponentTextTextEditable', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextEvasiveInputMethodTest/UIComponentTextTextEvasiveInputMethod.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextEvasiveInputMethodTest/UIComponentTextTextEvasiveInputMethod.test.ets index 6de05990..92e6ea40 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextEvasiveInputMethodTest/UIComponentTextTextEvasiveInputMethod.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextEvasiveInputMethodTest/UIComponentTextTextEvasiveInputMethod.test.ets @@ -12,16 +12,34 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium'; +import { afterEach, beforeEach, describe, it } from '@ohos/hypium'; import Logger from '../model/Logger'; import Settings from '../model/Settings'; import { Component, Driver, MouseButton, ON } from '@ohos.UiTest'; import Utils from '../model/Utils'; import windowSnap from '../model/snapShot'; +import { i18n } from '@kit.LocalizationKit'; +import { uiAppearance } from '@kit.ArkUI'; export default function UIComponentTextTextEvasiveInputMethod() { describe('UIComponentTextTextEvasiveInputMethod', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextGestureStyleTest/UIComponentTextTextGestureStyle.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextGestureStyleTest/UIComponentTextTextGestureStyle.test.ets index 802fd199..c7733561 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextGestureStyleTest/UIComponentTextTextGestureStyle.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextGestureStyleTest/UIComponentTextTextGestureStyle.test.ets @@ -12,16 +12,34 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium'; +import { afterEach, beforeEach, describe, it } from '@ohos/hypium'; import Logger from '../model/Logger'; import Settings from '../model/Settings'; import { Component, Driver, MouseButton, ON } from '@ohos.UiTest'; import Utils from '../model/Utils'; import windowSnap from '../model/snapShot'; +import { uiAppearance } from '@kit.ArkUI'; +import { i18n } from '@kit.LocalizationKit'; export default function UIComponentTextTextGestureStyle() { describe('UIComponentTextTextGestureStyle', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextImageSpanAltTest/UIComponentTextTextImageSpanAlt.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextImageSpanAltTest/UIComponentTextTextImageSpanAlt.test.ets index 12fac1e5..b822f860 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextImageSpanAltTest/UIComponentTextTextImageSpanAlt.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextImageSpanAltTest/UIComponentTextTextImageSpanAlt.test.ets @@ -13,15 +13,33 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, 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 { i18n } from '@kit.LocalizationKit' +import { uiAppearance } from '@kit.ArkUI' export default function UIComponentTextTextImageSpanAlt() { describe('UIComponentTextTextImageSpanAlt', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextInterfaceTest/UIComponentTextTextInterface.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextInterfaceTest/UIComponentTextTextInterface.test.ets index fbe6dd51..4cdb0a75 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextInterfaceTest/UIComponentTextTextInterface.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextInterfaceTest/UIComponentTextTextInterface.test.ets @@ -12,16 +12,34 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium'; +import { afterEach, beforeEach, describe, it } from '@ohos/hypium'; import Logger from '../model/Logger'; import Settings from '../model/Settings'; import { Component, Driver, ON } from '@ohos.UiTest'; import Utils from '../model/Utils'; import windowSnap from '../model/snapShot'; +import { i18n } from '@kit.LocalizationKit'; +import { uiAppearance } from '@kit.ArkUI'; export default function UIComponentTextTextInterface() { describe('UIComponentTextTextInterface', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextLongPressTest/UIComponentTextTextLongPress.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextLongPressTest/UIComponentTextTextLongPress.test.ets index d4e09f4d..5c2fd5e1 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextLongPressTest/UIComponentTextTextLongPress.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextLongPressTest/UIComponentTextTextLongPress.test.ets @@ -12,16 +12,34 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium'; +import { afterEach, beforeEach, describe, it } from '@ohos/hypium'; import Logger from '../model/Logger'; import Settings from '../model/Settings'; import { Component, Driver, ON } from '@ohos.UiTest'; import Utils from '../model/Utils'; import windowSnap from '../model/snapShot'; +import { i18n } from '@kit.LocalizationKit'; +import { uiAppearance } from '@kit.ArkUI'; export default function UIComponentTextTextLongPress() { describe('UIComponentTextTextLongPress', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextMarqueeTest/UIComponentTextTextMarquee.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextMarqueeTest/UIComponentTextTextMarquee.test.ets index 9e9b36a1..4737b03c 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextMarqueeTest/UIComponentTextTextMarquee.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextMarqueeTest/UIComponentTextTextMarquee.test.ets @@ -12,16 +12,34 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium'; +import { afterEach, beforeEach, 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 { Component, Driver, ON } from '@ohos.UiTest'; +import { uiAppearance } from '@kit.ArkUI'; +import { i18n } from '@kit.LocalizationKit'; export default function UIComponentTextTextMarquee() { describe('UIComponentTextTextMarquee', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextPrivacyMaskTest/UIComponentTextTextPrivacyMask.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextPrivacyMaskTest/UIComponentTextTextPrivacyMask.test.ets index c5071267..9ea37027 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextPrivacyMaskTest/UIComponentTextTextPrivacyMask.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextPrivacyMaskTest/UIComponentTextTextPrivacyMask.test.ets @@ -12,16 +12,34 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium'; +import { afterEach, beforeEach, 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 { Component, Driver, ON } from '@ohos.UiTest'; +import { i18n } from '@kit.LocalizationKit'; +import { uiAppearance } from '@kit.ArkUI'; export default function UIComponentTextTextPrivacyMask() { describe('UIComponentTextTextPrivacyMask', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextStringParagraphStyleTest/UIComponentTextTextStringParagraphStyle.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextStringParagraphStyleTest/UIComponentTextTextStringParagraphStyle.test.ets index 5bfd8a18..0bc74a37 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextStringParagraphStyleTest/UIComponentTextTextStringParagraphStyle.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextStringParagraphStyleTest/UIComponentTextTextStringParagraphStyle.test.ets @@ -12,16 +12,34 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium'; +import { afterEach, beforeEach, 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 { Component, Driver, ON } from '@ohos.UiTest'; +import { i18n } from '@kit.LocalizationKit'; +import { uiAppearance } from '@kit.ArkUI'; export default function UIComponentTextTextStringParagraphStyle() { describe('UIComponentTextTextStringParagraphStyle', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextSupportFontTest/UIComponentTextTextSupportFont.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextSupportFontTest/UIComponentTextTextSupportFont.test.ets index 411e2f6b..bdce7658 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextSupportFontTest/UIComponentTextTextSupportFont.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTextSupportFontTest/UIComponentTextTextSupportFont.test.ets @@ -13,17 +13,35 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, 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 } from '@ohos.UiTest' +import { uiAppearance } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit' export default function UIComponentTextTextSupportFont() { describe('UIComponentTextTextSupportFont', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return; diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTransparencyTest/UIComponentTextTransparency.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTransparencyTest/UIComponentTextTransparency.test.ets index 8d604a24..4bffc77b 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTransparencyTest/UIComponentTextTransparency.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentTextTransparencyTest/UIComponentTextTransparency.test.ets @@ -13,17 +13,35 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, 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 } from '@ohos.UiTest' +import { uiAppearance } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit' export default function UIComponentTextTransparency() { describe('UIComponentTextTransparency', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return; 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 0aa41b4b..ed25dd78 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,33 +13,35 @@ * 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 uiAppearance from '@ohos.uiAppearance'; -import { Driver ,ON } from '@ohos.UiTest' +import { afterEach, beforeEach, 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' -/* - * 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 { Driver, ON } from '@ohos.UiTest' +import { uiAppearance } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit' export default function UIComponentUISupportColor() { describe('UIComponentUISupportColor', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return; @@ -56,351 +58,147 @@ export default function UIComponentUISupportColor() { }) /* - * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1010 - * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1010 - * @tc.desc Verify that the Rating component dynamically switches between dark mode and light mode + * @tc.number : SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2040 + * @tc.name : SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2040 + * @tc.desc : Text component dynamically switches theme modes */ - it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1010 start.`); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK, () => { - }); - Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor101"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentUISupportColor1011")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { - }); + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2040 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor204"); + await Utils.sleep(500); + let driver = Driver.create(); await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1010 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1050 - * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1050 - * @tc.desc Verify that the Rating component follows the system shade change - */ - it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1050 start.`); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { - }); - Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor105"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentUISupportColor1051")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK, () => { - }); - await Utils.sleep(2000); - windowSnap.snapShot(); + let lightButton = await driver.findComponent(ON.id('UIComponentUISupportColor204')); await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1050 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1050_1 - * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1050_1 - * @tc.desc Verify that the Rating component follows the system shade change - */ - it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1050_1', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1050_1 start.`); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK, () => { - }); - Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor105"); + await lightButton.click(); + uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT); await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentUISupportColor1051")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { - }); + await windowSnap.snapShot(); await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1050_1 finish.`); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2040 finish.`); done(); }) /* - * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1020 - * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1020 - * @tc.desc Verify that the Rating component dynamically switches dark mode - Dark mode switches normally + * @tc.number : SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2050 + * @tc.name : SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2050 + * @tc.desc : Text component dynamically switches theme modes */ - it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1020 start.`); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK, () => { - }); - Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor102"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentUISupportColor1021")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK, () => { - }); + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2050 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor205"); + await Utils.sleep(500); + let driver = Driver.create(); await Utils.sleep(1000); - windowSnap.snapShot(); + let changeButton = await driver.findComponent(ON.id('UIComponentUISupportColor205')); await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1020 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1040 - * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1040 - * @tc.desc Verify that the Rating component is fixed in dark mode - */ - it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1040 start.`); - Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor104"); + await changeButton.click(); + uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK); await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentUISupportColor1041")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1040 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1000 - * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1000 - * @tc.desc Verify that the Rating component dynamically switches between light mode and dark mode - */ - it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1000', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1000 start.`); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { - }); - Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor100"); await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentUISupportColor1001")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK, () => { - }); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1000 finish.`); + uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT); + await Utils.sleep(500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2050 finish.`); done(); }) /* - * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1030 - * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1030 - * @tc.desc Verify that the Rating component is fixed in a light-colored mode + * @tc.number : SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2060 + * @tc.name : SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2060 + * @tc.desc : Text component dynamically switches theme modes */ - it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1030 start.`); - Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor103"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentUISupportColor1031")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2060 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor206"); + uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK); + await Utils.sleep(500); + let driver = Driver.create(); await Utils.sleep(1000); - windowSnap.snapShot(); + let changeButton = await driver.findComponent(ON.id('UIComponentUISupportColor206')); await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1030 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0990 - * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0990 - * @tc.desc Verify that the Rating component dynamically switches light mode - light mode switches normally - */ - it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0990', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0990 start.`); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { - }); - Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor099"); + await changeButton.click(); + uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT); await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentUISupportColor0991")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { - }); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0990 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0940 - * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0940 - * @tc.desc Verify that the Radio component dynamically switches between dark mode and light mode - */ - it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0940', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0940 start.`); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK, () => { - }); - Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor094") + await windowSnap.snapShot(); await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentUISupportColor0940")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { - }); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0940 finish.`); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2060 finish.`); done(); }) /* - * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0930 - * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0930 - * @tc.desc Verify that the Radio component dynamically switches between light mode and dark mode + * @tc.number : SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2070 + * @tc.name : SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2070 + * @tc.desc : Text component dynamically switches theme modes */ - it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0930', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0930 start.`); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { - }); - Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor093") - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentUISupportColor0930")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK, () => { - }); + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2070 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor207"); + uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK); + await Utils.sleep(500); + let driver = Driver.create(); await Utils.sleep(1000); - windowSnap.snapShot(); + let changeButton = await driver.findComponent(ON.id('UIComponentUISupportColor207')); await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0930 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0970 - * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0970 - * @tc.desc Verify that the Radio component is fixed in dark mode - */ - it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0970', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0970 start.`); - Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor097") + await changeButton.click(); + uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK); await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentUISupportColor0970")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0970 finish.`); - done(); - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0980 - * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0980 - * @tc.desc Verify that the Radio component follows the system shade - */ - it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0980', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0980 start.`); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { - }); - Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor098"); await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentUISupportColor0980")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK, () => { - }); - await Utils.sleep(1000); - windowSnap.snapShot('UIComponentUISupportColor0980'); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { - }); - await Utils.sleep(1000); - windowSnap.snapShot('UIComponentUISupportColor0981'); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0980 finish.`); + uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT); + await Utils.sleep(500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2070 finish.`); done(); }) /* - * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0920 - * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0920 - * @tc.desc Verify that the Radio component dynamically switches Light mode - Light mode switches normally + * @tc.number : SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2080 + * @tc.name : SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2080 + * @tc.desc : Text component dynamically switches theme modes */ - it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0920', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0920 start.`); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { - }); - Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor092"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentUISupportColor0920")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { - }); - await Utils.sleep(1000); - windowSnap.snapShot(); + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2080 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor208"); + await Utils.sleep(500); + await windowSnap.snapShot(); await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0920 finish.`); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2080 finish.`); done(); }) /* - * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0960 - * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0960 - * @tc.desc Verify that the Radio component is fixed in light mode + * @tc.number : SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2090 + * @tc.name : SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2090 + * @tc.desc : Text component dynamically switches theme modes */ - it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0960', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0960 start.`); - Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor096"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentUISupportColor0960")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0960 finish.`); + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2090 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor209"); + await Utils.sleep(1500); + await windowSnap.snapShot(); + await Utils.sleep(1500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2090 finish.`); done(); }) /* - * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0950 - * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0950 - * @tc.desc Verify that the Radio component dynamically switches to dark mode - The dark mode switches normally + * @tc.number : SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2100 + * @tc.name : SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2100 + * @tc.desc : Text component dynamically switches theme modes */ - it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0950', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0950 start.`); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK, () => { - }); - Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor095"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UIComponentUISupportColor0950")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK, () => { - }); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0950 finish.`); + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2100 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor210"); + await Utils.sleep(500); + uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT); + await Utils.sleep(500); + uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK); + await Utils.sleep(500); + uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_2100 finish.`); done(); }) }) diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement.test.ets index 123a5d5a..3eb5ae42 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement.test.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import { afterEach, describe, it } from '@ohos/hypium' +import { afterEach, beforeEach, describe, it } from '@ohos/hypium' import Settings from '../model/Settings' import windowSnap from '../model/snapShot' import Logger from '../model/Logger' @@ -21,10 +21,28 @@ import Utils from '../model/Utils' import { Driver, ON } from '@ohos.UiTest' import { KeyCode } from '@kit.InputKit' +import { uiAppearance } from '@kit.ArkUI' +import { i18n } from '@kit.LocalizationKit' export default function UICustomTextShortCutKeyReplacement() { describe('UICustomTextShortCutKeyReplacement', () => { + beforeEach(async (done: Function) => { + if (uiAppearance.getDarkMode() == uiAppearance.DarkMode.ALWAYS_DARK) { + await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT).then(() => { + console.info('Setting before Set dark-mode successfully.'); + }).catch((error: Error) => { + console.error('Setting before Set dark-mode failed, ' + error.message); + }); + Utils.sleep(1000); + } else { + console.info('Setting before dark-mode is uiAppearance.DarkMode.ALWAYS_LIGHT'); + } + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch before CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + done(); + }) afterEach(async (done: Function) => { if (Settings.windowClass == undefined) { return; diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UITestCaseTest/UITestCaseTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UITestCaseTest/UITestCaseTest.test.ets deleted file mode 100644 index 3eb29884..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UITestCaseTest/UITestCaseTest.test.ets +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 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): - * 创建窗口,更改窗口基本配置,更改方式详见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 UITestCaseTest() { - - describe('UITestCaseTest', () => { - - - /* - * @tc.number TestCase_6eb28b4e7e20410ea8a92fc7bb5809fc_1 - * @tc.name TestCase_6eb28b4e7e20410ea8a92fc7bb5809fc_1 - * @tc.desc indicatorBuilder add Popup component, can be accepted to click out of focus pop bubble, click the bubble cancel button can close the bubble - */ - it('TestCase_6eb28b4e7e20410ea8a92fc7bb5809fc_1', 0, async (done: Function) => { - Logger.info('TEST', `TestCase_6eb28b4e7e20410ea8a92fc7bb5809fc_1 start.`); - Settings.createWindow("testability/pages/UITestCase/UITestCase001"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UITestCase0010")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `TestCase_6eb28b4e7e20410ea8a92fc7bb5809fc_1 finish.`); - done(); - }) - - /* - * @tc.number TestCase_6eb28b4e7e20410ea8a92fc7bb5809fc_2 - * @tc.name TestCase_6eb28b4e7e20410ea8a92fc7bb5809fc_2 - * @tc.desc indicatorBuilder add Popup component, can be accepted to click out of focus pop bubble, click the bubble cancel button can close the bubble - */ - it('TestCase_6eb28b4e7e20410ea8a92fc7bb5809fc_2', 0, async (done: Function) => { - Logger.info('TEST', `TestCase_6eb28b4e7e20410ea8a92fc7bb5809fc_2 start.`); - Settings.createWindow("testability/pages/UITestCase/UITestCase001"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UITestCase0010")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - let bounds = await ButtonCom.getBounds(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - await driver.click(pointButtonCenter.x, bounds.top - 20); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `TestCase_6eb28b4e7e20410ea8a92fc7bb5809fc_2 finish.`); - done(); - }) - - /* - * @tc.number TestCase_8f7f773ecd634e0299eeaf06572766d6 - * @tc.name TestCase_8f7f773ecd634e0299eeaf06572766d6 - * @tc.desc indicatorBuilder value set to image Radio set to 50vp,image passed 20vp image - */ - it('TestCase_8f7f773ecd634e0299eeaf06572766d6', 0, async (done: Function) => { - Logger.info('TEST', `TestCase_8f7f773ecd634e0299eeaf06572766d6 start.`); - Settings.createWindow("testability/pages/UITestCase/UITestCase002"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UITestCase0020")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `TestCase_8f7f773ecd634e0299eeaf06572766d6 finish.`); - done(); - }) - - /* - * @tc.number TestCase_d087a60e6a7b48ca972deccca5b79d53 - * @tc.name TestCase_d087a60e6a7b48ca972deccca5b79d53 - * @tc.desc indicatorBuilder value is set to image, Radio is set to 50,image is passed 100vp image - */ - it('TestCase_d087a60e6a7b48ca972deccca5b79d53', 0, async (done: Function) => { - Logger.info('TEST', `TestCase_d087a60e6a7b48ca972deccca5b79d53 start.`); - Settings.createWindow("testability/pages/UITestCase/UITestCase003"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UITestCase0030")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `TestCase_d087a60e6a7b48ca972deccca5b79d53 finish.`); - done(); - }) - - /* - * @tc.number TestCase_bf3141f96575428e895b380b081b0d89 - * @tc.name TestCase_bf3141f96575428e895b380b081b0d89 - * @tc.desc Add Checkbox to indicatorBuilder, click Checkbox to be selected - */ - it('TestCase_bf3141f96575428e895b380b081b0d89', 0, async (done: Function) => { - Logger.info('TEST', `TestCase_bf3141f96575428e895b380b081b0d89 start.`); - Settings.createWindow("testability/pages/UITestCase/UITestCase004"); - await Utils.sleep(2000); - let driver: Driver = Driver.create(); - let ButtonCom = await driver.findComponent(ON.id("UITestCase0041")); - let pointButtonCenter = await ButtonCom.getBoundsCenter(); - await driver.click(pointButtonCenter.x, pointButtonCenter.y); - await Utils.sleep(3000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `TestCase_bf3141f96575428e895b380b081b0d89 finish.`); - done(); - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign.test.ets deleted file mode 100644 index a09b5277..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign.test.ets +++ /dev/null @@ -1,839 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' - -/* - * UiComponentButtonSelectAlign - * - * 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 UiComponentButtonSelectAlign() { - - describe('UiComponentButtonSelectAlign', () => { - - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0010 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0010 - * @tc.desc : optionWidth-OptionWidthMode-FIT_CONTENT. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0010 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0010") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0010_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0010 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0020 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0020 - * @tc.desc : optionWidth-OptionWidthMode-FIT_TRIGGER. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0020 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0020") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0020_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0020 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0030 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0030 - * @tc.desc : optionWidth-Dimension-50px. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0030 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0030") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0030_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0030 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0040 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0040 - * @tc.desc : optionWidth-Dimension-0px. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0040 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0040") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0040_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0040 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0050 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0050 - * @tc.desc : optionWidth-Dimension-(-50)px. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0050 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0050") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0050_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0050 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0060 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0060 - * @tc.desc : optionWidth-Dimension-50vp. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0060', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0060 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0060") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0060_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0060 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0070 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0070 - * @tc.desc : optionWidth-Dimension-0vp. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0070', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0070 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0070") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0070_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0070 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0080 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0080 - * @tc.desc : optionWidth-Dimension-(-50)vp. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0080', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0080 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0080") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0080_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0080 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0090 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0090 - * @tc.desc : optionWidth-Dimension-50fp. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0090', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0090 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0090") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0090_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0090 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0100 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0100 - * @tc.desc : optionWidth-Dimension-0fp. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0100', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0100 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0100") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0100_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0100 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0110 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0110 - * @tc.desc : optionWidth-Dimension-(-50)fp. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0110', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0110 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0110") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0110_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0110 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0120 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0120 - * @tc.desc : optionWidth-Dimension-50lpx. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0120', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0120 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0120") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0120_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0120 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0130 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0130 - * @tc.desc : optionWidth-Dimension-0lpx. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0130', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0130 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0130") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0130_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0130 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0140 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0140 - * @tc.desc : optionWidth-Dimension-(-50)lpx. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0140', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0140 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0140") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0140_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0140 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0150 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0150 - * @tc.desc : optionWidth-Dimension-80%. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0150', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0150 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0150") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0150_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0150 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0160 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0160 - * @tc.desc : optionWidth-Dimension-0. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0160', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0160 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0160") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0160_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0160 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0170 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0170 - * @tc.desc : optionWidth-Dimension-(-50%). - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0170', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0170 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0170") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0170_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0170 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0180 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0180 - * @tc.desc : optionWidth-Dimension-Resource. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0180', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0180 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0180") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0180_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0180 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0190 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0190 - * @tc.desc : Extreme width value of the dropdown menu item is -50000vp. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0190', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0190 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0190") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0190_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0190 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0200 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0200 - * @tc.desc : optionHeight-Dimension-50px - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0200', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0200 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0200") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0200_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0200 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0210 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0210 - * @tc.desc : optionHeight-Dimension-0px - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0210', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0210 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0210") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0210_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0210 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0220 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0220 - * @tc.desc : optionHeight-Dimension-(-50)px - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0220', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0220 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0220") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0220_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0220 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0230 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0230 - * @tc.desc : optionHeight-Dimension-50vp - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0230', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0230 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0230") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0230_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0230 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0240 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0240 - * @tc.desc : optionHeight-Dimension-0vp - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0240', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0240 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0240") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0240_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0240 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0250 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0250 - * @tc.desc : optionHeight-Dimension-(-50)vp - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0250', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0250 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0250") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0250_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0250 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0260 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0260 - * @tc.desc : optionHeight-Dimension-50fp - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0260', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0260 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0260") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0260_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0260 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0270 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0270 - * @tc.desc : optionHeight-Dimension-0fp - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0270', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0270 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0270") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0270_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0270 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0280 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0280 - * @tc.desc : optionHeight-Dimension-(-50)fp - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0280', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0280 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0280") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0280_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0280 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0290 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0290 - * @tc.desc : optionHeight-Dimension-50lpx - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0290', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0290 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0290") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0290_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0290 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0300 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0300 - * @tc.desc : optionHeight-Dimension-0lpx - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0300', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0300 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0300") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0300_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0300 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0310 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0310 - * @tc.desc : optionHeight-Dimension-(-50)lpx - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0310', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0310 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0310") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0310_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0310 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0320 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0320 - * @tc.desc : optionHeight-Dimension-80% - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0320', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0320 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0320") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0320_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0320 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0330 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0330 - * @tc.desc : optionHeight-Dimension-0 - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0330', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0330 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0330") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0330_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0330 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0340 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0340 - * @tc.desc : optionHeight-Dimension-(-50%) - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0340', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0340 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0340") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0340_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0340 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0350 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0350 - * @tc.desc : optionHeight-Dimension-Resource - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0350', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0350 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0350") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0350_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0350 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0360 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0360 - * @tc.desc : Extreme height value of the dropdown menu item is -50000VP - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0360', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0360 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0360") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0360_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0360 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0370 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0370 - * @tc.desc : Set the dropdown menu text to be smaller (8vp) and the dropdown item height to be larger (50vp). - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0370', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0370 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0370") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0370_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0370 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0380 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0380 - * @tc.desc : Set dropdown menu text size larger (50vp) and item height smaller (20vp). - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0380', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0380 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0380") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0380_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0380 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0390 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0390 - * @tc.desc : Longer dropdown text, smaller dropdown width (10vp). - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0390', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0390 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0390") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0390_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0390 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0400 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0400 - * @tc.desc : Dropdown menu text is long and large (50vp), Dropdown width and height are small (20vp). - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0400', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0400 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0400") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0400_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0400 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0410 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0410 - * @tc.desc : Normal ui, set backgroundcolor is red. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0410', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0410 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0410") - await Utils.sleep(1000); - let driver: Driver = Driver.create(); - let select: Component = await driver.findComponent(ON.id('UiComponentButtonSelectAlign0410_001')); - await select.click(); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0410 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0420 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0420 - * @tc.desc : Minimum width layout for dropdown buttons. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0420', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0420 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0420") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ALIGN_0420 finish.`); - done() - }) - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement.test.ets deleted file mode 100644 index 4fbfa47e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement.test.ets +++ /dev/null @@ -1,370 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver ,ON } from '@ohos.UiTest' -import { KeyCode } from '@kit.InputKit' -import Window from '@ohos.window' - -/* - * UiComponentButtonSelectEnhancement - * - * 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 UiComponentButtonSelectEnhancement() { - - describe('UiComponentButtonSelectEnhancement', () => { - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0030 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0030 - * @tc.desc : Set select linearGradient. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0030 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0030") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0030 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0040 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0040 - * @tc.desc : select-padding - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0040 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0040") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0040 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0050 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0050 - * @tc.desc : Text length is limited and cannot display characters. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0050 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0050") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0050 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0060 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0060 - * @tc.desc : Text length is limited to 120vp. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0060', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0060 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0060") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0060 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0070 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0070 - * @tc.desc : Text length is limited to 1900vp. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0070', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0070 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0070") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0070 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0080 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0080 - * @tc.desc : Text is limited to only display one character. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0080', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0080 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0080") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0080 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0090 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0090 - * @tc.desc : Select component adapts to percentage width and height - 0. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0090', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0090 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0090") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0090 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0100 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0100 - * @tc.desc : Select component adapts to percentage width and height - 100%. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0100', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0100 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0100") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0100 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0110 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0110 - * @tc.desc : Select component adapts to percentage width and height - 60%. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0110', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0110 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0110") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0110 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0120 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0120 - * @tc.desc : Select component adapts to percentage width and height - 80%. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0120', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0120 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0120") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0120 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0130 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0130 - * @tc.desc : Select component adapts to percentage width and height - <0. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0130', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0130 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0130") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0130 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0140_1 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0140_1 - * @tc.desc : Set a gradient border for the Select without specifying width and height. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0140_1', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0140_1 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0140") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0140_1 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0150 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0150 - * @tc.desc : Set the value of the Select interface to a float type reference. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0150', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0150 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0150") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0150 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0160 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0160 - * @tc.desc : Set padding for the select component without setting width and height. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0160', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0160 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0160") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0160 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0170 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0170 - * @tc.desc : Set the backgroundimage for the Select component. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0170', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0170 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0170") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0170 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0180 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0180 - * @tc.desc : Select component adapts to percentage width and height - 90%. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0180', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0180 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0180") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0180 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0190 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0190 - * @tc.desc : Set a color gradient for the Select component. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0190', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0190 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0190") - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0190 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0220 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0220 - * @tc.desc : Trigger the select dropdown menu with the keyboard and move focus. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0220', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0220 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0220") - await Utils.sleep(1000); - let driver : Driver = Driver.create(); - await driver.triggerKey(KeyCode.KEYCODE_F1); - await Utils.sleep(1000); - // 走焦 - for (let i = 0; i < 4; i++) { - await driver.triggerKey(KeyCode.KEYCODE_TAB); - await Utils.sleep(1000); - } - // 竖屏 - await driver.triggerKey(KeyCode.KEYCODE_F2); - await Utils.sleep(2000); - windowSnap.snapShot(); - await Utils.sleep(1000); - let currentWindow = await Window.getLastWindow(getContext()); - await currentWindow.setPreferredOrientation(1); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0220 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0230_1 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0230_1 - * @tc.desc : Trigger the select dropdown menu with the keyboard. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0230_1', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0230_1 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0230") - await Utils.sleep(1000); - let driver : Driver = Driver.create(); - await driver.triggerKey(KeyCode.KEYCODE_DPAD_UP); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0230_1 finish.`); - done() - }) - - /* - * @tc.number : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0230_2 - * @tc.name : SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0230_2 - * @tc.desc : Trigger the select dropdown menu with the keyboard and toggle properties by clicking on menu items. - */ - it('SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0230_2', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0230_2 start.`); - Settings.createWindow("testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0230") - await Utils.sleep(1000); - let driver : Driver = Driver.create(); - await driver.triggerKey(KeyCode.KEYCODE_DPAD_UP); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_F1); - await Utils.sleep(1000); - await driver.triggerKey(KeyCode.KEYCODE_DPAD_UP); - await Utils.sleep(1000); - windowSnap.snapShot(); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SELECT_ENHANCEMENT_0230_2 finish.`); - done() - }) - - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentNavModifierTest/UiComponentNavModifier.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentNavModifierTest/UiComponentNavModifier.test.ets deleted file mode 100644 index 12e9b46a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentNavModifierTest/UiComponentNavModifier.test.ets +++ /dev/null @@ -1,484 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES 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 { Component, Driver, ON } from '@ohos.UiTest' - -export default function UIComponentNavModifier() { - - describe('UIComponentNavModifier', () => { - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0460 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0460 - * @tc.desc 1、添加Tabs组件 - 2、分割线设置为0xFF0000 - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0460', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0460 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier046") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0460 finish.`); - done() - }) - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0530 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0530 - * @tc.desc 1、添加Tabs组件 - 2、设置endMargin(-10) - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0530', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0530 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier053") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier053_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0530 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0560 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0560 - * @tc.desc 1、添加Tabs组件 - 2、设置endMargin(-10) - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0560', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0560 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier056") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier056_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0560 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0580 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0580 - * @tc.desc 1、添加Tabs组件 - 2、设置endMargin(-10) - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0580', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0580 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier058") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier058_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0580 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0830 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0830 - * @tc.desc 1、添加Tabs组件 - 2、barWidth设置为Resource - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0830', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0830 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier083") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier083_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0830 finish.`); - done() - }) - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0480 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0480 - * @tc.desc 1、添加Tabs组件 - 2、分割线设置为0xffc0cb - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0480', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0480 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier048") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0480 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0450 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0450 - * @tc.desc 1、添加Tabs组件 - 2、分割线设置为Color.Blue - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0450', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0450 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier045") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0450 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0410 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0410 - * @tc.desc 1、添加Tabs组件 - 2、strokeWidth设置为string类型 - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0410', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0410 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier041") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier041_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0410 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0440 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0440 - * @tc.desc 1、添加Tabs组件 - 2、strokeWidth设置为Resource类 - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0440', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0440 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier044") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier044_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0440 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0430 -* @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0430 -* @tc.desc 1、添加Tabs组件 - 2、分割线设置为Color.Blue -*/ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0430', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0430 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier043") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier043_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0430 finish.`); - done() - }) - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0600 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0600 - * @tc.desc 1、添加Tabs组件 - 2、fadingEdge设置为false - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0600', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0600 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier060") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0600 finish.`); - done() - }) - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0650 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0650 - * @tc.desc 1、添加Tabs组件 - 2、背景色设置为’#ffffff’ - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0650', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0650 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier065") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier065_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0650 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0630 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0630 - * @tc.desc 1、添加Tabs组件 - 2、背景色设置为’#ffffff’ - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0630', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0630 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier063") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier063_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0630 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0660 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0660 - * @tc.desc 1、添加Tabs组件 - 2、背景色设置为’#ffffff’ -*/ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0660', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0660 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier066") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier066_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0660 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0810 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0810 - * @tc.desc 1、添加Tabs组件 - 2、设置barWidth为'100% - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0810', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0810 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0810") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0810 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0770 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0770 - * @tc.desc 1、添加Tabs组件 - 2、设置barWidth为负值 -*/ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0770', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0770 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0770") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0770 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0860 -* @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0860 -* @tc.desc 1、添加Tabs组件 - 2、设置barHeight为250 -*/ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0860', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0860 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0860") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0860 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0840 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0840 - * @tc.desc 1、添加Tabs组件 - 2、设置barHeight为小于0的数 - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0840', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0840 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0840") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0840 finish.`); - done() - }) - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0900 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0900 - * @tc.desc 1、添加Tabs组件 - 2、设置animationDuration设置为小于0 - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0900', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0900 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0900") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('blue')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2: Component = await driver.findComponent(ON.id('green')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0900 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0920 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0920 - * @tc.desc 1、添加Tabs组件 - 2、设置animationDuration设置为百分比 -*/ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0920', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0920 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0920") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('blue')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2: Component = await driver.findComponent(ON.id('green')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0920 finish.`); - done() - }) - - /* -* @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0370 -* @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0370 -* @tc.desc 1、添加Tabs组件 - 2、barGridAlign设置为gutter -*/ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0370', 0, async (done: Function) => { - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0370 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0370") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - await driver.delayMs(1000) - let button1: Component = await driver.findComponent(ON.id('UIComponentNavModifier0370_001')); - await Utils.sleep(1000) - await button1.click() - await Utils.sleep(1000) - let button2: Component = await driver.findComponent(ON.id('UIComponentNavModifier0370_002')); - await Utils.sleep(1000) - await button2.click() - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(2000) - Logger.error('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0370 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0380 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0380 - * @tc.desc barGridAlign设置为sm - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0380', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0380 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0380") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0380 finish.`); - done() - }) - /* - * @tc.number SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0130 - * @tc.name SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0130 - * @tc.desc barGridAlign设置为lg - */ - it('SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0400', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0400 start.`); - Settings.createWindow("testability/pages/UIComponentNavModifier/UIComponentNavModifier0400") - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(3000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_MODIFIER_0400 finish.`); - done() - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface.test.ets deleted file mode 100644 index bc20143f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface.test.ets +++ /dev/null @@ -1,2121 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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' -import { KeyCode } from '@kit.InputKit' - -/* - * UiComponentPopupboxDatePickerDialogInterface - * - * 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 UiComponentPopupboxDatePickerDialogInterface() { - - describe('UiComponentPopupboxDatePickerDialogInterface', () => { - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0010 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0010 - * @tc.desc Call getUIContext()-showDatePickerDialog()-start-Date("1888-1-1"). - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0010 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0010") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0010_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0010 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0020 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0020 - * @tc.desc Call getUIContext()-showDatePickerDialog()-start-Date("-1970-1-1"). - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0020 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0020") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0020_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0020 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0030 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0030 - * @tc.desc Call getUIContext()-showDatePickerDialog()-start-Date("1970-13-1"). - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0030 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0030") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0030_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0030 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0040 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0040 - * @tc.desc Call getUIContext()-showDatePickerDialog()-start-Date("1970-1-32"). - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0040 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0040") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0040_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0040 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0050 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0050 - * @tc.desc Call getUIContext()-showDatePickerDialog()-start-Date("1970-1-1"). - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0050 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0050") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0050_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0050 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0060 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0060 - * @tc.desc Call getUIContext()-showDatePickerDialog()-start-Date("2023-5-16"). - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0060', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0060 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0060") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0060_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0060 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0070 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0070 - * @tc.desc Call getUIContext()-showDatePickerDialog()-end-Date("2111-1-1"). - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0070', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0070 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0070") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0070_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0070 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0080 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0080 - * @tc.desc Call getUIContext()-showDatePickerDialog()-end-Date("-2100-1-1"). - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0080', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0080 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0080") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0080_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0080 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0090 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0090 - * @tc.desc Call getUIContext()-showDatePickerDialog()-end-Date("2100-13-1"). - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0090', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0090 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0090") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0090_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0090 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0100 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0100 - * @tc.desc Call getUIContext()-showDatePickerDialog()-end-Date("2100-1-32"). - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0100', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0100 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0100") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0100_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0100 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0110 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0110 - * @tc.desc Call getUIContext()-showDatePickerDialog()-end-Date("2100-12-31"). - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0110', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0110 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0110") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0110_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0110 finish.`); - done() - }) - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0120 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0120 - * @tc.desc Call getUIContext()-showDatePickerDialog()-end-Date < start-Date. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0120', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0120 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0120") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0120_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0120 finish.`); - done() - }) - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0130 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0130 - * @tc.desc Call getUIContext()-showDatePickerDialog()-select-Date("2023-5-18"). - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0130', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0130 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0130") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0130_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0130 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0140 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0140 - * @tc.desc Call getUIContext()-showDatePickerDialog()-select-not in the time range. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0140', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0140 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0140") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0140_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0140 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0150 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0150 - * @tc.desc Call getUIContext()-showDatePickerDialog()-lunar-true. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0150', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0150 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0150") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0150_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0150 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0160 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0160 - * @tc.desc Call getUIContext()-showDatePickerDialog()-lunar-false. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0160', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0160 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0160") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0160_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0160 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0170 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0170 - * @tc.desc Call getUIContext()-showDatePickerDialog()-showtime-true. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0170', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0170 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0170") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0170_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0170 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0180 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0180 - * @tc.desc Call getUIContext()-showDatePickerDialog()-showtime-false. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0180', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0180 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0180") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0180_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0180 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0190 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0190 - * @tc.desc Call getUIContext()-showDatePickerDialog()-useMilitaryTime-true. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0190', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0190 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0190") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0190_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0190 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0200 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0200 - * @tc.desc Call getUIContext()-showDatePickerDialog()-useMilitaryTime-false. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0200', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0200 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0200") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0200_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0200 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0210 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0210 - * @tc.desc Call getUIContext()-showDatePickerDialog()-disappearTextStyle-PickerTextStyle-color-Color.Blue. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0210', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0210 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0210") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0210_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0210 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0220 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0220 - * @tc.desc Call getUIContext()-showDatePickerDialog()-disappearTextStyle-PickerTextStyle-color-0x0000ff. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0220', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0220 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0220") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0220_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0220 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0230 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0230 - * @tc.desc Call getUIContext()-showDatePickerDialog()-disappearTextStyle-PickerTextStyle-color-"rgb(255,0,0)". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0230', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0230 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0230") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0230_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0230 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0240 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0240 - * @tc.desc Call getUIContext()-showDatePickerDialog()-disappearTextStyle-PickerTextStyle-color-$r(app.color.blue). - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0240', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0240 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0240") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0240_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0240 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0250 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0250 - * @tc.desc Call getUIContext()-showDatePickerDialog()-disappearTextStyle-PickerTextStyle-font-size-"10px". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0250', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0250 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0250") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0250_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0250 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0260 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0260 - * @tc.desc Call getUIContext()-showDatePickerDialog()-disappearTextStyle-PickerTextStyle-font-size-10. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0260', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0260 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0260") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0260_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0260 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0270 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0270 - * @tc.desc Call getUIContext()-showDatePickerDialog()-disappearTextStyle-PickerTextStyle-font-size-Resource. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0270', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0270 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0270") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0270_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0270 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0280 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0280 - * @tc.desc Call getUIContext()-showDatePickerDialog()-disappearTextStyle-PickerTextStyle-font-weight-FontWeight-Lighter. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0280', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0280 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0280") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0280_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0280 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0290 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0290 - * @tc.desc Call getUIContext()-showDatePickerDialog()-disappearTextStyle-PickerTextStyle-font-weight-FontWeight-Normal. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0290', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0290 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0290") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0290_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0290 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0300 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0300 - * @tc.desc Call getUIContext()-showDatePickerDialog()-disappearTextStyle-PickerTextStyle-font-weight-FontWeight-Regular. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0300', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0300 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0300") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0300_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0300 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0310 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0310 - * @tc.desc Call getUIContext()-showDatePickerDialog()-disappearTextStyle-PickerTextStyle-font-weight-FontWeight-Medium. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0310', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0310 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0310") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0310_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0310 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0320 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0320 - * @tc.desc Call getUIContext()-showDatePickerDialog()-disappearTextStyle-PickerTextStyle-font-weight-FontWeight-Bold. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0320', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0320 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0320") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0320_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0320 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0330 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0330 - * @tc.desc Call getUIContext()-showDatePickerDialog()-disappearTextStyle-PickerTextStyle-font-weight-FontWeight-Bolder. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0330', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0330 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0330") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0330_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0330 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0340 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0340 - * @tc.desc Call getUIContext()-showDatePickerDialog()-disappearTextStyle-PickerTextStyle-font-weight-number-400. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0340', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0340 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0340") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0340_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0340 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0350 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0350 - * @tc.desc Call getUIContext()-showDatePickerDialog()-disappearTextStyle-PickerTextStyle-font-weight-number-500. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0350', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0350 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0350") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0350_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0350 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0360 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0360 - * @tc.desc Call getUIContext()-showDatePickerDialog()-disappearTextStyle-PickerTextStyle-font-weight-string-"500". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0360', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0360 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0360") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0360_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0360 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0370 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0370 - * @tc.desc Call getUIContext()-showDatePickerDialog()-disappearTextStyle-PickerTextStyle-font-family-string. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0370', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0370 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0370") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0370_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0370 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0380 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0380 - * @tc.desc Call getUIContext()-showDatePickerDialog()-disappearTextStyle-PickerTextStyle-font-family-Resource. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0380', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0380 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0380") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0380_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0380 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0390 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0390 - * @tc.desc Call getUIContext()-showDatePickerDialog()-disappearTextStyle-PickerTextStyle-font-style-Normal. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0390', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0390 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0390") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0390_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0390 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0400 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0400 - * @tc.desc Call getUIContext()-showDatePickerDialog()-disappearTextStyle-PickerTextStyle-font-style-Italic. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0400', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0400 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0400") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0400_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0400 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0410 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0410 - * @tc.desc Call getUIContext()-showDatePickerDialog()-textStyle-PickerTextStyle-color-Color.Blue. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0410', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0410 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0410") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0410_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0410 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0420 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0420 - * @tc.desc Call getUIContext()-showDatePickerDialog()-textStyle-PickerTextStyle-color-0x0000ff. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0420', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0420 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0420") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0420_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0420 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0430 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0430 - * @tc.desc Call getUIContext()-showDatePickerDialog()-textStyle-PickerTextStyle-color-"rgb(255,0,0)". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0430', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0430 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0430") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0430_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0430 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0440 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0440 - * @tc.desc Call getUIContext()-showDatePickerDialog()-textStyle-PickerTextStyle-color-$r(app.color blue). - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0440', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0440 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0440") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0440_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0440 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0450 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0450 - * @tc.desc Call getUIContext()-showDatePickerDialog()-textStyle-PickerTextStyle-font-size-"10px". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0450', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0450 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0450") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0450_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0450 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0460 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0460 - * @tc.desc Call getUIContext()-showDatePickerDialog()-textStyle-PickerTextStyle-font-size-10. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0460', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0460 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0460") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0460_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0460 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0470 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0470 - * @tc.desc Call getUIContext()-showDatePickerDialog()-textStyle-PickerTextStyle-font-size-Resource. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0470', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0470 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0470") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0470_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0470 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0480 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0480 - * @tc.desc Call getUIContext()-showDatePickerDialog()-textStyle-PickerTextStyle-font-weight-FontWeight-Lighter. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0480', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0480 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0480") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0480_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0480 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0490 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0490 - * @tc.desc Call getUIContext()-showDatePickerDialog()-textStyle-PickerTextStyle-font-weight-FontWeight-Normal. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0490', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0490 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0490") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0490_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0490 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0500 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0500 - * @tc.desc Call getUIContext()-showDatePickerDialog()-textStyle-PickerTextStyle-font-weight-FontWeight-Regular. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0500', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0500 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0500") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0500_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0500 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0510 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0510 - * @tc.desc Call getUIContext()-showDatePickerDialog()-textStyle-PickerTextStyle-font-weight-FontWeight-Medium. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0510', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0510 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0510") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0510_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0510 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0520 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0520 - * @tc.desc Call getUIContext()-showDatePickerDialog()-textStyle-PickerTextStyle-font-weight-FontWeight-Bold. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0520', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0520 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0520") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0520_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0520 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0530 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0530 - * @tc.desc Call getUIContext()-showDatePickerDialog()-textStyle-PickerTextStyle-font-weight-FontWeight-Bolder. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0530', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0530 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0530") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0530_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0530 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0540 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0540 - * @tc.desc Call getUIContext()-showDatePickerDialog()-textStyle-PickerTextStyle-font-weight-number-400. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0540', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0540 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0540") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0540_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0540 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0550 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0550 - * @tc.desc Call getUIContext()-showDatePickerDialog()-textStyle-PickerTextStyle-font-weight-number-500. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0550', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0550 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0550") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0550_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0550 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0560 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0560 - * @tc.desc Call getUIContext()-showDatePickerDialog()-textStyle-PickerTextStyle-font-weight-string-"500". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0560', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0560 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0560") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0560_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0560 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0570 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0570 - * @tc.desc Call getUIContext()-showDatePickerDialog()-textStyle-PickerTextStyle-font-family-string. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0570', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0570 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0570") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0570_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0570 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0580 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0580 - * @tc.desc Call getUIContext()-showDatePickerDialog()-textStyle-PickerTextStyle-font-family-Resource. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0580', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0580 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0580") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0580_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0580 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0590 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0590 - * @tc.desc Call getUIContext()-showDatePickerDialog()-textStyle-PickerTextStyle-font-style-Normal. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0590', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0590 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0590") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0590_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0590 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0600 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0600 - * @tc.desc Call getUIContext()-showDatePickerDialog()-textStyle-PickerTextStyle-font-style-Italic. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0600', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0600 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0600") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0600_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0600 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0610 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0610 - * @tc.desc Call getUIContext()-showDatePickerDialog()-selectedTextStyle-PickerTextStyle-font-size-"10px". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0610', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0610 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0610") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0610_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0610 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0620 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0620 - * @tc.desc Call getUIContext()-showDatePickerDialog()-selectedTextStyle-PickerTextStyle-font-size-10. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0620', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0620 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0620") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0620_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0620 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0630 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0630 - * @tc.desc Call getUIContext()-showDatePickerDialog()-selectedTextStyle-PickerTextStyle-font-size-Resource. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0630', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0630 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0630") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0630_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0630 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0640 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0640 - * @tc.desc Call getUIContext()-showDatePickerDialog()-selectedTextStyle-PickerTextStyle-font-weight-FontWeight-Lighter. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0640', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0640 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0640") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0640_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0640 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0650 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0650 - * @tc.desc Call getUIContext()-showDatePickerDialog()-selectedTextStyle-PickerTextStyle-font-weight-FontWeight-Normal. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0650', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0650 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0650") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0650_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0650 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0660 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0660 - * @tc.desc Call getUIContext()-showDatePickerDialog()-selectedTextStyle-PickerTextStyle-font-weight-FontWeight-Regular. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0660', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0660 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0660") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0660_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0660 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0670 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0670 - * @tc.desc Call getUIContext()-showDatePickerDialog()-selectedTextStyle-PickerTextStyle-font-weight-FontWeight-Medium. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0670', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0670 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0670") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0670_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0670 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0680 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0680 - * @tc.desc Call getUIContext()-showDatePickerDialog()-selectedTextStyle-PickerTextStyle-font-weight-FontWeight-Bold. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0680', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0680 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0680") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0680_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0680 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0690 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0690 - * @tc.desc Call getUIContext()-showDatePickerDialog()-selectedTextStyle-PickerTextStyle-font-weight-FontWeight-Bolder. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0690', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0690 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0690") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0690_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0690 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0700 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0700 - * @tc.desc Call getUIContext()-showDatePickerDialog()-selectedTextStyle-PickerTextStyle-font-weight-number-400. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0700', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0700 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0700") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0700_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0700 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0710 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0710 - * @tc.desc Call getUIContext()-showDatePickerDialog()-selectedTextStyle-PickerTextStyle-font-weight-number-500. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0710', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0710 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0710") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0710_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0710 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0720 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0720 - * @tc.desc Call getUIContext()-showDatePickerDialog()-selectedTextStyle-PickerTextStyle-font-weight-string-"500". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0720', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0720 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0720") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0720_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0720 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0730 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0730 - * @tc.desc Call getUIContext()-showDatePickerDialog()-selectedTextStyle-PickerTextStyle-font-family-string. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0730', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0730 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0730") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0730_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0730 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0740 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0740 - * @tc.desc Call getUIContext()-showDatePickerDialog()-selectedTextStyle-PickerTextStyle-font-family-Resource. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0740', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0740 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0740") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0740_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0740 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0750 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0750 - * @tc.desc Call getUIContext()-showDatePickerDialog()-selectedTextStyle-PickerTextStyle-font-style-Normal. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0750', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0750 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0750") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0750_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0750 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0760 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0760 - * @tc.desc Call getUIContext()-showDatePickerDialog()-selectedTextStyle-PickerTextStyle-font-style-Italic. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0760', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0760 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0760") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0760_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0760 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0770 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0770 - * @tc.desc Call getUIContext()-showDatePickerDialog()-onAccept. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0770', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0770 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0770") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0770_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - await driver.triggerKey(KeyCode.KEYCODE_ENTER); - await Utils.sleep(1000); - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0770 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0780 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0780 - * @tc.desc Call getUIContext()-showDatePickerDialog()-onCancel. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0780', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0780 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0780") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0780_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - await driver.triggerKey(KeyCode.KEYCODE_ENTER); - await Utils.sleep(1000); - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0780 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0790 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0790 - * @tc.desc Call getUIContext()-showDatePickerDialog()-Continuous invocation. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0790', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0790 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0790") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0790_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0790 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0830 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0830 - * @tc.desc Regular call DatePickerDialog-disappearTextStyle-PickerTextStyle-font-size-"10px". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0830', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0830 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0830") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0830_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0830 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0840 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0840 - * @tc.desc Regular call DatePickerDialog-disappearTextStyle-PickerTextStyle-font-size-10. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0840', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0840 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0840") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0840_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0840 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0850 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0850 - * @tc.desc Regular call DatePickerDialog-disappearTextStyle-PickerTextStyle-font-size-Resource. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0850', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0850 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0850") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0850_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0850 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0880 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0880 - * @tc.desc Regular call DatePickerDialog-textStyle-PickerTextStyle-font-size-"10px". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0880', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0880 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0880") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0880_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0880 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0890 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0890 - * @tc.desc Regular call DatePickerDialog-textStyle-PickerTextStyle-font-size-10. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0890', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0890 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0890") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0890_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0890 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0900 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0900 - * @tc.desc Regular call DatePickerDialog-textStyle-PickerTextStyle-font-size-Resource. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0900', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0900 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0900") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0900_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0900 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0910 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0910 - * @tc.desc Regular call DatePickerDialog-textStyle-PickerTextStyle-font-weight-FontWeight-Lighter. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0910', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0910 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0910") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0910_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0910 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0920 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0920 - * @tc.desc Regular call DatePickerDialog-textStyle-PickerTextStyle-font-weight-FontWeight-Normal. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0920', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0920 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0920") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0920_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0920 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0930 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0930 - * @tc.desc Regular call DatePickerDialog-textStyle-PickerTextStyle-font-weight-FontWeight-Regular. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0930', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0930 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0930") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0930_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0930 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0940 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0940 - * @tc.desc Regular call DatePickerDialog-textStyle-PickerTextStyle-font-weight-FontWeight-Medium. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0940', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0940 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0940") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0940_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0940 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0950 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0950 - * @tc.desc Regular call DatePickerDialog-textStyle-PickerTextStyle-font-weight-FontWeight-Bold. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0950', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0950 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0950") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0950_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0950 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0960 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0960 - * @tc.desc Regular call DatePickerDialog-textStyle-PickerTextStyle-font-weight-FontWeight-Bolder. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0960', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0960 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface0960") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface0960_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_0960 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1000 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1000 - * @tc.desc Regular call DatePickerDialog-textStyle-PickerTextStyle-font-family-string. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1000', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1000 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface1000") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface1000_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1000 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1010 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1010 - * @tc.desc Regular call DatePickerDialog-textStyle-PickerTextStyle-font-family-Resource. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1010 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface1010") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface1010_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1010 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1020 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1020 - * @tc.desc Regular call DatePickerDialog-textStyle-PickerTextStyle-font-style-Normal. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1020 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface1020") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface1020_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1020 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1030 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1030 - * @tc.desc Regular call DatePickerDialog-textStyle-PickerTextStyle-font-style-Italic. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1030 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface1030") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface1030_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1030 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1070 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1070 - * @tc.desc Regular call DatePickerDialog-selectedTextStyle-PickerTextStyle-font-size-"10px". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1070', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1070 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface1070") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface1070_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1070 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1080 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1080 - * @tc.desc Regular call DatePickerDialog-selectedTextStyle-PickerTextStyle-font-size-10. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1080', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1080 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface1080") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface1080_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1080 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1090 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1090 - * @tc.desc Regular call DatePickerDialog-selectedTextStyle-PickerTextStyle-font-size-Resource. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1090', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1090 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface1090") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface1090_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1090 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1170 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1170 - * @tc.desc Regular call DatePickerDialog-onAccept. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1170', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1170 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface1170") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface1170_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - await driver.triggerKey(KeyCode.KEYCODE_ENTER); - await Utils.sleep(1000); - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1170 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1180 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1180 - * @tc.desc Regular call DatePickerDialog-onCancel. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1180', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1180 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface1180") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface1180_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - await driver.triggerKey(KeyCode.KEYCODE_ENTER); - await Utils.sleep(1000); - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1180 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1450 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1450 - * @tc.desc Regular call DatePickerDialog-start Date(normal)-end Date(normal)-onAccept. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1450', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1450 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface1450") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface1450_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - await driver.triggerKey(KeyCode.KEYCODE_ENTER); - await Utils.sleep(1000); - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1450 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1460 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1460 - * @tc.desc Regular call DatePickerDialog-start Date(normal)-end Date(normal)-onCancel. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1460', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1460 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface1460") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface1460_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - await driver.triggerKey(KeyCode.KEYCODE_ENTER); - await Utils.sleep(1000); - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1460 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1470 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1470 - * @tc.desc Regular call DatePickerDialog-start Date(normal)-end Date(normal)-onChange. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1470', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1470 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogInterface/" + - "UiComponentPopupboxDatePickerDialogInterface1470") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogInterface1470_001')); - await datePickerButton.click(); - await Utils.sleep(1000); - await driver.fling({x: 300, y: 700}, {x: 300, y: 200}, 5, 600); - await Utils.sleep(2000); - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_INTERFACE_1470 finish.`); - done() - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios.test.ets deleted file mode 100644 index b505ee8b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios.test.ets +++ /dev/null @@ -1,187 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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' -import { KeyCode } from '@kit.InputKit' -import { uiAppearance } from '@kit.ArkUI' -import Window from '@ohos.window' - -/* - * UiComponentPopupboxDatePickerDialogScenarios - * - * 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 UiComponentPopupboxDatePickerDialogScenarios() { - - describe('UiComponentPopupboxDatePickerDialogScenarios', () => { - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0010 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0010 - * @tc.desc Two methods coexist - call TimePickerDialog after getting UIContext. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0010 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogScenarios/" + - "UiComponentPopupboxDatePickerDialogScenarios0010") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogScenarios0010_001')); - await datePickerButton.click(); - await Utils.sleep(3000); - Settings.changeOrientation(); - await Utils.sleep(1000); - windowSnap.snapShot() - await Utils.sleep(1000) - let currentWindow = await Window.getLastWindow(getContext()); - await currentWindow.setPreferredOrientation(1); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0010 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0020 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0020 - * @tc.desc Two methods coexist - getting UIContext after call TimePickerDialog. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0020', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0020 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogScenarios/" + - "UiComponentPopupboxDatePickerDialogScenarios0020") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogScenarios0020_001')); - await datePickerButton.click(); - await Utils.sleep(3000); - Settings.changeOrientation(); - await Utils.sleep(1000); - windowSnap.snapShot() - await Utils.sleep(1000) - let currentWindow = await Window.getLastWindow(getContext()); - await currentWindow.setPreferredOrientation(1); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0020 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0090 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0090 - * @tc.desc After the date picker popup (sub-window) appears, click 'Confirm' to exit the sub-window. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0090', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0090 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogScenarios/" + - "UiComponentPopupboxDatePickerDialogScenarios0090") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogScenarios0090_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - await driver.triggerKey(KeyCode.KEYCODE_ENTER); - await Utils.sleep(1000); - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0090 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0110 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0110 - * @tc.desc Popup displays correctly and functions stably when switching light/dark modes. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0110', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0110 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogScenarios/" + - "UiComponentPopupboxDatePickerDialogScenarios0110") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let dateButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogScenarios0110_001')); - await dateButton.click(); - await Utils.sleep(1000); - let pushButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogScenarios0110_002')); - await pushButton.click(); - await Utils.sleep(1000); - let pageShowButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogScenarios0110Page_001')); - await pageShowButton.click(); - await Utils.sleep(1000); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogScenarios0110Page_002')); - await datePickerButton.click(); - await Utils.sleep(1000); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK, () => {}); - await Utils.sleep(1000); - windowSnap.snapShot() - await Utils.sleep(1000) - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => {}); - await Utils.sleep(1000); - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0110 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0110_1 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0110_1 - * @tc.desc Popup displays correctly and functions stably when switching light/dark modes for many times. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0110_1', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0110_1 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxDatePickerDialogScenarios/" + - "UiComponentPopupboxDatePickerDialogScenarios0110") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let dateButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogScenarios0110_001')); - await dateButton.click(); - await Utils.sleep(1000); - let pushButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogScenarios0110_002')); - await pushButton.click(); - await Utils.sleep(1000); - let pageShowButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogScenarios0110Page_001')); - await pageShowButton.click(); - await Utils.sleep(1000); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxDatePickerDialogScenarios0110Page_002')); - await datePickerButton.click(); - await Utils.sleep(1000); - for (let i = 0; i < 2; i++) { - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK, () => {}); - await Utils.sleep(500); - await uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => {}); - await Utils.sleep(500); - } - await Utils.sleep(1000); - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_DATEPICKERDIALOG_SCENARIOS_0110_1 finish.`); - done() - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentPopupboxZero/UiComponentPopupboxZero.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentPopupboxZero/UiComponentPopupboxZero.test.ets deleted file mode 100644 index e74f0b0b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UiComponentPopupboxZero/UiComponentPopupboxZero.test.ets +++ /dev/null @@ -1,566 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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' - -/* - * UiComponentPopupboxZero - * - * 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 UiComponentPopupboxZero() { - - describe('UiComponentPopupboxZero', () => { - - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0010 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0010 - * @tc.desc Set TimePickerDialog is 12-hour with dateTimeOptions as hour: "2-digit", minute: "numeric". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0010', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0010 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0010") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let timePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxZero0010_001')); - await timePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0010 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0030 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0030 - * @tc.desc Set TimePickerDialog is 12-hour with dateTimeOptions as hour: "", minute: "". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0030', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0030 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0030") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let button = await driver.findComponent(ON.id('UiComponentPopupboxZero0030_001')); - await button.click(); - await Utils.sleep(1000) - let timePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxZero0030_002')); - await timePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0030 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0040 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0040 - * @tc.desc Set TimePickerDialog is 12-hour with dateTimeOptions as hour: undefined, minute: undefined. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0040', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0040 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0040") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let button = await driver.findComponent(ON.id('UiComponentPopupboxZero0040_001')); - await button.click(); - await Utils.sleep(1000) - let timePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxZero0040_002')); - await timePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0040 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0050 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0050 - * @tc.desc Set TimePickerDialog is 12-hour with dateTimeOptions as hour: "numeric", minute: "2-digit". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0050', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0050 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0050") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let button = await driver.findComponent(ON.id('UiComponentPopupboxZero0050_001')); - await button.click(); - await Utils.sleep(1000) - let timePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxZero0050_002')); - await timePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0050 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0060 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0060 - * @tc.desc Set TimePickerDialog is 12-hour with dateTimeOptions as hour: "hour", minute: "minute". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0060', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0060 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0060") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let button = await driver.findComponent(ON.id('UiComponentPopupboxZero0060_001')); - await button.click(); - await Utils.sleep(1000) - let timePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxZero0060_002')); - await timePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0060 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0070 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0070 - * @tc.desc Set DatePickerDialog is 12-hour with dateTimeOptions as hour: "2-digit", minute: "numeric". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0070', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0070 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0070") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxZero0070_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0070 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0090 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0090 - * @tc.desc Set DatePickerDialog is 12-hour with dateTimeOptions as hour: "", minute: "". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0090', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0090 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0090") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let button = await driver.findComponent(ON.id('UiComponentPopupboxZero0090_001')); - await button.click(); - await Utils.sleep(1000) - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxZero0090_002')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0090 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0100 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0100 - * @tc.desc Set DatePickerDialog is 12-hour with dateTimeOptions as hour: undefined, minute: undefined. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0100', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0100 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0100") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let button = await driver.findComponent(ON.id('UiComponentPopupboxZero0100_001')); - await button.click(); - await Utils.sleep(1000) - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxZero0100_002')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0100 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0110 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0110 - * @tc.desc Set DatePickerDialog is 12-hour with dateTimeOptions as hour: "numeric", minute: "2-digit". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0110', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0110 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0110") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let button = await driver.findComponent(ON.id('UiComponentPopupboxZero0110_001')); - await button.click(); - await Utils.sleep(1000) - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxZero0110_002')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0110 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0120 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0120 - * @tc.desc Set DatePickerDialog is 12-hour with dateTimeOptions as hour: "hour", minute: "minute". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0120', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0120 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0120") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let button = await driver.findComponent(ON.id('UiComponentPopupboxZero0120_001')); - await button.click(); - await Utils.sleep(1000) - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxZero0120_002')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0120 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0130 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0130 - * @tc.desc Set TimePickerDialog is 24-hour with dateTimeOptions as hour: "2-digit", minute: "numeric". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0130', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0130 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0130") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let timePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxZero0130_001')); - await timePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0130 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0150 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0150 - * @tc.desc Set TimePickerDialog is 24-hour with dateTimeOptions as hour: "", minute: "". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0150', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0150 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0150") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let button = await driver.findComponent(ON.id('UiComponentPopupboxZero0150_001')); - await button.click(); - await Utils.sleep(1000) - let timePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxZero0150_002')); - await timePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0150 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0160 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0160 - * @tc.desc Set TimePickerDialog is 24-hour with dateTimeOptions as hour: undefined, minute: undefined. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0160', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0160 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0160") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let button = await driver.findComponent(ON.id('UiComponentPopupboxZero0160_001')); - await button.click(); - await Utils.sleep(1000) - let timePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxZero0160_002')); - await timePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0160 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0170 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0170 - * @tc.desc Set TimePickerDialog is 24-hour with dateTimeOptions as hour: "numeric", minute: "2-digit". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0170', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0170 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0170") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let button = await driver.findComponent(ON.id('UiComponentPopupboxZero0170_001')); - await button.click(); - await Utils.sleep(1000) - let timePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxZero0170_002')); - await timePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0170 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0180 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0180 - * @tc.desc Set TimePickerDialog is 24-hour with dateTimeOptions as hour: "hour", minute: "minute". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0180', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0180 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0180") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let button = await driver.findComponent(ON.id('UiComponentPopupboxZero0180_001')); - await button.click(); - await Utils.sleep(1000) - let timePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxZero0180_002')); - await timePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0180 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0190 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0190 - * @tc.desc Set DatePickerDialog is 24-hour with dateTimeOptions as hour: "2-digit", minute: "numeric". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0190', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0190 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0190") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxZero0190_001')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0190 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0210 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0210 - * @tc.desc Set DatePickerDialog is 24-hour with dateTimeOptions as hour: "", minute: "" - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0210', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0210 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0210") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let button = await driver.findComponent(ON.id('UiComponentPopupboxZero0210_001')); - await button.click(); - await Utils.sleep(1000) - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxZero0210_002')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0210 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0220 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0220 - * @tc.desc Set DatePickerDialog is 24-hour with dateTimeOptions as hour: undefined, minute: undefined. - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0220', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0220 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0220") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let button = await driver.findComponent(ON.id('UiComponentPopupboxZero0220_001')); - await button.click(); - await Utils.sleep(1000) - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxZero0220_002')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0220 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0230 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0230 - * @tc.desc Set DatePickerDialog is 24-hour with dateTimeOptions as hour: "numeric", minute: "2-digit". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0230', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0230 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0230") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let button = await driver.findComponent(ON.id('UiComponentPopupboxZero0230_001')); - await button.click(); - await Utils.sleep(1000) - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxZero0230_002')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0230 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0240 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0240 - * @tc.desc Set DatePickerDialog is 24-hour with dateTimeOptions as hour: "hour", minute: "minute". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0240', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0240 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0240") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let button = await driver.findComponent(ON.id('UiComponentPopupboxZero0240_001')); - await button.click(); - await Utils.sleep(1000) - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxZero0240_002')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0240 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0250 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0250 - * @tc.desc Switch lunar calendar affect the leading zero settings of "DatePickerDialog 24-hour"? - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0250', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0250 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0250") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let button = await driver.findComponent(ON.id('UiComponentPopupboxZero0250_001')); - await button.click(); - await Utils.sleep(1000) - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxZero0250_002')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0250 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0260 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0260 - * @tc.desc Switch lunar calendar affect the leading zero settings of "DatePickerDialog 12-hour"? - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0260', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0260 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0260") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let button = await driver.findComponent(ON.id('UiComponentPopupboxZero0260_001')); - await button.click(); - await Utils.sleep(1000) - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxZero0260_002')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0260 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0280 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0280 - * @tc.desc Verify if other dateTimeOptions parameters affect the leading zero settings of "DatePickerDialog 24-hour". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0280', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0280 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0280") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let button = await driver.findComponent(ON.id('UiComponentPopupboxZero0280_001')); - await button.click(); - await Utils.sleep(1000) - let button1 = await driver.findComponent(ON.id('UiComponentPopupboxZero0280_002')); - await button1.click(); - await Utils.sleep(1000) - let datePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxZero0280_003')); - await datePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0280 finish.`); - done() - }) - - /* - * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0290 - * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0290 - * @tc.desc Verify if other dateTimeOptions parameters affect the leading zero settings of "TimePickerDialog 24-hour". - */ - it('SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0290', 0, async (done: Function) => { - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0290 start.`); - Settings.createWindow("testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0290") - await Utils.sleep(1000) - let driver: Driver = Driver.create(); - let button = await driver.findComponent(ON.id('UiComponentPopupboxZero0290_001')); - await button.click(); - await Utils.sleep(1000) - let button1 = await driver.findComponent(ON.id('UiComponentPopupboxZero0290_002')); - await button1.click(); - await Utils.sleep(1000) - let timePickerButton = await driver.findComponent(ON.id('UiComponentPopupboxZero0290_003')); - await timePickerButton.click(); - await Utils.sleep(1000) - windowSnap.snapShot() - await Utils.sleep(1000) - Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_ZERO_0290 finish.`); - done() - }) - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/LeadingMaginCreator.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/LeadingMaginCreator.ets deleted file mode 100644 index 8a727f46..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/LeadingMaginCreator.ets +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -const canvasWidth = 1000; -const canvasHeight = 100; -const Indentation = 40; - -export default class LeadingMarginCreator { - private settings: RenderingContextSettings = new RenderingContextSettings(true); - private offscreenCanvas: OffscreenCanvas = new OffscreenCanvas(canvasWidth, canvasHeight); - private offContext: OffscreenCanvasRenderingContext2D = this.offscreenCanvas.getContext("2d", this.settings); - public static instance: LeadingMarginCreator = new LeadingMarginCreator(); - - // 获得字体字号级别,分别是从0到4级 - public getFontSizeLevel(fontSize: number) { - const fontScaled: number = Number(fontSize) / 16; - - enum FontSizeScaleThreshold { - SMALL = 0.9, - NORMAL = 1.1, - LEVEL_1_LARGE = 1.2, - LEVEL_2_LARGE = 1.4, - LEVEL_3_LARGE = 1.5 - } - - let fontSizeLevel: number = 1; - - if (fontScaled < FontSizeScaleThreshold.SMALL) { - fontSizeLevel = 0; - } else if (fontScaled < FontSizeScaleThreshold.NORMAL) { - fontSizeLevel = 1; - } else if (fontScaled < FontSizeScaleThreshold.LEVEL_1_LARGE) { - fontSizeLevel = 2; - } else if (fontScaled < FontSizeScaleThreshold.LEVEL_2_LARGE) { - fontSizeLevel = 3; - } else if (fontScaled < FontSizeScaleThreshold.LEVEL_3_LARGE) { - fontSizeLevel = 4; - } else { - fontSizeLevel = 1; - } - - return fontSizeLevel; - } - - // 获得字体字号级别,分别是从0到4级 - public getmarginLevel(Width: number) { - let marginlevel: number = 1; - if (Width == 40) { - marginlevel = 2.0; - } else if (Width == 80) { - marginlevel = 1.0; - } else if (Width == 120) { - marginlevel = 2 / 3; - } else if (Width == 160) { - marginlevel = 0.5; - } else if (Width == 200) { - marginlevel = 0.4; - } - return marginlevel; - } - - public genStrMark(fontSize: number, str: string): PixelMap { - this.offContext = this.offscreenCanvas.getContext("2d", this.settings); - this.clearCanvas(); - this.offContext.font = fontSize + 'vp sans-serif'; - this.offContext.fillText(str + '.', 0, fontSize * 0.9); - return this.offContext.getPixelMap(0, 0, fontSize * (str.length + 1) / 1.75, fontSize); - } - - public genSquareMark(fontSize: number): PixelMap { - this.offContext = this.offscreenCanvas.getContext("2d", this.settings); - this.clearCanvas(); - const coordinate = fontSize * (1 - 1 / 1.5) / 2; - const sideLength = fontSize / 1.5; - this.offContext.fillRect(coordinate, coordinate, sideLength, sideLength); - return this.offContext.getPixelMap(0, 0, fontSize, fontSize); - } - - // 生成圆圈符号 - public genCircleMark(fontSize: number, width: number, level?: number): PixelMap { - const indentLevel = level ?? 1; - const offsetLevel = [22, 28, 32, 34, 38]; - const fontSizeLevel = this.getFontSizeLevel(fontSize); - const marginlevel = this.getmarginLevel(width); - const newCanvas = new OffscreenCanvas(canvasWidth, canvasHeight); - const newOffContext: OffscreenCanvasRenderingContext2D = newCanvas.getContext("2d", this.settings); - const centerCoordinate = 50; - const radius = 10; - this.clearCanvas(); - newOffContext.ellipse(100 * (indentLevel + 1) - centerCoordinate * marginlevel, offsetLevel[fontSizeLevel], - radius * marginlevel, radius, 0, 0, 2 * Math.PI); - newOffContext.fillStyle = '66FF0000'; - newOffContext.fill(); - return newOffContext.getPixelMap(0, 0, 100 + 100 * indentLevel, 100); - } - - private clearCanvas() { - this.offContext.clearRect(0, 0, canvasWidth, canvasHeight); - } -} - - - - 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 07d1bbd8..9d658dc1 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 @@ -22,7 +22,6 @@ import Window from '@ohos.window' import common from '@ohos.app.ability.common'; import { i18n } from '@kit.LocalizationKit'; import { router } from '@kit.ArkUI'; -import { systemDateTime } from '@kit.BasicServicesKit'; const TAG: string = '[TEST]'; @@ -265,21 +264,6 @@ class Settings { console.log(`Switch Locales,appPreferredLanguage2=${appPreferredLanguage2}`); } - /** - * 切换应用内部语言 - * @param locale:(zh-Hans-CN(简体中文),zh-Hant-CN(繁体中文),en-Latn-CN(英文),ug-CN(维语),bo-CN(藏语)) - */ - switchCusLocales(locale: string) { - try { - i18n.System.setAppPreferredLanguage(locale); // 设置系统当前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}`); - } - changeOrientation(object?: Object) { // 获取上下文,使用common模块 let context = getContext() @@ -331,21 +315,6 @@ class Settings { } ; } - - getSysDateTime(): Date { - try { - systemDateTime.getDate().then((date: Date) => { - console.info(`Succeeded in getting date : ${date}`); - return date; - }).catch((error: BusinessError) => { - console.info(`Failed to get date. message: ${error.message}, code: ${error.code}`); - }); - } catch (e) { - let error = e as BusinessError; - console.info(`Failed to get date. message: ${error.message}, code: ${error.code}`); - } - return new Date(); - } } export default new Settings() \ 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..caa2a769 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 @@ -130,6 +130,7 @@ class windowSnap { await this.deleteFile(webpFilePath); let driver = Driver.create(); let orientation = display.getDefaultDisplaySync().orientation; + //竖屏 let captureRes: boolean; if (orientation == window.Orientation.PORTRAIT || orientation == window.Orientation.UNSPECIFIED) { diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabScrollable/ArkUITabScrollable001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabScrollable/ArkUITabScrollable001.ets deleted file mode 100644 index ce563b90..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabScrollable/ArkUITabScrollable001.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabScrollable001 { - @State scrollable: boolean = true; - build() { - Column({ space: 5 }) { - - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Pink')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Yellow')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Blue')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Green')) - } - .vertical(false).scrollable(this.scrollable).barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .id('ArkUITabScrollable001_001') - .width('100%') - .backgroundColor(0xF1F3F5); - - Button('设置').width('50%').margin({ top: 20 }) - .onClick(() => { - this.scrollable = !this.scrollable; - }).id('ArkUITabScrollable001_002'); - - }.width('100%').height(400) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabScrollable/ArkUITabScrollable002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabScrollable/ArkUITabScrollable002.ets deleted file mode 100644 index 227af26c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabScrollable/ArkUITabScrollable002.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabScrollable0012 { - @State scrollable: boolean = true; - build() { - Column({ space: 5 }) { - - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Pink')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Yellow')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Blue')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Green')) - } - .vertical(false).scrollable(this.scrollable).barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .id('ArkUITabScrollable002_001') - .width('100%') - .backgroundColor(0xF1F3F5); - - Button('设置').width('50%').margin({ top: 20 }) - .onClick(() => { - this.scrollable = !this.scrollable; - }).id('ArkUITabScrollable002_002'); - - }.width('100%').height(400) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor001.ets deleted file mode 100644 index bb8627a2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor001.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsIconStyleSelectedColor001 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ selectedColor: Color.Black }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .iconStyle({ selectedColor: Color.Black }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor004.ets deleted file mode 100644 index 33230a59..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor004.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsIconStyleSelectedColor004 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ selectedColor: Color.Gray }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .iconStyle({ selectedColor: Color.Gray }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor008.ets deleted file mode 100644 index b7e659d3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor008.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsIconStyleSelectedColor008 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ selectedColor: Color.Red }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .iconStyle({ selectedColor: Color.Red }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor013.ets deleted file mode 100644 index 81885689..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor013.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsIconStyleSelectedColor013 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ selectedColor: 0xa52a2a }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .iconStyle({ selectedColor: 0xa52a2a }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor014.ets deleted file mode 100644 index 526dc72c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor014.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsIconStyleSelectedColor014 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ selectedColor: 0x808080 }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .iconStyle({ selectedColor: 0x808080 }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor022.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor022.ets deleted file mode 100644 index 8bdbf643..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor022.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsIconStyleSelectedColor022 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ selectedColor: "#ff000000" }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .iconStyle({ selectedColor: "#ff000000" }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor024.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor024.ets deleted file mode 100644 index d53645f8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor024.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsIconStyleSelectedColor024 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ selectedColor: "rgba(255,100,255,0.5)" }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .iconStyle({ selectedColor: "rgba(255,100,255,0.5)" }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor025.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor025.ets deleted file mode 100644 index 2e01b109..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor025.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsIconStyleSelectedColor025 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ selectedColor: $r("sys.color.titlebar_title_tertiary_color") }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .iconStyle({ selectedColor: $r("sys.color.titlebar_title_tertiary_color") }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor026.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor026.ets deleted file mode 100644 index 245d756f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor026.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsIconStyleSelectedColor026 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ selectedColor: $r("sys.color.toast_outer_border_color") }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .iconStyle({ selectedColor: $r("sys.color.toast_outer_border_color") }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor027.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor027.ets deleted file mode 100644 index 25d18afa..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor027.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsIconStyleSelectedColor027 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ selectedColor: 0xFFFFFFFFFFFFFFFF }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .iconStyle({ selectedColor: 0xFFFFFFFFFFFFFFFF }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor028.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor028.ets deleted file mode 100644 index 35ba4cc2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor028.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsIconStyleSelectedColor028 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ selectedColor: undefined }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .iconStyle({ selectedColor: undefined }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor029.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor029.ets deleted file mode 100644 index 894d8261..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor029.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsIconStyleSelectedColor029 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ selectedColor: null }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .iconStyle({ selectedColor: null }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor002.ets deleted file mode 100644 index 2a4d2db0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor002.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsIconStyleUnselectedColor002 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ unselectedColor: Color.Brown }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .iconStyle({ unselectedColor: Color.Brown }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor005.ets deleted file mode 100644 index 308ecaac..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor005.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsIconStyleUnselectedColor005 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ unselectedColor: Color.Orange }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .iconStyle({ unselectedColor: Color.Orange }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor014.ets deleted file mode 100644 index 4ecbc71e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor014.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsIconStyleUnselectedColor014 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ unselectedColor: 0x008000 }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .iconStyle({ unselectedColor: 0x008000 }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor016.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor016.ets deleted file mode 100644 index 65a40b98..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor016.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsIconStyleUnselectedColor016 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ unselectedColor: 0xffc0cb }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .iconStyle({ unselectedColor: 0xffc0cb }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor021.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor021.ets deleted file mode 100644 index 2284a438..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor021.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsIconStyleUnselectedColor021 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ unselectedColor: "#ff000000" }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .iconStyle({ unselectedColor: "#ff000000" }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor022.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor022.ets deleted file mode 100644 index f988abd0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor022.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsIconStyleUnselectedColor022 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ unselectedColor: "rgb(255,100,255)" }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .iconStyle({ unselectedColor: "rgb(255,100,255)" }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor024.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor024.ets deleted file mode 100644 index cd5e60d0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor024.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsIconStyleUnselectedColor024 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ unselectedColor: $r("sys.color.toast_outer_border_color") }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .iconStyle({ unselectedColor: $r("sys.color.toast_outer_border_color") }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor026.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor026.ets deleted file mode 100644 index 5f3c4e3e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor026.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsIconStyleUnselectedColor026 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ unselectedColor: 0xFFFFFFFFFFFFFFFF }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .iconStyle({ unselectedColor: 0xFFFFFFFFFFFFFFFF }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor027.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor027.ets deleted file mode 100644 index a334b5c5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor027.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsIconStyleUnselectedColor027 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ unselectedColor: undefined }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .iconStyle({ unselectedColor: undefined }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor028.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor028.ets deleted file mode 100644 index 9fd1583c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor028.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsIconStyleUnselectedColor028 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ unselectedColor: null }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .iconStyle({ unselectedColor: null }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor029.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor029.ets deleted file mode 100644 index c147e8ad..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor029.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsIconStyleUnselectedColor029 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ unselectedColor: Color.Black }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .iconStyle({ unselectedColor: Color.Black }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor001.ets deleted file mode 100644 index 1613875c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor001.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStyleSelectedColor001 { - @State labelSelectedColor: number = Color.Black; - build() { - Column({ space: 5 }) { - Button('selectedColor设置').width('50%') - .onClick(() => { - if(this.labelSelectedColor == Color.Black) { - this.labelSelectedColor = Color.Green; - } - else - { - this.labelSelectedColor = Color.Black; - } - }).id('ArkUITabsLabelStyleSelectedColor001_001'); - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200); - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor003.ets deleted file mode 100644 index 3ef507ac..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor003.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStyleSelectedColor003 { - @State labelSelectedColor: number = Color.Brown; - build() { - Column({ space: 5 }) { - Button('selectedColor设置').width('50%') - .onClick(() => { - if(this.labelSelectedColor == Color.Brown) { - this.labelSelectedColor = Color.Green; - } - else - { - this.labelSelectedColor = Color.Brown; - } - }).id('ArkUITabsLabelStyleSelectedColor003_001'); - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200); - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor005.ets deleted file mode 100644 index 9b749e4d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor005.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStyleSelectedColor005 { - @State labelSelectedColor: number = Color.Green; - build() { - Column({ space: 5 }) { - Button('selectedColor设置').width('50%') - .onClick(() => { - if(this.labelSelectedColor == Color.Green) { - this.labelSelectedColor = Color.Yellow; - } - else - { - this.labelSelectedColor = Color.Green; - } - }).id('ArkUITabsLabelStyleSelectedColor005_001'); - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200); - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor007.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor007.ets deleted file mode 100644 index 14e22b1c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor007.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStyleSelectedColor007 { - @State labelSelectedColor: number = Color.Pink; - build() { - Column({ space: 5 }) { - Button('selectedColor设置').width('50%') - .onClick(() => { - if(this.labelSelectedColor == Color.Pink) { - this.labelSelectedColor = Color.Yellow; - } - else - { - this.labelSelectedColor = Color.Pink; - } - }).id('ArkUITabsLabelStyleSelectedColor007_001'); - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200); - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor009.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor009.ets deleted file mode 100644 index 6739639b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor009.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStyleSelectedColor009 { - @State labelSelectedColor: number = Color.White; - build() { - Column({ space: 5 }) { - Button('selectedColor设置').width('50%') - .onClick(() => { - if(this.labelSelectedColor == Color.White) { - this.labelSelectedColor = Color.Yellow; - } - else - { - this.labelSelectedColor = Color.White; - } - }).id('ArkUITabsLabelStyleSelectedColor009_001'); - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200); - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor011.ets deleted file mode 100644 index 54e8c134..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor011.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStyleSelectedColor011 { - @State labelSelectedColor: number = Color.Transparent; - build() { - Column({ space: 5 }) { - Button('selectedColor设置').width('50%') - .onClick(() => { - if(this.labelSelectedColor == Color.Transparent) { - this.labelSelectedColor = Color.Yellow; - } - else - { - this.labelSelectedColor = Color.Transparent; - } - }).id('ArkUITabsLabelStyleSelectedColor011_001'); - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200); - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor012.ets deleted file mode 100644 index e39e813c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor012.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelstyleSelectedcolor012 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State selectedColor: ResourceColor = 0x000000; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('selectedColor') - .id('ArkUITabsLabelstyleSelectedcolor012_001') - .onClick(() => { - this.selectedColor = 0xffffff; - }) - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ selectedColor: this.selectedColor }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor013.ets deleted file mode 100644 index 929d7fee..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor013.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStyleSelectedColor013 { - @State labelSelectedColor: number = 0x00FF00; - build() { - Column({ space: 5 }) { - Button('selectedColor设置').width('50%') - .onClick(() => { - if(this.labelSelectedColor == 0x00FF00) { - this.labelSelectedColor = 0xa52a2a; - } - else - { - this.labelSelectedColor = 0x00FF00; - } - }).id('ArkUITabsLabelStyleSelectedColor013_001'); - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200); - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor015.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor015.ets deleted file mode 100644 index 5acdd9e4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor015.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelstyleSelectedcolor015 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State selectedColor: ResourceColor = 0x008000; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('selectedColor') - .id('ArkUITabsLabelstyleSelectedcolor015_001') - .onClick(() => { - this.selectedColor = Color.Black; - }) - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ selectedColor: this.selectedColor }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor017.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor017.ets deleted file mode 100644 index 3abc8916..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor017.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStyleSelectedColor017 { - @State labelSelectedColor: number = 0x00FF00; - build() { - Column({ space: 5 }) { - Button('selectedColor设置').width('50%') - .onClick(() => { - if(this.labelSelectedColor == 0x00FF00) { - this.labelSelectedColor = 0xffc0cb; - } - else - { - this.labelSelectedColor = 0x00FF00; - } - }).id('ArkUITabsLabelStyleSelectedColor017_001'); - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200); - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor019.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor019.ets deleted file mode 100644 index 48f91e08..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor019.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStyleSelectedColor019 { - @State labelSelectedColor: number = 0x00FF00; - build() { - Column({ space: 5 }) { - Button('selectedColor设置').width('50%') - .onClick(() => { - if(this.labelSelectedColor == 0x00FF00) { - this.labelSelectedColor = 0xffffff; - } - else - { - this.labelSelectedColor = 0x00FF00; - } - }).id('ArkUITabsLabelStyleSelectedColor019_001'); - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200); - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor021.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor021.ets deleted file mode 100644 index e627174e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor021.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelstyleSelectedcolor021 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State selectedColor: ResourceColor = '#ffffff'; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('selectedColor') - .id('ArkUITabsLabelstyleSelectedcolor021_001') - .onClick(() => { - this.selectedColor = Color.Black; - }) - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ selectedColor: this.selectedColor }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor023.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor023.ets deleted file mode 100644 index eb707990..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor023.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelstyleSelectedcolor023 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State selectedColor: ResourceColor = "rgb(255,100,255)"; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('selectedColor') - .id('ArkUITabsLabelstyleSelectedcolor023_001') - .onClick(() => { - this.selectedColor = Color.Black; - }) - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ selectedColor: this.selectedColor }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor024.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor024.ets deleted file mode 100644 index 39b34241..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor024.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelstyleSelectedcolor024 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State selectedColor: ResourceColor = "rgba(255,100,255,0.5)"; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('selectedColor') - .id('ArkUITabsLabelstyleSelectedcolor024_001') - .onClick(() => { - this.selectedColor = Color.Black; - }) - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ selectedColor: this.selectedColor }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor025.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor025.ets deleted file mode 100644 index 7fb514c0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor025.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelstyleSelectedcolor025 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State selectedColor: ResourceColor = '#ff0000ff'; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('selectedColor') - .id('ArkUITabsLabelstyleSelectedcolor025_001') - .onClick(() => { - this.selectedColor = Color.Black; - }) - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ selectedColor: this.selectedColor }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor026.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor026.ets deleted file mode 100644 index f73061a7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor026.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelstyleSelectedcolor026 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State selectedColor: ResourceColor = $r('sys.color.titlebar_title_tertiary_color'); - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('selectedColor') - .id('ArkUITabsLabelstyleSelectedcolor026_001') - .onClick(() => { - this.selectedColor = Color.Black; - }) - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ selectedColor: this.selectedColor }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor027.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor027.ets deleted file mode 100644 index 38310e87..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor027.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStyleSelectedColor027 { - @State labelSelectedColor: number = 0x0000FF; - build() { - Column({ space: 5 }) { - Button('selectedColor设置').width('50%') - .onClick(() => { - if(this.labelSelectedColor == 0x0000FF) { - this.labelSelectedColor = 0xFFFFFFFFFFFFFFFF; - } - else - { - this.labelSelectedColor = 0x0000FF; - } - }).id('ArkUITabsLabelStyleSelectedColor027_001'); - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200); - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor028.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor028.ets deleted file mode 100644 index 34b2ea5d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor028.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelstyleSelectedcolor028 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State selectedColor: ResourceColor | undefined = undefined; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('selectedColor') - .id('ArkUITabsLabelstyleSelectedcolor028_001') - .onClick(() => { - this.selectedColor = 0xfffffffffffffff; - }) - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ selectedColor: this.selectedColor }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor029.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor029.ets deleted file mode 100644 index 156a1898..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor029.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStyleSelectedColor029 { - @State labelSelectedColor: string = '#00FF00'; - build() { - Column({ space: 5 }) { - Button('selectedColor设置').width('50%') - .onClick(() => { - if(this.labelSelectedColor == '#00FF00') { - this.labelSelectedColor = 'null'; - } - else - { - this.labelSelectedColor = '#00FF00'; - } - }).id('ArkUITabsLabelStyleSelectedColor029_001'); - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Red, selectedColor: this.labelSelectedColor })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200); - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor001.ets deleted file mode 100644 index 65ea22a6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor001.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStyleUnselectedColor001 { - @State labelUnselectedColor: number = Color.Blue; - build() { - Column({ space: 5 }) { - Button('unselectedColor设置').width('50%') - .onClick(() => { - if(this.labelUnselectedColor == Color.Blue) { - this.labelUnselectedColor = Color.Red; - } - else - { - this.labelUnselectedColor = Color.Blue; - } - }).id('ArkUITabsLabelStyleUnselectedColor001_001'); - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Yellow })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Yellow })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Yellow })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Yellow })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200); - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor005.ets deleted file mode 100644 index 08697135..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor005.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStyleUnselectedColor005 { - @State labelUnselectedColor: number = Color.Orange; - build() { - Column({ space: 5 }) { - Button('unselectedColor设置').width('50%') - .onClick(() => { - if(this.labelUnselectedColor == Color.Orange) { - this.labelUnselectedColor = Color.Red; - } - else - { - this.labelUnselectedColor = Color.Orange; - } - }).id('ArkUITabsLabelStyleUnselectedColor005_001'); - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Yellow })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Yellow })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Yellow })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Yellow })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200); - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor008.ets deleted file mode 100644 index 190e975d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor008.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStyleUnselectedColor008 { - @State labelUnselectedColor: number = Color.White; - build() { - Column({ space: 5 }) { - Button('unselectedColor设置').width('50%') - .onClick(() => { - if(this.labelUnselectedColor == Color.White) { - this.labelUnselectedColor = Color.Red; - } - else - { - this.labelUnselectedColor = Color.White; - } - }).id('ArkUITabsLabelStyleUnselectedColor008_001'); - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Yellow })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Yellow })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Yellow })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Yellow })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200); - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor011.ets deleted file mode 100644 index 030351ca..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor011.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStyleUnselectedColor011 { - @State labelUnselectedColor: number = 0x000000; - build() { - Column({ space: 5 }) { - Button('unselectedColor设置').width('50%') - .onClick(() => { - if(this.labelUnselectedColor == 0x000000) { - this.labelUnselectedColor = 0xFF0000; - } - else - { - this.labelUnselectedColor = 0x000000; - } - }).id('ArkUITabsLabelStyleUnselectedColor011_001'); - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200); - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor012.ets deleted file mode 100644 index f7616de7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor012.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStyleUnselectedColor012 { - @State labelUnselectedColor: number = 0xa52a2a; - build() { - Column({ space: 5 }) { - Button('unselectedColor设置').width('50%') - .onClick(() => { - if(this.labelUnselectedColor == 0xa52a2a) { - this.labelUnselectedColor = 0xFF0000; - } - else - { - this.labelUnselectedColor = 0xa52a2a; - } - }).id('ArkUITabsLabelStyleUnselectedColor012_001'); - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200); - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor017.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor017.ets deleted file mode 100644 index fae35e54..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor017.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStyleUnselectedColor017 { - @State labelUnselectedColor: number = 0xFF0000; - build() { - Column({ space: 5 }) { - Button('unselectedColor设置').width('50%') - .onClick(() => { - if(this.labelUnselectedColor == 0xFF0000) { - this.labelUnselectedColor = 0x00FF00; - } - else - { - this.labelUnselectedColor = 0xFF0000; - } - }).id('ArkUITabsLabelStyleUnselectedColor017_001'); - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200); - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor021.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor021.ets deleted file mode 100644 index 846a0790..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor021.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStyleUnselectedColor021 { - @State labelUnselectedColor: string = '#ff000000'; - build() { - Column({ space: 5 }) { - Button('unselectedColor设置').width('50%') - .onClick(() => { - if(this.labelUnselectedColor == '#ff000000') { - this.labelUnselectedColor = '#FF0000'; - } - else - { - this.labelUnselectedColor = '#ff000000'; - } - }).id('ArkUITabsLabelStyleUnselectedColor021_001'); - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200); - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor022.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor022.ets deleted file mode 100644 index 356eb5b3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor022.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStyleUnselectedColor022 { - @State labelUnselectedColor: string = 'rgb(255,100,255)'; - build() { - Column({ space: 5 }) { - Button('unselectedColor设置').width('50%') - .onClick(() => { - if(this.labelUnselectedColor == 'rgb(255,100,255)') { - this.labelUnselectedColor = 'rgb(255,0,0)'; - } - else - { - this.labelUnselectedColor = 'rgb(255,100,255)'; - } - }).id('ArkUITabsLabelStyleUnselectedColor022_001'); - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200); - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor024.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor024.ets deleted file mode 100644 index 964205e6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor024.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelstyleUnselectedcolor024 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State unselectedColor: ResourceColor = "#ff0000ff"; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('unselectedColor') - .id('ArkUITabsLabelstyleUnselectedcolor024_001') - .onClick(() => { - this.unselectedColor = Color.Red; - }) - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ unselectedColor: this.unselectedColor }) - ) - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Blue) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Blue') - .labelStyle({ unselectedColor: this.unselectedColor }) - ) - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor025.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor025.ets deleted file mode 100644 index 97751185..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor025.ets +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStyleUnselectedColor025 { - @State resourceColorPink: Resource = $r('app.color.Pink'); - @State resourceColorRed: Resource = $r('app.color.colorRed'); - @State labelUnselectedColor: Resource = $r('app.color.Pink'); - build() { - Column({ space: 5 }) { - Button('unselectedColor设置').width('50%') - .onClick(() => { - if(this.labelUnselectedColor == this.resourceColorPink) { - console.info("this.labelUnselectedColor is pink") - this.labelUnselectedColor = this.resourceColorRed; - } - else - { - console.info("this.labelUnselectedColor is red") - this.labelUnselectedColor = this.resourceColorPink; - } - }).id('ArkUITabsLabelStyleUnselectedColor025_001'); - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200); - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor026.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor026.ets deleted file mode 100644 index fd5eaa7e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor026.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStyleUnselectedColor026 { - @State labelUnselectedColor: number = 0xFFFFFFFFFFFFFFFF; - build() { - Column({ space: 5 }) { - Button('unselectedColor设置').width('50%') - .onClick(() => { - if(this.labelUnselectedColor == 0xFFFFFFFFFFFFFFFF) { - this.labelUnselectedColor = 0xFF0000; - } - else - { - this.labelUnselectedColor = 0xFFFFFFFFFFFFFFFF; - } - }).id('ArkUITabsLabelStyleUnselectedColor026_001'); - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200); - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor027.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor027.ets deleted file mode 100644 index 11efb2e4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor027.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStyleUnselectedColor027 { - @State labelUnselectedColor: string = 'undefined'; - build() { - Column({ space: 5 }) { - Button('unselectedColor设置').width('50%') - .onClick(() => { - if(this.labelUnselectedColor == 'undefined') { - this.labelUnselectedColor = '#FF0000'; - } - else - { - this.labelUnselectedColor = 'undefined'; - } - }).id('ArkUITabsLabelStyleUnselectedColor027_001'); - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200); - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor028.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor028.ets deleted file mode 100644 index 26deca36..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor028.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStyleUnselectedColor028 { - @State labelUnselectedColor: string = 'null'; - build() { - Column({ space: 5 }) { - Button('unselectedColor设置').width('50%') - .onClick(() => { - if(this.labelUnselectedColor == 'null') { - this.labelUnselectedColor = '#FF0000'; - } - else - { - this.labelUnselectedColor = 'null'; - } - }).id('ArkUITabsLabelStyleUnselectedColor028_001'); - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: this.labelUnselectedColor, selectedColor: Color.Blue })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200); - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont001.ets deleted file mode 100644 index 52c7ba63..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont001.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelstyleFont001 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State fontSize: Length = '20px'; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('fontSize') - .id('ArkUITabsLabelstyleFont001_001') - .onClick(() => { - this.fontSize = '10px'; - }) - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ font: { size: this.fontSize } }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont003.ets deleted file mode 100644 index 099915a8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont003.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelstyleFont003 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State fontSize: Length = '50%'; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('fontSize') - .id('ArkUITabsLabelstyleFont003_001') - .onClick(() => { - this.fontSize = '100%'; - }) - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ font: { size: this.fontSize } }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont004.ets deleted file mode 100644 index a6905b53..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont004.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelstyleFont004 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State fontSize: Length = 10; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('fontSize') - .id('ArkUITabsLabelstyleFont004_001') - .onClick(() => { - this.fontSize = 30; - }) - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ font: { size: this.fontSize } }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont005.ets deleted file mode 100644 index 83d3010d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont005.ets +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStylefont005 { - @State message: string = 'Hello World'; - @State labelFontSize: number = 20; - private controller: TabsController = new TabsController() - @State subTabOverflowOpaque: boolean = true; - - build() { - Column() { - Button('fontsize设置').width('50%') - .onClick(() => { - if (this.labelFontSize == 20) { - this.labelFontSize = 0; - } - else { - this.labelFontSize = 20; - } - }).id('ArkUITabsLabelStylefont005_001'); - - Tabs({ barPosition: BarPosition.Start, controller: this.controller }) { - TabContent() { - Column() { - Text('tabcontent1').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab1') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { size: this.labelFontSize } - })); - - TabContent() { - Column() { - Text('tabcontent2').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab2') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { size: this.labelFontSize } - })); - - TabContent() { - Column() { - Text('tabcontent3').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab3') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { size: this.labelFontSize } - })); - - TabContent() { - Column() { - Text('tabcontent4').fontSize(30).fontColor(0xFF000000) - } - .width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(SubTabBarStyle.of('tab4') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { size: this.labelFontSize } - })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .barHeight(200) - .barWidth(720) - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .height('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/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont006.ets deleted file mode 100644 index 9db3b0af..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont006.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelstyleFont006 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({font: {size: -1}}) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont007.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont007.ets deleted file mode 100644 index a8b2010d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont007.ets +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStylefont007 { - @State message: string = 'Hello World'; - @State labelFontWeight: number = FontWeight.Lighter; - private controller: TabsController = new TabsController() - @State subTabOverflowOpaque: boolean = true; - - build() { - Column() { - - Tabs({ barPosition: BarPosition.Start, controller: this.controller }) { - TabContent() { - Column() { - Text('tabcontent1').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab1') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - - TabContent() { - Column() { - Text('tabcontent2').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab2') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - - TabContent() { - Column() { - Text('tabcontent3').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab3') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - - TabContent() { - Column() { - Text('tabcontent4').fontSize(30).fontColor(0xFF000000) - } - .width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(SubTabBarStyle.of('tab4') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .barHeight(200) - .barWidth(720) - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .height('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/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont008.ets deleted file mode 100644 index 3ac31dc7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont008.ets +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStylefont008 { - @State message: string = 'Hello World'; - @State labelFontWeight: number = FontWeight.Normal; - private controller: TabsController = new TabsController() - @State subTabOverflowOpaque: boolean = true; - - build() { - Column() { - - Tabs({ barPosition: BarPosition.Start, controller: this.controller }) { - TabContent() { - Column() { - Text('tabcontent1').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab1') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - - TabContent() { - Column() { - Text('tabcontent2').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab2') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - - TabContent() { - Column() { - Text('tabcontent3').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab3') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - - TabContent() { - Column() { - Text('tabcontent4').fontSize(30).fontColor(0xFF000000) - } - .width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(SubTabBarStyle.of('tab4') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .barHeight(200) - .barWidth(720) - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .height('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/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont009.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont009.ets deleted file mode 100644 index 1a2ac75f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont009.ets +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStylefont009 { - @State message: string = 'Hello World'; - @State labelFontWeight: number = FontWeight.Regular; - private controller: TabsController = new TabsController() - @State subTabOverflowOpaque: boolean = true; - - build() { - Column() { - - Tabs({ barPosition: BarPosition.Start, controller: this.controller }) { - TabContent() { - Column() { - Text('tabcontent1').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab1') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - - TabContent() { - Column() { - Text('tabcontent2').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab2') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - - TabContent() { - Column() { - Text('tabcontent3').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab3') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - - TabContent() { - Column() { - Text('tabcontent4').fontSize(30).fontColor(0xFF000000) - } - .width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(SubTabBarStyle.of('tab4') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .barHeight(200) - .barWidth(720) - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .height('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/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont010.ets deleted file mode 100644 index aab1b4a3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont010.ets +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStylefont010 { - @State message: string = 'Hello World'; - @State labelFontWeight: number = FontWeight.Medium; - private controller: TabsController = new TabsController() - @State subTabOverflowOpaque: boolean = true; - - build() { - Column() { - - Tabs({ barPosition: BarPosition.Start, controller: this.controller }) { - TabContent() { - Column() { - Text('tabcontent1').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab1') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - - TabContent() { - Column() { - Text('tabcontent2').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab2') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - - TabContent() { - Column() { - Text('tabcontent3').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab3') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - - TabContent() { - Column() { - Text('tabcontent4').fontSize(30).fontColor(0xFF000000) - } - .width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(SubTabBarStyle.of('tab4') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .barHeight(200) - .barWidth(720) - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .height('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/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont011.ets deleted file mode 100644 index 60e17336..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont011.ets +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStylefont011 { - @State message: string = 'Hello World'; - @State labelFontWeight: number = FontWeight.Bold; - private controller: TabsController = new TabsController() - @State subTabOverflowOpaque: boolean = true; - - build() { - Column() { - - Tabs({ barPosition: BarPosition.Start, controller: this.controller }) { - TabContent() { - Column() { - Text('tabcontent1').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab1') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - - TabContent() { - Column() { - Text('tabcontent2').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab2') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - - TabContent() { - Column() { - Text('tabcontent3').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab3') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - - TabContent() { - Column() { - Text('tabcontent4').fontSize(30).fontColor(0xFF000000) - } - .width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(SubTabBarStyle.of('tab4') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .barHeight(200) - .barWidth(720) - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .height('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/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont012.ets deleted file mode 100644 index 0cc227db..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont012.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelstyleFont012 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State fontWeight: FontWeight | number | string = FontWeight.Bolder; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('fontSize') - .id('ArkUITabsLabelstyleFont012_001') - .onClick(() => { - this.fontWeight = FontWeight.Lighter; - }) - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ font: { weight: this.fontWeight } }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont013.ets deleted file mode 100644 index 895e7769..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont013.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelstyleFont013 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State fontWeight: FontWeight | number | string = 200; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('fontSize') - .id('ArkUITabsLabelstyleFont013_001') - .onClick(() => { - this.fontWeight = 800; - }) - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ font: { weight: this.fontWeight } }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont015.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont015.ets deleted file mode 100644 index e06a6ea5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont015.ets +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStylefont015 { - @State message: string = 'Hello World'; - @State labelFontWeight: number = 900; - private controller: TabsController = new TabsController() - @State subTabOverflowOpaque: boolean = true; - - build() { - Column() { - Button('fontsize设置').width('50%') - .onClick(() => { - if (this.labelFontWeight == 900) { - this.labelFontWeight = 0; - } - else { - this.labelFontWeight = 900; - } - }).id('ArkUITabsLabelStylefont015_001'); - - Tabs({ barPosition: BarPosition.Start, controller: this.controller }) { - TabContent() { - Column() { - Text('tabcontent1').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab1') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - - TabContent() { - Column() { - Text('tabcontent2').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab2') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - - TabContent() { - Column() { - Text('tabcontent3').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab3') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - - TabContent() { - Column() { - Text('tabcontent4').fontSize(30).fontColor(0xFF000000) - } - .width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(SubTabBarStyle.of('tab4') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .barHeight(200) - .barWidth(720) - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .height('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/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont016.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont016.ets deleted file mode 100644 index 4a734567..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont016.ets +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStylefont016 { - @State message: string = 'Hello World'; - @State labelFontWeight: number = 900; - private controller: TabsController = new TabsController() - @State subTabOverflowOpaque: boolean = true; - - build() { - Column() { - Button('fontsize设置').width('50%') - .onClick(() => { - if (this.labelFontWeight == 900) { - this.labelFontWeight = -1; - } - else { - this.labelFontWeight = 900; - } - }).id('ArkUITabsLabelStylefont016_001'); - - Tabs({ barPosition: BarPosition.Start, controller: this.controller }) { - TabContent() { - Column() { - Text('tabcontent1').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab1') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - - TabContent() { - Column() { - Text('tabcontent2').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab2') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - - TabContent() { - Column() { - Text('tabcontent3').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab3') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - - TabContent() { - Column() { - Text('tabcontent4').fontSize(30).fontColor(0xFF000000) - } - .width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(SubTabBarStyle.of('tab4') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .barHeight(200) - .barWidth(720) - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .height('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/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont017.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont017.ets deleted file mode 100644 index e6824cd1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont017.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelstyleFont017 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State fontStyle: FontStyle = FontStyle.Normal; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('fontSize') - .id('ArkUITabsLabelstyleFont017_001') - .onClick(() => { - this.fontStyle = FontStyle.Italic; - }) - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ font: { style: this.fontStyle } }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont018.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont018.ets deleted file mode 100644 index 2b602d44..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont018.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelstyleFont018 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State fontStyle: FontStyle = FontStyle.Italic; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('fontSize') - .id('ArkUITabsLabelstyleFont018_001') - .onClick(() => { - this.fontStyle = FontStyle.Normal; - }) - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ font: { style: this.fontStyle } }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont019.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont019.ets deleted file mode 100644 index 2b8069b3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont019.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelstyleFont019 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({font: undefined}) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont020.ets deleted file mode 100644 index 1d8da7d2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont020.ets +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsLabelStylefont020 { - @State message: string = 'Hello World'; - @State labelFontWeight: number = 1000; - private controller: TabsController = new TabsController() - @State subTabOverflowOpaque: boolean = true; - - build() { - Column() { - Button('字体改变').width('50%') - .onClick(() => { - if (this.labelFontWeight == 1000) { - this.labelFontWeight = 900; - } - else { - this.labelFontWeight = 1000; - } - }).id('ArkUITabsLabelStylefont020_001'); - Tabs({ barPosition: BarPosition.Start, controller: this.controller }) { - TabContent() { - Column() { - Text('tabcontent1').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab1') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - - TabContent() { - Column() { - Text('tabcontent2').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab2') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - - TabContent() { - Column() { - Text('tabcontent3').fontSize(30).fontColor(0xFF000000) - }.width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('tab3') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - - TabContent() { - Column() { - Text('tabcontent4').fontSize(30).fontColor(0xFF000000) - } - .width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(SubTabBarStyle.of('tab4') - .labelStyle({ - overflow: TextOverflow.Ellipsis, - maxLines: 1, - minFontSize: 10, - heightAdaptivePolicy: TextHeightAdaptivePolicy.MAX_LINES_FIRST, - font: { weight: this.labelFontWeight } - })); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .barHeight(200) - .barWidth(720) - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .height('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/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor002.ets deleted file mode 100644 index 355101f5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor002.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsSingleSelectedcolor002 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ selectedColor: Color.White }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor005.ets deleted file mode 100644 index f3a4758f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor005.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsSingleSelectedcolor005 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ selectedColor: Color.Green }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor008.ets deleted file mode 100644 index 79c717ec..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor008.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsSingleSelectedcolor008 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ selectedColor: 0xffffff }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor011.ets deleted file mode 100644 index 45353e1e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor011.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsSingleSelectedcolor011 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ selectedColor: "rgb(255,100,255)" }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsSingleUnselectedcolor/ArkUITabsSingleUnselectedcolor003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsSingleUnselectedcolor/ArkUITabsSingleUnselectedcolor003.ets deleted file mode 100644 index a0dcbb66..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsSingleUnselectedcolor/ArkUITabsSingleUnselectedcolor003.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsSingleUnselectedcolor003 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .iconStyle({ selectedColor: Color.Transparent }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsVertical/ArkUITabsVertical001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsVertical/ArkUITabsVertical001.ets deleted file mode 100644 index 094e80c7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUITabsVertical/ArkUITabsVertical001.ets +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct ArkUITabsVertical001 { - @State vertical: boolean = false; - build() { - Column({ space: 5 }) { - - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Pink')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Yellow')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Blue')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Green')) - } - .vertical(this.vertical).scrollable(true).barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - - Button('设置').width('50%').margin({ top: 20 }) - .onClick(() => { - this.vertical = !this.vertical; - }).id('ArkUITabsVertical001_001') - - }.width('100%').height(400) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0010.ets deleted file mode 100644 index 53edced0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0010.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentButtonSelectMenuItemContentModifier0010 { - @State option:Array = [{value: 'aaa'}, {value: 'bbb'}] - build() { - Row() { - Column() { - Button('补充demo') - .onClick(() => { - this.option = this.getOptions() - }) - .id("ComponentButtonSelectMenuItemContentModifier0010_001") - Select(this.option) - .selected(1) - .menuItemContentModifier(new MyMenuItemContentModifier0010()) - .id("ComponentButtonSelectMenuItemContentModifier0010_002") - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} - -class MyMenuItemContentModifier0010 implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(MyMenuItemBuilder0010); - } -} - -@Builder -function MyMenuItemBuilder0010(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - .id(`ComponentButtonSelectMenuItemContentModifier0010_${configuration.value}`) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()); - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0011.ets deleted file mode 100644 index 0366f643..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0011.ets +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentButtonSelectMenuItemContentModifier0011 { - @State option:Array = [{value: 'aaa'}, {value: 'bbb'}] - build() { - Row() { - Column() { - Button('开发demo') - .onClick(() => { - this.option = this.getOptions() - }) - .id("ComponentButtonSelectMenuItemContentModifier0011_001") - Select(this.option) - .selected(1) - .menuItemContentModifier(new MyMenuItemContentModifier011()) - .id("ComponentButtonSelectMenuItemContentModifier0011_002") - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - options.push({ value: `item${i}`, icon : $r("app.media.cat")}); - } - return options; - } -} - -class MyMenuItemContentModifier011 implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(MyMenuItemBuilder011); - } -} - -@Builder -function MyMenuItemBuilder011(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - .id(`ComponentButtonSelectMenuItemContentModifier0011_${configuration.value}`) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()); - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0012.ets deleted file mode 100644 index 5adea556..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0012.ets +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentButtonSelectMenuItemContentModifier0012 { - @State indexNum: number | undefined | null = -1 - @State option: Array = [{value: 'aaa'}, {value: 'bbb'}] - build() { - Row() { - Column() { - Button('开发demo') - .onClick(() => { - this.option = this.getOptions() - }) - .id("ComponentButtonSelectMenuItemContentModifier0012_001") - Select([{ - value: '1', - }, { - value: 'undefined', - }, { - value: 'null', - }]) - .value('切换index') - .id('ComponentButtonSelectMenuItemContentModifier0012_002') - .menuItemContentModifier(new MyMenuItemContentModifier012()) - .selected(0) - .onSelect((index:number, text?: string | undefined)=>{ - if(text){ - this.indexNum = text === 'undefined' ? undefined : (text === 'null' ? null : 1) - } - }) - Select(this.option) - .selected(this.indexNum) - .menuItemContentModifier(new MyMenuItemContentModifier012()) - .id("ComponentButtonSelectMenuItemContentModifier0012_003") - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} - -class MyMenuItemContentModifier012 implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(MyMenuItemBuilder012); - } -} - -@Builder -function MyMenuItemBuilder012(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - .id(`ComponentButtonSelectMenuItemContentModifier0012_${configuration.value}`) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()) - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0013.ets deleted file mode 100644 index 7d51716b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0013.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentButtonSelectMenuItemContentModifier0013 { - @State option:Array = [{value: 'aaa'}, {value: 'bbb'}] - build() { - Row() { - Column() { - Button('开发demo') - .onClick(() => { - this.option = this.getOptions() - }) - .id("ComponentButtonSelectMenuItemContentModifier0013_001") - Select(this.option) - .selected(1) - .menuItemContentModifier(new MyMenuItemContentModifier013()) - .id("ComponentButtonSelectMenuItemContentModifier0013_002") - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} - -class MyMenuItemContentModifier013 implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(MyMenuItemBuilder013); - } -} - -@Builder -function MyMenuItemBuilder013(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - .id(`ComponentButtonSelectMenuItemContentModifier0013_${configuration.value}`) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()); - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0014.ets deleted file mode 100644 index 93666e1e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0014.ets +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentButtonSelectMenuItemContentModifier0014 { - @State option: Array = [{value: 'aaa'}, {value: 'bbb'}] - @State contentModifier: ContentModifier | null = new MyMenuItemContentModifier014(); - build() { - Row() { - Column() { - Button('补充demo') - .onClick(() => { - this.option = this.getOptions() - }) - .id("ComponentButtonSelectMenuItemContentModifier0014_001") - Select([{ - value: 'null', - }, { - value: 'normal', - }]) - .value('normal切换null') - .id('ComponentButtonSelectMenuItemContentModifier0014_002') - .menuItemContentModifier(new MyMenuItemContentModifier014()) - .selected(0) - .onSelect((index:number, text?: string | undefined)=>{ - if(text){ - this.contentModifier = text === 'null' ? null : new MyMenuItemContentModifier014() - } - }) - Select(this.option) - .selected(1) - .menuItemContentModifier(this.contentModifier) - .id("ComponentButtonSelectMenuItemContentModifier0014_003") - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} - -class MyMenuItemContentModifier014 implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(MyMenuItemBuilder014); - } -} - -@Builder -function MyMenuItemBuilder014(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .fontColor(configuration.selected ? Color.Red : Color.Black) - .id(`ComponentButtonSelectMenuItemContentModifier0014_${configuration.value}`) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()) - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0015.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0015.ets deleted file mode 100644 index 51f42ab5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0015.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentButtonSelectMenuItemContentModifier0015 { - @State option:Array = [{value: 'aaa'}, {value: 'bbb'}] - build() { - Row() { - Column() { - Button('补充demo') - .onClick(() => { - this.option = this.getOptions() - }) - .id("ComponentButtonSelectMenuItemContentModifier0015_001") - Select(this.option) - .selected(1) - .menuItemContentModifier(new MyMenuItemContentModifier015()) - .id("ComponentButtonSelectMenuItemContentModifier0015_002") - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} - -class MyMenuItemContentModifier015 implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(MyMenuItemBuilder015); - } -} - -@Builder -function MyMenuItemBuilder015(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - .id(`ComponentButtonSelectMenuItemContentModifier0015_${configuration.value}`) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()); - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0016.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0016.ets deleted file mode 100644 index d7b5b572..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0016.ets +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentButtonSelectMenuItemContentModifier0016 { - @State option:Array = [{value: 'aaa'}, {value: 'bbb'}] - build() { - Row() { - Column() { - Button('补充demo') - .onClick(() => { - this.option = this.getOptions() - }) - .id("ComponentButtonSelectMenuItemContentModifier0016_001") - Select(this.option) - .selected(1) - .selectedOptionFontColor(Color.Red) - .selectedOptionBgColor(Color.Yellow) - .menuItemContentModifier(new MyMenuItemContentModifier016()) - .id("ComponentButtonSelectMenuItemContentModifier0016_002") - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} - -class MyMenuItemContentModifier016 implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(MyMenuItemBuilder016); - } -} - -@Builder -function MyMenuItemBuilder016(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - .id(`ComponentButtonSelectMenuItemContentModifier0016_${configuration.value}`) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()); - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0017.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0017.ets deleted file mode 100644 index cd277e17..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0017.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentButtonSelectMenuItemContentModifier0017 { - @State widthNum: Dimension | OptionWidthMode = '100vp' - build() { - Row() { - Column() { - Button('最小宽度10vp') - .onClick(() => { - this.widthNum = '10vp' - }) - .id("ComponentButtonSelectMenuItemContentModifier0017_001") - Select(this.getOptions()) - .optionWidth(this.widthNum) - .selected(1) - .menuItemContentModifier(new MyMenuItemContentModifier017()) - .id("ComponentButtonSelectMenuItemContentModifier0017_002") - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} - -class MyMenuItemContentModifier017 implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(MyMenuItemBuilder017); - } -} - -@Builder -function MyMenuItemBuilder017(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - .id(`ComponentButtonSelectMenuItemContentModifier0017_${configuration.value}`) - } - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()); - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0018.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0018.ets deleted file mode 100644 index daa5ec4d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0018.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentButtonSelectMenuItemContentModifier0018 { - @State option:Array = [{value: 'aaa'}, {value: 'bbb'}] - build() { - Row() { - Column() { - Button('补充demo') - .onClick(() => { - this.option = this.getOptions() - }) - .id("ComponentButtonSelectMenuItemContentModifier0018_001") - Select(this.option) - .selected(1) - .menuItemContentModifier(new MyMenuItemContentModifier018()) - .id("ComponentButtonSelectMenuItemContentModifier0018_002") - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} - -class MyMenuItemContentModifier018 implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(MyMenuItemBuilder018); - } -} - -@Builder -function MyMenuItemBuilder018(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - .id(`ComponentButtonSelectMenuItemContentModifier0018_${configuration.value}`) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()); - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0020.ets deleted file mode 100644 index e4429cee..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0020.ets +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentButtonSelectMenuItemContentModifier0020 { - @State option: Array = [{value: 'aaa'}, {value: 'bbb'}] - @State contentModifier: ContentModifier | undefined = new MyMenuItemContentModifier020(); - build() { - Row() { - Column() { - Button('补充demo') - .onClick(() => { - this.option = this.getOptions() - }) - .id("ComponentButtonSelectMenuItemContentModifier0020_001") - Select([{ - value: 'undefined', - }, { - value: 'normal', - }]) - .value('normal切换undefined') - .id('ComponentButtonSelectMenuItemContentModifier0020_002') - .menuItemContentModifier(new MyMenuItemContentModifier020()) - .selected(0) - .onSelect((index:number, text?: string | undefined)=>{ - if (text) { - this.contentModifier = text === 'undefined' ? undefined : new MyMenuItemContentModifier020() - } - }) - Select(this.option) - .selected(1) - .menuItemContentModifier(this.contentModifier) - .id("ComponentButtonSelectMenuItemContentModifier0020_003") - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} - -class MyMenuItemContentModifier020 implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(MyMenuItemBuilder020); - } -} - -@Builder -function MyMenuItemBuilder020(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .fontColor(configuration.selected ? Color.Red : Color.Black) - .id(`ComponentButtonSelectMenuItemContentModifier0020_${configuration.value}`) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()) - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0022.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0022.ets deleted file mode 100644 index 9eeaaa02..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0022.ets +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentButtonSelectMenuItemContentModifier0022 { - @State indexNum: number | undefined | null = -1 - @State option: Array = [{value: 'aaa'}, {value: 'bbb'}] - build() { - Row() { - Column() { - Button('开发demo') - .onClick(() => { - this.option = this.getOptions() - }) - .id("ComponentButtonSelectMenuItemContentModifier0022_001") - Select([{ - value: '1', - }, { - value: 'undefined', - }, { - value: 'null', - }]) - .value('切换index') - .id('ComponentButtonSelectMenuItemContentModifier0022_002') - .menuItemContentModifier(new MyMenuItemContentModifier022()) - .selected(0) - .onSelect((index:number, text?: string | undefined)=>{ - if(text){ - this.indexNum = text === 'undefined' ? undefined : (text === 'null' ? null : 1) - } - }) - Select(this.option) - .selected(this.indexNum) - .menuItemContentModifier(new MyMenuItemContentModifier022()) - .id("ComponentButtonSelectMenuItemContentModifier0022_003") - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} - -class MyMenuItemContentModifier022 implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(MyMenuItemBuilder022); - } -} - -@Builder -function MyMenuItemBuilder022(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - .id(`ComponentButtonSelectMenuItemContentModifier0022_${configuration.value}`) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()) - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0023.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0023.ets deleted file mode 100644 index 997f754a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0023.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentButtonSelectMenuItemContentModifier0023 { - @State option:Array = [{value: 'aaa'}, {value: 'bbb'}] - build() { - Row() { - Column() { - Button('补充demo') - .onClick(() => { - this.option = this.getOptions() - }) - .id("ComponentButtonSelectMenuItemContentModifier0023_001") - Select(this.option) - .selected(1) - .menuItemContentModifier(new MyMenuItemContentModifier023()) - .id("ComponentButtonSelectMenuItemContentModifier0023_002") - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} - -class MyMenuItemContentModifier023 implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(MyMenuItemBuilder023); - } -} - -@Builder -function MyMenuItemBuilder023(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - .id(`ComponentButtonSelectMenuItemContentModifier0023_${configuration.value}`) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()); - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0024.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0024.ets deleted file mode 100644 index 59095a31..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0024.ets +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentButtonSelectMenuItemContentModifier0024 { - @State option: Array = [{value: 'aaa'}, {value: 'bbb'}] - @State contentModifier: ContentModifier = new MyMenuItemContentModifier024(); - @State contentModifierNull: ContentModifier = new MyMenuItemContentModifierNull(); - build() { - Row() { - Column() { - Button('补充demo') - .onClick(() => { - this.option = this.getOptions() - }) - .id("ComponentButtonSelectMenuItemContentModifier0024_001") - Select([{ - value: 'builder_Null', - }, { - value: 'normal', - }]) - .value('normal切换builder_Null') - .id('ComponentButtonSelectMenuItemContentModifier0024_002') - .menuItemContentModifier(new MyMenuItemContentModifier024()) - .selected(0) - .onSelect((index:number, text?: string | undefined)=>{ - if(text){ - this.contentModifier = text === 'builder_Null' ? this.contentModifierNull : this.contentModifier - } - }) - Select(this.option) - .selected(1) - .menuItemContentModifier(this.contentModifier) - .id("ComponentButtonSelectMenuItemContentModifier0024_003") - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} - -class MyMenuItemContentModifier024 implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(MyMenuItemBuilder024); - } -} - -@Builder -function MyMenuItemBuilder024(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - .id(`ComponentButtonSelectMenuItemContentModifier0024_${configuration.value}`) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()) - }) -} - -class MyMenuItemContentModifierNull implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(MyMenuItemBuilderNull); - } -} - -@Builder -function MyMenuItemBuilderNull(configuration: MenuItemConfiguration) { - -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0025.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0025.ets deleted file mode 100644 index 34dca30d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0025.ets +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentButtonSelectMenuItemContentModifier0025 { - @State option:Array = [{value: 'aaa'}, {value: 'bbb'}] - build() { - Row() { - Column() { - Button('补充demo') - .onClick(() => { - this.option = this.getOptions() - }) - .id("ComponentButtonSelectMenuItemContentModifier0025_001") - Select(this.option) - .selected(1) - .menuItemContentModifier(new MyMenuItemContentModifier025()) - .id("ComponentButtonSelectMenuItemContentModifier0025_002") - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - options.push({ value: `item${i}`, icon: $r("app.media.bird_people") }); - } - return options; - } -} - -class MyMenuItemContentModifier025 implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(MyMenuItemBuilder025); - } -} - -@Builder -function MyMenuItemBuilder025(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - .id(`ComponentButtonSelectMenuItemContentModifier0025_${configuration.value}`) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()); - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0026.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0026.ets deleted file mode 100644 index dd63c7c1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0026.ets +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentButtonSelectMenuItemContentModifier0026 { - @State option:Array = [{value: 'aaa'}, {value: 'bbb'}] - build() { - Row() { - Column() { - Button('补充demo') - .onClick(() => { - this.option = this.getOptions() - }) - .id("ComponentButtonSelectMenuItemContentModifier0026_001") - Select(this.option) - .selected(1) - .menuItemContentModifier(new MyMenuItemContentModifier026()) - .id("ComponentButtonSelectMenuItemContentModifier0026_002") - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - options.push({ value: `item${i}`, icon : $r("app.media.fly")}); - } - return options; - } -} - -class MyMenuItemContentModifier026 implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(MyMenuItemBuilder026); - } -} - -@Builder -function MyMenuItemBuilder026(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - .id(`ComponentButtonSelectMenuItemContentModifier0026_${configuration.value}`) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()); - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0027.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0027.ets deleted file mode 100644 index a88281b3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0027.ets +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI' - -@Entry -@Component -struct ComponentButtonSelectMenuItemContentModifier0027 { - @State symbolModifier: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_wifi')) - @State option:Array = [{value: 'aaa'}, {value: 'bbb'}] - build() { - Row() { - Column() { - Button('补充demo') - .onClick(() => { - this.option = this.getOptions() - }) - .id("ComponentButtonSelectMenuItemContentModifier0027_001") - Select(this.option) - .selected(1) - .menuItemContentModifier(new MyMenuItemContentModifier027()) - .id("ComponentButtonSelectMenuItemContentModifier0027_002") - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value , icon: $r("app.media.fly"), symbolIcon: this.symbolModifier }); - } - return options; - } -} - -class MyMenuItemContentModifier027 implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(MyMenuItemBuilder027); - } -} - -@Builder -function MyMenuItemBuilder027(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - SymbolGlyph().attributeModifier(configuration.symbolIcon).fontSize(40) - Text(configuration.value) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - .id(`ComponentButtonSelectMenuItemContentModifier0027_${configuration.value}`) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()); - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0028.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0028.ets deleted file mode 100644 index 317c4ee6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0028.ets +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentButtonSelectMenuItemContentModifier0028 { - @State option: Array = [{value: 'aaa'}, {value: 'bbb'}] - @State contentModifier: ContentModifier | undefined = new MyMenuItemContentModifier028(); - build() { - Row() { - Column() { - Button('补充demo') - .onClick(() => { - this.option = this.getOptions() - }) - .id("ComponentButtonSelectMenuItemContentModifier0028_001") - Select([{ - value: 'undefined', - }, { - value: 'normal', - }]) - .value('normal切换undefined') - .id('ComponentButtonSelectMenuItemContentModifier0028_002') - .menuItemContentModifier(new MyMenuItemContentModifier028()) - .selected(0) - .onSelect((index:number, text?: string | undefined)=>{ - if(text){ - this.contentModifier = text === 'undefined' ? undefined : new MyMenuItemContentModifier028() - } - }) - Select(this.option) - .selected(1) - .menuItemContentModifier(this.contentModifier) - .id("ComponentButtonSelectMenuItemContentModifier0028_003") - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} - -class MyMenuItemContentModifier028 implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(MyMenuItemBuilder028); - } -} - -@Builder -function MyMenuItemBuilder028(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - .id(`ComponentButtonSelectMenuItemContentModifier0028_${configuration.value}`) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()) - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionLAdvancedComponentsPopupInterface/ComponentFunctionLAdvancedComponentsPopupInterface0178.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionLAdvancedComponentsPopupInterface/ComponentFunctionLAdvancedComponentsPopupInterface0178.ets deleted file mode 100644 index dee8bb53..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionLAdvancedComponentsPopupInterface/ComponentFunctionLAdvancedComponentsPopupInterface0178.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentFunctionLAdvancedComponentsPopupInterface0178 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - width: '100%', - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('ComponentSpecialComponentsFormComponentTransparent0178') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('100%') - .height('100%') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionLAdvancedComponentsPopupInterface/ComponentFunctionLAdvancedComponentsPopupInterface01780.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionLAdvancedComponentsPopupInterface/ComponentFunctionLAdvancedComponentsPopupInterface01780.ets deleted file mode 100644 index d4172a16..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentFunctionLAdvancedComponentsPopupInterface/ComponentFunctionLAdvancedComponentsPopupInterface01780.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentFunctionLAdvancedComponentsPopupInterface01780 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('ComponentFunctionLAdvancedComponentsPopupInterface01781') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - width: '100%', - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0010.ets deleted file mode 100644 index f42dd076..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0010.ets +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI0010 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = [TextDataDetectorType.PHONE_NUMBER,TextDataDetectorType.URL,TextDataDetectorType.EMAIL,TextDataDetectorType.ADDRESS]; - - build() { - Row() { - Column() { - Button('AI') - .id('AI') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = true; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('地址:' + this.address, - { - style: - { - fontSize: 30 - } - }); - }) - .id('ComponentTextRicheditorAI0010') - .enableDataDetector(this.enableDataDetector) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0020.ets deleted file mode 100644 index e1c728b2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0020.ets +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI0020 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = true; - @State types: TextDataDetectorType[] = [TextDataDetectorType.PHONE_NUMBER,TextDataDetectorType.URL,TextDataDetectorType.EMAIL,TextDataDetectorType.ADDRESS]; - - build() { - Row() { - Column() { - Button('AI') - .id('AI') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = false; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('地址:' + this.address, - { - style: - { - fontSize: 30 - } - }); - }) - .id('ComponentTextRicheditorAI0020') - .enableDataDetector(this.enableDataDetector) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0030.ets deleted file mode 100644 index 3871b6ef..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0030.ets +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI0030 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = [TextDataDetectorType.PHONE_NUMBER,TextDataDetectorType.URL,TextDataDetectorType.EMAIL,TextDataDetectorType.ADDRESS]; - - build() { - Row() { - Column() { - Button('open') - .id('open') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = true; - }) - Button('close') - .id('close') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = false; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('地址:' + this.address, - { - style: - { - fontSize: 30 - } - }); - }) - .id('ComponentTextRicheditorAI0030') - .enableDataDetector(this.enableDataDetector) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0040.ets deleted file mode 100644 index 365f7448..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0040.ets +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI0040 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = []; - - build() { - Row() { - Column() { - Button('AI') - .id('AI') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = true; - }) - Button('url') - .id('url') - .width(100) - .height(50) - .onClick(() => { - this.types =[TextDataDetectorType.URL]; - }) - Button('tel') - .id('tel') - .width(100) - .height(50) - .onClick(() => { - this.types =[TextDataDetectorType.PHONE_NUMBER]; - }) - Button('addr') - .id('addr') - .width(100) - .height(50) - .onClick(() => { - this.types =[TextDataDetectorType.ADDRESS]; - }) - Button('email') - .id('email') - .width(100) - .height(50) - .onClick(() => { - this.types =[TextDataDetectorType.EMAIL]; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('地址:' + this.address, - { - style: - { - fontSize: 30 - } - }); - }) - .id('ComponentTextRicheditorAI0040') - .enableDataDetector(this.enableDataDetector) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0050.ets deleted file mode 100644 index 2c0ace4e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0050.ets +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI0050 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = []; - - build() { - Row() { - Column() { - Button('AI') - .id('AI') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = true; - }) - Button('url') - .id('url') - .width(100) - .height(50) - .onClick(() => { - this.types =[TextDataDetectorType.URL,TextDataDetectorType.PHONE_NUMBER]; - }) - Button('email') - .id('email') - .width(100) - .height(50) - .onClick(() => { - this.types =[TextDataDetectorType.EMAIL,TextDataDetectorType.URL,TextDataDetectorType.PHONE_NUMBER]; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('地址:' + this.address, - { - style: - { - fontSize: 30 - } - }); - }) - .id('ComponentTextRicheditorAI0050') - .enableDataDetector(this.enableDataDetector) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0060.ets deleted file mode 100644 index 6aaac036..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0060.ets +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI0060 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = []; - - build() { - Row() { - Column() { - Button('AI') - .id('AI') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = true; - }) - Button('url') - .id('url') - .width(100) - .height(50) - .onClick(() => { - this.types =[TextDataDetectorType.URL,TextDataDetectorType.PHONE_NUMBER,TextDataDetectorType.EMAIL,TextDataDetectorType.ADDRESS]; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('地址:' + this.address, - { - style: - { - fontSize: 30 - } - }); - }) - .id('ComponentTextRicheditorAI0060') - .enableDataDetector(this.enableDataDetector) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0070.ets deleted file mode 100644 index a4d00a31..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0070.ets +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI0070 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = []; - - build() { - Row() { - Column() { - Button('AI') - .id('AI') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = false; - }) - Button('url') - .id('url') - .width(100) - .height(50) - .onClick(() => { - this.types =[TextDataDetectorType.URL,TextDataDetectorType.PHONE_NUMBER,TextDataDetectorType.EMAIL,TextDataDetectorType.ADDRESS]; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('地址:' + this.address, - { - style: - { - fontSize: 30 - } - }); - }) - .id('ComponentTextRicheditorAI0070') - .enableDataDetector(this.enableDataDetector) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0080.ets deleted file mode 100644 index a46e26d0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0080.ets +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI0080 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State types: TextDataDetectorType[] = []; - - build() { - Row() { - Column() { - Button('url') - .id('url') - .width(100) - .height(50) - .onClick(() => { - this.types =[TextDataDetectorType.URL,TextDataDetectorType.PHONE_NUMBER,TextDataDetectorType.EMAIL,TextDataDetectorType.ADDRESS]; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('地址:' + this.address, - { - style: - { - fontSize: 30 - } - }); - }) - .id('ComponentTextRicheditorAI0080') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0090.ets deleted file mode 100644 index 3fefa207..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0090.ets +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI0090 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State url: string = 'www.baidu.com'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = []; - - build() { - Row() { - Column() { - Button('url') - .id('url') - .width(100) - .height(50) - .onClick(() => { - this.types =[TextDataDetectorType.URL,TextDataDetectorType.PHONE_NUMBER,TextDataDetectorType.EMAIL,TextDataDetectorType.ADDRESS]; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30 - } - }); - - }) - .id('ComponentTextRicheditorAI0090') - .enableDataDetector(this.enableDataDetector) - .dataDetectorConfig({types : this.types, onDetectResultUpdate: (result: string)=>{}}) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0100.ets deleted file mode 100644 index e154a0d2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0100.ets +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI00100 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = []; - - build() { - Row() { - Column() { - Button('setStyle') - .id('setStyle') - .width(100) - .height(50) - .onClick(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: - { - decoration: { type: TextDecorationType.Overline } - } - }); - }) - Button('AI') - .id('AI') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = true; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('地址:' + this.address, - { - style: - { - fontSize: 30 - } - }); - }) - .id('ComponentTextRicheditorAI0100') - .enableDataDetector(this.enableDataDetector) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0110.ets deleted file mode 100644 index a16d0d68..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0110.ets +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI00110 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = []; - - build() { - Row() { - Column() { - Button('setStyle') - .id('setStyle') - .width(100) - .height(50) - .onClick(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: - { - decoration: { type: TextDecorationType.LineThrough } - } - }); - }) - Button('AI') - .id('AI') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = true; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('地址:' + this.address, - { - style: - { - fontSize: 30 - } - }); - }) - .id('ComponentTextRicheditorAI0110') - .enableDataDetector(this.enableDataDetector) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0120.ets deleted file mode 100644 index 5c5a35c7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0120.ets +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI00120 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = []; - - build() { - Row() { - Column() { - Button('setStyle') - .id('setStyle') - .width(100) - .height(50) - .onClick(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: - { - decoration: { type: TextDecorationType.Underline } - } - }); - }) - Button('AI') - .id('AI') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = true; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('地址:' + this.address, - { - style: - { - fontSize: 30 - } - }); - }) - .id('ComponentTextRicheditorAI0120') - .enableDataDetector(this.enableDataDetector) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0130.ets deleted file mode 100644 index 51915999..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0130.ets +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI00130 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = []; - - build() { - Row() { - Column() { - Button('setStyle') - .id('setStyle') - .width(100) - .height(50) - .onClick(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: - { - fontColor: Color.Red, - } - }); - }) - Button('AI') - .id('AI') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = true; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30, - } - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - style: - { - fontSize: 30, - } - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - style: - { - fontSize: 30, - } - }); - this.controller.addTextSpan('地址:' + this.address, - { - style: - { - fontSize: 30, - } - }); - }) - .id('ComponentTextRicheditorAI0130') - .enableDataDetector(this.enableDataDetector) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0140.ets deleted file mode 100644 index 26e1a0e4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0140.ets +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI00140 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = []; - - build() { - Row() { - Column() { - Button('setStyle') - .id('setStyle') - .width(100) - .height(50) - .onClick(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: - { - fontSize:30 - } - }); - }) - Button('AI') - .id('AI') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = true; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - }); - this.controller.addTextSpan('地址:' + this.address, - { - }); - }) - .id('ComponentTextRicheditorAI0140') - .enableDataDetector(this.enableDataDetector) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0150.ets deleted file mode 100644 index da9bf3e6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0150.ets +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI00150 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = []; - - build() { - Row() { - Column() { - Button('setStyle') - .id('setStyle') - .width(100) - .height(50) - .onClick(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: - { - fontStyle:FontStyle.Italic - } - }); - }) - Button('AI') - .id('AI') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = true; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - }); - this.controller.addTextSpan('地址:' + this.address, - { - }); - }) - .id('ComponentTextRicheditorAI0150') - .enableDataDetector(this.enableDataDetector) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0160.ets deleted file mode 100644 index de1cefb0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0160.ets +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI00160 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = []; - - build() { - Row() { - Column() { - Button('setStyle') - .id('setStyle') - .width(100) - .height(50) - .onClick(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: - { - fontWeight:FontWeight.Lighter - } - }); - }) - Button('setStyle1') - .id('setStyle1') - .width(100) - .height(50) - .onClick(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: - { - fontWeight:FontWeight.Normal - } - }); - }) - Button('setStyle2') - .id('setStyle2') - .width(100) - .height(50) - .onClick(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: - { - fontWeight:FontWeight.Bolder - } - }); - }) - Button('AI') - .id('AI') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = true; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('地址:' + this.address, - { - style: - { - fontSize: 30 - } - }); - }) - .id('ComponentTextRicheditorAI0160') - .enableDataDetector(this.enableDataDetector) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0170.ets deleted file mode 100644 index 95873656..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0170.ets +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI00170 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = []; - - build() { - Row() { - Column() { - Button('AI') - .id('AI') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = true; - }) - Button('close') - .id('close') - .width(100) - .height(50) - .onClick(() => { - this.controller.stopEditing(); - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('地址:' + this.address, - { - style: - { - fontSize: 30 - } - }); - }) - .id('ComponentTextRicheditorAI0170') - .enableDataDetector(this.enableDataDetector) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0180.ets deleted file mode 100644 index a5d1d726..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0180.ets +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI00180 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = []; - - build() { - Row() { - Column() { - Button('AI') - .id('AI') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = true; - }) - Button('close') - .id('close') - .width(100) - .height(50) - .onClick(() => { - this.controller.stopEditing(); - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('地址:' + this.address, - { - style: - { - fontSize: 30 - } - }); - }) - .id('ComponentTextRicheditorAI0180') - .enableDataDetector(this.enableDataDetector) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0190.ets deleted file mode 100644 index 1449b384..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0190.ets +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI00190 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = []; - - build() { - Row() { - Column() { - Button('insert') - .id('insert') - .width(100) - .height(50) - .onClick(() => { - this.controller.addTextSpan('insert URL:' + this.url + '\n', - { - }); - this.controller.addTextSpan('insert 电话号码:' + this.phoneNumber + '\n', - { - }); - this.controller.addTextSpan('insert 邮箱:' + this.email + '\n', - { - }); - this.controller.addTextSpan('insert 地址:' + this.address, - { - }); - this.controller.stopEditing(); - }) - - Button('AI') - .id('AI') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = true; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('地址:' + this.address, - { - style: - { - fontSize: 30 - } - }); - }) - .id('ComponentTextRicheditorAI0190') - .enableDataDetector(this.enableDataDetector) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0200.ets deleted file mode 100644 index 9a396bf1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0200.ets +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI00200 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = []; - - build() { - Row() { - Column() { - Button('insert') - .id('insert') - .width(100) - .height(50) - .onClick(() => { - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"], - } - }) - this.controller.stopEditing(); - }) - Button('AI') - .id('AI') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = true; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('地址:' + this.address, - { - style: - { - fontSize: 30 - } - }); - }) - .id('ComponentTextRicheditorAI0200') - .enableDataDetector(this.enableDataDetector) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0210.ets deleted file mode 100644 index 8b34e2bd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0210.ets +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI00210 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = []; - @State widthRich : number = 300; - @State heightRich : number = 800; - - build() { - Row() { - Column() { - Button('setWidth') - .id('setWidth') - .width(100) - .height(50) - .onClick(() => { - this.widthRich = 100; - this.heightRich = 500; - }) - Button('AI') - .id('AI') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = true; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('地址:' + this.address, - { - style: - { - fontSize: 30 - } - }); - }) - .id('ComponentTextRicheditorAI0210') - .enableDataDetector(this.enableDataDetector) - .width(this.widthRich) - .height(this.heightRich) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0220.ets deleted file mode 100644 index c4d07b9f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0220.ets +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI00220 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = []; - - build() { - Row() { - Column() { - Button('AI') - .id('AI') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = true; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('地址:' + this.address, - { - style: - { - fontSize: 30 - } - }); - }) - .id('ComponentTextRicheditorAI0220') - .enableDataDetector(this.enableDataDetector) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0230.ets deleted file mode 100644 index 70c0b808..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0230.ets +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI00230 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = []; - - build() { - Row() { - Column() { - Button('AI') - .id('AI') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = true; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('地址:' + this.address, - { - style: - { - fontSize: 30 - } - }); - }) - .id('ComponentTextRicheditorAI0230') - .enableDataDetector(this.enableDataDetector) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0240.ets deleted file mode 100644 index 4edb12a4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0240.ets +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI00240 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = []; - - build() { - Row() { - Column() { - Button('AI') - .id('AI') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = true; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('地址:' + this.address, - { - style: - { - fontSize: 30 - } - }); - }) - .id('ComponentTextRicheditorAI0240') - .enableDataDetector(this.enableDataDetector) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0250.ets deleted file mode 100644 index b3881764..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0250.ets +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI00250 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = []; - - build() { - Row() { - Column() { - Button('AI') - .id('AI') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = true; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('地址:' + this.address, - { - style: - { - fontSize: 30 - } - }); - }) - .id('ComponentTextRicheditorAI0250') - .enableDataDetector(this.enableDataDetector) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0260.ets deleted file mode 100644 index 37a445ff..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0260.ets +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI00260 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = []; - - build() { - Row() { - Column() { - Button('AI') - .id('AI') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = true; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('地址:' + this.address, - { - style: - { - fontSize: 30 - } - }); - }) - .id('ComponentTextRicheditorAI0260') - .enableDataDetector(this.enableDataDetector) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0270.ets deleted file mode 100644 index 4c0ce696..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0270.ets +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorAI00270 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State phoneNumber: string = '029-49781104'; - @State url: string = 'www.baidu.com'; - @State email: string = '***@example.com'; - @State address: string = 'XX省XX市XX区XXXX'; - @State enableDataDetector: boolean = false; - @State types: TextDataDetectorType[] = []; - @State copyState: CopyOptions = CopyOptions.InApp; - - build() { - Row() { - Column() { - Button('AI') - .id('AI') - .width(100) - .height(50) - .onClick(() => { - this.enableDataDetector = true; - }) - Button('copy') - .id('copy') - .width(100) - .height(50) - .onClick(() => { - this.copyState = CopyOptions.None; - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('URL:' + this.url + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('电话号码:' + this.phoneNumber + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('邮箱:' + this.email + '\n', - { - style: - { - fontSize: 30 - } - }); - this.controller.addTextSpan('地址:' + this.address, - { - style: - { - fontSize: 30 - } - }); - }) - .id('ComponentTextRicheditorAI0270') - .enableDataDetector(this.enableDataDetector) - .copyOptions(this.copyState) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0001.ets deleted file mode 100644 index 154fed3b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0001.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0001 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - }) - .id('ComponentTextRicheditorCustomColor0001') - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -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/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0002.ets deleted file mode 100644 index b58f4324..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0002.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0002 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - }) - .id('ComponentTextRicheditorCustomColor0002') - .caretColor(Color.Orange) //光标颜色 - .selectedBackgroundColor(Color.Red) //选中背景色 - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -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/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0003.ets deleted file mode 100644 index 1b65f6c2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0003.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0003 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - }) - .id('ComponentTextRicheditorCustomColor0003') - .caretColor(0x0110ff) //光标颜色 - .selectedBackgroundColor(0x0110ff) //选中背景色 - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -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/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0004.ets deleted file mode 100644 index f4ffa9c1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0004.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0004 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - }) - .id('ComponentTextRicheditorCustomColor0004') - .caretColor(0xffffffeeeeee) //光标颜色 - .selectedBackgroundColor(0xffffffeeeeee) //选中背景色 - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -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/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0005.ets deleted file mode 100644 index bf263c8a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0005.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0005 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - }) - .id('ComponentTextRicheditorCustomColor0005') - .caretColor(10000) //光标颜色 - .selectedBackgroundColor(10000) //选中背景色 - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -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/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0006.ets deleted file mode 100644 index f119d322..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0006.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0006 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - }) - .id('ComponentTextRicheditorCustomColor0006') - .caretColor(10000.5) //光标颜色 - .selectedBackgroundColor(10000.5) //选中背景色 - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -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/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0007.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0007.ets deleted file mode 100644 index 87886082..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0007.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0007 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - }) - .id('ComponentTextRicheditorCustomColor0007') - .caretColor(-15) //光标颜色 - .selectedBackgroundColor(-15) //选中背景色 - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -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/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0008.ets deleted file mode 100644 index 5da579b2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0008.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0008 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - }) - .id('ComponentTextRicheditorCustomColor0008') - .caretColor("#00ffff") //光标颜色 - .selectedBackgroundColor('#00ffff') //选中背景色 - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -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/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0009.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0009.ets deleted file mode 100644 index 4e5d7466..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0009.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0009 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - }) - .id('ComponentTextRicheditorCustomColor0009') - .caretColor('#ffffff00') //光标颜色 - .selectedBackgroundColor('#ffffff00') //选中背景色 - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -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/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0010.ets deleted file mode 100644 index 5894ff30..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0010.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0010 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - }) - .id('ComponentTextRicheditorCustomColor0010') - .caretColor(' rgb(255,0,255)') //光标颜色 - .selectedBackgroundColor(' rgb(255,0,255)') //选中背景色 - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -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/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0011.ets deleted file mode 100644 index 2f1402bd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0011.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0011 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - }) - .id('ComponentTextRicheditorCustomColor0011') - .caretColor(" rgba(0,0,255,0.5)") //光标颜色 - .selectedBackgroundColor(" rgba(0,0,255,0.5)") //选中背景色 - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -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/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0012.ets deleted file mode 100644 index ee4d5ae0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0012.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0012 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - }) - .id('ComponentTextRicheditorCustomColor0012') - .caretColor('#0ccccoo') //光标颜色 - .selectedBackgroundColor('#0ccccoo') //选中背景色 - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -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/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0013.ets deleted file mode 100644 index b80a6857..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0013.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0013 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - }) - .id('ComponentTextRicheditorCustomColor0013') - .caretColor(' rgba(255,0,255,2)') //光标颜色 - .selectedBackgroundColor(' rgba(255,0,255,2)') //选中背景色 - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -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/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0014.ets deleted file mode 100644 index 4ffda592..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0014.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0014 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - }) - .id('ComponentTextRicheditorCustomColor0014') - .caretColor(' rgb(255,0,300)') //光标颜色 - .selectedBackgroundColor(' rgb(255,0,300)') //选中背景色 - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -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/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0015.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0015.ets deleted file mode 100644 index 0b036394..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0015.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0015 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - }) - .id('ComponentTextRicheditorCustomColor0015') - .caretColor('#abcdefə') //光标颜色 - .selectedBackgroundColor('#abcdefə') //选中背景色 - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -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/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0016.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0016.ets deleted file mode 100644 index 9a39a4fa..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0016.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0016 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - }) - .id('ComponentTextRicheditorCustomColor0016') - .caretColor(getContext().resourceManager.getColorSync($r("app.color.yellow"))) //光标颜色 - .selectedBackgroundColor(getContext().resourceManager.getColorSync($r("app.color.yellow"))) //选中背景色 - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -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/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0017.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0017.ets deleted file mode 100644 index 66ba2ee4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0017.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0017 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - }) - .id('ComponentTextRicheditorCustomColor0017') - .caretColor('cat.jpg') //光标颜色 - .selectedBackgroundColor( 'cat.jpg') //选中背景色 - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -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/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0018.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0018.ets deleted file mode 100644 index d37f3156..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0018.ets +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0018 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国人あなたのことが好きです사랑해jhsfdhhhhhjhjhh', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - - }); - - this.controller.addTextSpan('\uD83D\uDE00', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - - }); - this.controller.addTextSpan('#$%&@', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - - }); - this.controller.addSymbolSpan($r("sys.symbol.ohos_trash"), - {}); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"] - } - }) - }) - .id('ComponentTextRicheditorCustomColor0018') - .caretColor(Color.Red) //光标颜色 - .selectedBackgroundColor(Color.Red) //选中背景色 - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -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/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0019.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0019.ets deleted file mode 100644 index d86af071..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0019.ets +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0019 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国人あなたのことが好きです사랑해jhsfdhhhhhjhjhh', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - - }) - }) - .id('ComponentTextRicheditorCustomColor0019') - .caretColor(Color.Red) //光标颜色 - .selectedBackgroundColor(Color.Red) //选中背景色 - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -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/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0020.ets deleted file mode 100644 index e3edb95f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0020.ets +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0020 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - - }) - }) - .id('ComponentTextRicheditorCustomColor0020') - .caretColor(Color.Red) //光标颜色 - .selectedBackgroundColor(Color.Red) //选中背景色 - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -1,-1); - this.controller.updateSpanStyle({ start:-1,end:-1, - textStyle: { - 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/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0021.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0021.ets deleted file mode 100644 index b6aa93f1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0021.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0021 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }) - }) - .id('ComponentTextRicheditorCustomColor0021') - .caretColor(Color.Red) //光标颜色 - .selectedBackgroundColor(Color.Red) //选中背景色 - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -1,-1); - this.controller.updateSpanStyle({ start:-1,end:-1, - textStyle: { - lineHeight: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/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0022.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0022.ets deleted file mode 100644 index 6409ddce..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0022.ets +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0022 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }) - }) - .id('ComponentTextRicheditorCustomColor0022') - .caretColor(Color.Red) //光标颜色 - .selectedBackgroundColor(Color.Red) //选中背景色 - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -1,-1); - this.controller.updateSpanStyle({ start:-1,end:-1, - textStyle: { - lineHeight:50, - letterSpacing:15 - } - }) - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0023.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0023.ets deleted file mode 100644 index 6a0f8803..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0023.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0023 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }) - }) - .id('ComponentTextRicheditorCustomColor0023') - .caretColor(Color.Red) //光标颜色 - .selectedBackgroundColor(Color.Red) //选中背景色 - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -1,-1); - this.controller.updateSpanStyle({ start:-1,end:-1, - textStyle: { - - } - }) - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0025.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0025.ets deleted file mode 100644 index 455ef11c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0025.ets +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0025 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - setOrientation() { - try { - window.getLastWindow(getContext(this), (err, data) => { // 获取window实例 - if (err.code) { - return; - } - let windowClass = data; - - let orientation = window.Orientation.LANDSCAPE; // 设置窗口方向为传感器自动旋转模式。 - try { - windowClass.setPreferredOrientation(orientation, (err) => { - if (err.code) { - return; - } - }); - } catch (exception) { - } - ; - }); - } catch (exception) { - } - ; - } - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }) - }) - .id('ComponentTextRicheditorCustomColor0025') - .caretColor(Color.Red) //光标颜色 - .selectedBackgroundColor(Color.Red) //选中背景色 - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -1,-1); - this.setOrientation(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0026.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0026.ets deleted file mode 100644 index 4f691481..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0026.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0026 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }); - }) - .id('ComponentTextRicheditorCustomColor0026') - .caretColor(Color.Red) //光标颜色 - .selectedBackgroundColor(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/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0028.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0028.ets deleted file mode 100644 index b430022c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0028.ets +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomColor0028 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }); - }) - .id('ComponentTextRicheditorCustomColor0028') - .caretColor(Color.Red) //光标颜色 - .selectedBackgroundColor(Color.Red) //选中背景色 - - Button('', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('set select') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection( -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/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0001.ets deleted file mode 100644 index 11704217..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0001.ets +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomkeyBoardAvoidAnce0001 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - // 自定义键盘组件 - @Builder - CustomKeyboardBuilder() { - Column() { - Grid() { - ForEach([1, 2, 3, 4, 5, 6, 7, 8, 9, '*', 0, '#'], (item: number | string) => { - GridItem() { - Button(item + "") - .width(110).onClick(() => { - this.controller.addTextSpan(item + '', { - offset: this.controller.getCaretOffset(), - style: - { - fontColor: Color.Orange, - fontSize: 30 - } - }); - this.controller.setCaretOffset(this.controller.getCaretOffset() + item.toString().length); - }) - } - }) - }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) - }.backgroundColor(Color.Gray) - } - - build() { - Column() { - RichEditor(this.options) - .height(40) - .width(100) - .customKeyboard(this.CustomKeyboardBuilder()) - .border({ width: 1 }) - .id('ComponentTextRicheditorCustomkeyBoardAvoidAnce0001') - } - .width('100%') - .height('100%') - .margin({ top: 700 }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0002.ets deleted file mode 100644 index 6a96ebbe..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0002.ets +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomkeyBoardAvoidAnce0002{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - // 自定义键盘组件 - @Builder - CustomKeyboardBuilder() { - Column() { - Grid() { - ForEach([1, 2, 3, 4, 5, 6, 7, 8, 9, '*', 0, '#'], (item: number | string) => { - GridItem() { - Button(item + "") - .width(110).onClick(() => { - this.controller.addTextSpan(item + '', { - offset: this.controller.getCaretOffset(), - style: - { - fontColor: Color.Orange, - fontSize: 30 - } - }); - this.controller.setCaretOffset(this.controller.getCaretOffset() + item.toString().length); - }) - } - }) - }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) - }.backgroundColor(Color.Gray) - } - - build() { - Column() { - RichEditor(this.options) - .height(40) - .width(100) - .customKeyboard(this.CustomKeyboardBuilder(),{ supportAvoidance: false }) - .border({ width: 1 }) - .id('ComponentTextRicheditorCustomkeyBoardAvoidAnce0002') - } - .width('100%') - .height('100%') - .margin({ top: 700 }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0003.ets deleted file mode 100644 index a157310f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0003.ets +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomkeyBoardAvoidAnce0003 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - // 自定义键盘组件 - @Builder - CustomKeyboardBuilder() { - Column() { - Grid() { - ForEach([1, 2, 3, 4, 5, 6, 7, 8, 9, '*', 0, '#'], (item: number | string) => { - GridItem() { - Button(item + "") - .width(110).onClick(() => { - this.controller.addTextSpan(item + '', { - offset: this.controller.getCaretOffset(), - style: - { - fontColor: Color.Orange, - fontSize: 30 - } - }); - this.controller.setCaretOffset(this.controller.getCaretOffset() + item.toString().length); - }) - } - }) - }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) - }.backgroundColor(Color.Gray) - } - - build() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.getUIContext().setKeyboardAvoidMode(0); - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人' + - '我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }); - }) - .customKeyboard(this.CustomKeyboardBuilder(),{ supportAvoidance: true }) - .border({ width: 1 }) - .id('ComponentTextRicheditorCustomkeyBoardAvoidAnce0003') - } - .width('100%') - .height('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0004.ets deleted file mode 100644 index 6ff19599..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0004.ets +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomkeyBoardAvoidAnce0004 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - // 自定义键盘组件 - @Builder - CustomKeyboardBuilder() { - Column() { - Grid() { - ForEach([1, 2, 3, 4, 5, 6, 7, 8, 9, '*', 0, '#'], (item: number | string) => { - GridItem() { - Button(item + "") - .width(110).onClick(() => { - this.controller.addTextSpan(item + '', { - offset: this.controller.getCaretOffset(), - style: - { - fontColor: Color.Orange, - fontSize: 30 - } - }); - this.controller.setCaretOffset(this.controller.getCaretOffset() + item.toString().length); - }) - } - }) - }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) - }.backgroundColor(Color.Gray) - } - - build() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.getUIContext().setKeyboardAvoidMode(1); - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人' + - '我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }); - }) - .customKeyboard(this.CustomKeyboardBuilder(),{ supportAvoidance: true }) - .border({ width: 1 }) - .id('ComponentTextRicheditorCustomkeyBoardAvoidAnce0004') - } - .width('100%') - .height('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0005.ets deleted file mode 100644 index a11cfb51..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0005.ets +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomkeyBoardAvoidAnce0005 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - // 自定义键盘组件 - @Builder - CustomKeyboardBuilder() { - Column() { - Grid() { - ForEach([1, 2, 3, 4, 5, 6, 7, 8, 9, '*', 0, '#'], (item: number | string) => { - GridItem() { - Button(item + "") - .width(110).onClick(() => { - this.controller.addTextSpan(item + '', { - offset: this.controller.getCaretOffset(), - style: - { - fontColor: Color.Orange, - fontSize: 30 - } - }); - this.controller.setCaretOffset(this.controller.getCaretOffset() + item.toString().length); - }) - } - }) - }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) - }.backgroundColor(Color.Gray) - } - - build() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.getUIContext().setKeyboardAvoidMode(0); - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人' + - '我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }); - }) - .customKeyboard(this.CustomKeyboardBuilder(),{ supportAvoidance: true }) - .border({ width: 1 }) - .id('ComponentTextRicheditorCustomkeyBoardAvoidAnce0005') - } - .width(100) - .height(100) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0006.ets deleted file mode 100644 index 8849414d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0006.ets +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomkeyBoardAvoidAnce0006 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - // 自定义键盘组件 - @Builder - CustomKeyboardBuilder() { - Column() { - Grid() { - ForEach([1, 2, 3, 4, 5, 6, 7, 8, 9, '*', 0, '#'], (item: number | string) => { - GridItem() { - Button(item + "") - .width(110).onClick(() => { - this.controller.addTextSpan(item + '', { - offset: this.controller.getCaretOffset(), - style: - { - fontColor: Color.Orange, - fontSize: 30 - } - }); - this.controller.setCaretOffset(this.controller.getCaretOffset() + item.toString().length); - }) - } - }) - }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) - }.backgroundColor(Color.Gray) - } - - build() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.getUIContext().setKeyboardAvoidMode(0); - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人' + - '我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }); - }) - .customKeyboard(this.CustomKeyboardBuilder(),{ supportAvoidance: true }) - .border({ width: 1 }) - .id('ComponentTextRicheditorCustomkeyBoardAvoidAnce0006') - } - .width('50%') - .height('50%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0007.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0007.ets deleted file mode 100644 index 7a6418e4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0007.ets +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomkeyBoardAvoidAnce0007 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - // 自定义键盘组件 - @Builder - CustomKeyboardBuilder() { - Column() { - Grid() { - ForEach([1, 2, 3, 4, 5, 6, 7, 8, 9, '*', 0, '#'], (item: number | string) => { - GridItem() { - Button(item + "") - .width(110).onClick(() => { - this.controller.addTextSpan(item + '', { - offset: this.controller.getCaretOffset(), - style: - { - fontColor: Color.Orange, - fontSize: 30 - } - }); - this.controller.setCaretOffset(this.controller.getCaretOffset() + item.toString().length); - }) - } - }) - }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) - }.backgroundColor(Color.Gray) - } - - build() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.getUIContext().setKeyboardAvoidMode(1); - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人' + - '我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }); - }) - .customKeyboard(this.CustomKeyboardBuilder(),{ supportAvoidance: true }) - .border({ width: 1 }) - .id('ComponentTextRicheditorCustomkeyBoardAvoidAnce0007') - } - .width(100) - .height(1000) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0008.ets deleted file mode 100644 index cc4b4617..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0008.ets +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomkeyBoardAvoidAnce0008 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - // 自定义键盘组件 - @Builder - CustomKeyboardBuilder() { - Column() { - Grid() { - ForEach([1, 2, 3, 4, 5, 6, 7, 8, 9, '*', 0, '#'], (item: number | string) => { - GridItem() { - Button(item + "") - .width(110).onClick(() => { - this.controller.addTextSpan(item + '', { - offset: this.controller.getCaretOffset(), - style: - { - fontColor: Color.Orange, - fontSize: 30 - } - }); - this.controller.setCaretOffset(this.controller.getCaretOffset() + item.toString().length); - }) - } - }) - }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) - }.backgroundColor(Color.Gray) - } - - build() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.getUIContext().setKeyboardAvoidMode(1); - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人' + - '我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }); - }) - .customKeyboard(this.CustomKeyboardBuilder(),{ supportAvoidance: true }) - .border({ width: 1 }) - .id('ComponentTextRicheditorCustomkeyBoardAvoidAnce0008') - } - .width('50%') - .height('80%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0009.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0009.ets deleted file mode 100644 index dceb7f3b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0009.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomkeyBoardAvoidAnce0009 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - // 自定义键盘组件 - @Builder - CustomKeyboardBuilder() { - Column() { - Grid() { - ForEach([1, 2, 3, 4, 5, 6, 7, 8, 9, '*', 0, '#'], (item: number | string) => { - GridItem() { - Button(item + "") - .width(110).onClick(() => { - this.controller.addTextSpan(item + '', { - offset: this.controller.getCaretOffset(), - style: - { - fontColor: Color.Orange, - fontSize: 30 - } - }); - this.controller.setCaretOffset(this.controller.getCaretOffset() + item.toString().length); - }) - } - }) - }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) - }.backgroundColor(Color.Gray) - } - - build() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我是中国人我是中国人我国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }); - }) - .customKeyboard(this.CustomKeyboardBuilder()) - .border({ width: 1 }) - .id('ComponentTextRicheditorCustomkeyBoardAvoidAnce0009') - } - .width(100) - .height(100) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0010.ets deleted file mode 100644 index bed6f67c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0010.ets +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomkeyBoardAvoidAnce0010 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - // 自定义键盘组件 - @Builder - CustomKeyboardBuilder() { - Column() { - Grid() { - ForEach([1, 2, 3, 4, 5, 6, 7, 8, 9, '*', 0, '#'], (item: number | string) => { - GridItem() { - Button(item + "") - .width(110).onClick(() => { - this.controller.addTextSpan(item + '', { - offset: this.controller.getCaretOffset(), - style: - { - fontColor: Color.Orange, - fontSize: 30 - } - }); - this.controller.setCaretOffset(this.controller.getCaretOffset() + item.toString().length); - }) - } - }) - }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) - }.backgroundColor(Color.Gray) - } - - build() { - Column() { - Row(); - RichEditor(this.options) - .onReady(() => { - this.getUIContext().setKeyboardAvoidMode(0); - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人' + - '我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }); - }) - .customKeyboard(this.CustomKeyboardBuilder(),{ supportAvoidance: true }) - .border({ width: 1 }) - .id('ComponentTextRicheditorCustomkeyBoardAvoidAnce0010'); - Row(); - } - .width('100%') - .height('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0011.ets deleted file mode 100644 index 2967ec3f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0011.ets +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomkeyBoardAvoidAnce0011 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - // 自定义键盘组件 - @Builder - CustomKeyboardBuilder() { - Column() { - Grid() { - ForEach([1, 2, 3, 4, 5, 6, 7, 8, 9, '*', 0, '#'], (item: number | string) => { - GridItem() { - Button(item + "") - .width(110).onClick(() => { - this.controller.addTextSpan(item + '', { - offset: this.controller.getCaretOffset(), - style: - { - fontColor: Color.Orange, - fontSize: 30 - } - }); - this.controller.setCaretOffset(this.controller.getCaretOffset() + item.toString().length); - }) - } - }) - }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) - }.backgroundColor(Color.Gray) - } - - build() { - Column() { - Row(); - RichEditor(this.options) - .onReady(() => { - this.getUIContext().setKeyboardAvoidMode(1); - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人' + - '我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }); - }) - .customKeyboard(this.CustomKeyboardBuilder(),{ supportAvoidance: true }) - .border({ width: 1 }) - .id('ComponentTextRicheditorCustomkeyBoardAvoidAnce0011'); - Row(); - } - .width('50%') - .height('80%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0012.ets deleted file mode 100644 index 1ffb7f94..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0012.ets +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomkeyBoardAvoidAnce0012 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - // 自定义键盘组件 - @Builder - CustomKeyboardBuilder() { - Column() { - Grid() { - ForEach([1, 2, 3, 4, 5, 6, 7, 8, 9, '*', 0, '#'], (item: number | string) => { - GridItem() { - Button(item + "") - .width(110).onClick(() => { - this.controller.addTextSpan(item + '', { - offset: this.controller.getCaretOffset(), - style: - { - fontColor: Color.Orange, - fontSize: 30 - } - }); - this.controller.setCaretOffset(this.controller.getCaretOffset() + item.toString().length); - }) - } - }) - }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) - }.backgroundColor(Color.Gray) - } - - build() { - Column() { - Row(); - RichEditor(this.options) - .onReady(() => { - this.getUIContext().setKeyboardAvoidMode(0); - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人' + - '我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }); - }) - .customKeyboard(this.CustomKeyboardBuilder(),{ supportAvoidance: true }) - .border({ width: 1 }) - .id('ComponentTextRicheditorCustomkeyBoardAvoidAnce0012'); - RichEditor(this.options) - .onReady(() => { - this.getUIContext().setKeyboardAvoidMode(0); - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人' + - '我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }); - }) - .customKeyboard(this.CustomKeyboardBuilder(),{ supportAvoidance: true }) - .border({ width: 1 }) - .id('ComponentTextRicheditorCustomkeyBoardAvoidAnce0012_01'); - Row(); - } - .width('50%') - .height('80%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0013.ets deleted file mode 100644 index 0225c8fa..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0013.ets +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomkeyBoardAvoidAnce0013 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - // 自定义键盘组件 - @Builder - CustomKeyboardBuilder() { - Column() { - Grid() { - ForEach([1, 2, 3, 4, 5, 6, 7, 8, 9, '*', 0, '#'], (item: number | string) => { - GridItem() { - Button(item + "") - .width(110).onClick(() => { - this.controller.addTextSpan(item + '', { - offset: this.controller.getCaretOffset(), - style: - { - fontColor: Color.Orange, - fontSize: 30 - } - }); - this.controller.setCaretOffset(this.controller.getCaretOffset() + item.toString().length); - }) - } - }) - }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) - }.backgroundColor(Color.Gray) - } - - build() { - Column() { - Row(); - RichEditor(this.options) - .onReady(() => { - this.getUIContext().setKeyboardAvoidMode(1); - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人' + - '我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }); - }) - .customKeyboard(this.CustomKeyboardBuilder(),{ supportAvoidance: true }) - .border({ width: 1 }) - .id('ComponentTextRicheditorCustomkeyBoardAvoidAnce0013'); - RichEditor(this.options) - .onReady(() => { - this.getUIContext().setKeyboardAvoidMode(1); - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人' + - '我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }); - }) - .customKeyboard(this.CustomKeyboardBuilder(),{ supportAvoidance: true }) - .border({ width: 1 }) - .id('ComponentTextRicheditorCustomkeyBoardAvoidAnce0013_01'); - Row(); - } - .width('50%') - .height('80%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0016.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0016.ets deleted file mode 100644 index 4c99ee18..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0016.ets +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorCustomkeyBoardAvoidAnce0016 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - setOrientation() { - try { - window.getLastWindow(getContext(this), (err, data) => { // 获取window实例 - if (err.code) { - return; - } - let windowClass = data; - - let orientation = window.Orientation.LANDSCAPE; // 设置窗口方向为传感器自动旋转模式。 - try { - windowClass.setPreferredOrientation(orientation, (err) => { - if (err.code) { - return; - } - }); - } catch (exception) { - } - ; - }); - } catch (exception) { - } - ; - } - // 自定义键盘组件 - @Builder - CustomKeyboardBuilder() { - Column() { - Grid() { - ForEach([1, 2, 3, 4, 5, 6, 7, 8, 9, '*', 0, '#'], (item: number | string) => { - GridItem() { - Button(item + "") - .width(110).onClick(() => { - this.controller.addTextSpan(item + '', { - offset: this.controller.getCaretOffset(), - style: - { - fontColor: Color.Orange, - fontSize: 30 - } - }); - this.controller.setCaretOffset(this.controller.getCaretOffset() + item.toString().length); - }) - } - }) - }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) - }.backgroundColor(Color.Gray) - } - - build() { - Column() { - Button('changeScreen') - .id('changeScreen') - .width(100) - .height(50) - .onClick(()=>{ - this.setOrientation(); - }); - RichEditor(this.options) - .onReady(() => { - this.getUIContext().setKeyboardAvoidMode(0); - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人' + - '我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }); - }) - .customKeyboard(this.CustomKeyboardBuilder(),{ supportAvoidance: true }) - .border({ width: 1 }) - .id('ComponentTextRicheditorCustomkeyBoardAvoidAnce0016'); - } - .width('50%') - .height('80%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0017.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0017.ets deleted file mode 100644 index b88564c4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0017.ets +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorCustomkeyBoardAvoidAnce0017 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - setOrientation() { - try { - window.getLastWindow(getContext(this), (err, data) => { // 获取window实例 - if (err.code) { - return; - } - let windowClass = data; - - let orientation = window.Orientation.LANDSCAPE; // 设置窗口方向为传感器自动旋转模式。 - try { - windowClass.setPreferredOrientation(orientation, (err) => { - if (err.code) { - return; - } - }); - } catch (exception) { - } - ; - }); - } catch (exception) { - } - ; - } - // 自定义键盘组件 - @Builder - CustomKeyboardBuilder() { - Column() { - Grid() { - ForEach([1, 2, 3, 4, 5, 6, 7, 8, 9, '*', 0, '#'], (item: number | string) => { - GridItem() { - Button(item + "") - .width(110).onClick(() => { - this.controller.addTextSpan(item + '', { - offset: this.controller.getCaretOffset(), - style: - { - fontColor: Color.Orange, - fontSize: 30 - } - }); - this.controller.setCaretOffset(this.controller.getCaretOffset() + item.toString().length); - }) - } - }) - }.maxCount(3).columnsGap(10).rowsGap(10).padding(5) - }.backgroundColor(Color.Gray) - } - - build() { - Column() { - Button('changeScreen') - .id('changeScreen') - .width(100) - .height(50) - .onClick(()=>{ - this.setOrientation(); - }); - RichEditor(this.options) - .onReady(() => { - this.getUIContext().setKeyboardAvoidMode(1); - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人' + - '我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }); - }) - .customKeyboard(this.CustomKeyboardBuilder(),{ supportAvoidance: true }) - .border({ width: 1 }) - .id('ComponentTextRicheditorCustomkeyBoardAvoidAnce0017'); - } - .width('50%') - .height('80%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0019.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0019.ets deleted file mode 100644 index 6e32b6d3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0019.ets +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorCustomkeyBoardAvoidAnce0019 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State heightCustom : number = 200; - // 自定义键盘组件 - @Builder - CustomKeyboardBuilder() { - Column() { - Grid() { - ForEach([1, 2, 3, 4, 5, 6, 7, 8, 9, '*', 0, '#'], (item: number | string) => { - GridItem() { - Button(item + "") - .width(110).onClick(() => { - this.controller.addTextSpan(item + '', { - offset: this.controller.getCaretOffset(), - style: - { - fontColor: Color.Orange, - fontSize: 30 - } - }); - this.controller.setCaretOffset(this.controller.getCaretOffset() + item.toString().length); - }) - } - }) - }.maxCount(3).columnsGap(10).rowsGap(10).padding(5).height(this.heightCustom) - }.backgroundColor(Color.Gray) - } - - build() { - Column() { - Button('changeScreen') - .id('changeScreen') - .width(100) - .height(50) - .onClick(()=>{ - this.heightCustom = 400; - }); - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人' + - '我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }); - }) - .customKeyboard(this.CustomKeyboardBuilder(),{ supportAvoidance: true }) - .border({ width: 1 }) - .id('ComponentTextRicheditorCustomkeyBoardAvoidAnce0019'); - } - .width('50%') - .height('80%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0001.ets deleted file mode 100644 index 13e3915b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0001.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0001 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我是中国人', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }) - }) - .key('ComponentTextRicheditorFontfeature0001') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0002.ets deleted file mode 100644 index 0b98f608..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0002.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0002 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is sups on :' + '123456789' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"sups\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0002') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0003.ets deleted file mode 100644 index 299909bb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0003.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0003 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is sups on :' + '0000' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"sups\" 0" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0003') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0004.ets deleted file mode 100644 index 20f6feb8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0004.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0004 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is sups on :' + '0000' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"sups\" 1" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0004') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0005.ets deleted file mode 100644 index 0d6df9a6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0005.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0005 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is sups on :' + '123456789' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"sups\" off" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0005') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0006.ets deleted file mode 100644 index db4ee88a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0006.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0006 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is subs on :' + '123456' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"subs\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0006') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0007.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0007.ets deleted file mode 100644 index 6ba1c233..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0007.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0007 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is sinf on :' + '123' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"sinf\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0007') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0008.ets deleted file mode 100644 index bf883224..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0008.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0008 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is numr on :' + '456' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"numr\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0008') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0009.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0009.ets deleted file mode 100644 index 52f8018f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0009.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0009 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is dnom on :' + '789' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"dnom\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0009') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0010.ets deleted file mode 100644 index 865acded..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0010.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0010 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is locl on :' + '147' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"locl\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0010') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0011.ets deleted file mode 100644 index 7ae32374..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0011.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0011 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is tnum on :' + '0123456789' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"tnum\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0011') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0012.ets deleted file mode 100644 index 3d7d21f3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0012.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0012 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is pnum on :' + '0123456789' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"pnum\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0012') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0013.ets deleted file mode 100644 index f6916b7f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0013.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0013 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is case on :' + '¿¡HO-HO—HO!?' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"case\" on" - } - }) - - }) - .key('ComponentTextRicheditorFontfeature0013') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0014.ets deleted file mode 100644 index 5e92cb94..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0014.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0014 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is frac on :' + '1/2 2/3 1/45' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"frac\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0014') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0015.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0015.ets deleted file mode 100644 index fb382c2d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0015.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0015 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is ordn on :' + 'No.1 1a 1o' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"ordn\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0015') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0016.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0016.ets deleted file mode 100644 index a40eefd9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0016.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0016 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is liga on :' + 'ff fl fi ffi ffl' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"liga\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0016') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0017.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0017.ets deleted file mode 100644 index db7aa9e1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0017.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0017 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is liga on :' + '123456789' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"fwid\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0017') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0018.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0018.ets deleted file mode 100644 index 601e5f0c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0018.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0018 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is liga on :' + '123456789' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"hwid\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0018') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0019.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0019.ets deleted file mode 100644 index c02caa1a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0019.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0019 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is liga on :' + '【】' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"vert\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0019') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0020.ets deleted file mode 100644 index a8b247dc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0020.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0020 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is liga on :' + '0123456789,:/八-""C°F%%。' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"ss01\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0020') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0021.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0021.ets deleted file mode 100644 index 9ce8de4b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0021.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0021 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is ss02 on :' + '0123456789,:/八-""C°F%%。' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"ss02\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0021') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0022.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0022.ets deleted file mode 100644 index 5d4a8abc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0022.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0022 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is ss03 on :' + '0123456789+-><' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"ss03\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0022') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0023.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0023.ets deleted file mode 100644 index 4ebea061..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0023.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0023 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is ss04 on :' + '0123456789l' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"ss04\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0023') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0024.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0024.ets deleted file mode 100644 index f155c7db..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0024.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0024 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is ss05 on :' + '€¥+-x÷1234' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"ss05\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0024') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0025.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0025.ets deleted file mode 100644 index 857d10b7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0025.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0025 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is ss06 on :' + '0123456789,。?!、123' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"ss06\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0025') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0026.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0026.ets deleted file mode 100644 index fb6f468f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0026.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0026 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is ss07 on :' + 'HarmonyOS 001' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"ss07\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0026') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0027.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0027.ets deleted file mode 100644 index b5c3a97e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0027.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0027 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is ss08 on :' + ',。!、;?:123' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"ss08\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0027') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0028.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0028.ets deleted file mode 100644 index 6d70d96d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0028.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0028 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is ss09 on :' + '4567890中国' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"ss09\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0028') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0029.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0029.ets deleted file mode 100644 index 996295e8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0029.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0029 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is (ss09,ss04) on :' + 'l0123456789l'+'\n', - { - style: - { - fontSize: 30, - fontFeature: '\"ss09\",\"ss04\" on' - } - }) - }) - .key('ComponentTextRicheditorFontfeature0029') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0030.ets deleted file mode 100644 index d62e5aae..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0030.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0030 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is null on :' + '0123456789,。?!、123' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"null\"" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0030') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0031.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0031.ets deleted file mode 100644 index c6e6bbd4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0031.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0031 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is bad features :' + '0123l' + '\n', - { - style: - { - fontSize: 30, - fontFeature: '\"abcdefgg&*\" on,\"ss04\" 12354hfnfn3' - } - }) - }) - .key('ComponentTextRicheditorFontfeature0031') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0032.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0032.ets deleted file mode 100644 index fcf11b3d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0032.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0032 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is on an off features :' + '0123l' + '\n', - { - style: - { - fontSize: 30, - fontFeature: '\"ss04\" on,\"ss04\" off' - } - }) - }) - .key('ComponentTextRicheditorFontfeature0032') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0033.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0033.ets deleted file mode 100644 index 08557e03..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0033.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0033 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is sups on :' + 'shell脚本' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"ss04\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0033') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0034.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0034.ets deleted file mode 100644 index 1c417684..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0034.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0034 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is sups on :' + 'shell脚本' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"ss04\" on" - } - }) - this.controller.addSymbolSpan($r("sys.symbol.ohos_trash"), - { - style: - { - fontSize: 30, - } - }) - }) - .key('ComponentTextRicheditorFontfeature0034') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0035.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0035.ets deleted file mode 100644 index a48cfc6b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0035.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0035 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is sups on :' + 'shell脚本' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"ss04\" on" - } - }) - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"], - } - }) - }) - .key('ComponentTextRicheditorFontfeature0035') - } - .borderWidth(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/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0036.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0036.ets deleted file mode 100644 index 737f5b00..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0036.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0036 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('\uD83D\uDE00', - { - style: - { - fontSize: 30, - } - }) - this.controller.updateSpanStyle({ - textStyle: { - fontFeature: "\"ss04\" on" - } - }) - }) - .key('ComponentTextRicheditorFontfeature0036') - } - .borderWidth(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/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0037.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0037.ets deleted file mode 100644 index 987fb85d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0037.ets +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0037 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Flex({ direction: FlexDirection.Column }) { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('shell123', - { - style: - { - fontSize: 30, - fontFeature: "\"sups\" on" - } - }) - }) - .id('ComponentTextRicheditorFontfeature003701') - .height(100) - .backgroundColor(0xF5DEB3) - .width('100%') - RichEditor(this.options1) - .onReady(() => { - this.controller1.addTextSpan('1', - { - style: - { - fontSize: 30, - fontFeature: "\"ss04\" on" - } - }) - }) - .id('ComponentTextRicheditorFontfeature003702') - .width('100%') - .height(100) - .backgroundColor(0xD2B48C) - - } - .borderWidth(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/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0038.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0038.ets deleted file mode 100644 index e1eb9f4a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0038.ets +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0038 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Flex({ direction: FlexDirection.Column }) { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('shell123', - { - style: - { - fontSize: 30, - fontFeature: "\"sups\" on" - } - }) - }) - .id('ComponentTextRicheditorFontfeature003801') - .height(100) - .backgroundColor(0xF5DEB3) - .width('100%') - RichEditor(this.options1) - .onReady(() => { - this.controller1.addTextSpan('1', - { - style: - { - fontSize: 30, - fontFeature: "\"sups\" on" - } - }) - }) - .id('ComponentTextRicheditorFontfeature003802') - .width('100%') - .height(100) - .backgroundColor(0xD2B48C) - - } - .borderWidth(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/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0039.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0039.ets deleted file mode 100644 index 0d99b579..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0039.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0039 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - TextArea({text:"中国人ll1"}).draggable(true).width(100).height(50).id('TextArea').fontFeature("\"sups\" on"); - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国人あadfll', - { - style: - { - fontFeature: "\"ss04\" on" - } - }) - }) - .id('ComponentTextRicheditorFontfeature0039') - .draggable(true) - .width(200) - .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/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0040.ets deleted file mode 100644 index 542d6247..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0040.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0040 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - TextArea({text:"中国人ll1"}).draggable(true).width(100).height(50).id('TextArea').fontFeature("\"ss04\" on"); - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国人あadfll', - { - style: - { - fontFeature: "\"ss04\" on" - } - }) - }) - .id('ComponentTextRicheditorFontfeature0040') - .draggable(true) - .width(200) - .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/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0041.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0041.ets deleted file mode 100644 index f87111f4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0041.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0041 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('This is sups on :' + '123456789' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"sups\" on" - } - }); - this.controller.addTextSpan('This is ss04 on :' + 'Shell' + '\n', - { - style: - { - fontSize: 30, - fontFeature: "\"ss04\" on" - } - }); - }) - .key('ComponentTextRicheditorFontfeature41') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0042.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0042.ets deleted file mode 100644 index 77f61bf1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0042.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0042 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Flex({ direction: FlexDirection.Column }) { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('shell123', - { - style: - { - fontSize: 30, - fontFeature: "\"sups\" 1" - } - }) - }) - .onIMEInputComplete((value: RichEditorTextSpanResult)=>{ - console.info("textSpan fontFeature:" + value.textStyle.fontFeature) - }) - .id('ComponentTextRicheditorFontfeature0042') - .height(100) - .backgroundColor(0xF5DEB3) - .width('100%') - } - .borderWidth(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/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0043.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0043.ets deleted file mode 100644 index e391580d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0043.ets +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0043 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Flex({ direction: FlexDirection.Column }) { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('shell123', - { - style: - { - fontSize: 30, - fontFeature: "\"sups\" 1" - } - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - }) - .aboutToDelete((value: RichEditorDeleteValue) => { - value.richEditorDeleteSpans.forEach(item => { - if (typeof(item as RichEditorImageSpanResult)['imageStyle'] != 'undefined') { - console.log("fontFeature del:" + (item as RichEditorImageSpanResult).valueResourceStr); - } else { - console.log("fontFeature del:" + (item as RichEditorTextSpanResult).textStyle.fontFeature); - } - }) - return true; - }) - .id('ComponentTextRicheditorFontfeature0043') - .height(100) - .backgroundColor(0xF5DEB3) - .width('100%') - } - .borderWidth(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/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0044.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0044.ets deleted file mode 100644 index 1ceb489a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0044.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0044 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Flex({ direction: FlexDirection.Column }) { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('shell123', - { - style: - { - fontSize: 30, - } - }); - this.controller.setTypingStyle( - { - fontWeight: 'medium', - fontColor: Color.Blue, - fontSize: 50, - fontStyle: FontStyle.Italic, - fontFeature: "\"ss04\" 1" - }); - console.info("getTypingStyle===="+ this.controller.getTypingStyle().fontFeature); - }) - .id('ComponentTextRicheditorFontfeature0044') - .height(100) - .backgroundColor(0xF5DEB3) - .width('100%') - } - .borderWidth(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/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0045.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0045.ets deleted file mode 100644 index abe21c23..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0045.ets +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0045 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Flex({ direction: FlexDirection.Column }) { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('shell10', - { - style: - { - fontSize: 30, - fontFeature: "\"sups\" 1" - } - }) - }) - .id('ComponentTextRicheditorFontfeature0045') - .height(100) - .backgroundColor(0xF5DEB3) - .width('100%') - Button('setSelection(0,4)', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id("select") - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection(0, 4); - this.controller.updateSpanStyle({ - start: 0, - end: 4, - textStyle: { - fontFeature: "\"ss04\" 1" - } - }); - }) - } - .borderWidth(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/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0046.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0046.ets deleted file mode 100644 index 32500c5c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0046.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0046 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Flex({ direction: FlexDirection.Column }) { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('shell10', - { - style: - { - fontSize: 30, - fontFeature: "\"sups\" 1" - } - }) - }) - .id('ComponentTextRicheditorFontfeature0046') - .height(100) - .backgroundColor(0xF5DEB3) - .width('100%') - Button('getspans', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id("getspans") - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.getSpans({ - start: -1, - end: -1 - }).forEach(item =>{ - console.info("getspans msg ==="+(item as RichEditorTextSpanResult).textStyle.fontFeature); - }); - }) - } - .borderWidth(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/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0047.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0047.ets deleted file mode 100644 index 446c51f3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0047.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0047 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Flex({ direction: FlexDirection.Column }) { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('shell10', - { - style: - { - fontSize: 30, - fontFeature: '\"sups\",\"ss04\" 1' - } - }) - }) - .id('ComponentTextRicheditorFontfeature0047') - .height(100) - .backgroundColor(0xF5DEB3) - .width('100%') - Button('getselection', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id("getselection") - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.setSelection(-1,-1); - let selection = this.controller.getSelection(); - let spans = selection.spans; - spans.forEach((item: RichEditorTextSpanResult | RichEditorImageSpanResult, index) => { - console.info("fontfeature====" + (item as RichEditorTextSpanResult).textStyle.fontFeature); - }); - }) - } - .borderWidth(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/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0048.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0048.ets deleted file mode 100644 index a74182dd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0048.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0048 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Flex({ direction: FlexDirection.Column }) { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('1010', - { - style: - { - fontSize: 30, - fontFeature: '\"sups\", 1' - } - }); - this.controller.addTextSpan('shell100', - { - style: - { - fontSize: 30, - fontFeature: '\"ss04\", 1' - } - }); - }) - .id('ComponentTextRicheditorFontfeature0048') - .height(100) - .backgroundColor(0xF5DEB3) - .width('100%') - .onSelect((value: RichEditorSelection) => { - this.controller.addTextSpan('选中内容属性'+value, - { - - }); - console.info("onSelect========"+JSON.stringify(value)); - }) - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - this.controller.setSelection(1, 2); - }) - } - .borderWidth(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/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0049.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0049.ets deleted file mode 100644 index ef325040..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0049.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0049 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Flex({ direction: FlexDirection.Column }) { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('shell10', - { - style: - { - fontColor: Color.Orange, - fontFeature: '\"sups\" on' - } - }) - }) - .id('ComponentTextRicheditorFontfeature0049') - .height(100) - .width('100%') - } - .borderWidth(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/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0050.ets deleted file mode 100644 index 62bc06d1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0050.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0050 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Flex({ direction: FlexDirection.Column }) { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('shell10', - { - style: - { - fontStyle: FontStyle.Italic, - fontFeature: '\"subs\" on' - } - }) - }) - .id('ComponentTextRicheditorFontfeature0050') - .height(100) - .width('100%') - } - .borderWidth(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/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0051.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0051.ets deleted file mode 100644 index cd3db960..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0051.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0051 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Flex({ direction: FlexDirection.Column }) { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('shell10', - { - style: - { - fontWeight: FontWeight.Bolder, - fontFeature: '\"numr\" on' - } - }) - }) - .id('ComponentTextRicheditorFontfeature0051') - .height(100) - .width('100%') - } - .borderWidth(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/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0052.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0052.ets deleted file mode 100644 index ac05a410..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0052.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0052 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Flex({ direction: FlexDirection.Column }) { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('shell10', - { - style: - { - fontFamily: 'HarmonyOS sans', - fontFeature: '\"ss04\" on' - } - }) - }) - .id('ComponentTextRicheditorFontfeature0052') - .height(100) - .width('100%') - } - .borderWidth(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/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0053.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0053.ets deleted file mode 100644 index 86744124..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0053.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0053 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Flex({ direction: FlexDirection.Column }) { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('shell10', - { - style: - { - decoration: { type: TextDecorationType.Underline, color: Color.Black }, - fontFeature: '\"fwid\" on' - } - }) - }) - .id('ComponentTextRicheditorFontfeature0053') - .height(100) - .width('100%') - } - .borderWidth(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/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0054.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0054.ets deleted file mode 100644 index e709bee5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0054.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0054 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Flex({ direction: FlexDirection.Column }) { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('shell10', - { - style: - { - textShadow: { radius: 10, color: Color.Blue, offsetX: 10, offsetY: 0 }, - fontFeature: '\"ss08\" on' - } - }) - }) - .id('ComponentTextRicheditorFontfeature0054') - .height(100) - .width('100%') - } - .borderWidth(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/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0055.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0055.ets deleted file mode 100644 index d2aaf7a3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0055.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0055 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Flex({ direction: FlexDirection.Column }) { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('shell10', - { - style: - { - lineHeight: 50, - fontFeature: '\"hwid\" on' - } - }) - }) - .id('ComponentTextRicheditorFontfeature0055') - .height(100) - .width('100%') - } - .borderWidth(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/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0056.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0056.ets deleted file mode 100644 index 2f52f090..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0056.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0056 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Flex({ direction: FlexDirection.Column }) { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('【】 123', - { - style: - { - letterSpacing: 20, - fontFeature: '\"vert\" on' - } - }) - }) - .id('ComponentTextRicheditorFontfeature0056') - .height(100) - .width('100%') - } - .borderWidth(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/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0057.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0057.ets deleted file mode 100644 index 87ac8fa0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0057.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0057 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State heightRichEditor: number = 100; - @State widthRichEditor: number = 200; - - build() { - Flex({ direction: FlexDirection.Column }) { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('【】 123', - { - style: - { - letterSpacing: 20, - fontFeature: '\"vert\" on' - } - }) - }) - .id('ComponentTextRicheditorFontfeature0057') - .height(this.heightRichEditor) - .width(this.widthRichEditor) - .backgroundColor(Color.Pink) - Button('justFeature', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('justFeature') - .height(30) - .fontSize(13) - .onClick(() => { - this.heightRichEditor = 200; - this.widthRichEditor = 300; - }) - } - .borderWidth(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/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0058.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0058.ets deleted file mode 100644 index 22dc5f49..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0058.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0058 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State paddingRichEditor: number = 1; - @State marginRichEditor: number = 2; - - build() { - Flex({ direction: FlexDirection.Column }) { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('【】 123', - { - style: - { - letterSpacing: 20, - fontFeature: '\"vert\" on' - } - }) - }) - .id('ComponentTextRicheditorFontfeature0058') - .height(100) - .width('100%') - .padding(this.paddingRichEditor) - .margin(this.marginRichEditor) - .backgroundColor(Color.Pink) - Button('justFeature', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('justFeature') - .height(30) - .fontSize(13) - .onClick(() => { - this.paddingRichEditor = 10; - this.marginRichEditor = 20; - }) - } - .borderWidth(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/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0059.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0059.ets deleted file mode 100644 index bfa8b450..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0059.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorFontfeature0059 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State paddingRichEditor: number = 1; - @State marginRichEditor: number = 2; - - build() { - Flex({ direction: FlexDirection.Column }) { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('【】 123', - { - style: - { - letterSpacing: 20, - fontFeature: '\"vert\" on' - }, - paragraphStyle: { - textAlign: TextAlign.Start, - leadingMargin: 5 - } - }) - }) - .id('ComponentTextRicheditorFontfeature0059') - .height(100) - .width('100%') - .padding(this.paddingRichEditor) - .margin(this.marginRichEditor) - .backgroundColor(Color.Pink) - Button('justFeature', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('justFeature') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.updateParagraphStyle({ start: -1, end: -1, - style: { - textAlign: TextAlign.End, - leadingMargin:20 - } - }); - }) - } - .borderWidth(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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0340.ets deleted file mode 100644 index c8f8afff..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0340.ets +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import LeadingMarginCreator from '../../../test/model/LeadingMaginCreator'; - -@Entry -@Component -struct ComponentTextRicheditorInterface0340 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - private leadingMarkCreatorInstance = LeadingMarginCreator.instance; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我爱你中国' + '\n', - {}); - this.controller.addTextSpan('我爱你中国' + '\n', - {}); - this.controller.addTextSpan('我爱你中国' + '\n', - {}); - this.controller.addTextSpan('我爱你中国' + '\n', - {}); - this.controller.addTextSpan('我爱你中国' + '\n', - {}); - this.controller.addTextSpan('我爱你中国' + '\n', - {}); - this.controller.updateParagraphStyle({ - start: 1, - end: 10, - style: { - leadingMargin: { - pixelMap: this.leadingMarkCreatorInstance.genCircleMark(20, 30, 1), - size: [30, 40] - } - } - }); - }) - .id('ComponentTextRicheditorInterface0340') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0350.ets deleted file mode 100644 index 238e2c3a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0350.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0350 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我爱你中国' + '\n', - {}); - this.controller.addTextSpan('我爱你中国' + '\n', - {}); - this.controller.addTextSpan('我爱你中国' + '\n', - {}); - this.controller.updateParagraphStyle({ - start: 1, - end: 10, - style: { - textAlign:TextAlign.Center, - leadingMargin:200 - } - }); - }) - .id('ComponentTextRicheditorInterface0350') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0360.ets deleted file mode 100644 index 64e71c63..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0360.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import LeadingMarginCreator from '../../../test/model/LeadingMaginCreator'; - -@Entry -@Component -struct ComponentTextRicheditorInterface0360 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - private leadingMarkCreatorInstance = LeadingMarginCreator.instance; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我爱你中国' + '\n', - {}); - this.controller.addTextSpan('我爱你中国' + '\n', - {}); - this.controller.addTextSpan('我爱你中国' + '\n', - {}); - this.controller.addTextSpan('我爱你中国' + '\n', - {}); - this.controller.addTextSpan('我爱你中国' + '\n', - {}); - this.controller.addTextSpan('我爱你中国' + '\n', - {}); - this.controller.updateParagraphStyle({ - start: 1, - end: 10, - style: { - textAlign:TextAlign.Center, - leadingMargin: { - pixelMap: this.leadingMarkCreatorInstance.genCircleMark(20, 30, 1), - size: [30, 40] - } - } - }); - }) - .id('ComponentTextRicheditorInterface0360') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0410.ets deleted file mode 100644 index c8f46f80..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0410.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0410 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color = Color.Pink; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我爱你中国' + '\n', - {}); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0410') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0420.ets deleted file mode 100644 index 269eeb9c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0420.ets +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0420 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color = Color.Pink; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我爱你中国' + '\n', - {}); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0420') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0430.ets deleted file mode 100644 index 6589e339..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0430.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0430 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color = Color.Pink; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我爱你中国' + '\n', - {}); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0430') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0440.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0440.ets deleted file mode 100644 index fd66198b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0440.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0440 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color = Color.Pink; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('我爱你中国' + '\n', - {}); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0440') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0450.ets deleted file mode 100644 index 41b3782a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0450.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0450 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color = Color.Pink; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我爱你中国', - {}); - this.controller.addTextSpan('我爱你中国'+ '\n', - { - style:{ - fontStyle:FontStyle.Italic - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0450') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0460.ets deleted file mode 100644 index 32eb7f68..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0460.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0460 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color = 0x00ff00; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0460') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0470.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0470.ets deleted file mode 100644 index 8c618771..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0470.ets +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0470 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color = 0x00ff00; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0470') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0480.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0480.ets deleted file mode 100644 index eabdac79..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0480.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0480 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color = 0x00ff00; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0480') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0490.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0490.ets deleted file mode 100644 index dbd5de2b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0490.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0490 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color = 0x00ff00; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0490') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0500.ets deleted file mode 100644 index 2ae1e7b3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0500.ets +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0500 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color = 0x00ff00; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('CHina', - { - }); - this.controller.addTextSpan('中国'+ '\n', - { - style:{ - fontStyle:FontStyle.Italic - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0500') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0510.ets deleted file mode 100644 index 821584d1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0510.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0510 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color | string = '#000000'; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0510') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0520.ets deleted file mode 100644 index f349cb29..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0520.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0520 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color | string = '#000000'; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0520') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0530.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0530.ets deleted file mode 100644 index 00822b6f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0530.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0530 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color | string = '#000000'; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0530') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0540.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0540.ets deleted file mode 100644 index 03a59e45..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0540.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0540 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color | string = '#000000'; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0540') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0550.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0550.ets deleted file mode 100644 index 58a8ba11..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0550.ets +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0550 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color | string = '#000000'; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('CHina', - { - }); - this.controller.addTextSpan('中国'+ '\n', - { - style:{ - fontStyle:FontStyle.Italic - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0550') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0560.ets deleted file mode 100644 index 65120f8e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0560.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0560 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color | string = '#ff00FF00'; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0560') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0570.ets deleted file mode 100644 index 15058d5e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0570.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0570 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color | string = '#ff00FF00'; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0570') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0580.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0580.ets deleted file mode 100644 index bfd9af47..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0580.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0580 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color | string = '#ff00FF00'; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0580') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0590.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0590.ets deleted file mode 100644 index 4eabbbb1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0590.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0590 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color | string = '#ff00FF00'; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0590') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0600.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0600.ets deleted file mode 100644 index b41fbd84..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0600.ets +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0600 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color | string = '#ff00FF00'; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('CHina', - { - }); - this.controller.addTextSpan('中国'+ '\n', - { - style:{ - fontStyle:FontStyle.Italic - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0600') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0610.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0610.ets deleted file mode 100644 index 5361f8a7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0610.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0610 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color | string = " rgba(255,0,0, 0.5)"; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0610') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0620.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0620.ets deleted file mode 100644 index 1f979a77..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0620.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0620 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color | string = " rgba(255,0,0, 0.5)"; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0620') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0630.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0630.ets deleted file mode 100644 index 8682c49f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0630.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0630 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color | string = " rgba(255,0,0, 0.5)";; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0630') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0640.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0640.ets deleted file mode 100644 index fca16d42..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0640.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0640 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color | string = " rgba(255,0,0, 0.5)";; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0640') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0650.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0650.ets deleted file mode 100644 index 029daa2f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0650.ets +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0650 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color | string = " rgba(255,0,0, 0.5)";; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('CHina', - { - }); - this.controller.addTextSpan('中国'+ '\n', - { - style:{ - fontStyle:FontStyle.Italic - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0650') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0660.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0660.ets deleted file mode 100644 index 875f7e14..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0660.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0660 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color | string = getContext().resourceManager.getColorSync($r('app.color.yellow')); - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0660') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0670.ets deleted file mode 100644 index 68cd04ec..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0670.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0670 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color | string = getContext().resourceManager.getColorSync($r('app.color.yellow')); - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0670') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0680.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0680.ets deleted file mode 100644 index 20a37f26..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0680.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0680 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color | string = getContext().resourceManager.getColorSync($r('app.color.yellow')); - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0680') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0690.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0690.ets deleted file mode 100644 index b4a36717..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0690.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0690 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color | string = getContext().resourceManager.getColorSync($r('app.color.yellow')); - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0690') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0700.ets deleted file mode 100644 index 55cd2526..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0700.ets +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0700 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State color: Color | string = getContext().resourceManager.getColorSync($r('app.color.yellow')); - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('CHina', - { - }); - this.controller.addTextSpan('中国'+ '\n', - { - style:{ - fontStyle:FontStyle.Italic - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.color - } - }); - }) - .id('ComponentTextRicheditorInterface0700') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontColor: this.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/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0710.ets deleted file mode 100644 index c636257c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0710.ets +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0710 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State sizeRich: number = 10; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('CHina', - { - }); - this.controller.addTextSpan('中国'+ '\n', - { - style:{ - fontStyle:FontStyle.Italic - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - .id('ComponentTextRicheditorInterface0710') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0720.ets deleted file mode 100644 index bd97928b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0720.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0720 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State sizeRich: number = 10; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - .id('ComponentTextRicheditorInterface0720') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0730.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0730.ets deleted file mode 100644 index fb0e827b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0730.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0730 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State sizeRich: number = 10; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - .id('ComponentTextRicheditorInterface0730') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0740.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0740.ets deleted file mode 100644 index 01b0f182..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0740.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0740 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State sizeRich: number = 10; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - .id('ComponentTextRicheditorInterface0740') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0750.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0750.ets deleted file mode 100644 index 0c4e5fcd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0750.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0750 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State sizeRich: number = 10; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - .id('ComponentTextRicheditorInterface0750') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0760.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0760.ets deleted file mode 100644 index 3e8c6f90..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0760.ets +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0760 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State sizeRich: number | Resource | string = '10px'; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('CHina', - { - }); - this.controller.addTextSpan('中国'+ '\n', - { - style:{ - fontStyle:FontStyle.Italic - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - .id('ComponentTextRicheditorInterface0760') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0770.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0770.ets deleted file mode 100644 index b84eeebe..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0770.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0770 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State sizeRich: number | Resource | string = '10px'; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - .id('ComponentTextRicheditorInterface0770') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0780.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0780.ets deleted file mode 100644 index 39fb7fbd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0780.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0780 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State sizeRich: number | Resource | string = '10px'; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - .id('ComponentTextRicheditorInterface0780') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0790.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0790.ets deleted file mode 100644 index 19253924..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0790.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0790 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State sizeRich: number | Resource | string = '10px'; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - .id('ComponentTextRicheditorInterface0790') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0800.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0800.ets deleted file mode 100644 index 527705a2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0800.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0800 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State sizeRich: number | Resource | string = '10px'; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - .id('ComponentTextRicheditorInterface0800') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0810.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0810.ets deleted file mode 100644 index d76a3eec..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0810.ets +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0810 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State sizeRich: string = getContext().resourceManager.getStringSync($r('app.string.font_20')); - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('CHina', - { - }); - this.controller.addTextSpan('中国'+ '\n', - { - style:{ - fontStyle:FontStyle.Italic - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - .id('ComponentTextRicheditorInterface0810') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0820.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0820.ets deleted file mode 100644 index 0cc63a08..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0820.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0820 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State sizeRich: string = getContext().resourceManager.getStringSync($r('app.string.font_20')); - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - .id('ComponentTextRicheditorInterface0820') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0830.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0830.ets deleted file mode 100644 index 58f1d79a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0830.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0830 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State sizeRich: string = getContext().resourceManager.getStringSync($r('app.string.font_20')); - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - .id('ComponentTextRicheditorInterface0830') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0840.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0840.ets deleted file mode 100644 index af7413f2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0840.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0840 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State sizeRich: string = getContext().resourceManager.getStringSync($r('app.string.font_20')); - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - .id('ComponentTextRicheditorInterface0840') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0850.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0850.ets deleted file mode 100644 index b3459127..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0850.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0850 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State sizeRich: string = getContext().resourceManager.getStringSync($r('app.string.font_20')); - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - .id('ComponentTextRicheditorInterface0850') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontSize: this.sizeRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0860.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0860.ets deleted file mode 100644 index 2a02b8f1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0860.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0860 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontStyleRich: FontStyle = FontStyle.Italic; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontStyle: this.fontStyleRich - } - }); - }) - .id('ComponentTextRicheditorInterface0860') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontStyle: this.fontStyleRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0870.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0870.ets deleted file mode 100644 index b7a6a3f0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0870.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0870 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontStyleRich: FontStyle = FontStyle.Italic; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontStyle: this.fontStyleRich - } - }); - }) - .id('ComponentTextRicheditorInterface0870') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontStyle: this.fontStyleRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0880.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0880.ets deleted file mode 100644 index 453c3df2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0880.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0880 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontStyleRich: FontStyle = FontStyle.Italic; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontStyle: this.fontStyleRich - } - }); - }) - .id('ComponentTextRicheditorInterface0880') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontStyle: this.fontStyleRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0890.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0890.ets deleted file mode 100644 index cba4ca42..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0890.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0890 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontStyleRich: FontStyle = FontStyle.Italic; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontStyle: this.fontStyleRich - } - }); - }) - .id('ComponentTextRicheditorInterface0890') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontStyle: this.fontStyleRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0900.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0900.ets deleted file mode 100644 index e6d04e58..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0900.ets +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0900 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontStyleRich: FontStyle = FontStyle.Italic; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('CHina', - { - }); - this.controller.addTextSpan('中国'+ '\n', - { - style:{ - fontStyle:FontStyle.Italic - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontStyle: this.fontStyleRich - } - }); - }) - .id('ComponentTextRicheditorInterface0900') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontStyle: this.fontStyleRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0910.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0910.ets deleted file mode 100644 index 7ffa139e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0910.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0910 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontWweightRich: FontWeight = FontWeight.Lighter; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - .id('ComponentTextRicheditorInterface0910') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0920.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0920.ets deleted file mode 100644 index 01c9f1e5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0920.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0920 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontWweightRich: FontWeight = FontWeight.Lighter; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - .id('ComponentTextRicheditorInterface0920') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0930.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0930.ets deleted file mode 100644 index a1fd242b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0930.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0930 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontWweightRich: FontWeight = FontWeight.Lighter; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - .id('ComponentTextRicheditorInterface0930') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0940.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0940.ets deleted file mode 100644 index f2d79644..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0940.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0940 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontWweightRich: FontWeight = FontWeight.Lighter; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - .id('ComponentTextRicheditorInterface0940') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0950.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0950.ets deleted file mode 100644 index 0bb94f62..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0950.ets +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0950 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontWweightRich: FontWeight = FontWeight.Lighter; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('CHina', - { - }); - this.controller.addTextSpan('中国'+ '\n', - { - style:{ - fontStyle:FontStyle.Italic - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - .id('ComponentTextRicheditorInterface0950') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0960.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0960.ets deleted file mode 100644 index 35643cf8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0960.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0960 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontWweightRich: FontWeight = 900; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - .id('ComponentTextRicheditorInterface0960') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0970.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0970.ets deleted file mode 100644 index 286d57d0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0970.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0970 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontWweightRich: FontWeight = 900; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - .id('ComponentTextRicheditorInterface0970') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0980.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0980.ets deleted file mode 100644 index 4e33ea45..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0980.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0980 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontWweightRich: FontWeight = 900; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - .id('ComponentTextRicheditorInterface0980') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0990.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0990.ets deleted file mode 100644 index 3dc2bcdc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0990.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface0990 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontWweightRich: FontWeight = 900; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - .id('ComponentTextRicheditorInterface0990') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1000.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1000.ets deleted file mode 100644 index 8d531f54..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1000.ets +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1000 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontWweightRich: FontWeight = 900; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('CHina', - { - }); - this.controller.addTextSpan('中国'+ '\n', - { - style:{ - fontStyle:FontStyle.Italic - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - .id('ComponentTextRicheditorInterface1000') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1010.ets deleted file mode 100644 index 4fa3a5ef..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1010.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1010 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontWweightRich: FontWeight = FontWeight.Bolder; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - .id('ComponentTextRicheditorInterface1010') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1020.ets deleted file mode 100644 index 4506da57..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1020.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1020 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontWweightRich: FontWeight = FontWeight.Bolder; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - .id('ComponentTextRicheditorInterface1020') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1030.ets deleted file mode 100644 index 3dcb9902..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1030.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1030 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontWweightRich: FontWeight = FontWeight.Bolder; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - .id('ComponentTextRicheditorInterface1030') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1040.ets deleted file mode 100644 index 08073852..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1040.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1040 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontWweightRich: FontWeight = FontWeight.Bolder; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - .id('ComponentTextRicheditorInterface1040') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1050.ets deleted file mode 100644 index 9ff8f235..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1050.ets +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1050 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontWweightRich: FontWeight = FontWeight.Bolder; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('CHina', - { - }); - this.controller.addTextSpan('中国'+ '\n', - { - style:{ - fontStyle:FontStyle.Italic - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - .id('ComponentTextRicheditorInterface1050') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontWeight: this.fontWweightRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1060.ets deleted file mode 100644 index d0b2affc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1060.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1060 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontFamilyRich: string = 'HarmonyOS Sans'; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontFamily: this.fontFamilyRich - } - }); - }) - .id('ComponentTextRicheditorInterface1060') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontFamily: this.fontFamilyRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1070.ets deleted file mode 100644 index 65614976..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1070.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1070 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontFamilyRich: string = 'HarmonyOS Sans'; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontFamily: this.fontFamilyRich - } - }); - }) - .id('ComponentTextRicheditorInterface1070') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontFamily: this.fontFamilyRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1080.ets deleted file mode 100644 index 1441b71f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1080.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1080 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontFamilyRich: string = 'HarmonyOS Sans'; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontFamily: this.fontFamilyRich - } - }); - }) - .id('ComponentTextRicheditorInterface1080') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontFamily: this.fontFamilyRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1090.ets deleted file mode 100644 index 62da9d1d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1090.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1090 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontFamilyRich: string = 'HarmonyOS Sans'; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontFamily: this.fontFamilyRich - } - }); - }) - .id('ComponentTextRicheditorInterface1090') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontFamily: this.fontFamilyRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1100.ets deleted file mode 100644 index 5ec24aaa..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1100.ets +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1100 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontFamilyRich: string = 'HarmonyOS Sans'; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('CHina', - { - }); - this.controller.addTextSpan('中国'+ '\n', - { - style:{ - fontStyle:FontStyle.Italic - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontFamily: this.fontFamilyRich - } - }); - }) - .id('ComponentTextRicheditorInterface1100') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontFamily: this.fontFamilyRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1110.ets deleted file mode 100644 index 79fd7e31..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1110.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1110 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{ color: Color.Black,type: TextDecorationType.Underline} - } - }); - }) - .id('ComponentTextRicheditorInterface1110') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{ color: Color.Black,type: TextDecorationType.Underline} - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1120.ets deleted file mode 100644 index d74f83c6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1120.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1120 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{ color: Color.Black,type: TextDecorationType.Underline} - } - }); - }) - .id('ComponentTextRicheditorInterface1120') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{ color: Color.Black,type: TextDecorationType.Underline} - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1130.ets deleted file mode 100644 index cfd12c76..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1130.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1130 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{ color: Color.Black,type: TextDecorationType.Underline} - } - }); - }) - .id('ComponentTextRicheditorInterface1130') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{ color: Color.Black,type: TextDecorationType.Underline} - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1140.ets deleted file mode 100644 index c29e7592..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1140.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1140 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{ color: Color.Black,type: TextDecorationType.Underline} - } - }); - }) - .id('ComponentTextRicheditorInterface1140') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{ color: Color.Black,type: TextDecorationType.Underline} - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1150.ets deleted file mode 100644 index 0eb36248..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1150.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1150 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('CHina', - { - }); - this.controller.addTextSpan('中国'+ '\n', - { - style:{ - fontStyle:FontStyle.Italic - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{ color: Color.Black,type: TextDecorationType.Underline} - } - }); - }) - .id('ComponentTextRicheditorInterface1150') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{ color: Color.Black,type: TextDecorationType.Underline} - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1160.ets deleted file mode 100644 index 49acb4a0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1160.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1160 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: 'rgb(0,0,255)',type: TextDecorationType.LineThrough} - } - }); - }) - .id('ComponentTextRicheditorInterface1160') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: 'rgb(0,0,255)',type: TextDecorationType.LineThrough} - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1170.ets deleted file mode 100644 index 4316aee8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1170.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1170 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: 'rgb(0,0,255)',type: TextDecorationType.LineThrough} - } - }); - }) - .id('ComponentTextRicheditorInterface1170') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: 'rgb(0,0,255)',type: TextDecorationType.LineThrough} - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1180.ets deleted file mode 100644 index 386bc419..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1180.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1180 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: 'rgb(0,0,255)',type: TextDecorationType.LineThrough} - } - }); - }) - .id('ComponentTextRicheditorInterface1180') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: 'rgb(0,0,255)',type: TextDecorationType.LineThrough} - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1190.ets deleted file mode 100644 index ff6c8f9e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1190.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1190 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: 'rgb(0,0,255)',type: TextDecorationType.LineThrough} - } - }); - }) - .id('ComponentTextRicheditorInterface1190') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: 'rgb(0,0,255)',type: TextDecorationType.LineThrough} - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1200.ets deleted file mode 100644 index 2da57cb7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1200.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1200 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('CHina', - { - }); - this.controller.addTextSpan('中国'+ '\n', - { - style:{ - fontStyle:FontStyle.Italic - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: 'rgb(0,0,255)',type: TextDecorationType.LineThrough} - } - }); - }) - .id('ComponentTextRicheditorInterface1200') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: 'rgb(0,0,255)',type: TextDecorationType.LineThrough} - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1210.ets deleted file mode 100644 index f20d58bc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1210.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1210 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: getContext().resourceManager.getColorSync($r('app.color.yellow')),type: TextDecorationType.Overline} - } - }); - }) - .id('ComponentTextRicheditorInterface1210') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: getContext().resourceManager.getColorSync($r('app.color.yellow')),type: TextDecorationType.Overline} - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1220.ets deleted file mode 100644 index 5dc3536d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1220.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1220 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: getContext().resourceManager.getColorSync($r('app.color.yellow')),type: TextDecorationType.Overline} - } - }); - }) - .id('ComponentTextRicheditorInterface1220') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: getContext().resourceManager.getColorSync($r('app.color.yellow')),type: TextDecorationType.Overline} - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1230.ets deleted file mode 100644 index e597afb6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1230.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1230 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: getContext().resourceManager.getColorSync($r('app.color.yellow')),type: TextDecorationType.Overline} - } - }); - }) - .id('ComponentTextRicheditorInterface1230') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: getContext().resourceManager.getColorSync($r('app.color.yellow')),type: TextDecorationType.Overline} - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1240.ets deleted file mode 100644 index d250d660..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1240.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1240 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: getContext().resourceManager.getColorSync($r('app.color.yellow')),type: TextDecorationType.Overline} - } - }); - }) - .id('ComponentTextRicheditorInterface1240') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: getContext().resourceManager.getColorSync($r('app.color.yellow')),type: TextDecorationType.Overline} - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1250.ets deleted file mode 100644 index 1769df6e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1250.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1250 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('CHina', - { - }); - this.controller.addTextSpan('中国'+ '\n', - { - style:{ - fontStyle:FontStyle.Italic - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: getContext().resourceManager.getColorSync($r('app.color.yellow')),type: TextDecorationType.Overline} - } - }); - }) - .id('ComponentTextRicheditorInterface1250') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: getContext().resourceManager.getColorSync($r('app.color.yellow')),type: TextDecorationType.Overline} - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1260.ets deleted file mode 100644 index 5334a26e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1260.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1260 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color:0x00ff00,type: TextDecorationType.Overline} - } - }); - }) - .id('ComponentTextRicheditorInterface1260') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: 0x00ff00,type: TextDecorationType.Overline} - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1270.ets deleted file mode 100644 index 28f4bfa1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1270.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1270 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: 0x00ff00,type: TextDecorationType.Overline} - } - }); - }) - .id('ComponentTextRicheditorInterface1270') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: 0x00ff00,type: TextDecorationType.Overline} - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1280.ets deleted file mode 100644 index a06f5435..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1280.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1280 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: 0x00ff00,type: TextDecorationType.Overline} - } - }); - }) - .id('ComponentTextRicheditorInterface1280') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: 0x00ff00,type: TextDecorationType.Overline} - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1290.ets deleted file mode 100644 index f3d4e4c1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1290.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1290 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: 0x00ff00,type: TextDecorationType.Overline} - } - }); - }) - .id('ComponentTextRicheditorInterface1290') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: 0x00ff00,type: TextDecorationType.Overline} - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1300.ets deleted file mode 100644 index afe7b6c1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1300.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1300 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('CHina', - { - }); - this.controller.addTextSpan('中国'+ '\n', - { - style:{ - fontStyle:FontStyle.Italic - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: 0x00ff00,type: TextDecorationType.Overline} - } - }); - }) - .id('ComponentTextRicheditorInterface1300') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - decoration:{color: 0x00ff00,type: TextDecorationType.Overline} - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1310.ets deleted file mode 100644 index d47a4622..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1310.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1310 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontFamilyRich: string = 'Arial'; - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontFamily:this.fontFamilyRich - } - }); - }) - .id('ComponentTextRicheditorInterface1310') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontFamily:this.fontFamilyRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1320.ets deleted file mode 100644 index e72cf6d0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1320.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1320 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontFamilyRich: string = 'Arial'; - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontFamily:this.fontFamilyRich - } - }); - }) - .id('ComponentTextRicheditorInterface1320') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontFamily:this.fontFamilyRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1330.ets deleted file mode 100644 index 2d01a445..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1330.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1330 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontFamilyRich: string = 'Arial'; - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontFamily:this.fontFamilyRich - } - }); - }) - .id('ComponentTextRicheditorInterface1330') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontFamily:this.fontFamilyRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1340.ets deleted file mode 100644 index fe230b8e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1340.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1340 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontFamilyRich: string = 'Arial'; - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('中国'+ '\n', - { - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontFamily:this.fontFamilyRich - } - }); - }) - .id('ComponentTextRicheditorInterface1340') - .onIMEInputComplete(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontFamily:this.fontFamilyRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1350.ets deleted file mode 100644 index 765fadf7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1350.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1350 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontFamilyRich: string = 'Arial'; - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('CHina', - { - }); - this.controller.addTextSpan('中国'+ '\n', - { - style:{ - fontStyle:FontStyle.Italic - } - }); - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontFamily:this.fontFamilyRich - } - }); - }) - .id('ComponentTextRicheditorInterface1350') - .onIMEInputComplete(() => { - this.controller.updateSpanStyle({ - start: -1, - end: -1, - textStyle: { - fontFamily:this.fontFamilyRich - } - }); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1360.ets deleted file mode 100644 index 3fb92907..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1360.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1360 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('CHina', - { - }); - }) - .id('ComponentTextRicheditorInterface1360') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1380.ets deleted file mode 100644 index 11601a0a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1380.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1380 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('CHina', - { - }); - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - }) - .id('ComponentTextRicheditorInterface1380') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1400.ets deleted file mode 100644 index 89e6de11..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1400.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct ComponentTextRicheditorInterface1400 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - build() { - Row() { - Column() { - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.SHOW - }; - this.controller.setSelection(-1, -1, options); - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('CHina', - { - }); - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - - }) - .id('ComponentTextRicheditorInterface1400') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0001.ets deleted file mode 100644 index 0b77b3db..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0001.ets +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorKeyboardReinForcing0001 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - }) - .id('ComponentTextRicheditorKeyboardReinForcing0001') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0002.ets deleted file mode 100644 index 52317799..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0002.ets +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorKeyboardReinForcing0002 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - }) - .id('ComponentTextRicheditorKeyboardReinForcing0002') - .enterKeyType(EnterKeyType.Go) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0003.ets deleted file mode 100644 index 21584abd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0003.ets +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorKeyboardReinForcing0003 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - }) - .id('ComponentTextRicheditorKeyboardReinForcing0003') - .enterKeyType(EnterKeyType.NEW_LINE) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0004.ets deleted file mode 100644 index 80516c80..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0004.ets +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorKeyboardReinForcing0004 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - }) - .id('ComponentTextRicheditorKeyboardReinForcing0004') - .enterKeyType(-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/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0012.ets deleted file mode 100644 index 4d463ca0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0012.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorKeyboardReinForcing0012 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State type: EnterKeyType = EnterKeyType.Go; - - build() { - Row() { - Column() { - Button('switchType') - .id('switchType') - .width(100) - .height(50) - .onClick(() => { - this.type = EnterKeyType.NEW_LINE; - this.controller.stopEditing(); - }) - RichEditor(this.options) - .id('ComponentTextRicheditorKeyboardReinForcing0012') - .enterKeyType(this.type) - .onSubmit(() => { - - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0013.ets deleted file mode 100644 index 8cb80fe9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0013.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorKeyboardReinForcing0013 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State type: EnterKeyType = EnterKeyType.Go; - - build() { - Row() { - Column() { - Button('switchType') - .id('switchType') - .width(100) - .height(50) - .onClick(() => { - this.type = EnterKeyType.NEW_LINE; - this.controller.stopEditing(); - }) - RichEditor(this.options) - .id('ComponentTextRicheditorKeyboardReinForcing0013') - .enterKeyType(this.type) - .onSubmit(() => { - - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0015.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0015.ets deleted file mode 100644 index caf4151b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0015.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorKeyboardReinForcing0015 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State type: EnterKeyType = EnterKeyType.Go; - - build() { - Row() { - Column() { - Button('switchType') - .id('switchType') - .width(100) - .height(50) - .onClick(() => { - this.type = EnterKeyType.NEW_LINE; - }) - RichEditor(this.options) - .id('ComponentTextRicheditorKeyboardReinForcing0015') - .enterKeyType(this.type) - .onSubmit(() => { - - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0014.ets deleted file mode 100644 index b9be68bc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0014.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorLineHeightLetterSpacing0014 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('.....', { - style: { - lineHeight:10, - letterSpacing:-100 - } - }); - }) - .id('ComponentTextRicheditorLineHeightLetterSpacing0014') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0019.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0019.ets deleted file mode 100644 index 5836278d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0019.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorLineHeightLetterSpacing0019 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State lineHeightText : number | undefined = 0; - @State letterSpacingText : number | undefined = 0; - build() { - Row() { - Column() { - Text('lineHeight value ='+this.lineHeightText+'letterSpacing value ='+this.letterSpacingText); - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我是中国人', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - lineHeight:30, - letterSpacing:30 - } - }); - }) - .id('ComponentTextRicheditorLineHeightLetterSpacing0019') - .onIMEInputComplete((value: RichEditorTextSpanResult) => { - this.lineHeightText = value.textStyle.lineHeight; - this.letterSpacingText =value.textStyle.letterSpacing; - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0020.ets deleted file mode 100644 index d614af69..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0020.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorLineHeightLetterSpacing0020 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State lineHeightText: number | undefined = 0; - @State letterSpacingText: number | undefined = 0; - - build() { - Row() { - Column() { - Text('lineHeight value =' + this.lineHeightText + 'letterSpacing value =' + this.letterSpacingText); - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我是中国人', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - lineHeight: 30, - letterSpacing: 30 - } - }); - }) - .id('ComponentTextRicheditorLineHeightLetterSpacing0020') - .aboutToDelete((value: RichEditorDeleteValue) => { - value.richEditorDeleteSpans.forEach(item => { - this.lineHeightText = (item as RichEditorTextSpanResult).textStyle.lineHeight; - this.letterSpacingText = (item as RichEditorTextSpanResult).textStyle.letterSpacing; - }) - return 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/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0021.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0021.ets deleted file mode 100644 index 73afec7e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0021.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorLineHeightLetterSpacing0021 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State lineHeightText: number | undefined = 0; - @State letterSpacingText: number | undefined = 0; - - build() { - Row() { - Column() { - Text('lineHeight value =' + this.lineHeightText + 'letterSpacing value =' + this.letterSpacingText); - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我是中国人', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - lineHeight: 30, - letterSpacing: 30 - } - }); - }) - .id('ComponentTextRicheditorLineHeightLetterSpacing0021') - .onSelect((value: RichEditorSelection) => { - value.spans.forEach(item => { - this.lineHeightText = (item as RichEditorTextSpanResult).textStyle.lineHeight; - this.letterSpacingText = (item as RichEditorTextSpanResult).textStyle.letterSpacing; - }) - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0022.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0022.ets deleted file mode 100644 index 38b6aaf5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0022.ets +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorLineHeightLetterSpacing0022 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State lineHeightText: number | undefined | string | Resource = 0; - @State letterSpacingText: number | undefined | string = 0; - - build() { - Row() { - Column() { - Text('lineHeight value =' + this.lineHeightText + 'letterSpacing value =' + this.letterSpacingText); - Button('getStyles') - .id('getStyles') - .width(100) - .height(50) - .onClick(() => { - this.letterSpacingText = this.controller.getTypingStyle().letterSpacing; - this.lineHeightText = this.controller.getTypingStyle().lineHeight; - }); - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我是中国人'); - this.controller.setTypingStyle( - { - lineHeight: 30, - letterSpacing: 30 - }); - }) - .id('ComponentTextRicheditorLineHeightLetterSpacing0022') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0023.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0023.ets deleted file mode 100644 index afc0b839..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0023.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorLineHeightLetterSpacing0023 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State lineHeightText: number | undefined | string | Resource = 0; - @State letterSpacingText: number | undefined | string = 0; - - build() { - Row() { - Column() { - Text('lineHeight value =' + this.lineHeightText + 'letterSpacing value =' + this.letterSpacingText); - Button('getStyles') - .id('getStyles') - .width(100) - .height(50) - .onClick(() => { - this.controller.getSpans().forEach(item => { - this.lineHeightText = (item as RichEditorTextSpanResult).textStyle.lineHeight; - this.letterSpacingText = (item as RichEditorTextSpanResult).textStyle.letterSpacing; - }); - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我是中国人', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - lineHeight: 30, - letterSpacing: 30 - } - }); - }) - .id('ComponentTextRicheditorLineHeightLetterSpacing0023') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0024.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0024.ets deleted file mode 100644 index eddb201c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0024.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorLineHeightLetterSpacing0024 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State lineHeightText: number | undefined | string | Resource = 0; - @State letterSpacingText: number | undefined | string = 0; - - build() { - Row() { - Column() { - Text('lineHeight value =' + this.lineHeightText + 'letterSpacing value =' + this.letterSpacingText); - Button('getStyles') - .id('getStyles') - .width(100) - .height(50) - .onClick(() => { - console.info('lineHeight value'+this.controller.getSelection()); - console.info('lineHeight value'+this.controller.getSelection().spans); - this.controller.getSelection().spans.forEach(item => { - this.lineHeightText = (item as RichEditorTextSpanResult).textStyle.lineHeight; - this.letterSpacingText = (item as RichEditorTextSpanResult).textStyle.letterSpacing; - }); - }); - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我是中国人', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - lineHeight: 30, - letterSpacing: 30 - } - }); - }) - .id('ComponentTextRicheditorLineHeightLetterSpacing0024') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0025.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0025.ets deleted file mode 100644 index 59a5d8ef..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0025.ets +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorLineHeightLetterSpacing0025 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State lineHeightText: number | undefined | string | Resource = 0; - @State letterSpacingText: number | undefined | string = 0; - - build() { - Row() { - Column() { - Text('lineHeight value =' + this.lineHeightText + 'letterSpacing value =' + this.letterSpacingText); - Button('getStyles') - .id('getStyles') - .width(100) - .height(50) - .onClick(() => { - this.controller.setTypingStyle( - { - lineHeight: 40, - letterSpacing: 40 - }); - this.letterSpacingText = this.controller.getTypingStyle().letterSpacing; - this.lineHeightText = this.controller.getTypingStyle().lineHeight; - }); - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我是中国人', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - lineHeight: 30, - letterSpacing: 30 - } - }); - }) - .id('ComponentTextRicheditorLineHeightLetterSpacing0025') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0026.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0026.ets deleted file mode 100644 index 87fec0c9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0026.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorLineHeightLetterSpacing0026 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State lineHeightText: number | undefined | string | Resource = 0; - @State letterSpacingText: number | undefined | string = 0; - - build() { - Row() { - Column() { - Text('lineHeight value =' + this.lineHeightText + 'letterSpacing value =' + this.letterSpacingText); - Button('getStyles') - .id('getStyles') - .width(100) - .height(50) - .onClick(() => { - this.controller.updateSpanStyle( - { - textStyle: { - lineHeight: 40, - letterSpacing: 40 - } - }); - this.letterSpacingText = this.controller.getTypingStyle().letterSpacing; - this.lineHeightText = this.controller.getTypingStyle().lineHeight; - }); - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我是中国人'); - this.controller.setTypingStyle( - { - lineHeight: 30, - letterSpacing: 30 - }); - }) - .id('ComponentTextRicheditorLineHeightLetterSpacing0026') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0001.ets deleted file mode 100644 index 3e7be8a8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0001.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { prompt, SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0001 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我是中国人', { - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.SHOW - } - this.controller.setSelection(1, 2, options) - } - } - }); - }) - .id('ComponentTextRicheditorLongPresstoselectall0001') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.SHOW - }; - this.controller.setSelection(1, 2, options); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0002.ets deleted file mode 100644 index 82dc7c8c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0002.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0002 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我是中国人', { - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.HIDE - } - this.controller.setSelection(1, 2, options) - } - } - }); - }) - .id('ComponentTextRicheditorLongPresstoselectall0002') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.HIDE - }; - this.controller.setSelection(1, 2, options); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0003.ets deleted file mode 100644 index b65f92fc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0003.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0003 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我是中国人', { - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.DEFAULT - } - this.controller.setSelection(1, 2, options) - } - } - }); - }) - .id('ComponentTextRicheditorLongPresstoselectall0003') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.DEFAULT - }; - this.controller.setSelection(1, 2, options); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0004.ets deleted file mode 100644 index 024b241c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0004.ets +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { prompt, SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0004 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"] - }, - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.SHOW - } - this.controller.setSelection(1, 2, options) - } - } - }); - }) - .id('ComponentTextRicheditorLongPresstoselectall0004') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.SHOW - }; - this.controller.setSelection(1, 2, options); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0005.ets deleted file mode 100644 index 67dba32c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0005.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { prompt, SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0005 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addSymbolSpan($r("sys.symbol.ohos_trash"), - { - style: - { - fontSize: 30 - } - }); - }) - .id('ComponentTextRicheditorLongPresstoselectall0005') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.SHOW - }; - this.controller.setSelection(1, 2, options); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0006.ets deleted file mode 100644 index 0fd605c2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0006.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0006 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @Builder - builder() { - Text("hello").padding('20').borderWidth(1).width('100%') - } - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addBuilderSpan(()=>{ - this.builder() - }); - }) - .id('ComponentTextRicheditorLongPresstoselectall0006') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.SHOW - }; - this.controller.setSelection(1, 2, options); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0007.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0007.ets deleted file mode 100644 index b4feae88..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0007.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0007 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('\uD83D\uDE00', { - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.DEFAULT - }; - this.controller.setSelection(1, 2, options); - } - } - }); - }) - .id('ComponentTextRicheditorLongPresstoselectall0007') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.DEFAULT - } - this.controller.setSelection(1, 2, options) - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0008.ets deleted file mode 100644 index f754b3e5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0008.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0008 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('E00', { - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.HIDE - }; - this.controller.setSelection(-1, -1, options); - } - } - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"] - }, - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.HIDE - } - this.controller.setSelection(-1, -1, options) - } - } - }); - }) - .id('ComponentTextRicheditorLongPresstoselectall0008') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.HIDE - }; - this.controller.setSelection(-1, -1, options); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0009.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0009.ets deleted file mode 100644 index c843264e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0009.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0009 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('E00', { - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.HIDE - }; - this.controller.setSelection(-1, 0, options); - } - } - }); - }) - .id('ComponentTextRicheditorLongPresstoselectall0009') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.HIDE - }; - this.controller.setSelection(-1, 0, options); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0010.ets deleted file mode 100644 index f61ffab5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0010.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0010 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('E00', { - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.SHOW - }; - this.controller.setSelection(2, 1, options); - } - } - }); - }) - .id('ComponentTextRicheditorLongPresstoselectall0010') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.SHOW - }; - this.controller.setSelection(2, 1, options); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0011.ets deleted file mode 100644 index 3fd1c0af..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0011.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0011 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('123456', { - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.SHOW - }; - this.controller.setSelection(1, 1, options); - } - } - }); - }) - .id('ComponentTextRicheditorLongPresstoselectall0011') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.SHOW - }; - this.controller.setSelection(1, 1, options); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0012.ets deleted file mode 100644 index a28c373e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0012.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0012 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('123456', { - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.HIDE - }; - this.controller.setSelection(1, 1, options); - } - } - }); - }) - .id('ComponentTextRicheditorLongPresstoselectall0012') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.HIDE - }; - this.controller.setSelection(1, 1, options); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0013.ets deleted file mode 100644 index 7075ee6b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0013.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0013 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('123456', { - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy:-1 - }; - this.controller.setSelection(1, 2, options); - } - } - }) - }) - .id('ComponentTextRicheditorLongPresstoselectall0013') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: -1 - }; - this.controller.setSelection(1, 2, options); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0014.ets deleted file mode 100644 index 548f9d4f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0014.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0014 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('123456', { - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: 3 - }; - this.controller.setSelection(1, 2, options); - } - } - }) - }) - .id('ComponentTextRicheditorLongPresstoselectall0014') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: 3 - }; - this.controller.setSelection(1, 2, options); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0015.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0015.ets deleted file mode 100644 index d162e98a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0015.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0015 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('123456', { - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: undefined - }; - this.controller.setSelection(1, 2, options); - } - } - }); - }) - .id('ComponentTextRicheditorLongPresstoselectall0015') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: undefined - }; - this.controller.setSelection(1, 2, options); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0016.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0016.ets deleted file mode 100644 index 902a32e2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0016.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0016 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('123456', { - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.HIDE - }; - this.controller.setSelection(-1, 1000, options); - } - } - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"] - }, - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.HIDE - }; - this.controller.setSelection(-1, 1000, options); - } - } - }); - }) - .id('ComponentTextRicheditorLongPresstoselectall0016') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.HIDE - }; - this.controller.setSelection(-1, 1000, options); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017.ets deleted file mode 100644 index 07a00d9a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0017 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('123456', { - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.HIDE - }; - this.controller.setSelection(-1, 1000, options); - } - } - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"] - }, - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.HIDE - }; - this.controller.setSelection(-1, 1000, options); - } - } - }); - }) - .id('ComponentTextRicheditorLongPresstoselectall0017') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.HIDE - }; - this.controller.setSelection(-1, 1000, options); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_157.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_157.ets deleted file mode 100644 index 22f47e66..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_157.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0017_157 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('123456', { - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.SHOW - }; - this.controller.setSelection(-1, 0, options); - } - } - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"] - }, - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.SHOW - }; - this.controller.setSelection(-1, 0, options); - } - } - }); - }) - .id('ComponentTextRicheditorLongPresstoselectall0017_157') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.SHOW - }; - this.controller.setSelection(-1, 0, options); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_157_029.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_157_029.ets deleted file mode 100644 index 79851651..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_157_029.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0017_157_029 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('123456', { - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.HIDE - }; - this.controller.setSelection(2, 1, options); - } - } - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"] - }, - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.HIDE - }; - this.controller.setSelection(2, 1, options); - } - } - }); - }) - .id('ComponentTextRicheditorLongPresstoselectall0017_157_029') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.HIDE - }; - this.controller.setSelection(2,1, options); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_429.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_429.ets deleted file mode 100644 index c8edeb29..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_429.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0017_429 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('123456', { - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.DEFAULT - }; - this.controller.setSelection(-1, -1, options); - } - } - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"] - }, - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy:MenuPolicy.DEFAULT - }; - this.controller.setSelection(-1, -1, options); - } - } - }); - }) - .id('ComponentTextRicheditorLongPresstoselectall0017_429') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.DEFAULT - }; - this.controller.setSelection(-1, -1, options); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_429_005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_429_005.ets deleted file mode 100644 index af662768..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_429_005.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0017_429_005 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('123456', { - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.DEFAULT - }; - this.controller.setSelection(-1, -1, options); - } - } - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"] - }, - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy:MenuPolicy.DEFAULT - }; - this.controller.setSelection(-1, -1, options); - } - } - }) - }) - .id('ComponentTextRicheditorLongPresstoselectall0017_429_005') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.DEFAULT - }; - this.controller.setSelection(-1, -1, options); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0018.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0018.ets deleted file mode 100644 index f46192cc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0018.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0018 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('123456', { - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.SHOW - }; - this.controller.setSelection(-1, -1, options); - } - } - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"] - }, - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy:MenuPolicy.SHOW - }; - this.controller.setSelection(-1, -1, options); - } - } - }); - }) - .id('ComponentTextRicheditorLongPresstoselectall0018') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.SHOW - }; - this.controller.setSelection(-1, -1, options); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0019.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0019.ets deleted file mode 100644 index f9e19a40..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0019.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0019 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('123456', { - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.SHOW - }; - this.controller.setSelection(-1, -1, options); - } - } - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"] - }, - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy:MenuPolicy.SHOW - }; - this.controller.setSelection(-1, -1, options); - } - } - }); - }) - .id('ComponentTextRicheditorLongPresstoselectall0019') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.SHOW - } - this.controller.setSelection(-1, -1, options) - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0020.ets deleted file mode 100644 index fe7c2b32..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0020.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0020 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('123456', { - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.SHOW - }; - this.controller.setSelection(-1, -1, options); - } - } - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"] - }, - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy:MenuPolicy.SHOW - }; - this.controller.setSelection(-1, -1, options); - } - } - }); - }) - .id('ComponentTextRicheditorLongPresstoselectall0020') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.SHOW - }; - this.controller.setSelection(-1, -1, options); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0021.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0021.ets deleted file mode 100644 index 8c23e3a2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0021.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0021 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('123456', { - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.HIDE - }; - this.controller.setSelection(1, 2, options); - } - } - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"] - }, - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy:MenuPolicy.HIDE - }; - this.controller.setSelection(1, 2, options); - } - } - }); - }) - .id('ComponentTextRicheditorLongPresstoselectall0021') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.HIDE - }; - this.controller.setSelection(1, 2, options); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0022.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0022.ets deleted file mode 100644 index 2fe66115..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0022.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SelectOptions } from '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorLongPresstoselectall0022 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('123456', { - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.DEFAULT - }; - this.controller.setSelection(-1, -1, options); - } - } - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"] - }, - gesture: { - onLongPress: (event) => { - let options: SelectionOptions = { - menuPolicy:MenuPolicy.DEFAULT - }; - this.controller.setSelection(-1, -1, options); - } - } - }); - }) - .id('ComponentTextRicheditorLongPresstoselectall0022') - Button('') - .id('select') - .margin(15) - .backgroundColor(Color.Transparent) - .onClick(() => { - let options: SelectionOptions = { - menuPolicy: MenuPolicy.DEFAULT - }; - this.controller.setSelection(-1, -1, options); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0001.ets deleted file mode 100644 index 8df652ae..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0001.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorOnWillChange0001 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State replacedSpansValue: string = ''; - @State rangeBefore: string = ''; - @State rangeAfter: string = ''; - - build() { - Row() { - Column() { - Text('replacedSpans value====' + this.replacedSpansValue).borderColor(Color.Red); - Text('rangeBefore value=====' + this.rangeBefore + 'rangeAfter value=====' + this.rangeAfter).borderColor(Color.Green); - RichEditor(this.options) - .id('ComponentTextRicheditorOnWillChange0001') - .borderColor(Color.Orange) - .onWillChange((value: RichEditorChangeValue) => { - this.replacedSpansValue = JSON.stringify(value.replacedSpans); - return false; - }) - .onDidChange((rangeBefore: TextRange, rangeAfter: TextRange) => { - this.rangeBefore = JSON.stringify(rangeBefore); - this.rangeAfter = JSON.stringify(rangeAfter); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0002.ets deleted file mode 100644 index ae2cce95..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0002.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorOnWillChange0002 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State replacedSpansValue: string = ''; - @State rangeBefore: string = ''; - @State rangeAfter: string = ''; - - build() { - Row() { - Column() { - Text('replacedSpans value====' + this.replacedSpansValue).borderColor(Color.Red); - Text('rangeBefore value=====' + this.rangeBefore + 'rangeAfter value=====' + this.rangeAfter).borderColor(Color.Green); - RichEditor(this.options) - .id('ComponentTextRicheditorOnWillChange0002') - .borderColor(Color.Orange) - .borderWidth(1) - .draggable(true) - .onWillChange((value: RichEditorChangeValue) => { - this.replacedSpansValue = JSON.stringify(value.replacedSpans); - return false; - }) - .onDidChange((rangeBefore: TextRange, rangeAfter: TextRange) => { - this.rangeBefore = JSON.stringify(rangeBefore); - this.rangeAfter = JSON.stringify(rangeAfter); - }) - TextArea({text:"我是TextArea"}).draggable(true).width(100).height(50).id('TextArea'); - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0003.ets deleted file mode 100644 index bdaba604..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0003.ets +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorOnWillChange0003 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State replacedSpansValue: string = ''; - @State rangeBefore: string = ''; - @State rangeAfter: string = ''; - - build() { - Row() { - Column() { - Text('replacedSpans value====' + this.replacedSpansValue).borderColor(Color.Red); - Text('rangeBefore value=====' + this.rangeBefore + 'rangeAfter value=====' + this.rangeAfter).borderColor(Color.Green); - RichEditor(this.options) - .id('ComponentTextRicheditorOnWillChange0003') - .borderColor(Color.Orange) - .borderWidth(1) - .onWillChange((value: RichEditorChangeValue) => { - this.replacedSpansValue = JSON.stringify(value.replacedSpans); - return false; - }) - .onDidChange((rangeBefore: TextRange, rangeAfter: TextRange) => { - this.rangeBefore = JSON.stringify(rangeBefore); - this.rangeAfter = JSON.stringify(rangeAfter); - }) - Button('changeFeature') - .id('changeFeature') - .margin(20) - .width(100) - .height(20) - .onClick(()=>{ - this.controller.addTextSpan('添加内容', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }) - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0004.ets deleted file mode 100644 index 3f2eb582..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0004.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorOnWillChange0004 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State replacedSpansValue: string = ''; - @State rangeBefore: string = ''; - @State rangeAfter: string = ''; - - build() { - Row() { - Column() { - Text('replacedSpans value====' + this.replacedSpansValue).borderColor(Color.Red); - Text('rangeBefore value=====' + this.rangeBefore + 'rangeAfter value=====' + this.rangeAfter).borderColor(Color.Green); - RichEditor(this.options) - .id('ComponentTextRicheditorOnWillChange0004') - .borderColor(Color.Orange) - .borderWidth(1) - .onWillChange((value: RichEditorChangeValue) => { - this.controller.setSelection(1,3); - this.replacedSpansValue = JSON.stringify(value.replacedSpans); - return true; - }) - .onDidChange((rangeBefore: TextRange, rangeAfter: TextRange) => { - this.rangeBefore = JSON.stringify(rangeBefore); - this.rangeAfter = JSON.stringify(rangeAfter); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0005.ets deleted file mode 100644 index ffbf7eb6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0005.ets +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorOnWillChange0005 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State replacedSpansValue: string = ''; - @State rangeBefore: string = ''; - @State rangeAfter: string = ''; - - build() { - Row() { - Column() { - Text('replacedSpans value====' + this.replacedSpansValue).borderColor(Color.Red); - Text('rangeBefore value=====' + this.rangeBefore + 'rangeAfter value=====' + this.rangeAfter) - .borderColor(Color.Green); - RichEditor(this.options) - .id('ComponentTextRicheditorOnWillChange0005') - .borderColor(Color.Orange) - .onReady(() => { - this.controller.addTextSpan('添加内容', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }) - }) - .borderWidth(1) - .onWillChange((value: RichEditorChangeValue) => { - this.replacedSpansValue = JSON.stringify(value.replacedSpans); - return true; - }) - .onDidChange((rangeBefore: TextRange, rangeAfter: TextRange) => { - this.rangeBefore = JSON.stringify(rangeBefore); - this.rangeAfter = JSON.stringify(rangeAfter); - }) - Button("删除选择内容") - .id('delete') - .onClick(() => { - this.controller.deleteSpans(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0006.ets deleted file mode 100644 index d760b5f9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0006.ets +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorOnWillChange0006 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State replacedSpansValue: string = ''; - @State rangeBefore: string = ''; - @State rangeAfter: string = ''; - - build() { - Row() { - Column() { - Text('replacedSpans value====' + this.replacedSpansValue).borderColor(Color.Red); - Text('rangeBefore value=====' + this.rangeBefore + 'rangeAfter value=====' + this.rangeAfter) - .borderColor(Color.Green); - RichEditor(this.options) - .id('ComponentTextRicheditorOnWillChange0006') - .borderColor(Color.Orange) - .onReady(() => { - this.controller.addTextSpan('添加内容', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }) - }) - .borderWidth(1) - .onWillChange((value: RichEditorChangeValue) => { - this.replacedSpansValue = JSON.stringify(value.replacedSpans); - return true; - }) - .onDidChange((rangeBefore: TextRange, rangeAfter: TextRange) => { - this.rangeAfter = JSON.stringify(rangeAfter); - this.rangeBefore = JSON.stringify(rangeBefore); - }) - Button("删除选择内容") - .id('delete') - .onClick(() => { - this.controller.deleteSpans(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0007.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0007.ets deleted file mode 100644 index 00626ed6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0007.ets +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorOnWillChange0007 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State replacedSpansValue: string = ''; - @State rangeBefore: string = ''; - @State rangeAfter: string = ''; - - build() { - Row() { - Column() { - Text('replacedSpans value====' + this.replacedSpansValue).borderColor(Color.Red); - Text('rangeBefore value=====' + this.rangeBefore + 'rangeAfter value=====' + this.rangeAfter) - .borderColor(Color.Green); - RichEditor(this.options) - .id('ComponentTextRicheditorOnWillChange0007') - .borderColor(Color.Orange) - .onReady(() => { - this.controller.addTextSpan('111', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }) - }) - .borderWidth(1) - .onWillChange((value: RichEditorChangeValue) => { - this.replacedSpansValue = JSON.stringify(value.replacedSpans); - return true; - }) - .onDidChange((rangeBefore: TextRange, rangeAfter: TextRange) => { - this.rangeAfter = JSON.stringify(rangeAfter); - this.rangeBefore = JSON.stringify(rangeBefore); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0001.ets deleted file mode 100644 index c3b27fbd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0001.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0001 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder('这是提示文本') - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0001') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0002.ets deleted file mode 100644 index b5e8937c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0002.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0002 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder('前面章节介绍了如何创建一个自定义组件。该自定义组件内部红结构固定,仅与使用方进行数据传递。 Ark UI还提供了一种更轻量的VI元素复用机制④vilder,④vilder所装饰的函数遵循 build()函数语法规则, 开发者可以将重复使用的UI元素抽象成一个方法,在build方法里调用。') - .key('ComponentTextRicheditorPlaceholder0002') - .borderWidth(1) - .borderColor(Color.Red) - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0003.ets deleted file mode 100644 index fd255a42..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0003.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0003 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder('') - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0003') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0004.ets deleted file mode 100644 index 0c025d67..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0004.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0004 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder(' ') - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0004') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0005.ets deleted file mode 100644 index f48595de..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0005.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0005 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder('回头看了附近的hfkdshfnhfkdf& ldfkklf'+'\n'+'^7#@32345 () --#999@') - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0005') - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0006.ets deleted file mode 100644 index 1286c3e0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0006.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0006 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder(getContext().resourceManager.getStringSync($r("app.string.module_test_desc"))) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0006') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0007.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0007.ets deleted file mode 100644 index df9fc4d1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0007.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0007 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder($r('app.media.cat')) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0007') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0008.ets deleted file mode 100644 index 3497cba6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0008.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0008 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - size: '20gx' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0008') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0009.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0009.ets deleted file mode 100644 index dfc115fa..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0009.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0009 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - size: '100px' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0009') - .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/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0010.ets deleted file mode 100644 index f45985a2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0010.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0010{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - size: '10' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0010') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00100.ets deleted file mode 100644 index 05c64d92..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00100.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder00100 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State widthRich: number = 200; - @State heightRich: number = 50; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder('这是提示文本', {}) - .borderWidth(1) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder00100') - .width(this.widthRich) - .height(this.heightRich) - Button('changeFeature') - .id('changeFeature') - .margin(20) - .width(100) - .height(20) - .onClick(() => { - this.widthRich = 100; - this.heightRich = 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/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00101.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00101.ets deleted file mode 100644 index fbd270ed..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00101.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder00101 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State paddingRich: number = 5; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder('这是提示文本', {}) - .borderWidth(1) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder00101') - .padding(this.paddingRich) - .width(100) - .height(100) - Button('changeFeature') - .id('changeFeature') - .margin(20) - .width(100) - .height(20) - .onClick(() => { - this.paddingRich = 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/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00102.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00102.ets deleted file mode 100644 index bc3eaddc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00102.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0097 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State marginRich: number = 5; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder('这是提示文本', {}) - .borderWidth(1) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder0097') - .width(100) - .height(50) - Button('changeFeature') - .id('changeFeature') - .margin(20) - .width(100) - .height(20) - .onClick(() => { - this.marginRich = 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/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103.ets deleted file mode 100644 index 299ab042..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0097 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State flexBasisValue: number = 10; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder('这是提示文本', {}) - .borderWidth(1) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder0097') - .width(100) - .height(20) - .flexBasis(this.flexBasisValue) - Button('changeFeature') - .id('changeFeature') - .margin(20) - .width(100) - .height(20) - .onClick(() => { - this.flexBasisValue = 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/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103_040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103_040.ets deleted file mode 100644 index ec6b77d0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103_040.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder00103_040 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - Button('change') - .id('change') - .margin(20) - .width(100) - .height(20) - .onClick(() => { - this.controller.deleteSpans(); - }) - RichEditor(this.options) - .placeholder('这是提示文本', {}) - .borderWidth(1) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder00103_040') - .width(100) - .height(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/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103_040_934.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103_040_934.ets deleted file mode 100644 index 9c207b68..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103_040_934.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder00103_040_934 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State widthRich : number = 200; - @State heightRich : number = 60; - - build() { - Row() { - Column() { - TextArea({text:"我是TextArea"}).draggable(true).width(100).height(50).id('TextArea'); - RichEditor(this.options) - .placeholder('这是提示文本', {}) - .borderWidth(1) - .draggable(true) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder00103_040_934') - .width(this.widthRich) - .height(this.heightRich) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00104.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00104.ets deleted file mode 100644 index cb3e6f7e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00104.ets +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder00104 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State richSize : number = 10; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder('这是提示文本', { - font:{ - size:this.richSize - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder00104') - .width(100) - .height(40) - Button('changeFeature') - .id('changeFeature') - .margin(20) - .width(100) - .height(20) - .onClick(()=>{ - this.richSize = 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/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00105.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00105.ets deleted file mode 100644 index f0c8402b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00105.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder00105 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State widthRich : number = 200; - @State heightRich : number = 50; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder('这是提示文本', {}) - .borderWidth(1) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder00105') - .width(this.widthRich) - .height(this.heightRich) - Button('changeFeature') - .id('changeFeature') - .margin(20) - .width(100) - .height(20) - .onClick(()=>{ - this.controller.setCaretOffset(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/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0011.ets deleted file mode 100644 index 6d0d3d8e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0011.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0011{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - size: '23.40' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0011') - .width(300) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0012.ets deleted file mode 100644 index 8d53e0eb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0012.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0012{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - size: '50fp' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0012') - .width(300) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0013.ets deleted file mode 100644 index 2de6f427..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0013.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0013{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - size: '50abedefg' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0013') - .width(300) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0014.ets deleted file mode 100644 index 9579bb17..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0014.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0014{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - size: '50dp' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0014') - .width(300) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0015.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0015.ets deleted file mode 100644 index 0ac27bfc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0015.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0015{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - size: '100%' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0015') - .width(300) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0016.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0016.ets deleted file mode 100644 index fc2a18c0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0016.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0016{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - size: '上班 qwer$k\\n' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0016') - .width(300) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0017.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0017.ets deleted file mode 100644 index 37fed5e2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0017.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0017{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - size: '-1px' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0017') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0018.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0018.ets deleted file mode 100644 index 3d23b123..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0018.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0018{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - size: '0px' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0018') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0019.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0019.ets deleted file mode 100644 index 05204427..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0019.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0019{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - size: '0b1010' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0019') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0020.ets deleted file mode 100644 index 461d45e8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0020.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0020{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - size: 20 - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0020') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0021.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0021.ets deleted file mode 100644 index 015f2ae2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0021.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0021{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - size: -10 - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0021') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0022.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0022.ets deleted file mode 100644 index eba8bddb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0022.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0022{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - size: 0b1010 - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0022') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0023.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0023.ets deleted file mode 100644 index 034ee352..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0023.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0023{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - size: 23.40 - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0023') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0024.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0024.ets deleted file mode 100644 index 22ffcdb8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0024.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0024{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - size: 0x22 - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0024') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0025.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0025.ets deleted file mode 100644 index 563960c6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0025.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0025{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - size: 0 - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0025') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0026.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0026.ets deleted file mode 100644 index 00d70bee..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0026.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0026{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - size: getContext().resourceManager.getStringSync($r('app.string.size_30')) - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0026') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0027.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0027.ets deleted file mode 100644 index 43ce5581..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0027.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0027{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - size: 'cat.jpg' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0027') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0028.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0028.ets deleted file mode 100644 index cc235b9a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0028.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0028{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - style:FontStyle.Italic - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0028') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0029.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0029.ets deleted file mode 100644 index 519ad68d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0029.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0029{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - style:FontStyle.Normal - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0029') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0030.ets deleted file mode 100644 index bc32e8bd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0030.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0030{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: '900' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0030') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0031.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0031.ets deleted file mode 100644 index 30980228..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0031.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0031{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: '400' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0031') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0032.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0032.ets deleted file mode 100644 index cc02e3a5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0032.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0032{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: '100' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0032') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0033.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0033.ets deleted file mode 100644 index a0d89a0f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0033.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0033{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: '-1' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0033') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0034.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0034.ets deleted file mode 100644 index 2b1c321f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0034.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0034{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: '0' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0034') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0035.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0035.ets deleted file mode 100644 index 4efdd7be..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0035.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0035{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: '1000' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0035') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0036.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0036.ets deleted file mode 100644 index 52e4af90..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0036.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0036{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: '901' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0036') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0037.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0037.ets deleted file mode 100644 index 26e4e472..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0037.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0037{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: '100.6' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0037') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0038.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0038.ets deleted file mode 100644 index aba0960e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0038.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0038{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: '0b1100100' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0038') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0039.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0039.ets deleted file mode 100644 index 97ef6328..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0039.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0039{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: 'abedefg' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0039') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0040.ets deleted file mode 100644 index 92030612..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0040.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0040{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: 900 - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0040') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0041.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0041.ets deleted file mode 100644 index 2fd41e0f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0041.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0041{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: 400 - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0041') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0042.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0042.ets deleted file mode 100644 index 57833907..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0042.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0042{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: 100 - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0042') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0043.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0043.ets deleted file mode 100644 index 6569b7b7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0043.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0043{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: 0b1100100 - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0043') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0044.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0044.ets deleted file mode 100644 index 58458d31..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0044.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0044{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: -100 - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0044') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0045.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0045.ets deleted file mode 100644 index 471b6b66..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0045.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0045{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: 0 - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0045') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0046.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0046.ets deleted file mode 100644 index dd1371a5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0046.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0046{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: 1000 - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0046') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0047.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0047.ets deleted file mode 100644 index 0c67e49c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0047.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0047{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: 99 - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0047') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0048.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0048.ets deleted file mode 100644 index 015aa5bc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0048.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0048{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: 901 - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0048') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0049.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0049.ets deleted file mode 100644 index 3badcd80..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0049.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0049{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: 900.6 - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0049') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0050.ets deleted file mode 100644 index 96735da3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0050.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0050{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: 100.6 - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0050') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0051.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0051.ets deleted file mode 100644 index a4c744bc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0051.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0051{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: 99.6 - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0051') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0052.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0052.ets deleted file mode 100644 index 5249c9cd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0052.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0052{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: 499.9 - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0052') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0053.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0053.ets deleted file mode 100644 index 4f7fd09d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0053.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0053{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: FontWeight.Lighter - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0053') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0054.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0054.ets deleted file mode 100644 index 0305995a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0054.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0054{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: FontWeight.Normal - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0054') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0055.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0055.ets deleted file mode 100644 index 03d70686..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0055.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0055{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: FontWeight.Regular - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0055') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0056.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0056.ets deleted file mode 100644 index de8c9b0f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0056.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0056{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: FontWeight.Medium - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0056') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0057.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0057.ets deleted file mode 100644 index 169e5945..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0057.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0057{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: FontWeight.Bold - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0057') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0058.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0058.ets deleted file mode 100644 index d0c62733..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0058.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0058{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - weight: FontWeight.Bolder - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0058') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0059.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0059.ets deleted file mode 100644 index f6c3af59..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0059.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0059{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - family: 'HarmonyOS Sans' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0059') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0060.ets deleted file mode 100644 index f86ab81b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0060.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0060{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - family: 'abcdefg' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0060') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0061.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0061.ets deleted file mode 100644 index 693af90c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0061.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0061{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - family: getContext().resourceManager.getStringSync($r('app.string.fontfamily_1')) - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0061') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0062.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0062.ets deleted file mode 100644 index 43350cea..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0062.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0062{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Gray, - font: { - family: 'cat.jpg' - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0062') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0063.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0063.ets deleted file mode 100644 index cdd19689..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0063.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0063{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: Color.Orange, - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0063') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0064.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0064.ets deleted file mode 100644 index 0daa3eb9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0064.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0064{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: 0x0000ff - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0064') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0065.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0065.ets deleted file mode 100644 index 774f5fd7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0065.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0065{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: 'Oxffffffeeeee' - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0065') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0066.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0066.ets deleted file mode 100644 index 8abff3b7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0066.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0066{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor: 10000 - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0066') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0067.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0067.ets deleted file mode 100644 index b39dfb68..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0067.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0067{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor:10000.5 - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0067') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0068.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0068.ets deleted file mode 100644 index 4a7c1e2d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0068.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0068{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor:-15 - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0068') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0069.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0069.ets deleted file mode 100644 index afd4311a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0069.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0069{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor:'#00ffff' - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0069') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0070.ets deleted file mode 100644 index 4d3036ae..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0070.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0070{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor:'#ffffff00' - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0070') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0071.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0071.ets deleted file mode 100644 index 4b1cd32a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0071.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0071{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor:'rgb(255,0,255)' - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0071') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0072.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0072.ets deleted file mode 100644 index ff859eae..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0072.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0072{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor:'rgba(0,0,255,0.5)' - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0072') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0073.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0073.ets deleted file mode 100644 index 14ac0d0b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0073.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0073{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor:'#0cccccc' - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0073') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0074.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0074.ets deleted file mode 100644 index ae60d676..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0074.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0074{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor:'rgba(255,0,255,2)' - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0074') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0075.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0075.ets deleted file mode 100644 index 6d70b922..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0075.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0075{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor:'rgb(255,0,300)' - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0075') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0076.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0076.ets deleted file mode 100644 index f3554ff2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0076.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0076{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor:'abcdefg' - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0076') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0077.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0077.ets deleted file mode 100644 index ad242595..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0077.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0077{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor:getContext().resourceManager.getColorSync($r('app.color.yellow')) - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0077') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0078.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0078.ets deleted file mode 100644 index 2217df65..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0078.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0078{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("input...", { - fontColor:'cat.jpg' - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0078') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0079.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0079.ets deleted file mode 100644 index 34d60364..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0079.ets +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0079 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontSize: number = 20; - @State fontWeight: number = 100; - @State fontFamily: string = ''; - @State fontColor: Color = Color.Red; - @State fontStyle: FontStyle = FontStyle.Normal; - @State fontValue: ResourceStr = '点击改变属性'; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder(this.fontValue, { - fontColor:this.fontColor, - font:{ - family:this.fontFamily, - size:this.fontSize, - style:this.fontStyle, - weight:this.fontWeight - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder0079') - .width(100) - .height(300) - Button('changeFeature') - .id('changeFeature') - .width(100) - .height(30) - .onClick(() => { - this.fontSize = 30; - this.fontWeight = 500; - this.fontColor = Color.Green; - this.fontValue = '我被点击了,我也改变了'; - this.fontStyle = FontStyle.Italic; - this.fontFamily = getContext().resourceManager.getStringSync($r('app.string.fontfamily_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/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0079_932.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0079_932.ets deleted file mode 100644 index a227eb89..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0079_932.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0079_932 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontSize: number = 20; - @State fontWeight: number = 100; - @State fontFamily: string = ''; - @State fontColor: Color = Color.Red; - @State fontStyle: FontStyle = FontStyle.Normal; - @State fontValue: ResourceStr = '点击改变属性'; - - build() { - Column() { - RichEditor(this.options) - .placeholder('tips', { - }) - .onReady(()=>{ - this.controller.addTextSpan('add span',{ - - }) - }) - .borderWidth(1) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder0079_932') - .width(100) - .height(300) - Button('changeFeature') - .id('changeFeature') - .width(100) - .height(30) - .onClick(() => { - this.controller.deleteSpans({ - }); - }) - } - .width('100%') - .height('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0080.ets deleted file mode 100644 index c9e79bfe..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0080.ets +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0080 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State fontSize: number = 20; - @State fontWeight: number = 100; - @State fontFamily: string = ''; - @State fontColor: Color = Color.Red; - @State fontStyle: FontStyle = FontStyle.Normal; - @State fontValue: ResourceStr = '点击改变属性'; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder(this.fontValue, { - fontColor:this.fontColor, - font:{ - family:this.fontFamily, - size:this.fontSize, - style:this.fontStyle, - weight:this.fontWeight - } - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0080') - .width(100) - .height(300) - Button('changeFeature') - .id('changeFeature') - .width(100) - .height(30) - .onClick(() => { - this.fontSize = this.fontSize ++; - this.fontWeight =this.fontWeight ++; - this.fontColor = Color.Green; - this.fontValue = '我被点击了,我也改变了'; - this.fontStyle = FontStyle.Italic; - this.fontFamily = getContext().resourceManager.getStringSync($r('app.string.fontfamily_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/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0081.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0081.ets deleted file mode 100644 index 3d6384a5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0081.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0081{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("这是提示", { - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0081') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0082.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0082.ets deleted file mode 100644 index 009fa5f0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0082.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0082 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State tips: string = 'input'; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder(this.tips, {}) - .borderWidth(1) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder0082') - .width(100) - .height(300) - TextInput() - .id('change') - .onChange((value: string) => { - this.tips = 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/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0083.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0083.ets deleted file mode 100644 index c9e3fd62..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0083.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0083{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State tips: string = 'input'; - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder(this.tips, {}) - .borderWidth(1) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder0083') - .width(100) - .height(300) - TextInput() - .id('change') - .onChange((value: string) => { - this.tips = 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/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0084.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0084.ets deleted file mode 100644 index c3a35fa0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0084.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0084{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder("这是水印", { - }) - .borderWidth(1) - .borderColor(Color.Red) - .key('ComponentTextRicheditorPlaceholder0084') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0085.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0085.ets deleted file mode 100644 index 203138df..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0085.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0085{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State tips: string = 'input'; - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder(this.tips, {}) - .onReady(()=>{ - this.controller.addTextSpan('',{ - - }) - }) - .borderWidth(1) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder0085') - .width(100) - .height(300) - TextInput() - .id('change') - .onChange((value: string) => { - this.tips = 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/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0086.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0086.ets deleted file mode 100644 index a5063c50..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0086.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0086{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State tips: string = 'input'; - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder(this.tips, {}) - .borderWidth(1) - .draggable(true) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder0086') - .width(100) - .height(50) - TextInput() - .id('change') - .draggable(true) - .onChange((value: string) => { - this.tips = 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/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0087.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0087.ets deleted file mode 100644 index 7166c732..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0087.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0087{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State tips: string = 'input'; - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder(this.tips, {}) - .borderWidth(1) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder0087') - .width(100) - .height(300) - TextInput() - .id('change') - .onChange((value: string) => { - this.tips = 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/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0088.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0088.ets deleted file mode 100644 index c894d73b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0088.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0088{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State tips: string = 'input'; - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder(this.tips, {}) - .borderWidth(1) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder0088') - .width(100) - .height(300) - TextInput() - .id('change') - .onChange((value: string) => { - this.tips = 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/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0089.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0089.ets deleted file mode 100644 index a77e8265..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0089.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0089{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder('这是提示', {}) - .borderWidth(1) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder0089') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0090.ets deleted file mode 100644 index c79b7a89..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0090.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0090{ - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder('这是提示', {}) - .borderWidth(1) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder0090') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0091.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0091.ets deleted file mode 100644 index 57e19fd0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0091.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0091 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - @Builder - builder() { - Text("hello").padding('20').borderWidth(1).width('100%'); - } - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder('这是提示', {}) - .onReady(() => { - this.controller.addTextSpan('1234', - {}); - this.controller.addSymbolSpan($r("sys.symbol.ohos_trash"), - {}); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addBuilderSpan(() => { - this.builder(); - }); - }) - .borderWidth(1) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder0091') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0092.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0092.ets deleted file mode 100644 index ed637f59..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0092.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0092 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - @Builder - builder() { - Text("hello").padding('20').borderWidth(1).width('100%'); - } - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder('这是提示', {}) - .onReady(() => { - this.controller.addTextSpan('1', - {}); - this.controller.addSymbolSpan($r("sys.symbol.ohos_trash"), - {}); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addBuilderSpan(() => { - this.builder(); - }); - }) - .borderWidth(1) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder0092') - .width(100) - .height(300) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0093.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0093.ets deleted file mode 100644 index 9747a80a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0093.ets +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0093 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - @Builder - builder() { - Text("hello").padding('20').borderWidth(1).width('100%'); - } - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder('这是提示', {}) - .onReady(() => { - this.controller.addTextSpan('1', - {}); - this.controller.addSymbolSpan($r("sys.symbol.ohos_trash"), - {}); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addBuilderSpan(() => { - this.builder(); - }); - }) - .borderWidth(1) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder0093') - .width(100) - .height(300) - Button('delete') - .id('delete') - .width(100) - .height(30) - .onClick(() => { - this.controller.deleteSpans(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0094.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0094.ets deleted file mode 100644 index 313e14b4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0094.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0094 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - @Builder - builder() { - Text("hello").padding('20').borderWidth(1).width('100%'); - } - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder('这是提示', {}) - .borderWidth(1) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder0094') - .width(100) - .height(300) - Button('add') - .id('add') - .width(100) - .height(30) - .onClick(() => { - this.controller.addTextSpan('1', - {}); - this.controller.addSymbolSpan($r("sys.symbol.ohos_trash"), - {}); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addBuilderSpan(() => { - this.builder(); - }); - }) - }; - - Button('delete') - .id('delete') - .width(100) - .height(30) - .onClick(() => { - this.controller.deleteSpans(); - }) - } - .width('100%') - .height('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0095.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0095.ets deleted file mode 100644 index e6310626..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0095.ets +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0095 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State tips: string = '这是提示'; - - setOrientation() { - try { - window.getLastWindow(getContext(this), (err, data) => { // 获取window实例 - if (err.code) { - return; - } - let windowClass = data; - - let orientation = window.Orientation.LANDSCAPE; // 设置窗口方向为传感器自动旋转模式。 - try { - windowClass.setPreferredOrientation(orientation, (err) => { - if (err.code) { - return; - } - }); - } catch (exception) { - } - ; - }); - } catch (exception) { - } - ; - } - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder(this.tips, {}) - .borderWidth(1) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder0095') - .width('50%') - .height('10%') - Button('setContent') - .id('setContent') - .width(100) - .height(30) - .onClick(() => { - this.tips = 'zhognguoahjdoha dnao oadjiafnofofnoasdfofaonafsnfudsfofdccvc v vccv mdfsj'; - this.setOrientation(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0097.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0097.ets deleted file mode 100644 index 9f7d0ad4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0097.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0097 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder('这是提示文本', {}) - .onReady(() => { - this.controller.addTextSpan('1', - { - - }); - this.controller.updateParagraphStyle({ - style: { - textAlign:TextAlign.End - } - }); - }) - .borderWidth(1) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder0097') - .width('50%') - .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/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0098.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0098.ets deleted file mode 100644 index 3b2ec15b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0098.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0098 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder('这是提示文本', {}) - .align(Alignment.BottomStart) - .borderWidth(1) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder0098') - .width('50%') - .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/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0099.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0099.ets deleted file mode 100644 index ba29f2ff..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0099.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 '@kit.ArkUI'; - - -@Entry -@Component -struct ComponentTextRicheditorPlaceholder0099 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .placeholder('这是提示文本', {}) - .borderWidth(1) - .borderColor(Color.Red) - .id('ComponentTextRicheditorPlaceholder0099') - .width('50%') - .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/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0010.ets deleted file mode 100644 index 48b1b644..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0010.ets +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0010 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - style: { - fontColor: Color.Red, - fontStyle: FontStyle.Italic, - fontWeight: FontWeight.Bolder - } - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0010') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0010_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0020.ets deleted file mode 100644 index 7de27a3c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0020.ets +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0020 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0020') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0020_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0030.ets deleted file mode 100644 index 1d9a246d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0030.ets +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0030 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0030') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0030_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0040.ets deleted file mode 100644 index 59cdd7ab..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0040.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0040 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0040') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0040_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0050.ets deleted file mode 100644 index a10531b0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0050.ets +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0050 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人' + '\n'+ - '我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - style: { - fontColor: Color.Red, - fontStyle: FontStyle.Italic, - fontWeight: FontWeight.Bolder - } - }) - }) - .id('ComponentTextRicheditorShortKcutKeys0050') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0050_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0060.ets deleted file mode 100644 index 9e49fec0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0060.ets +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0060 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - }); - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0060') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0060_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0070.ets deleted file mode 100644 index 25e4d433..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0070.ets +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0070 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人' + '\n'+ - '我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0070') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - this.controller1.addTextSpan('我爱你中国', - {}); - }) - .id('ComponentTextRicheditorShortKcutKeys0070_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0080.ets deleted file mode 100644 index 72d7d58a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0080.ets +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0080 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人' + '\n'+ - '我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0080') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0080_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0090.ets deleted file mode 100644 index e9924c96..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0090.ets +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0090 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人' + '\n'+ - '我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0090') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0090_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0100.ets deleted file mode 100644 index 72013516..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0100.ets +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0100 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0100') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0100_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0110.ets deleted file mode 100644 index 8e79346a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0110.ets +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0110 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人' + '\n'+ - '我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0110') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0110_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0120.ets deleted file mode 100644 index c9bc522a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0120.ets +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0120 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人' + '\n'+ - '我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0120') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0120_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0130.ets deleted file mode 100644 index 93aef463..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0130.ets +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0130 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0130') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0130_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0140.ets deleted file mode 100644 index 6d409c0c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0140.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0140 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0140') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0140_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0150.ets deleted file mode 100644 index 581f90dc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0150.ets +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0150 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人', - { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0150') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - this.controller1.addTextSpan('我爱你中国', - { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0150_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0160.ets deleted file mode 100644 index 20a8756f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0160.ets +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0160 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人', - { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0160') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - this.controller1.addTextSpan('我爱你中国', - { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0160_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0170.ets deleted file mode 100644 index 44690452..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0170.ets +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0170 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人', - { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0170') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - this.controller1.addTextSpan('我爱你中国', - { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0170_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0180.ets deleted file mode 100644 index cde4e455..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0180.ets +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0180 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0180') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0180_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0190.ets deleted file mode 100644 index c0878e13..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0190.ets +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0190 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0190') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0190_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0200.ets deleted file mode 100644 index 8ade75a1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0200.ets +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0200 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - Button('select') - .id('select') - .width(100) - .height(40) - .onClick(()=>{ - this.controller.setSelection(-1,5); - }) - Button('select1') - .id('select1') - .width(100) - .height(40) - .onClick(()=>{ - this.controller.setSelection(-1,-1); - }) - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人', { - }); - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0200') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0200_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0210.ets deleted file mode 100644 index dd5ed9db..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0210.ets +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0210 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - Button('select') - .id('select') - .width(100) - .height(40) - .onClick(()=>{ - this.controller.setSelection(-1,1); - }) - Button('select1') - .id('select1') - .width(100) - .height(40) - .onClick(()=>{ - this.controller.setSelection(-1,-1); - }) - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - this.controller.addTextSpan('我是中国人', { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0210') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0210_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0220.ets deleted file mode 100644 index fdf8e3a5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0220.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0220 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人', { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0220') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0220_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0230.ets deleted file mode 100644 index ab0fdf97..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0230.ets +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0230 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - Button('select') - .id('select') - .width(100) - .height(40) - .onClick(()=>{ - this.controller.setSelection(-1,3); - }) - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人', { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0230') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0230_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0240.ets deleted file mode 100644 index 3c51a134..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0240.ets +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0240 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0240') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0240_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0260.ets deleted file mode 100644 index e2ffcd86..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0260.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0260 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0260') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0260_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0270.ets deleted file mode 100644 index 670e1680..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0270.ets +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0270 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addImageSpan(('cat.jpg'), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0270') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0270_01') - .onPaste(() => { - this.controller1.stopEditing(); - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0280.ets deleted file mode 100644 index 0bcbd258..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0280.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0280 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人我是中国人', - { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0280') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0280_01') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0290.ets deleted file mode 100644 index 6e8f615f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0290.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0290 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人', { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0290') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0290_01') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0300.ets deleted file mode 100644 index c013f960..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0300.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0300 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人', { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0300') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0300_01') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0310.ets deleted file mode 100644 index 81a04e7c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0310.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0310 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人', { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0310') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0310_01') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0320.ets deleted file mode 100644 index e5d31e82..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0320.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0320 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人'+'\n'+'我是中国人'+'\n'+'我是中国人', { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0320') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0320_01') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0330.ets deleted file mode 100644 index 39992215..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0330.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0330 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人'+'\n'+'我是中国人'+'\n'+'我是中国人', { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0330') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0330_01') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0340.ets deleted file mode 100644 index dbb7d83d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0340.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0340 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人'+'\n'+'我是中国人'+'\n'+'我是中国人', { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0340') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0340_01') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0350.ets deleted file mode 100644 index 957546b1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0350.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0350 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是中国人'+'\n'+'我是中国人'+'\n'+'我是中国人', { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0350') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0350_01') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0360.ets deleted file mode 100644 index e30e9c83..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0360.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0360 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是国人', { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0360') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0360_01') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0370.ets deleted file mode 100644 index 3f7ca426..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0370.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0370 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是国人', { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0370') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0370_01') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0380.ets deleted file mode 100644 index 762d1a34..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0380.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorShortKcutKeys0380 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - controller1: RichEditorController = new RichEditorController(); - options1: RichEditorOptions = { controller: this.controller1 }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .borderWidth(2) - .borderColor(Color.Blue) - .width('100%') - .height('30%') - .onReady(() => { - this.controller.addTextSpan('我是国人', { - }); - }) - .id('ComponentTextRicheditorShortKcutKeys0380') - - RichEditor(this.options1) - .width('100%') - .height('50%') - .borderWidth(2) - .borderColor(Color.Red) - .margin({top:20}) - .onReady(() => { - }) - .id('ComponentTextRicheditorShortKcutKeys0380_01') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0006.ets deleted file mode 100644 index ade2e518..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0006.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorUxConformance0006 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我是中国人', { - style: { - decoration:{color:Color.Red,type:TextDecorationType.Overline} - } - }) - }) - .key('ComponentTextRicheditorUxConformance0006') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0007.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0007.ets deleted file mode 100644 index 5ce9ba01..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0007.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorUxConformance0007 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我是中国人', { - style: { - fontColor:Color.Pink, - decoration:{color:Color.Red,type:TextDecorationType.Underline,style: TextDecorationStyle.SOLID } - } - }) - }) - .key('ComponentTextRicheditorUxConformance0007') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0011.ets deleted file mode 100644 index 33883ce4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0011.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorUxConformance0011 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"], - } - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"], - } - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"], - } - }); - }) - .align(Alignment.Center) - .id('ComponentTextRicheditorUxConformance0011') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0012.ets deleted file mode 100644 index 0ab7e842..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0012.ets +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorUxConformance0012 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"], - } - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"], - } - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"], - } - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"], - } - }); - }) - .key('ComponentTextRicheditorUxConformance0012') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0013.ets deleted file mode 100644 index 660ed546..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0013.ets +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorUxConformance0013 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"], - } - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"], - } - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"], - } - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"], - } - }); - }) - .key('ComponentTextRicheditorUxConformance0013') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0014.ets deleted file mode 100644 index a028e3ce..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0014.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorUxConformance0014 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - Button('select') - .id('select') - .width(100) - .height(50) - .onClick(() => { - this.controller.setSelection(-1, 3); - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我是中国人', { - style: { - decoration: { color: Color.Red, type: TextDecorationType.Overline } - } - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"], - } - }); - }) - .key('ComponentTextRicheditorUxConformance0014') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0015.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0015.ets deleted file mode 100644 index 3a2dc251..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0015.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorUxConformance0015 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - Button('select') - .id('select') - .width(100) - .height(50) - .onClick(() => { - this.controller.setSelection(-1, 3); - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我是中国人', { - style: { - decoration: { color: Color.Red, type: TextDecorationType.Overline } - } - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"], - } - }); - }) - .key('ComponentTextRicheditorUxConformance0015') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0016.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0016.ets deleted file mode 100644 index 1e14f943..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0016.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorUxConformance0016 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - Button('select') - .id('select') - .width(100) - .height(50) - .onClick(() => { - this.controller.setSelection(-1, 3); - }) - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('我是中国人', { - style: { - decoration: { color: Color.Red, type: TextDecorationType.Overline } - } - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"], - } - }); - }) - .key('ComponentTextRicheditorUxConformance0016') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0001.ets deleted file mode 100644 index d7d60308..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0001.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorWordbreak0001 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('test wordbreak 无属性设置-', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }) - let wordBreak = JSON.stringify(this.controller.getParagraphs({ start: -1, end: -1 })[0].style.wordBreak); - this.controller.addTextSpan('wordBreak不设置属性属性值:'+wordBreak, { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }) - }) - .key('ComponentTextRicheditorWordbreak0001') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0002.ets deleted file mode 100644 index 813d91ce..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0002.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorWordbreak0002 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('test wordbreak-', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle: { - wordBreak:WordBreak.NORMAL - } - }) - let wordBreak = JSON.stringify(this.controller.getParagraphs({ start: -1, end: -1 })[0].style.wordBreak); - this.controller.addTextSpan('wordBreak设置“WordBreak.NORMAL”属性值:'+wordBreak, { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }) - }) - .key('ComponentTextRicheditorWordbreak0002') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0003.ets deleted file mode 100644 index 143854e4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0003.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorWordbreak0003 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('test wordbreak-', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle: { - wordBreak:-1 - } - }) - let wordBreak = JSON.stringify(this.controller.getParagraphs({ start: -1, end: -1 })[0].style.wordBreak); - this.controller.addTextSpan('wordBreak设置"-1"属性值:'+wordBreak, { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }) - }) - .key('ComponentTextRicheditorWordbreak0003') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0004.ets deleted file mode 100644 index e05e68d4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0004.ets +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorWordbreak0004 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('test wordbreak-', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle: { - wordBreak:WordBreak.NORMAL - } - }) - }) - .id('ComponentTextRicheditorWordbreak0004') - Button('updateParagraphStyle', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('updateParagraphStyle') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.updateParagraphStyle({ start: -1, end: -1, - style: { - wordBreak:null - } - }) - let wordBreak = JSON.stringify(this.controller.getParagraphs({ start: -1, end: -1 })[0].style.wordBreak); - this.controller.addTextSpan('wordBreak更改为不设置属性值:'+wordBreak, { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }) - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0005.ets deleted file mode 100644 index d42f25ba..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0005.ets +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorWordbreak0005 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('test wordbreak-', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - }) - }) - .id('ComponentTextRicheditorWordbreak0005') - Button('updateParagraphStyle', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('updateParagraphStyle') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.updateParagraphStyle({ start: -1, end: -1, - style: { - wordBreak:WordBreak.BREAK_ALL - } - }) - let wordBreak = JSON.stringify(this.controller.getParagraphs({ start: -1, end: -1 })[0].style.wordBreak); - this.controller.addTextSpan('wordBreak设置WordBreak.BREAK_ALL属性值:'+wordBreak, { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }) - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0006.ets deleted file mode 100644 index 7f328e8e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0006.ets +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorWordbreak0006 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('test wordbreak-', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - }) - }) - .id('ComponentTextRicheditorWordbreak0006') - Button('updateParagraphStyle', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('updateParagraphStyle') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.updateParagraphStyle({ start: -1, end: -1, - style: { - wordBreak:-1 - } - }); - let wordBreak = JSON.stringify(this.controller.getParagraphs({ start: -1, end: -1 })[0].style.wordBreak); - this.controller.addTextSpan('wordBreak设置-1属性值:'+wordBreak, { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - } - }) - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0007.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0007.ets deleted file mode 100644 index 7584a12c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0007.ets +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorWordbreak0007 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('test wordbreak', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle:{ - wordBreak:WordBreak.NORMAL - } - }); - this.controller.addTextSpan('中国人あなたのことが好きです사랑해', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle:{ - wordBreak:WordBreak.NORMAL - } - }); - - this.controller.addTextSpan('\uD83D\uDE00', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle:{ - wordBreak:WordBreak.NORMAL - } - }); - this.controller.addTextSpan('#$%&@', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle:{ - wordBreak:WordBreak.NORMAL - } - }); - this.controller.addSymbolSpan($r("sys.symbol.ohos_trash"), - { - - }); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - }) - .id('ComponentTextRicheditorWordbreak0007') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0008.ets deleted file mode 100644 index e729a437..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0008.ets +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorWordbreak0008 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('test wordbreak', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle:{ - wordBreak:WordBreak.BREAK_ALL - } - }) - this.controller.addTextSpan('中国人あなたのことが好きです사랑해', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle:{ - wordBreak:WordBreak.BREAK_ALL - } - }) - - this.controller.addTextSpan('\uD83D\uDE00', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle:{ - wordBreak:WordBreak.BREAK_ALL - } - }) - this.controller.addTextSpan('#$%&@', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle:{ - wordBreak:WordBreak.BREAK_ALL - } - }) - this.controller.addSymbolSpan($r("sys.symbol.ohos_trash"), - { - }) - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"] - } - }) - }) - .id('ComponentTextRicheditorWordbreak0008') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0009.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0009.ets deleted file mode 100644 index 2d2b137c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0009.ets +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorWordbreak0009 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('test wordbreak', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle:{ - wordBreak:WordBreak.BREAK_WORD - } - }); - this.controller.addTextSpan('中国人あなたのことが好きです사랑해', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle:{ - wordBreak:WordBreak.BREAK_WORD - } - }); - - this.controller.addTextSpan('\uD83D\uDE00', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle:{ - wordBreak:WordBreak.BREAK_WORD - } - }); - this.controller.addTextSpan('#$%&@', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle:{ - wordBreak:WordBreak.BREAK_WORD - } - }); - this.controller.addSymbolSpan($r("sys.symbol.ohos_trash"), - { - }) - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"] - } - }); - }) - .id('ComponentTextRicheditorWordbreak0009') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0010.ets deleted file mode 100644 index f526dba9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0010.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorWordbreak0010 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('testwordbreakwordbreakwordbreakwordbreakwordbreakwordbreakwordbreakwordbreakwordbreakwordbreakwordbreakwordbreakwordbreakwordbreakwordbreakwordbreakwordbreak', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle: { - wordBreak: WordBreak.NORMAL - } - }) - }) - .id('ComponentTextRicheditorWordbreak0010') - .clip(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/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0011.ets deleted file mode 100644 index 21e8da7a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0011.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorWordbreak0011 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('testwordbreakwordbreakwordbreakwordbreakwordbreakwordbreakwordbreakwordbreakwordbrea 中国人あなたのことが好きです사랑해中国人あなたのことが好きです사랑해testwordbreakwordbreakwordbreakwordbreakwordbreakwordbreakwordbreakwordbreakwordbrea中国人あなたのことが好きです사랑해中国人あなたのことが好きです사랑해testwordbreakwordbreakwordbreakwordbreakwordbreakwordbreakwordbreakwordbreakwordbrea'+'\n'+'中国人あなたのことが好きです사랑해中国人あなたのことが好きです사랑해', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle: { - wordBreak: WordBreak.NORMAL|WordBreak.BREAK_ALL|WordBreak.BREAK_WORD - } - }) - }) - .id('ComponentTextRicheditorWordbreak0011') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0012.ets deleted file mode 100644 index 98a65632..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0012.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorWordbreak0012 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('rdbreakwordなたのことがなたのことがなたのことが', { - }) - }) - .id('ComponentTextRicheditorWordbreak0012') - Button('updateParagraphStyle', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('updateParagraphStyle') - .height(30) - .fontSize(13) - .onClick(() => { - this.getUIContext().getFocusController().clearFocus(); - this.controller.updateParagraphStyle({ start:this.controller.getSpans().length,end:-1, - style: { - wordBreak:WordBreak.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/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0013.ets deleted file mode 100644 index 2e4eb98d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0013.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorWordbreak0013 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('rdbreakwordなたのことがなたのことがなたのことが', { - paragraphStyle:{ - wordBreak:WordBreak.BREAK_ALL - } - }) - }) - .id('ComponentTextRicheditorWordbreak0013') - Button('updateParagraphStyle', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('updateParagraphStyle') - .height(30) - .fontSize(13) - .onClick(() => { - this.getUIContext().getFocusController().clearFocus(); - this.controller.updateParagraphStyle({ start:this.controller.getSpans().length,end:-1, - style: { - wordBreak:WordBreak.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/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0014.ets deleted file mode 100644 index 86d5aeb7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0014.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorWordbreak0014 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - }) - .id('ComponentTextRicheditorWordbreak0014') - Button('updateParagraphStyle', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('updateParagraphStyle') - .height(30) - .fontSize(13) - .onClick(() => { - this.getUIContext().getFocusController().clearFocus(); - this.controller.updateParagraphStyle({ start:-1,end:-1, - style: { - wordBreak:WordBreak.NORMAL - } - }); - this.controller.updateParagraphStyle({ start:4,end:-1, - style: { - wordBreak:WordBreak.BREAK_ALL - } - }) - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0015.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0015.ets deleted file mode 100644 index 010b2fed..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0015.ets +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorWordbreak0015 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('rdbreakwordなたのことがなたのことがなたのことがrdbreakwordなたのことがなたのことがな 中国 たのことがrdb re akwordなたのことがなたのことがなたのことがrdbreakwordなたのことがなたのことがなたのことが', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle:{ - wordBreak:WordBreak.NORMAL, - } - }) - }) - .id('ComponentTextRicheditorWordbreak0015') - Button('updateParagraphStyle', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('updateParagraphStyle') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.updateParagraphStyle({ start:20,end:50, - style: { - wordBreak:WordBreak.BREAK_ALL - } - }) - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0016.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0016.ets deleted file mode 100644 index 0614cb8b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0016.ets +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorWordbreak0016 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - @State heightRich : number = 50; - @State widthRich : number = 300; - - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('test wordbreak', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle:{ - wordBreak:WordBreak.NORMAL - } - }); - this.controller.addTextSpan('中国人あなたのことが好きです사랑해jhsfdhhhhhjhjhh', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle:{ - wordBreak:WordBreak.NORMAL - } - }); - - this.controller.addTextSpan('\uD83D\uDE00', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle:{ - wordBreak:WordBreak.NORMAL - } - }); - this.controller.addTextSpan('#$%&@', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle:{ - wordBreak:WordBreak.NORMAL - } - }); - this.controller.addSymbolSpan($r("sys.symbol.ohos_trash"), - { - - }) - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"] - } - }) - }) - .id('ComponentTextRicheditorWordbreak0016') - .width(this.widthRich) - .height(this.heightRich) - Button('updateParagraphStyle', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('updateParagraphStyle') - .height(30) - .fontSize(13) - .onClick(() => { - this.heightRich =100; - this.widthRich = 500; - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0017.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0017.ets deleted file mode 100644 index 93a5bca6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0017.ets +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorWordbreak0017 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('test wordbreak', { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle: { - wordBreak: WordBreak.NORMAL - } - }); - this.controller.addTextSpan('中国人あなたのことが好きです사랑해jhsfdhhhhhjhjhh', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle: { - wordBreak: WordBreak.NORMAL - } - }); - - this.controller.addTextSpan('\uD83D\uDE00', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle: { - wordBreak: WordBreak.NORMAL - } - }); - this.controller.addTextSpan('#$%&@', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle: { - wordBreak: WordBreak.NORMAL - } - }); - this.controller.addSymbolSpan($r("sys.symbol.ohos_trash"), - {}); - this.controller.addImageSpan(("cat.jpg"), - { - imageStyle: - { - size: ["57px", "57px"] - } - }) - }) - .id('ComponentTextRicheditorWordbreak0017') - Button('updateParagraphStyle', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('updateParagraphStyle') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.updateSpanStyle({ - textStyle: - { - fontSize: 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/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0018.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0018.ets deleted file mode 100644 index fd78dd44..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0018.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorWordbreak0018 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国人あな たのことが好きで す사랑해jhsfdhh hh', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle: { - wordBreak: WordBreak.NORMAL - } - }) - }) - .id('ComponentTextRicheditorWordbreak0018') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0019.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0019.ets deleted file mode 100644 index 1cfee944..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0019.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorWordbreak0019 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国人あ', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle: { - wordBreak: WordBreak.NORMAL - } - }) - }) - .id('ComponentTextRicheditorWordbreak0019') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0020.ets deleted file mode 100644 index 04e9a70d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0020.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorWordbreak0020 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国人あadffgsdgfdh', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle: { - wordBreak: WordBreak.NORMAL - } - }) - }) - .id('ComponentTextRicheditorWordbreak0020') - Button('updateParagraphStyle', { - buttonStyle: ButtonStyleMode.NORMAL - }) - .id('updateParagraphStyle') - .height(30) - .fontSize(13) - .onClick(() => { - this.controller.deleteSpans({ start:7,end:-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/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0021.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0021.ets deleted file mode 100644 index 88032312..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0021.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorWordbreak0021 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国人あadffgsdgfdh', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle: { - wordBreak: WordBreak.NORMAL - } - }) - }) - .id('ComponentTextRicheditorWordbreak0021') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0022.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0022.ets deleted file mode 100644 index 3bf22799..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0022.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct ComponentTextRicheditorWordbreak0022 { - controller: RichEditorController = new RichEditorController(); - options: RichEditorOptions = { controller: this.controller }; - - build() { - Row() { - Column() { - TextArea({text:"我是TextArea"}).draggable(true).width(100).height(50).id('TextArea'); - RichEditor(this.options) - .onReady(() => { - this.controller.addTextSpan('中国人あadffgsdgfdh', - { - style: { - fontStyle: FontStyle.Normal, - fontColor: Color.Black, - fontSize: 15, - }, - paragraphStyle: { - wordBreak: WordBreak.NORMAL - } - }) - }) - .id('ComponentTextRicheditorWordbreak0022') - .draggable(true) - .width(200) - .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/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K012.ets deleted file mode 100644 index b4dbbb6b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K012.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K012 { - - build() { - Row() { - Column() { - Button('promptAction.showActionMenu_showInSubWindow_true') - .id('FunctionJiChuSR000HUB4K0120') - .onClick(() => { - promptAction.showActionMenu({ - buttons: [{ - text: '对话框Button', - color: '#000' - }], - showInSubWindow: true - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K013.ets deleted file mode 100644 index 85b3980b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K013.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K013 { - - build() { - Row() { - Column() { - Button('promptAction.showActionMenu_showInSubWindow_false') - .id('FunctionJiChuSR000HUB4K0130') - .onClick(() => { - promptAction.showActionMenu({ - buttons: [{ - text: '对话框Button', - color: '#000' - }], - showInSubWindow: false - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K014.ets deleted file mode 100644 index 7b2e9de8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K014.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K014 { - - build() { - Row() { - Column() { - Button('promptAction.showToast') - .id('FunctionJiChuSR000HUB4K0140') - .onClick(() => { - promptAction.showToast({ - message: '对话框显示', - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K015.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K015.ets deleted file mode 100644 index c383f8e7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K015.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K015 { - - build() { - Row() { - Column() { - Button('promptAction.showToast_showMode_TOPMOST') - .id('FunctionJiChuSR000HUB4K0150') - .onClick(() => { - promptAction.showToast({ - message: '对话框显示', - showMode: 1 - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K016.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K016.ets deleted file mode 100644 index 35e0178c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K016.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K016 { - - build() { - Row() { - Column() { - Button('promptAction.showToast_showMode_DEFAULT') - .id('FunctionJiChuSR000HUB4K0160') - .onClick(() => { - promptAction.showToast({ - message: '对话框显示', - showMode: 0 - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K017.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K017.ets deleted file mode 100644 index 3c668e0c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K017.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K017 { - - build() { - Row() { - Column() { - Button('promptAction.showToast_message_Resource') - .id('FunctionJiChuSR000HUB4K0170') - .onClick(() => { - promptAction.showToast({ - message: getContext().resourceManager.getStringSync($r("app.string.toast_message_1")), - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K018.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K018.ets deleted file mode 100644 index 815e5cd5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K018.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K018 { - - build() { - Row() { - Column() { - Button('promptAction.showToast_message超长') - .id('FunctionJiChuSR000HUB4K0180') - .onClick(() => { - promptAction.showToast({ - message: "In the realm of collaborative projects, effective communication is paramount. It serves as the cornerstone for success, ensuring that all team members are aligned with the project's vision and goals. When communication is clear and transparent, it fosters an environment where ideas can flow freely, and misunderstandings are minimized. Team members can leverage their diverse skill sets to contribute to the project, knowing that their input is valued and will be heard. Moreover, good communication allows for the timely resolution of conflicts, which is crucial in maintaining team morale and momentum. It also enables the project to stay on track, as updates and changes can be disseminated quickly, keeping everyone informed and able to adapt accordingly. In essence, communication is not just a means to an end in team projects; it is the lifeblood that sustains the team's progress and unity towards achieving their collective objectives.\n", - bottom: '80vp', - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K019.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K019.ets deleted file mode 100644 index 2a933d24..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K019.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K019 { - - build() { - Row() { - Column() { - Button('showToast_message_string') - .id('FunctionJiChuSR000HUB4K0190') - .onClick(() => { - promptAction.showToast({ - message: 'chang an de荔枝', - - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K020.ets deleted file mode 100644 index bea2771c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K020.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K020 { - - build() { - Row() { - Column() { - Button('promptAction.showDialog({})') - .id('FunctionJiChuSR000HUB4K0200') - .onClick(() => { - promptAction.showToast({ - message: getContext().resourceManager.getStringSync($r("app.string.toast_message_1")), - - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K021.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K021.ets deleted file mode 100644 index 482592b4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K021.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K021 { - - build() { - Row() { - Column() { - Button('promptAction.showDialog_Resource_超长') - .id('FunctionJiChuSR000HUB4K0210') - .onClick(() => { - promptAction.showDialog({ - message: getContext().resourceManager.getStringSync($r("app.string.Very_long_text")), - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K022.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K022.ets deleted file mode 100644 index ed702cd4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K022.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K022 { - - build() { - Row() { - Column() { - Button('promptAction.showDialog_alignment_Top') - .id('FunctionJiChuSR000HUB4K0220') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - alignment: DialogAlignment.Top - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K023.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K023.ets deleted file mode 100644 index 13cad1e9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K023.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K023 { - - build() { - Row() { - Column() { - Button('promptAction.showDialog_alignment_Center') - .id('FunctionJiChuSR000HUB4K0230') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - alignment: DialogAlignment.Center - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K024.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K024.ets deleted file mode 100644 index ed6d2ed0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K024.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K024 { - - build() { - Row() { - Column() { - Button('promptAction.showDialog_alignment_Bottom') - .id('FunctionJiChuSR000HUB4K0240') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - alignment: DialogAlignment.Bottom - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K025.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K025.ets deleted file mode 100644 index 93b3d703..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K025.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K025 { - - build() { - Row() { - Column() { - Button('promptAction.showDialog_alignment_Default') - .id('FunctionJiChuSR000HUB4K0250') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - alignment: DialogAlignment.Default - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K026.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K026.ets deleted file mode 100644 index 7d65824c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K026.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K026 { - - build() { - Row() { - Column() { - Button('promptAction.showDialog_alignment_TopStart') - .id('FunctionJiChuSR000HUB4K0260') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - alignment: DialogAlignment.TopStart - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K027.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K027.ets deleted file mode 100644 index c5bb67e5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K027.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K027 { - - build() { - Row() { - Column() { - Button('promptAction.showDialog_alignment_TopEnd') - .id('FunctionJiChuSR000HUB4K0270') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - alignment: DialogAlignment.TopEnd - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K028.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K028.ets deleted file mode 100644 index 58037c91..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K028.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K028 { - - build() { - Row() { - Column() { - Button('promptAction.showDialog_alignment_CenterStart') - .id('FunctionJiChuSR000HUB4K0280') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - alignment: DialogAlignment.CenterStart, - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K029.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K029.ets deleted file mode 100644 index 6889b1fe..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K029.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K029 { - - build() { - Row() { - Column() { - Button('promptAction.showDialog_alignment_CenterEnd') - .id('FunctionJiChuSR000HUB4K0290') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - alignment: DialogAlignment.CenterEnd, - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K030.ets deleted file mode 100644 index 3a390ac0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K030.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K030 { - - build() { - Row() { - Column() { - Button('promptAction.showDialog_alignment_BottomStart') - .id('FunctionJiChuSR000HUB4K0300') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - alignment: DialogAlignment.BottomStart, - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K031.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K031.ets deleted file mode 100644 index c2d8fc9a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K031.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K031 { - - build() { - Row() { - Column() { - Button('promptAction.showDialog_alignment_BottomEnd') - .id('FunctionJiChuSR000HUB4K0310') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - alignment: DialogAlignment.BottomEnd, - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K032.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K032.ets deleted file mode 100644 index 532424ea..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K032.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K032 { - - build() { - Row() { - Column() { - Button('promptAction.showDialog_isModal_false') - .id('FunctionJiChuSR000HUB4K0320') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - isModal: false - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K033.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K033.ets deleted file mode 100644 index 98ca2e07..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K033.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K033 { - - build() { - Row() { - Column() { - Button('promptAction.showDialog_isModal_true') - .id('FunctionJiChuSR000HUB4K0330') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - isModal: true - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K034.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K034.ets deleted file mode 100644 index 37b9fe89..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K034.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K034 { - - build() { - Row() { - Column() { - Button('offset_Resource') - .id('FunctionJiChuSR000HUB4K0340') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - offset: { - dx: getContext().resourceManager.getNumber($r("app.integer.30")), - dy: getContext().resourceManager.getNumber($r("app.integer.30")) - } - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K035.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K035.ets deleted file mode 100644 index c0c58a4d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K035.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K035 { - - build() { - Row() { - Column() { - Button('offset_string') - .id('FunctionJiChuSR000HUB4K0350') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - offset: { - dx: '30%', - dy: '30%' - } - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K036.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K036.ets deleted file mode 100644 index 59546ba5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K036.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K036 { - - build() { - Row() { - Column() { - Button('promptAction.offset_Number') - .id('FunctionJiChuSR000HUB4K0360') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - offset: { - dx: 50.5, - dy: -50.5 - } - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K037.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K037.ets deleted file mode 100644 index a58e25d4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K037.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K037 { - build() { - Row() { - Column() { - Button('maskRect_MaskRect{}') - .id('FunctionJiChuSR000HUB4K0370') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - maskRect: {} - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K038.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K038.ets deleted file mode 100644 index ce0edb86..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K038.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K038 { - build() { - Row() { - Column() { - Button('maskRect_string_x50px') - .id('FunctionJiChuSR000HUB4K0380') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - maskRect: { x: '50px', width: '50px', height: '50px' }, - backgroundColor: Color.Blue - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K039.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K039.ets deleted file mode 100644 index fc3b2ea2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K039.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K039 { - build() { - Row() { - Column() { - Button('maskRect_string_x') - .id('FunctionJiChuSR000HUB4K0390') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - maskRect: { x: '', width: '50px', height: '50px' } - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K040.ets deleted file mode 100644 index 1f00d1dc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K040.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K040 { - build() { - Row() { - Column() { - Button('maskRect_number_x:100') - .id('FunctionJiChuSR000HUB4K0400') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - maskRect: { x: 100, width: '50px', height: '50px'} - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K041.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K041.ets deleted file mode 100644 index 4124e377..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K041.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K041 { - build() { - Row() { - Column() { - Button('maskRect_Resource_x$r(50%)') - .id('FunctionJiChuSR000HUB4K0410') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - maskRect: { x: getContext().resourceManager.getStringSync($r("app.string.50_percent")), width: '50px', height: '50px' } - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K042.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K042.ets deleted file mode 100644 index 338c6ad8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K042.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K042 { - build() { - Row() { - Column() { - Button('maskRect_x:NULL') - .id('FunctionJiChuSR000HUB4K0420') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - maskRect: { x: null, width: '50px', height: '50px' } - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K043.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K043.ets deleted file mode 100644 index 816b2508..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K043.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K043 { - build() { - Row() { - Column() { - Button('maskRect_string_y60%') - .id('FunctionJiChuSR000HUB4K0430') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - maskRect: { y: '60%', width: '50px', height: '50px' } - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K044.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K044.ets deleted file mode 100644 index 1cee240c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K044.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K044 { - build() { - Row() { - Column() { - Button('maskRect_string_y') - .id('FunctionJiChuSR000HUB4K0440') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - maskRect: { y: '', width: '50px', height: '50px' } - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K045.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K045.ets deleted file mode 100644 index b5336d2b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K045.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K045 { - build() { - Row() { - Column() { - Button('maskRect_number_y-100') - .id('FunctionJiChuSR000HUB4K0450') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - maskRect: { y: -100, width: '50px', height: '50px' } - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K046.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K046.ets deleted file mode 100644 index 3a070c33..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K046.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K046 { - build() { - Row() { - Column() { - Button('maskRect_Resource_y:$r(200px)') - .id('FunctionJiChuSR000HUB4K0460') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - maskRect: { y: getContext().resourceManager.getStringSync($r("app.string.string_200px")), width: '50px', height: '50px' } - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K047.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K047.ets deleted file mode 100644 index 66b54726..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K047.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K047 { - build() { - Row() { - Column() { - Button('maskRect_yUndefined') - .id('FunctionJiChuSR000HUB4K0470') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - maskRect: { y: undefined, width: '50px', height: '50px' } - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K048.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K048.ets deleted file mode 100644 index a760e90a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K048.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K048 { - build() { - Row() { - Column() { - Button('maskRect_string_width:40%') - .id('FunctionJiChuSR000HUB4K0480') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - maskRect: { width: '40%', height: '50px' } - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K049.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K049.ets deleted file mode 100644 index 458c1f45..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K049.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K049 { - build() { - Row() { - Column() { - Button('maskRect_number_width:200') - .id('FunctionJiChuSR000HUB4K0490') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - maskRect: { width: 200, height: '50px' } - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K050.ets deleted file mode 100644 index 07ff7eb4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K050.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K050 { - build() { - Row() { - Column() { - Button('maskRect_Resource_width $r(300px)') - .id('FunctionJiChuSR000HUB4K0500') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - maskRect: { width: getContext().resourceManager.getStringSync($r("app.string.string_300px")), height: '50px' } - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K051.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K051.ets deleted file mode 100644 index 152d9bc6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K051.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K051 { - build() { - Row() { - Column() { - Button('maskRect_width:-200') - .id('FunctionJiChuSR000HUB4K0510') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - maskRect: { width: '50px', height: -200 } - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K052.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K052.ets deleted file mode 100644 index 2f118727..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K052.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K052 { - build() { - Row() { - Column() { - Button('maskRect_string_height:200px') - .id('FunctionJiChuSR000HUB4K0520') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - maskRect: { width: '50px', height: '200px' } - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K053.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K053.ets deleted file mode 100644 index 349322a5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K053.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K053 { - build() { - Row() { - Column() { - Button('maskRect_string_height:200') - .id('FunctionJiChuSR000HUB4K0530') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - maskRect: { width: '50px', height: 200 } - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K054.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K054.ets deleted file mode 100644 index d8f5bba2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K054.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K054 { - build() { - Row() { - Column() { - Button('maskRect_Resource_height$r(60%)') - .id('FunctionJiChuSR000HUB4K0540') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - maskRect: { width: '50px', height: getContext().resourceManager.getStringSync($r("app.string.60_percent")) } - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K055.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K055.ets deleted file mode 100644 index 6853c6b3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K055.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K055 { - build() { - Row() { - Column() { - Button('maskRect_height:-60%') - .id('FunctionJiChuSR000HUB4K0550') - .onClick(() => { - promptAction.showDialog({ - message: '对话框显示', - maskRect: { width: '50px', height: getContext().resourceManager.getStringSync($r("app.string.60_negative_percent")) } - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K056.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K056.ets deleted file mode 100644 index e947b4a6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K056.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { BusinessError } from '@kit.BasicServicesKit'; -import { promptAction } from '@kit.ArkUI'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K056 { - build() { - Row() { - Column() { - Button('promptAction.showActionMenu_只配置buttons') - .id('FunctionJiChuSR000HUB4K0560') - .onClick(() => { - try { - promptAction.showActionMenu({ - buttons: [{ - text: '对话框Button', - color: '#000000' - }] - }, (err, data) => { - if (err) { - console.info('showActionMenu err: ' + err); - return; - } - console.info('showActionMenu success callback, click button: ' + data.index); - }) - } catch (error) { - let message = (error as BusinessError).message - let code = (error as BusinessError).code - console.error(`showActionMenu args error code is ${code}, message is ${message}`); - }; - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K057.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K057.ets deleted file mode 100644 index 365ca152..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K057.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K057 { - build() { - Row() { - Column() { - Button('promptAction.showActionMenu_title_Resource') - .id('FunctionJiChuSR000HUB4K0570') - .onClick(() => { - promptAction.showActionMenu({ - buttons: [{ - text: getContext().resourceManager.getStringSync($r("app.string.toast_message_2")), - color: '#000' - }] - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K058.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K058.ets deleted file mode 100644 index ba601c18..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K058.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K058 { - build() { - Row() { - Column() { - Button('isModal_false') - .id('FunctionJiChuSR000HUB4K0580') - .onClick(() => { - promptAction.showActionMenu({ - buttons: [{ - text: '对话框Button', - color: '#000' - }], - isModal: false - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K059.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K059.ets deleted file mode 100644 index 031a9779..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K059.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K059 { - build() { - Row() { - Column() { - Button('isModal_true') - .id('FunctionJiChuSR000HUB4K0590') - .onClick(() => { - promptAction.showActionMenu({ - buttons: [{ - text: '对话框Button', - color: '#000' - }], - isModal: true - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K060.ets deleted file mode 100644 index 00c8d60b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K060.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K060 { - build() { - Row() { - Column() { - Button('promptActon.showActionMenu_Buttons_text_Resource') - .id('FunctionJiChuSR000HUB4K0600') - .onClick(() => { - promptAction.showActionMenu({ - buttons: [{ - text: getContext().resourceManager.getStringSync($r("app.string.toast_message_3")), - color: '#000' - }], - isModal: true - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K061.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K061.ets deleted file mode 100644 index f0705b36..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K061.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K061 { - - build() { - Row() { - Column() { - Button('promptAction.showActionMenu_Buttons_text超长') - .id('FunctionJiChuSR000HUB4K0610') - .onClick(() => { - promptAction.showActionMenu({ - title: '对话框显示', - buttons: [ - { - text: 'dsanddewodoejdklsklcpdsjocewjdsfdsfdsfdsafoifhowhfddhviodbnsiuvbfuivhfuidovpfhyudvhfoidhvioufhdviohfpdiohvfiufgewogfbuiewbofygvibpuifhdiugvrf7uyav6gtiy8ufgduiovhfpduitgavut6ewfucvehwf0gr09iur0eokgvfd7gv87f9d74g8fd48g79re456g1bvr5ea64bv8re94ab8pocjopejcrekfirevopktrpovjiopravcewfijepowifjieowfopiewjofpjeropf', - color: `${getContext().resourceManager.getColorSync($r("app.color.Pink"))}` - } - ] - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K062.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K062.ets deleted file mode 100644 index 0a7a1c20..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K062.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct FunctionJiChuSR000HUB4K062 { - - build() { - Row() { - Column() { - Button('promptAction.showActionMenu_Buttons_color_Resource') - .id('FunctionJiChuSR000HUB4K0620') - .onClick(() => { - promptAction.showActionMenu({ - title: '对话框显示', - buttons: [ - { - text: '对话框Button', - color: `${getContext().resourceManager.getColorSync($r("app.color.Pink"))}` - } - ] - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJichuWaterFlow/FunctionJichuWaterFlow001806.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJichuWaterFlow/FunctionJichuWaterFlow001806.ets deleted file mode 100644 index 72e2fb54..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJichuWaterFlow/FunctionJichuWaterFlow001806.ets +++ /dev/null @@ -1,273 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 20; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= - -@Reusable -@Component -struct ReusableFlowItem { - @State item: number = 0 - - // 从复用缓存中加入到组件树之前调用,可在此处更新组件的状态变量以展示正确的内容 - aboutToReuse(params: Record) { - this.item = params.item; - console.info('Reuse item:' + this.item) - } - - aboutToAppear() { - console.info('new item:' + this.item) - } - - build() { - Image('res/waterFlowTest(' + this.item % 5 + ').jpg') - .overlay('N' + this.item, { align: Alignment.Top }) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1) - } -} -@Builder function MyGlobalBuilderFunction() -{ - Column({ space: 2 }) { - Text("WaterFlow End...").fontSize(12).height('16') - } -} -@Entry -@Component -struct FunctionJichuWaterFlow001806 { - minSize: number = 80 - maxSize: number = 180 - fontSize: number = 24 - colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - footer: CustomBuilder = MyGlobalBuilderFunction - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - dataCount: number = this.dataSource.totalCount() - private itemHeightArray: number[] = [] - @State sections: WaterFlowSections = new WaterFlowSections() - sectionMargin: Margin = { top: 10, left: 5, bottom: 10, right: 5 } - oneColumnSection: SectionOptions = { - itemsCount: 4, - crossCount: 1, - columnsGap: '5vp', - rowsGap: 10, - margin: this.sectionMargin, - onGetItemMainSizeByIndex: (index: number) => { - return this.itemHeightArray[index % 20] - } - } - twoColumnSection: SectionOptions = { - itemsCount: 2, - crossCount: 2, - onGetItemMainSizeByIndex: (index: number) => { - return 20 - } - } - lastSection: SectionOptions = { - itemsCount: 20, - crossCount: 2, - onGetItemMainSizeByIndex: (index: number) => { - return this.itemHeightArray[index % 20] - } - } - - // 计算FlowItem高度 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的高度数组 - setItemSizeArray() { - for (let i = 0; i < 20; i++) { - //this.itemHeightArray.push(this.getSize()) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - // 初始化瀑布流分组信息 - let sectionOptions: SectionOptions[] = [] - let count = 0 - let oneOrTwo = 0 - while (count < this.dataCount) { - if (this.dataCount - count < 20) { - this.lastSection.itemsCount = this.dataCount - count - sectionOptions.push(this.lastSection) - break; - } - if (oneOrTwo++ % 2 == 0) { - sectionOptions.push(this.oneColumnSection) - count += this.oneColumnSection.itemsCount - } else { - sectionOptions.push(this.twoColumnSection) - count += this.twoColumnSection.itemsCount - } - } - this.sections.splice(0, 0, sectionOptions) - } - - build() { - Column({ space: 2 }) { - WaterFlow({ footer: this.footer, scroller: this.scroller, sections: this.sections }) { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - ReusableFlowItem({ item: item }) - } - .width('100%') - // 以onGetItemMainSizeByIndex为准 - // .height(this.itemHeightArray[item % 100]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .columnsGap(10) - .rowsGap(5) - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .layoutWeight(1) - .id('FunctionJichuWaterFlow001806_001'); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJichuWaterFlow/FunctionJichuWaterFlow0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJichuWaterFlow/FunctionJichuWaterFlow0350.ets deleted file mode 100644 index 2d6b4ed4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/FunctionJichuWaterFlow/FunctionJichuWaterFlow0350.ets +++ /dev/null @@ -1,283 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 100; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= - -@Reusable -@Component -struct ReusableFlowItem { - @State item: number = 0 - - // 从复用缓存中加入到组件树之前调用,可在此处更新组件的状态变量以展示正确的内容 - aboutToReuse(params: Record) { - this.item = params.item; - console.info('Reuse item:' + this.item) - } - - aboutToAppear() { - console.info('new item:' + this.item) - } - - build() { - Image('res/waterFlowTest(' + this.item % 5 + ').jpg') - .overlay('N' + this.item, { align: Alignment.Top }) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1) - } -} -@Builder function MyGlobalBuilderFunction() -{ - -} -@Entry -@Component -struct FunctionJichuWaterFlow0350 { - minSize: number = 80 - maxSize: number = 180 - fontSize: number = 24 - colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - footer: CustomBuilder = MyGlobalBuilderFunction - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - dataCount: number = this.dataSource.totalCount() - private itemHeightArray: number[] = [] - @State sections: WaterFlowSections = new WaterFlowSections() - sectionMargin: Margin = { top: 10, left: 5, bottom: 10, right: 5 } - oneColumnSection: SectionOptions = { - itemsCount: 4, - crossCount: 1, - columnsGap: '5vp', - rowsGap: 10, - margin: this.sectionMargin, - onGetItemMainSizeByIndex: (index: number) => { - return this.itemHeightArray[index % 100] - } - } - twoColumnSection: SectionOptions = { - itemsCount: 2, - crossCount: 2, - onGetItemMainSizeByIndex: (index: number) => { - return 100 - } - } - lastSection: SectionOptions = { - itemsCount: 20, - crossCount: 2, - onGetItemMainSizeByIndex: (index: number) => { - return this.itemHeightArray[index % 100] - } - } - - // 计算FlowItem高度 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的高度数组 - setItemSizeArray() { - for (let i = 0; i < 100; i++) { - //this.itemHeightArray.push(this.getSize()) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - // 初始化瀑布流分组信息 - let sectionOptions: SectionOptions[] = [] - let count = 0 - let oneOrTwo = 0 - while (count < this.dataCount) { - if (this.dataCount - count < 20) { - this.lastSection.itemsCount = this.dataCount - count - sectionOptions.push(this.lastSection) - break; - } - if (oneOrTwo++ % 2 == 0) { - sectionOptions.push(this.oneColumnSection) - count += this.oneColumnSection.itemsCount - } else { - sectionOptions.push(this.twoColumnSection) - count += this.twoColumnSection.itemsCount - } - } - this.sections.splice(0, 0, sectionOptions) - } - - build() { - Column({ space: 2 }) { - WaterFlow({ footer: this.footer, scroller: this.scroller, sections: this.sections }) { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - ReusableFlowItem({ item: item }) - } - .width('100%') - // 以onGetItemMainSizeByIndex为准 - // .height(this.itemHeightArray[item % 100]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .columnsGap(10) - .rowsGap(5) - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .layoutWeight(1) - .onScrollIndex((first: number, last: number) => { - // 即将触底时提前增加数据 - if (last + 20 >= this.dataSource.totalCount()) { - for (let i = 0; i < 100; i++) { - this.dataSource.addLastItem() - } - // 更新数据源后同步更新sections,修改最后一个section的FlowItem数量 - const sections: Array = this.sections.values(); - let newSection: SectionOptions = sections[this.sections.length() - 1]; - newSection.itemsCount += 100; - this.sections.update(-1, newSection); - } - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/Index.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/Index.ets index c5801165..0e4b0390 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/Index.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/Index.ets @@ -13,42 +13,6 @@ * limitations under the License. */ -import hilog from '@ohos.hilog'; - -@Entry -@Component -struct Index { - aboutToAppear() { - hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility index aboutToAppear'); - } - @State message: string = 'Hello World' - - build() { - Row() { - Column() { - Text(this.message) - .fontSize(50) - .fontWeight(FontWeight.Bold) - Button() { - Text('next page') - .fontSize(20) - .fontWeight(FontWeight.Bold) - } - .type(ButtonType.Capsule) - .margin({ - top: 20 - }) - .backgroundColor('#0D9FFB') - .width('35%') - .height('5%') - .onClick(()=>{ - }) - } - .width('100%') - } - .height('100%') - } - } @Entry @Component struct Index { @@ -65,4 +29,4 @@ struct Index { } .height('100%') } -} +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test124.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test124.ets deleted file mode 100644 index 2f257205..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test124.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct TsComponentSR000HRP34_124 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - textStyle: {color: Color.Blue}, - }) - }) - .id("TsComponentSR000HRP34_124_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test125.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test125.ets deleted file mode 100644 index cccd5ac7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test125.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct TsComponentSR000HRP34_125 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - textStyle: {color: 0x0000ff}, - }) - }) - .id("TsComponentSR000HRP34_125_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test126.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test126.ets deleted file mode 100644 index 597851da..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test126.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct TsComponentSR000HRP34_126 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - textStyle: {color: "rgb(255,0,0)"}, - }) - }) - .id("TsComponentSR000HRP34_126_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test127.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test127.ets deleted file mode 100644 index bda237a2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test127.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct TsComponentSR000HRP34_127 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - textStyle: {color: getContext().resourceManager.getColorSync($r("app.color.blue"))}, - }) - }) - .id("TsComponentSR000HRP34_127_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton033.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton033.ets deleted file mode 100644 index 4627daca..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton033.ets +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonCommonButton0330 { - @State styleIndex: number = 0; - - build() { - Row() { - Column() { - Text('Radio') - Radio({ value: 'Radio1', group: 'radioGroup' }) - .height(50) - .width(50) - .id('UIComponentButtonCommonButton0330') - - Text('Radio') - .margin({ top: 10 }) - Radio({ value: 'Radio2', group: 'radioGroup' }) - .height(50) - .width(50) - .checked(RadioData[0].Checked) - .id('UIComponentButtonCommonButton0331') - .radioStyle(RadioData[0].RadioStyle) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} - -export interface RadioAttributes { - RadioStyle?: RadioStyle - Checked?: boolean -} - -export const RadioData: RadioAttributes[] = [ - { - RadioStyle: { - checkedBackgroundColor: Color.Black, - uncheckedBorderColor: Color.Green, - indicatorColor: Color.Yellow - }, - Checked: true - }, - { - RadioStyle: { checkedBackgroundColor: '#ffffff', uncheckedBorderColor: '#ff980d0d', indicatorColor: '#ff2f6db7' }, - Checked: true - }, - { - RadioStyle: { checkedBackgroundColor: undefined, uncheckedBorderColor: undefined, indicatorColor: undefined }, - Checked: false - }, - { - RadioStyle: { checkedBackgroundColor: 0xff0033, uncheckedBorderColor: 0xff0033, indicatorColor: 0xff0033 }, - Checked: false - } -] diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton034.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton034.ets deleted file mode 100644 index c39cb646..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton034.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { RadioData } from "./UIComponentButtonCommonButton033"; - -@Entry -@Component -struct UIComponentButtonCommonButton0340 { - @State styleIndex: number = 0; - - build() { - Row() { - Column() { - Text('Radio') - Radio({ value: 'Radio1', group: 'radioGroup' }) - .height(50) - .width(50) - - Text('Radio') - .margin({ top: 10 }) - Radio({ value: 'Radio2', group: 'radioGroup' }) - .height(50) - .width(50) - .checked(RadioData[1].Checked) - .radioStyle(RadioData[1].RadioStyle) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton035.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton035.ets deleted file mode 100644 index de4e348e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton035.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { RadioData } from "./UIComponentButtonCommonButton033"; - -@Entry -@Component -struct UIComponentButtonCommonButton0350 { - @State styleIndex: number = 0; - - build() { - Row() { - Column() { - Text('Radio') - Radio({ value: 'Radio1', group: 'radioGroup' }) - .height(50) - .width(50) - - Text('Radio') - .margin({ top: 10 }) - Radio({ value: 'Radio2', group: 'radioGroup' }) - .height(50) - .width(50) - .checked(RadioData[2].Checked) - .radioStyle(RadioData[2].RadioStyle) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton036.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton036.ets deleted file mode 100644 index 8decfd42..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton036.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { RadioData } from './UIComponentButtonCommonButton033'; - -@Entry -@Component -struct UIComponentButtonCommonButton0360 { - @State styleIndex: number = 0; - - build() { - Row() { - Column() { - Text('Radio') - Radio({ value: 'Radio1', group: 'radioGroup' }) - .height(50) - .width(50) - - Text('Radio') - .margin({ top: 10 }) - Radio({ value: 'Radio2', group: 'radioGroup' }) - .height(50) - .width(50) - .checked(RadioData[3].Checked) - .radioStyle(RadioData[3].RadioStyle) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton037.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton037.ets deleted file mode 100644 index 1bcfd966..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton037.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonCommonButton0370 { - @State styleIndex: number = 0; - - build() { - Row() { - Column() { - Text('Rating1') - Rating() - .margin({ top: 24 }) - - Text('Rating2') - .margin({ top: 10 }) - Rating() - .margin({ top: 24 }) - .stars(RatingData[0].Stars) - .stepSize(RatingData[0].StepSize) - .starStyle(RatingData[0].StarStyle) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} - -export interface RatingAttributes { - Stars?: number | undefined - StepSize?: number | undefined - StarStyle?: RatingStarStyle -} - -export interface RatingStarStyle { - backgroundUri: string | undefined - foregroundUri: string | undefined - secondaryUri?: string | undefined -} - -export const RatingData: RatingAttributes[] = [ - { - Stars: 10, - StepSize: 5, - StarStyle: { backgroundUri: 'image2.png', foregroundUri: 'image2.png' }, - }, - { - StarStyle: { backgroundUri: 'image2.png', foregroundUri: 'image2.png', secondaryUri: 'img.png' }, - }, - { - StarStyle: { backgroundUri: 'image2.png', foregroundUri: 'image2.png', secondaryUri: 'img2.png' }, - } -] diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton038.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton038.ets deleted file mode 100644 index 671485c1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton038.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { RatingData } from "./UIComponentButtonCommonButton037"; - -@Entry -@Component -struct UIComponentButtonCommonButton0380 { - @State styleIndex: number = 0; - - build() { - Row() { - Column() { - Text('Rating1') - Rating() - .margin({ top: 24 }) - - Text('Rating2') - .margin({ top: 10 }) - Rating() - .margin({ top: 24 }) - .starStyle(RatingData[1].StarStyle) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton039.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton039.ets deleted file mode 100644 index a21f3856..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton039.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { RatingData } from "./UIComponentButtonCommonButton037"; - -@Entry -@Component -struct UIComponentButtonCommonButton0390 { - @State styleIndex: number = 0; - - build() { - Row() { - Column() { - Text('Rating1') - Rating() - .margin({ top: 24 }) - - Text('Rating2') - .margin({ top: 10 }) - Rating() - .margin({ top: 24 }) - .starStyle(RatingData[2].StarStyle) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton040.ets deleted file mode 100644 index 003c30e9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton040.ets +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonCommonButton0400 { - @State styleIndex: number = 0; - - build() { - Row() { - Column() { - Text('原有配置的Select') - Select([{ - value: 'abc', - }, { - value: 'def', - }, { - value: 'ghi', - }]) - .id('UIComponentButtonCommonButton0400') - - Text('modifier配置的Select') - .margin({ top: 10 }) - Select([{ - value: 'abc', - }, { - value: 'def', - }, { - value: 'ghi', - }]) - .id('UIComponentButtonCommonButton0401') - .optionWidth(SelectData[0].OptionWidth) - .optionHeight(SelectData[0].OptionHeight) - .menuAlign(SelectData[0].MenuAlign) - .offset({ - x: SelectData[0].Offset ? SelectData[0].Offset.dx : undefined, - y: SelectData[0].Offset ? SelectData[0].Offset.dy : undefined - }) - .value(SelectData[0].Value) - .selected(SelectData[0].Selected) - .space(SelectData[0].Space) - .arrowPosition(SelectData[0].ArrowPosition) - .font(SelectData[0].Font) - .fontColor(SelectData[0].FontColor) - .selectedOptionBgColor(SelectData[0].SelectedOptionBgColor) - .selectedOptionFont(SelectData[0].SelectedOptionFont) - .selectedOptionFontColor(SelectData[0].SelectedOptionFontColor) - .optionBgColor(SelectData[0].OptionBgColor) - .optionFont(SelectData[0].OptionFont) - .optionFontColor(SelectData[0].OptionFontColor) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Top) - .justifyContent(FlexAlign.Center) - } -} - -export interface SelectDataAttributes { - OptionWidth?: Dimension | OptionWidthMode | undefined - OptionHeight?: Dimension | undefined - MenuAlign?: MenuAlignType | undefined - Offset?: Offset | undefined - Value?: ResourceStr | undefined - Selected?: number | Resource | undefined - Space?:Length | undefined - ArrowPosition?: ArrowPosition | undefined - Font?: Font | undefined - FontColor?: ResourceColor | undefined - SelectedOptionBgColor?: ResourceColor | undefined - SelectedOptionFont?: Font | undefined - SelectedOptionFontColor?:ResourceColor | undefined - OptionBgColor?:ResourceColor | undefined - OptionFont?: Font | undefined - OptionFontColor?: ResourceColor | undefined -} - -export const SelectData: SelectDataAttributes[] = [ - { - OptionWidth : 20, - OptionHeight : 30, - MenuAlign : MenuAlignType.START, - Offset : { dx: 30, dy: 30 }, - Value : "bbb", - Selected : 1, - Space : 10, - ArrowPosition : ArrowPosition.END, - Font : { size: 20, style: FontStyle.Italic, family: 'HarmonyHei', weight: 400 }, - FontColor : Color.Red, - SelectedOptionBgColor : Color.Red, - SelectedOptionFont : { size: 20, style: FontStyle.Italic, family: 'HarmonyHei', weight: 400 }, - SelectedOptionFontColor : Color.Pink, - OptionBgColor : Color.Orange, - OptionFont : { size: 30, style: FontStyle.Italic, family: 'HarmonyHei', weight: 500 }, - OptionFontColor : Color.Gray - }, - { - OptionWidth : '20px', - OptionHeight : '30px', - MenuAlign : MenuAlignType.CENTER, - Offset : { dx: '30px', dy: '30px' }, - Value : "ccc", - Selected : -1, - Space : '10px', - ArrowPosition : ArrowPosition.START, - Font : { size: '20vp', style: FontStyle.Italic, family: '', weight: '500' }, - FontColor : $r('app.color.Code_color'), - SelectedOptionBgColor : $r('app.color.tab_text_activated'), - SelectedOptionFont : { size: '20px', style: 10, weight: 'normal' }, - SelectedOptionFontColor : '#aabbccdd', - OptionBgColor : $r('app.color.category_background'), - OptionFont : { size: '24px', style: 10, weight: 'normal' }, - OptionFontColor : $r('app.color.search_placeholder') - }, - { - OptionWidth : undefined, - OptionHeight : undefined, - MenuAlign : MenuAlignType.CENTER, - Offset : undefined, - Value : "", - Selected : -1, - Space : '10px', - ArrowPosition : ArrowPosition.START, - Font : { size: '20vp', style: FontStyle.Italic, family: '', weight: '500' }, - FontColor : $r('app.color.Code_color'), - SelectedOptionBgColor : $r('app.color.tab_text_activated'), - SelectedOptionFont : { size: '20px', style: 10, weight: 'normal' }, - SelectedOptionFontColor : '#aabbccdd', - OptionBgColor : $r('app.color.category_background'), - OptionFont : { size: '24px', style: 10, weight: 'normal' }, - OptionFontColor : $r('app.color.search_placeholder') - } -] diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton041.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton041.ets deleted file mode 100644 index 6bc079c1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton041.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SelectData } from './UIComponentButtonCommonButton040'; - -@Entry -@Component -struct UIComponentButtonCommonButton0410 { - @State styleIndex: number = 0; - - build() { - Row() { - Column() { - Text('原有配置的Select') - Select([{ - value: 'abc', - }, { - value: 'def', - }, { - value: 'ghi', - }]) - .id('UIComponentButtonCommonButton0410') - - Text('modifier配置的Select') - .margin({ top: 10 }) - Select([{ - value: 'abc', - }, { - value: 'def', - }, { - value: 'ghi', - }]) - .id('UIComponentButtonCommonButton0411') - .optionWidth(SelectData[1].OptionWidth) - .optionHeight(SelectData[1].OptionHeight) - .menuAlign(SelectData[1].MenuAlign) - .offset({ - x: SelectData[1].Offset ? SelectData[1].Offset.dx : undefined, - y: SelectData[1].Offset ? SelectData[1].Offset.dy : undefined - }) - .value(SelectData[1].Value) - .selected(SelectData[1].Selected) - .space(SelectData[1].Space) - .arrowPosition(SelectData[1].ArrowPosition) - .font(SelectData[1].Font) - .fontColor(SelectData[1].FontColor) - .selectedOptionBgColor(SelectData[1].SelectedOptionBgColor) - .selectedOptionFont(SelectData[1].SelectedOptionFont) - .selectedOptionFontColor(SelectData[1].SelectedOptionFontColor) - .optionBgColor(SelectData[1].OptionBgColor) - .optionFont(SelectData[1].OptionFont) - .optionFontColor(SelectData[1].OptionFontColor) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Top) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark001.ets deleted file mode 100644 index dc968a2b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark001.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCheckMark001 { - @State textTip: string = '勾选类型的Radio选中'; - - build() { - Row() { - Column({ space: 50 }) { - Text(this.textTip) - Row({space: 20}) { - Radio({ value: 'Radio', group: 'radioGroup', indicatorType: RadioIndicatorType.TICK }) - .checked(true) - .width(50) - .height(50) - .id('UIComponentButtonRadioCheckMark0010') - } - } - .width('200px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark003.ets deleted file mode 100644 index 67c1d723..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark003.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCheckMark003 { - @State textTip: string = '勾选类型的Radio选中'; - @State isChecked: boolean = true; - - build() { - Row() { - Column({ space: 50 }) { - Text(this.textTip) - Row({space: 20}) { - Radio({ value: 'Radio', group: 'radioGroup', indicatorType: RadioIndicatorType.TICK }) - .checked(this.isChecked) - .width(50) - .height(50) - .id('UIComponentButtonRadioCheckMark0030') - .gesture( - LongPressGesture({repeat: true}) - .onAction((event: GestureEvent) => { - if (event && event.repeat) { - if(this.isChecked) { - this.textTip = '勾选类型的Radio选中,press状态'; - } else { - this.textTip = '勾选类型的Radio未选中,press状态'; - } - } - }) - ) - } - } - .width('200px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark005.ets deleted file mode 100644 index 8dc14e45..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark005.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCheckMark005 { - @State textTip: string = '勾选类型的Radio选中,disable状态'; - build() { - Row() { - Column({ space: 50 }) { - Text(this.textTip) - Row({space: 20}) { - Radio({ value: 'Radio', group: 'radioGroup', indicatorType: RadioIndicatorType.TICK }) - .checked(true) - .width(50) - .height(50) - .enabled(false) - .id('UIComponentButtonRadioCheckMark0050') - } - } - .width('200px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark006.ets deleted file mode 100644 index 98506811..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark006.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCheckMark006 { - @State textTip: string = '勾选类型的Radio未选中'; - - build() { - Row() { - Column({ space: 50 }) { - Text(this.textTip) - Row({space: 20}) { - Radio({ value: 'Radio', group: 'radioGroup', indicatorType: RadioIndicatorType.TICK }) - .checked(false) - .width(50) - .height(50) - .id('UIComponentButtonRadioCheckMark0060') - } - } - .width('200px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark008.ets deleted file mode 100644 index 314b801c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark008.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCheckMark008 { - @State textTip: string = '勾选类型的Radio未选中'; - @State isChecked: boolean = false; - - build() { - Row() { - Column({ space: 50 }) { - Text(this.textTip) - Row({space: 20}) { - Radio({ value: 'Radio', group: 'radioGroup', indicatorType: RadioIndicatorType.TICK }) - .checked(this.isChecked) - .width(50) - .height(50) - .id('UIComponentButtonRadioCheckMark0080') - .onChange(() => { - this.isChecked = !this.isChecked; - }) - .gesture( - LongPressGesture({repeat: true}) - .onAction((event: GestureEvent) => { - if (event && event.repeat) { - if(this.isChecked) { - this.textTip = '勾选类型的Radio选中,press状态'; - } else { - this.textTip = '勾选类型的Radio未选中,press状态'; - } - } - }) - ) - } - } - .width('200px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark010.ets deleted file mode 100644 index ba7a3ed0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark010.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCheckMark010 { - @State textTip: string = '勾选类型的Radio未选中,disable状态'; - build() { - Row() { - Column({ space: 50 }) { - Text(this.textTip) - Row({space: 20}) { - Radio({ value: 'Radio', group: 'radioGroup', indicatorType: RadioIndicatorType.TICK }) - .checked(false) - .width(50) - .height(50) - .enabled(false) - .id('UIComponentButtonRadioCheckMark0100') - } - } - .width('200px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark011.ets deleted file mode 100644 index 7d49747d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark011.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCheckMark011 { - @State textTip: string = 'Radio选中,默认类型'; - - build() { - Row() { - Column({ space: 50 }) { - Text(this.textTip) - Row({space: 20}) { - Radio({ value: 'Radio', group: 'radioGroup'}) - .checked(true) - .width(50) - .height(50) - .id('UIComponentButtonRadioCheckMark0110') - } - } - .width('200px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark012.ets deleted file mode 100644 index 9d86d3a5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark012.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCheckMark012 { - @State textTip: string = 'Radio未选中,默认类型'; - - build() { - Row() { - Column({ space: 50 }) { - Text(this.textTip) - Row({space: 20}) { - Radio({ value: 'Radio', group: 'radioGroup'}) - .checked(false) - .width(50) - .height(50) - .id('UIComponentButtonRadioCheckMark0120') - } - } - .width('200px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark013.ets deleted file mode 100644 index 8aea1369..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark013.ets +++ /dev/null @@ -1,144 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCheckMark013 { - @State isSetCheckedBackgroundColor: boolean = false; - @State isSetUncheckedBorderColor: boolean = false; - @State isSetIndicatorColor: boolean = false; - - - build() { - Row({space: 10}) { - Column({space: 10}) { - Button('checkedBackgroundColor为xx') - .id('UIComponentButtonRadioCheckMark0130') - .onClick(() => { - this.isSetCheckedBackgroundColor = true; - }) - Button('uncheckedBorderColor为xx') - .id('UIComponentButtonRadioCheckMark0131') - .onClick(() => { - this.isSetUncheckedBorderColor = true; - }) - Button('indicatorColor为xx') - .id('UIComponentButtonRadioCheckMark0132') - .onClick(() => { - this.isSetIndicatorColor = true; - }) - Row() { - Radio({ value: 'Radio1', group: 'radioGroup1', indicatorType: RadioIndicatorType.TICK }) - .checked(true) - .width(50) - .height(50) - .radioStyle({ - checkedBackgroundColor: this.isSetCheckedBackgroundColor ? 'rgba(255,100,255,0.5)' : '', - uncheckedBorderColor: this.isSetUncheckedBorderColor ? 'rgba(255,100,255,0.5)' : '', - indicatorColor: this.isSetIndicatorColor ? 'rgba(255,100,255,0.5)' : '', - }) - .id('UIComponentButtonRadioCheckMark0130') - } - Row() { - Radio({ value: 'Radio2', group: 'radioGroup2', indicatorType: RadioIndicatorType.TICK }) - .checked(true) - .width(50) - .height(50) - .radioStyle({ - checkedBackgroundColor: this.isSetCheckedBackgroundColor ? undefined : '', - uncheckedBorderColor: this.isSetUncheckedBorderColor ? undefined : '', - indicatorColor: this.isSetIndicatorColor ? undefined : '', - }) - .id('UIComponentButtonRadioCheckMark0131') - } - Row() { - Radio({ value: 'Radio3', group: 'radioGroup3', indicatorType: RadioIndicatorType.TICK }) - .checked(true) - .width(50) - .height(50) - .radioStyle({ - checkedBackgroundColor: this.isSetCheckedBackgroundColor ? Color.Black : '', - uncheckedBorderColor: this.isSetUncheckedBorderColor ? Color.Black : '', - indicatorColor: this.isSetIndicatorColor ? Color.Black : '', - }) - .id('UIComponentButtonRadioCheckMark0132') - } - Row() { - Radio({ value: 'Radio4', group: 'radioGroup4', indicatorType: RadioIndicatorType.TICK }) - .checked(true) - .width(50) - .height(50) - .radioStyle({ - checkedBackgroundColor: this.isSetCheckedBackgroundColor ? 0xff00ff00 : '', - uncheckedBorderColor: this.isSetUncheckedBorderColor ? 0xff00ff00 : '', - indicatorColor: this.isSetIndicatorColor ? 0xff00ff00 : '', - }) - .id('UIComponentButtonRadioCheckMark0133') - } - Row() { - Radio({ value: 'Radio5', group: 'radioGroup5', indicatorType: RadioIndicatorType.TICK }) - .checked(true) - .width(50) - .height(50) - .radioStyle({ - checkedBackgroundColor: this.isSetCheckedBackgroundColor ? '#ff0000ff' : '', - uncheckedBorderColor: this.isSetUncheckedBorderColor ? '#ff0000ff' : '', - indicatorColor: this.isSetIndicatorColor ? '#ff0000ff' : '', - }) - .id('UIComponentButtonRadioCheckMark0134') - } - Row() { - Radio({ value: 'Radio6', group: 'radioGroup6', indicatorType: RadioIndicatorType.TICK }) - .checked(true) - .width(50) - .height(50) - .radioStyle({ - checkedBackgroundColor: this.isSetCheckedBackgroundColor ? 'bbbb' : '', - uncheckedBorderColor: this.isSetUncheckedBorderColor ? 'bbbb' : '', - indicatorColor: this.isSetIndicatorColor ? 'bbbb' : '', - }) - .id('UIComponentButtonRadioCheckMark0135') - } - Row() { - Radio({ value: 'Radio7', group: 'radioGroup7', indicatorType: RadioIndicatorType.TICK }) - .checked(true) - .width(50) - .height(50) - .radioStyle({ - checkedBackgroundColor: this.isSetCheckedBackgroundColor ? getContext().resourceManager.getColorSync($r("app.color.colorRed")) : '', - uncheckedBorderColor: this.isSetUncheckedBorderColor ? getContext().resourceManager.getColorSync($r("app.color.colorRed")) : '', - indicatorColor: this.isSetIndicatorColor ? getContext().resourceManager.getColorSync($r("app.color.colorRed")) : '', - }) - .id('UIComponentButtonRadioCheckMark0136') - } - Row() { - Radio({ value: 'Radio8', group: 'radioGroup8', indicatorType: RadioIndicatorType.TICK }) - .checked(true) - .width(50) - .height(50) - .radioStyle({ - checkedBackgroundColor: '', - uncheckedBorderColor: '', - indicatorColor: '', - }) - .id('UIComponentButtonRadioCheckMark0136') - } - } - .margin({ - left: 10 - }) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark014.ets deleted file mode 100644 index 890cd890..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark014.ets +++ /dev/null @@ -1,144 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCheckMark014 { - @State isSetCheckedBackgroundColor: boolean = false; - @State isSetUncheckedBorderColor: boolean = false; - @State isSetIndicatorColor: boolean = false; - - - build() { - Row({space: 10}) { - Column({space: 10}) { - Button('checkedBackgroundColor为xx') - .id('UIComponentButtonRadioCheckMark0140') - .onClick(() => { - this.isSetCheckedBackgroundColor = true; - }) - Button('uncheckedBorderColor为xx') - .id('UIComponentButtonRadioCheckMark0141') - .onClick(() => { - this.isSetUncheckedBorderColor = true; - }) - Button('indicatorColor为xx') - .id('UIComponentButtonRadioCheckMark0142') - .onClick(() => { - this.isSetIndicatorColor = true; - }) - Row() { - Radio({ value: 'Radio1', group: 'radioGroup1', indicatorType: RadioIndicatorType.TICK }) - .checked(false) - .width(50) - .height(50) - .radioStyle({ - checkedBackgroundColor: this.isSetCheckedBackgroundColor ? 'rgba(255,100,255,0.5)' : '', - uncheckedBorderColor: this.isSetUncheckedBorderColor ? 'rgba(255,100,255,0.5)' : '', - indicatorColor: this.isSetIndicatorColor ? 'rgba(255,100,255,0.5)' : '', - }) - .id('UIComponentButtonRadioCheckMark0130') - } - Row() { - Radio({ value: 'Radio2', group: 'radioGroup2', indicatorType: RadioIndicatorType.TICK }) - .checked(false) - .width(50) - .height(50) - .radioStyle({ - checkedBackgroundColor: this.isSetCheckedBackgroundColor ? undefined : '', - uncheckedBorderColor: this.isSetUncheckedBorderColor ? undefined : '', - indicatorColor: this.isSetIndicatorColor ? undefined : '', - }) - .id('UIComponentButtonRadioCheckMark0131') - } - Row() { - Radio({ value: 'Radio3', group: 'radioGroup3', indicatorType: RadioIndicatorType.TICK }) - .checked(false) - .width(50) - .height(50) - .radioStyle({ - checkedBackgroundColor: this.isSetCheckedBackgroundColor ? Color.Black : '', - uncheckedBorderColor: this.isSetUncheckedBorderColor ? Color.Black : '', - indicatorColor: this.isSetIndicatorColor ? Color.Black : '', - }) - .id('UIComponentButtonRadioCheckMark0132') - } - Row() { - Radio({ value: 'Radio4', group: 'radioGroup4', indicatorType: RadioIndicatorType.TICK }) - .checked(false) - .width(50) - .height(50) - .radioStyle({ - checkedBackgroundColor: this.isSetCheckedBackgroundColor ? 0xff00ff00 : '', - uncheckedBorderColor: this.isSetUncheckedBorderColor ? 0xff00ff00 : '', - indicatorColor: this.isSetIndicatorColor ? 0xff00ff00 : '', - }) - .id('UIComponentButtonRadioCheckMark0133') - } - Row() { - Radio({ value: 'Radio5', group: 'radioGroup5', indicatorType: RadioIndicatorType.TICK }) - .checked(false) - .width(50) - .height(50) - .radioStyle({ - checkedBackgroundColor: this.isSetCheckedBackgroundColor ? '#ff0000ff' : '', - uncheckedBorderColor: this.isSetUncheckedBorderColor ? '#ff0000ff' : '', - indicatorColor: this.isSetIndicatorColor ? '#ff0000ff' : '', - }) - .id('UIComponentButtonRadioCheckMark0134') - } - Row() { - Radio({ value: 'Radio6', group: 'radioGroup6', indicatorType: RadioIndicatorType.TICK }) - .checked(false) - .width(50) - .height(50) - .radioStyle({ - checkedBackgroundColor: this.isSetCheckedBackgroundColor ? 'bbbb' : '', - uncheckedBorderColor: this.isSetUncheckedBorderColor ? 'bbbb' : '', - indicatorColor: this.isSetIndicatorColor ? 'bbbb' : '', - }) - .id('UIComponentButtonRadioCheckMark0135') - } - Row() { - Radio({ value: 'Radio7', group: 'radioGroup7', indicatorType: RadioIndicatorType.TICK }) - .checked(false) - .width(50) - .height(50) - .radioStyle({ - checkedBackgroundColor: this.isSetCheckedBackgroundColor ? getContext().resourceManager.getColorSync($r("app.color.colorRed")) : '', - uncheckedBorderColor: this.isSetUncheckedBorderColor ? getContext().resourceManager.getColorSync($r("app.color.colorRed")) : '', - indicatorColor: this.isSetIndicatorColor ? getContext().resourceManager.getColorSync($r("app.color.colorRed")) : '', - }) - .id('UIComponentButtonRadioCheckMark0136') - } - Row() { - Radio({ value: 'Radio8', group: 'radioGroup8', indicatorType: RadioIndicatorType.TICK }) - .checked(false) - .width(50) - .height(50) - .radioStyle({ - checkedBackgroundColor: '', - uncheckedBorderColor: '', - indicatorColor: '', - }) - .id('UIComponentButtonRadioCheckMark0136') - } - } - .margin({ - left: 10 - }) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing001.ets deleted file mode 100644 index cd1d1ec2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing001.ets +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCustonmizing001 { - build() { - Row() { - Column({ space: 50 }) { - Row() { - Text('Radio1') - Radio({ value: 'Radio1', group: 'radioGroup' }) - .contentModifier(new SimpleRadioStyle(1)) - .checked(true) - .width(300) - .height(100) - } - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - .backgroundColor($r('sys.color.background_primary')) - } -} - -class SimpleRadioStyle implements ContentModifier { - type: number = 0; - - constructor(numberType: number) { - this.type = numberType; - } - - applyContent(): WrappedBuilder<[RadioConfiguration]> { - return wrapBuilder(buildSimpleStyleRadio); - } -} - -@Builder -function buildSimpleStyleRadio(config: RadioConfiguration) { - Row({ space: 30 }) { - Circle({ width: 50, height: 50 }) - .stroke(config.checked ? Color.Red : Color.Black) - .fill(Color.White) - .strokeWidth(5) - Button(config.checked ? 'Hi' : 'Hello') - .width(100) - .borderRadius(config.checked ? 10 : 0) - .type(ButtonType.Normal) - .backgroundColor('#2787D9') - .id(`UIComponentButtonRadioCustonmizing0010`) - .onClick(() => { - if (config.checked) { - config.triggerChange(false); - } else { - config.triggerChange(true); - } - }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing002.ets deleted file mode 100644 index 5339f783..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing002.ets +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCustonmizing002 { - build() { - Row() { - Column({ space: 50 }) { - Row() { - Radio({ value: '', group: 'radioGroup' }) - .contentModifier(new FirstRadioStyle(1)) - .checked(false) - .width(300) - .height(100) - } - - Row() { - Radio({ value: '', group: 'radioGroup' }) - .contentModifier(new FirstRadioStyle(2)) - .checked(false) - .width(300) - .height(100) - } - - Row() { - Radio({ value: '', group: 'radioGroup' }) - .checked(false) - .width(300) - .height(60) - .enabled(false) - .contentModifier(new FirstRadioStyle(3)) - } - } - .width('200px') - .height('80px') - } - } -} - -class FirstRadioStyle implements ContentModifier { - type: number = 0; - - constructor(numberType: number) { - this.type = numberType; - } - - applyContent(): WrappedBuilder<[RadioConfiguration]> { - return wrapBuilder(buildFirstStyleRadio); - } -} - -@Builder -function buildFirstStyleRadio(config: RadioConfiguration) { - Row({ space: 30 }) { - Circle({ width: 50, height: 50 }) - .stroke(config.checked ? Color.Brown : Color.Black) - .fill(Color.White) - .strokeWidth(5) - Button(config.checked ? 'Hi' : 'Hello') - .width(100) - .type(config.checked ? ButtonType.Circle : ButtonType.Normal) - .backgroundColor('#2787D9') - .id(`UIComponentButtonRadioCustonmizing002${(config.contentModifier as FirstRadioStyle).type}`) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing003.ets deleted file mode 100644 index ce54a970..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing003.ets +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCustonmizing003 { - - build() { - Row() { - Column({ space: 50 }) { - Row() { - Radio({ value: 'Radio1', group: 'radioGroup' }) - .contentModifier(new AttributeRadioStyle(1)) - .checked(false) - .width(300) - .height(100) - } - Row() { - Radio({ value: 'Radio2', group: 'radioGroup' }) - .contentModifier(new AttributeRadioStyle(2)) - .checked(false) - .width(300) - .height(100) - } - - Row() { - Radio({ value: 'Radio3', group: 'radioGroup' }) - .checked(false) - .width(300) - .height(60) - .enabled(false) - .contentModifier(new AttributeRadioStyle(3)) - } - } - .width('200px') - .height('80px') - } - } -} - -class AttributeRadioStyle implements ContentModifier { - type: number = 0 - - constructor(numberType: number) { - this.type = numberType - } - - applyContent(): WrappedBuilder<[RadioConfiguration]> { - return wrapBuilder(buildAttributeRadio); - } -} - -@Builder -function buildAttributeRadio(config: RadioConfiguration) { - Row({ space: 30 }) { - Circle({ width: 50, height: 50 }) - .stroke(Color.Black) - .fill(config.checked ? Color.Black : Color.White) - Button('Hello') - .width(100) - .type(ButtonType.Normal) - .backgroundColor('#2787D9') - .id(`UIComponentButtonRadioCustonmizing003${(config.contentModifier as AttributeRadioStyle).type}`) - .onClick(() => { - if (config.checked) { - config.triggerChange(false); - } else { - config.triggerChange(true); - } - }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing004.ets deleted file mode 100644 index fd704243..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing004.ets +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCustonmizing004 { - build() { - Row() { - Column({ space: 50 }) { - Row() { - Radio({ value: undefined, group: 'radioGroup' }) - .contentModifier(new RadioNullValueStyle(1)) - .checked(undefined) - .width(300) - .height(100) - } - - Row() { - Radio({ value: undefined, group: 'radioGroup' }) - .contentModifier(new RadioNullValueStyle(2)) - .checked(undefined) - .width(300) - .height(100) - } - - Row() { - Radio({ value: undefined, group: 'radioGroup' }) - .checked(undefined) - .width(300) - .height(60) - .contentModifier(new RadioNullValueStyle(3)) - } - - Row() { - Radio({ value: undefined, group: 'radioGroup' }) - .checked(undefined) - .width(300) - .height(60) - .contentModifier(new RadioNullValueStyle(4)) - } - - Row() { - Radio({ value: undefined, group: 'radioGroup' }) - .checked(undefined) - .width(300) - .height(60) - .contentModifier(new RadioNullValueStyle(5)) - } - - Row() { - Radio({ value: undefined, group: 'radioGroup' }) - .checked(undefined) - .width(300) - .height(60) - .contentModifier(new RadioNullValueStyle(6)) - } - } - .width('200px') - .height('80px') - } - } -} - -class RadioNullValueStyle implements ContentModifier { - type: number = 0; - - constructor(numberType: number) { - this.type = numberType; - } - - applyContent(): WrappedBuilder<[RadioConfiguration]> { - return wrapBuilder(buildStyleNullValueRadio); - } -} - -@Builder -function buildStyleNullValueRadio(config: RadioConfiguration) { - Row({ space: 30 }) { - Circle({ width: 50, height: 50 }) - .stroke(config.checked ? Color.Red : Color.Black) - .fill(Color.White) - .strokeWidth(5) - Button(config.checked ? 'Hi' : 'Hello') - .width(100) - .borderRadius(config.checked ? 10 : 0) - .type(ButtonType.Normal) - .backgroundColor('#2787D9') - .id(`UIComponentButtonRadioCustonmizing004${(config.contentModifier as RadioNullValueStyle).type}`) - .onClick(() => { - if (config.checked) { - config.triggerChange(false); - } else { - config.triggerChange(true); - } - }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing005.ets deleted file mode 100644 index e30c31cd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing005.ets +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCustonmizing005 { - build() { - Row() { - Column({ space: 50 }) { - Row() { - Radio({ value: undefined, group: 'radioGroup' }) - .contentModifier(new RadioUndefinedValueStyle(1)) - .checked(undefined) - .width(300) - .height(100) - } - - Row() { - Radio({ value: undefined, group: 'radioGroup' }) - .contentModifier(new RadioUndefinedValueStyle(2)) - .checked(undefined) - .width(300) - .height(100) - } - - Row() { - Radio({ value: undefined, group: 'radioGroup' }) - .checked(undefined) - .width(300) - .height(60) - .contentModifier(new RadioUndefinedValueStyle(3)) - } - - Row() { - Radio({ value: undefined, group: 'radioGroup' }) - .checked(undefined) - .width(300) - .height(60) - .contentModifier(new RadioUndefinedValueStyle(4)) - } - - Row() { - Radio({ value: undefined, group: 'radioGroup' }) - .checked(undefined) - .width(300) - .height(60) - .contentModifier(new RadioUndefinedValueStyle(5)) - } - - Row() { - Radio({ value: undefined, group: 'radioGroup' }) - .checked(undefined) - .width(300) - .height(60) - .contentModifier(new RadioUndefinedValueStyle(6)) - } - } - .width('200px') - .height('80px') - } - } -} - -class RadioUndefinedValueStyle implements ContentModifier { - type: number = 0; - - constructor(numberType: number) { - this.type = numberType; - } - - applyContent(): WrappedBuilder<[RadioConfiguration]> { - return wrapBuilder(buildStyleUndefinedValueRadio); - } -} - -@Builder -function buildStyleUndefinedValueRadio(config: RadioConfiguration) { - Row({ space: 30 }) { - Circle({ width: 50, height: 50 }) - .stroke(config.checked ? Color.Red : Color.Black) - .fill(Color.White) - .strokeWidth(5) - Button(config.checked ? 'Hi' : 'Hello') - .width(100) - .borderRadius(config.checked ? 10 : 0) - .type(ButtonType.Normal) - .backgroundColor('#2787D9') - .id(`UIComponentButtonRadioCustonmizing005${(config.contentModifier as RadioUndefinedValueStyle).type}`) - .onClick(() => { - if (config.checked) { - config.triggerChange(false); - } else { - config.triggerChange(true); - } - }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing006.ets deleted file mode 100644 index b28f8abd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing006.ets +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCustonmizing006 { - build() { - Column({ space: 50 }) { - Row() { - Radio({ value: '', group: 'radioGroup' }) - .contentModifier(new SecondRadioStyle(1)) - .checked(false) - .width(300) - .height(100) - } - - Row() { - Radio({ value: '', group: 'radioGroup' }) - .contentModifier(new SecondRadioStyle(2)) - .checked(false) - .width(300) - .height(100) - } - - Row() { - Radio({ value: '', group: 'radioGroup' }) - .checked(false) - .width(300) - .height(60) - .contentModifier(new SecondRadioStyle(3)) - } - - Row() { - Radio({ value: '', group: 'radioGroup' }) - .checked(false) - .width(300) - .height(60) - .contentModifier(new SecondRadioStyle(4)) - } - - Row() { - Radio({ value: '', group: 'radioGroup' }) - .checked(false) - .width(300) - .height(60) - .contentModifier(new SecondRadioStyle(5)) - } - - Row() { - Radio({ value: '', group: 'radioGroup' }) - .checked(false) - .width(300) - .height(60) - .contentModifier(new SecondRadioStyle(6)) - } - } - .width('200px') - .height('80px') - } -} - -class SecondRadioStyle implements ContentModifier { - type: number = 0; - - constructor(numberType: number) { - this.type = numberType; - } - - applyContent(): WrappedBuilder<[RadioConfiguration]> { - return wrapBuilder(buildSecondStyleRadio); - } -} - -@Builder -function buildSecondStyleRadio(config: RadioConfiguration) { - Row({ space: 30 }) { - Circle({ width: 50, height: 50 }) - .stroke(config.checked ? Color.Red : Color.Black) - .fill(Color.White) - .strokeWidth(5) - if ((config.contentModifier as SecondRadioStyle).type === 1 || - (config.contentModifier as SecondRadioStyle).type === 6) { - Button(config.checked ? 'Hi' : 'Hello') - .width(100) - .borderRadius(config.checked ? 10 : 0) - .type(ButtonType.Normal) - .backgroundColor('#2787D9') - .id(`UIComponentButtonRadioCustonmizing006${(config.contentModifier as SecondRadioStyle).type}`) - .onClick(() => { - if (config.checked) { - config.triggerChange(false); - } else { - config.triggerChange(true); - } - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing007.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing007.ets deleted file mode 100644 index 9e679069..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing007.ets +++ /dev/null @@ -1,133 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCustonmizing007 { - @State textTip: string = ''; - - build() { - Row() { - Column({ space: 50 }) { - Text(this.textTip) - Row() { - Radio({ value: 'Radio1', group: 'radioGroup' }) - .contentModifier(new FourRadioStyle(1)) - .checked(false) - .width(300) - .height(100) - .onChange(() => { - this.textTip = 'Radio1 回调触发'; - }) - } - - Row() { - Radio({ value: 'Radio2', group: 'radioGroup' }) - .contentModifier(new FourRadioStyle(2)) - .checked(false) - .width(300) - .height(100) - .onChange(() => { - this.textTip = 'Radio2 回调触发'; - }) - } - - Row() { - Radio({ value: 'Radio3', group: 'radioGroup' }) - .checked(false) - .width(300) - .height(60) - .contentModifier(new FourRadioStyle(3)) - .onChange(() => { - this.textTip = 'Radio3 回调触发'; - }) - } - - Row() { - Radio({ value: 'Radio4', group: 'radioGroup' }) - .checked(false) - .width(300) - .height(60) - .contentModifier(new FourRadioStyle(4)) - .onChange(() => { - this.textTip = 'Radio4 回调触发'; - }) - } - - Row() { - Radio({ value: 'Radio5', group: 'radioGroup' }) - .checked(false) - .width(300) - .height(60) - .contentModifier(new FourRadioStyle(5)) - .onChange(() => { - this.textTip = 'Radio5 回调触发'; - }) - } - - Row() { - Radio({ value: 'Radio6', group: 'radioGroup' }) - .checked(false) - .width(300) - .height(60) - .contentModifier(new FourRadioStyle(6)) - .onChange(() => { - this.textTip = 'Radio6 回调触发'; - setTimeout(() => { - this.textTip = ''; - }, 1000) - }) - } - } - .width('200px') - .height('80px') - } - } -} - -class FourRadioStyle implements ContentModifier { - type: number = 0; - - constructor(numberType: number) { - this.type = numberType; - } - - applyContent(): WrappedBuilder<[RadioConfiguration]> { - return wrapBuilder(buildFourStyleRadio); - } -} - -@Builder -function buildFourStyleRadio(config: RadioConfiguration) { - Row({ space: 30 }) { - Circle({ width: 50, height: 50 }) - .stroke(config.checked ? Color.Red : Color.Black) - .fill(Color.White) - .strokeWidth(5) - .id(`UIComponentButtonRadioCustonmizing007${(config.contentModifier as FourRadioStyle).type}0`) - .onClick(() => { - console.log('Circle click: ', config.triggerChange(undefined)); - }) - Button(config.checked ? 'Hi' : 'Hello') - .width(100) - .borderRadius(config.checked ? 10 : 0) - .type(ButtonType.Normal) - .backgroundColor('#2787D9') - .id(`UIComponentButtonRadioCustonmizing007${(config.contentModifier as FourRadioStyle).type}1`) - .onClick(() => { - console.log('Button click: ', config.triggerChange(!config.checked)); - }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing008.ets deleted file mode 100644 index 26dcebab..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing008.ets +++ /dev/null @@ -1,85 +0,0 @@ - -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCustonmizing008 { - - build() { - Row() { - Column({ space: 50 }) { - Row() { - Radio({ value: 'Radio1', group: 'radioGroup' }) - .contentModifier(new EventRadioStyle(1)) - .checked(false) - .width(300) - .height(100) - } - Row() { - Radio({ value: 'Radio2', group: 'radioGroup' }) - .contentModifier(new EventRadioStyle(2)) - .checked(false) - .width(300) - .height(100) - } - - Row() { - Radio({ value: 'Radio3', group: 'radioGroup' }) - .checked(false) - .width(300) - .height(60) - .enabled(false) - .contentModifier(new EventRadioStyle(3)) - } - } - .width('200px') - .height('80px') - } - } -} - -class EventRadioStyle implements ContentModifier { - type: number = 0; - - constructor(numberType: number) { - this.type = numberType; - } - - applyContent(): WrappedBuilder<[RadioConfiguration]> { - return wrapBuilder(buildEventRadio); - } -} - -@Builder -function buildEventRadio(config: RadioConfiguration) { - Row({ space: 30 }) { - Circle({ width: 50, height: 50 }) - .stroke(Color.Black) - .fill(config.checked ? Color.Black : Color.White) - Button('Hello') - .width(100) - .type(ButtonType.Normal) - .backgroundColor('#2787D9') - .id(`UIComponentButtonRadioCustonmizing008${(config.contentModifier as EventRadioStyle).type}`) - .onClick(() => { - if (config.checked) { - config.triggerChange(null); - } else { - config.triggerChange(null); - } - }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing009.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing009.ets deleted file mode 100644 index 2fc01daa..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing009.ets +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCustonmizing009 { - build() { - Row() { - Column({ space: 50 }) { - Row() { - Radio({ value: '', group: 'radioGroup' }) - .contentModifier(new ThirdRadioStyle(1)) - .checked(false) - .width(300) - .height(100) - } - - Row() { - Radio({ value: '', group: 'radioGroup' }) - .contentModifier(new ThirdRadioStyle(2)) - .checked(false) - .width(300) - .height(100) - } - - Row() { - Radio({ value: '', group: 'radioGroup' }) - .checked(false) - .width(300) - .height(60) - .contentModifier(new ThirdRadioStyle(3)) - } - } - .width('200px') - .height('80px') - } - } -} - -class ThirdRadioStyle implements ContentModifier { - type: number = 0; - - constructor(numberType: number) { - this.type = numberType; - } - - applyContent(): WrappedBuilder<[RadioConfiguration]> { - return wrapBuilder(buildThirdStyleRadio); - } -} - -@Builder -function buildThirdStyleRadio(config: RadioConfiguration) { - Row({ space: 30 }) { - Circle({ width: 50, height: 50 }) - .stroke(config.checked ? Color.Red : Color.Black) - .fill(Color.White) - .strokeWidth(5) - Button(config.checked ? 'Hi' : 'Hello') - .width(100) - .borderRadius(config.checked ? 10 : 0) - .type(ButtonType.Normal) - .backgroundColor('#2787D9') - .id(`UIComponentButtonRadioCustonmizing009${(config.contentModifier as ThirdRadioStyle).type}`) - .onClick(() => { - if (config.checked) { - config.triggerChange(undefined); - } else { - config.triggerChange(undefined); - } - }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing010.ets deleted file mode 100644 index 27c58b5b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing010.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCustonmizing010 { - @State isChecked: boolean = false; - - build() { - Row() { - Column({ space: 50 }) { - Row() { - Radio({ value: 'Radio', group: 'radioGroup' }) - .contentModifier(undefined) - .checked(this.isChecked) - .width(50) - .height(50) - Button('Hello') - .width(100) - .type(ButtonType.Normal) - .backgroundColor('#2787D9') - .id(`UIComponentButtonRadioCustonmizing0100`) - .onClick(() => { - this.isChecked = true; - }) - } - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing011.ets deleted file mode 100644 index c95d6381..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing011.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCustonmizing011 { - @State isChecked: boolean = false; - - build() { - Row() { - Column({ space: 50 }) { - Row() { - Radio({ value: 'Radio1', group: 'radioGroup' }) - .contentModifier(null) - .checked(this.isChecked) - .width(50) - .height(50) - Button('Hello') - .width(100) - .type(ButtonType.Normal) - .backgroundColor('#2787D9') - .id(`UIComponentButtonRadioCustonmizing0110`) - .onClick(() => { - this.isChecked = true; - }) - } - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing012.ets deleted file mode 100644 index 3156a4a4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing012.ets +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCustonmizing012 { - build() { - Row() { - Column({ space: 50 }) { - Row() { - Text('Radio1') - Radio({ value: 'Radio1', group: 'radioGroup' }) - .contentModifier(new DefaultRadioStyle()) - .checked(false) - .width(300) - .height(100) - } - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} - -class DefaultRadioStyle implements ContentModifier { - - applyContent(): WrappedBuilder<[RadioConfiguration]> { - return wrapBuilder(buildDefaultStyleRadio); - } -} - -@Builder -function buildDefaultStyleRadio(config: RadioConfiguration) { - Row({ space: 30 }) { - Circle({ width: 50, height: 50 }) - .stroke(Color.Black) - .fill(Color.White) - .strokeWidth(5) - Button(config.checked ? 'Hi' : 'Hello') - .width(100) - .borderRadius(config.checked ? 10 : 0) - .type(ButtonType.Normal) - .backgroundColor('#2787D9') - .id(`UIComponentButtonRadioCustonmizing0120`) - .onClick(() => { - if (config.checked) { - config.triggerChange(false); - } else { - config.triggerChange(true); - } - }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing013.ets deleted file mode 100644 index f6141e9a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing013.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCustonmizing013 { - build() { - Row() { - Column({ space: 50 }) { - Row() { - Radio({ value: 'Radio1', group: 'radioGroup' }) - .contentModifier(new CustomSecondRadioStyle()) - .checked(true) - .width(300) - .height(100) - } - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} - -class CustomSecondRadioStyle implements ContentModifier { - - applyContent(): WrappedBuilder<[RadioConfiguration]> { - return wrapBuilder(CustomSecondStyleRadioBuilder); - } -} - -@Builder -function CustomSecondStyleRadioBuilder(config: RadioConfiguration) { - Row({ space: 30 }) { - Circle({ width: 50, height: 50 }) - .stroke(Color.Black) - .fill(Color.White) - .strokeWidth(5) - Button(config.checked ? 'Hi' : 'Hello') - .width(100) - .borderRadius(config.checked ? 10 : 0) - .type(ButtonType.Normal) - .backgroundColor('#2787D9') - .id(`UIComponentButtonRadioCustonmizing0130`) - .onClick(() => { - if (config.checked) { - config.triggerChange(false); - } else { - config.triggerChange(true); - } - }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing015.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing015.ets deleted file mode 100644 index 296f5b58..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing015.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCustonmizing015 { - build() { - Row() { - Column({ space: 50 }) { - Row() { - Radio({ value: 'Radio1', group: 'radioGroup' }) - .contentModifier(new CustomThirdRadioStyle()) - .checked(true) - .width(300) - .height(100) - } - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} - -class CustomThirdRadioStyle implements ContentModifier { - - applyContent(): WrappedBuilder<[RadioConfiguration]> { - return wrapBuilder(CustomThirdStyleRadioBuilder); - } -} - -@Builder -function CustomThirdStyleRadioBuilder(config: RadioConfiguration) { - Row({ space: 30 }) { - Circle({ width: 50, height: 50 }) - .stroke(Color.Black) - .fill(Color.White) - .strokeWidth(5) - Button(config.checked ? 'Hi' : 'Hello') - .width(100) - .borderRadius(config.checked ? 10 : 0) - .type(ButtonType.Normal) - .backgroundColor('#2787D9') - .id(`UIComponentButtonRadioCustonmizing0150`) - .onClick(() => { - if (config.checked) { - config.triggerChange(false); - } else { - config.triggerChange(true); - } - }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing016.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing016.ets deleted file mode 100644 index bf17fb51..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing016.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCustonmizing016 { - build() { - Row() { - Column({ space: 50 }) { - Row() { - Radio({ value: 'Radio1', group: 'radioGroup' }) - .contentModifier(new CustomFirstRadioStyle()) - .checked(true) - .width(300) - .height(100) - } - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} - -class CustomFirstRadioStyle implements ContentModifier { - - applyContent(): WrappedBuilder<[RadioConfiguration]> { - return wrapBuilder(CustomFirstStyleRadioBuilder); - } -} - -@Builder -function CustomFirstStyleRadioBuilder(config: RadioConfiguration) { - Row({ space: 30 }) { - Circle({ width: 50, height: 50 }) - .stroke(Color.Black) - .fill(Color.White) - .strokeWidth(5) - Button(config.checked ? 'Hi' : 'Hello') - .width(100) - .borderRadius(config.checked ? 10 : 0) - .type(ButtonType.Normal) - .backgroundColor('#2787D9') - .id(`UIComponentButtonRadioCustonmizing0160`) - .onClick(() => { - if (config.checked) { - config.triggerChange(false); - } else { - config.triggerChange(true); - } - }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing017.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing017.ets deleted file mode 100644 index a55b58a6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing017.ets +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioCustonmizing017 { - build() { - Row() { - Column({ space: 50 }) { - Row() { - Radio({ value: 'Radio', group: 'radioGroup' }) - .contentModifier(null) - .contentModifier(new EffectiveRadioStyle(1)) - .checked(false) - .width(300) - .height(100) - } - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - .backgroundColor($r('sys.color.background_primary')) - } -} - -class EffectiveRadioStyle implements ContentModifier { - type: number = 0; - - constructor(numberType: number) { - this.type = numberType; - } - - applyContent(): WrappedBuilder<[RadioConfiguration]> { - return wrapBuilder(buildEffectiveStyleRadio); - } -} - -@Builder -function buildEffectiveStyleRadio(config: RadioConfiguration) { - Row({ space: 30 }) { - Circle({ width: 50, height: 50 }) - .stroke(config.checked ? Color.Red : Color.Orange) - .fill(Color.White) - .strokeWidth(5) - Button(config.checked ? 'Hi' : 'Hello') - .width(100) - .borderRadius(config.checked ? 10 : 0) - .type(ButtonType.Normal) - .backgroundColor('#2787D9') - .id(`UIComponentButtonRadioCustonmizing0170`) - .onClick(() => { - if (config.checked) { - config.triggerChange(false); - } else { - config.triggerChange(true); - } - }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic004.ets deleted file mode 100644 index d02a491f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic004.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioLConic004 { - @State rating: number = 3.5; - @State resourcePng: string = 'cat.jpg'; - @State resourceColor: Color = Color.Pink; - @State checkedStatus: boolean = false; - - @Builder - indicatorBuilder() { - Image(this.resourcePng) - .width('20vp') - .height('20vp') - } - - build() { - Row() { - Column() { - Text('图片通过$r传参') - Radio( - { - value: 'Radio', - group: 'radioGroup', - indicatorType: RadioIndicatorType.CUSTOM, - indicatorBuilder: () => this.indicatorBuilder() - }) - .height('50vp') - .width('50vp') - .checked(this.checkedStatus) - .radioStyle({ - checkedBackgroundColor: this.resourceColor - }) - .id('UIComponentButtonRadioLConic0040') - Button('切换图片') - .fontSize(20) - .fontColor(Color.Blue) - .width('200px') - .id('UIComponentButtonRadioLConic0041') - .onClick(() => { - this.resourcePng = 'image2.png'; - this.checkedStatus = true; - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - .backgroundColor($r('sys.color.background_primary')) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic005.ets deleted file mode 100644 index 5210b226..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic005.ets +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioLConic005 { - @State rating: number = 3.5; - @State resourcePng: string = 'cat.jpg'; - @State resourceColor: Color = Color.Pink; - @State checkedStatus: boolean = false; - - @Builder - indicatorBuilder() { - Image(this.resourcePng) - .width('20vp') - .height('20vp') - } - - build() { - Row() { - Column() { - Text('图片传入网络图片') - Radio( - { - value: 'Radio', - group: 'radioGroup', - indicatorType: RadioIndicatorType.CUSTOM, - indicatorBuilder: () => this.indicatorBuilder() - }) - .height('50vp') - .width('50vp') - .checked(this.checkedStatus) - .radioStyle( - { - indicatorColor: Color.Pink - } - ) - .id('UIComponentButtonRadioLConic0050') - Button('切换图片') - .fontSize(20) - .fontColor(Color.Blue) - .width('200px') - .id('UIComponentButtonRadioLConic0051') - .onClick(() => { - this.resourcePng = 'image2.png'; - this.checkedStatus = true; - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - .backgroundColor($r('sys.color.background_primary')) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic008.ets deleted file mode 100644 index ccb3b044..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic008.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioLConic008 { - @State rating: number = 3.5; - @State resourcePng: string = 'cat.jpg'; - @State resourceColor: Color = Color.Pink; - @State checkedStatus: boolean = false; - - @Builder - indicatorBuilder() { - Image(this.resourcePng) - .width(100) - .height(100) - } - - build() { - Row() { - Column() { - Text('Radio不设置大小,image为100') - Radio( - { - value: 'Radio', - group: 'radioGroup', - indicatorType: RadioIndicatorType.CUSTOM, - indicatorBuilder: () => this.indicatorBuilder() - }) - .checked(this.checkedStatus) - .radioStyle( - { - indicatorColor: Color.Pink - } - ) - .id('UIComponentButtonRadioLConic0080') - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - .backgroundColor($r('sys.color.background_primary')) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic009.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic009.ets deleted file mode 100644 index 50680246..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic009.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioLConic009 { - @State rating: number = 3.5; - @State resourcePng: string = 'cat.jpg'; - @State resourceColor: Color = Color.Pink; - @State checkedStatus: boolean = false; - - @Builder - indicatorBuilder() { - Image(this.resourcePng) - .width(10) - .height(10) - } - - build() { - Row() { - Column() { - Text('Radio不设置大小,image为10') - Radio( - { - value: 'Radio', - group: 'radioGroup', - indicatorType: RadioIndicatorType.CUSTOM, - indicatorBuilder: () => this.indicatorBuilder() - }) - .checked(this.checkedStatus) - .id('UIComponentButtonRadioLConic0090') - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - .backgroundColor($r('sys.color.background_primary')) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic013.ets deleted file mode 100644 index 07d79986..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic013.ets +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioLConic013 { - @State rating: number = 3.5; - - @Builder - indicatorBuilder() { - Text('text') - } - - build() { - Row() { - Column() { - Radio( - { - value: 'Radio', - group: 'radioGroup', - indicatorType: RadioIndicatorType.CUSTOM, - indicatorBuilder: () => this.indicatorBuilder() - }) - .height(50) - .width(50) - .checked(false) - .radioStyle( - { - checkedBackgroundColor: Color.Pink, - } - ) - .id('UIComponentButtonRadioLConic0130') - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - .backgroundColor($r('sys.color.background_primary')) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic019.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic019.ets deleted file mode 100644 index e73658de..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic019.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioLConic019 { - @State rating: number = 3.5; - - @Builder - indicatorBuilder() { - Image('cat.jpg') - .width('100vp') - .height('100vp') - } - - build() { - Row() { - Column() { - Radio( - { - value: 'Radio', - group: 'radioGroup', - indicatorType: RadioIndicatorType.CUSTOM, - indicatorBuilder: () => this.indicatorBuilder(), - }) - .height(50) - .width(50) - .checked(false) - .radioStyle( - { - indicatorColor: Color.Pink - } - ) - .id('UIComponentButtonRadioLConic0190') - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - .backgroundColor($r('sys.color.background_primary')) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic020.ets deleted file mode 100644 index 80c9c78d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic020.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioLConic020 { - @State rating: number = 3.5; - - @Builder - indicatorBuilder() { - Image('cat.jpg') - .width('20vp') - .height('20vp') - } - - build() { - Row() { - Column() { - Radio( - { - value: 'Radio', - group: 'radioGroup', - indicatorType: RadioIndicatorType.CUSTOM, - indicatorBuilder: () => this.indicatorBuilder() - }) - .height('50vp') - .width('50vp') - .checked(false) - .radioStyle( - { - indicatorColor: Color.Pink - } - ) - .id('UIComponentButtonRadioLConic0200') - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - .backgroundColor($r('sys.color.background_primary')) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic022.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic022.ets deleted file mode 100644 index 01354512..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic022.ets +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioLConic022 { - @State rating: number = 3.5; - - @Builder - indicatorBuilder() { - Image('cat.jpg') - .width('20vp') - .height('20vp') - } - - build() { - Row() { - Column() { - Radio( - { - value: 'Radio', - group: 'radioGroup', - indicatorType: RadioIndicatorType.TICK, - indicatorBuilder: () => this.indicatorBuilder() - }) - .height('50vp') - .width('50vp') - .checked(false) - .id('UIComponentButtonRadioLConic0220') - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - .backgroundColor($r('sys.color.background_primary')) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic024.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic024.ets deleted file mode 100644 index cc19971a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic024.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioLConic024 { - @State rating: number = 3.5; - - @Builder - indicatorBuilder() { - Text('text') - } - - build() { - Row() { - Column() { - Radio( - { - value: 'Radio', - group: 'radioGroup', - indicatorType: RadioIndicatorType.TICK, - indicatorBuilder: () => undefined - }) - .height(50) - .width(50) - .checked(false) - .id('UIComponentButtonRadioLConic0240') - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - .backgroundColor($r('sys.color.background_primary')) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic025.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic025.ets deleted file mode 100644 index 34612d3b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic025.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioLConic025 { - @State rating: number = 3.5; - - @Builder - indicatorBuilder() { - Text('text') - } - - build() { - Row() { - Column() { - Radio( - { - value: 'Radio', - group: 'radioGroup', - indicatorType: RadioIndicatorType.TICK, - indicatorBuilder: () => null - }) - .height(50) - .width(50) - .checked(false) - .id('UIComponentButtonRadioLConic0250') - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - .backgroundColor($r('sys.color.background_primary')) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic027.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic027.ets deleted file mode 100644 index 817846e5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic027.ets +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioLConic027 { - @State rating: number = 3.5; - - @Builder - indicatorBuilder() { - Image('cat.jpg') - } - - build() { - Flex({ direction: FlexDirection.Row, justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { - Column() { - Text('Radio1') - Radio({ value: 'Radio1', group: 'radioGroup1', indicatorType: RadioIndicatorType.TICK }) - .checked(true) - .radioStyle({ - checkedBackgroundColor: Color.Pink - }) - .height(50) - .width(50) - .id('UIComponentButtonRadioLConic0270') - } - - Column() { - Text('Radio2') - Radio({ value: 'Radio2', group: 'radioGroup2', indicatorType: RadioIndicatorType.DOT }) - .checked(true) - .radioStyle({ - checkedBackgroundColor: Color.Pink - }) - .height(50) - .width(50) - .id('UIComponentButtonRadioLConic0271') - } - - Column() { - Text('Radio3') - Radio({ - value: 'Radio3', - group: 'radioGroup3', - indicatorType: RadioIndicatorType.CUSTOM, - indicatorBuilder: () => this.indicatorBuilder() - }) - .checked(true) - .radioStyle({ - checkedBackgroundColor: Color.Pink - }) - .height(50) - .width(50) - .id('UIComponentButtonRadioLConic0272') - } - }.padding({ top: 30 }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic028.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic028.ets deleted file mode 100644 index 0daa7f0a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic028.ets +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioLConic028 { - @State rating: number = 3.5; - - @Builder - indicatorBuilder() { - Image('cat.jpg') - } - - build() { - Flex({ direction: FlexDirection.Row, justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { - Column() { - Text('Radio1') - Radio({ value: 'Radio1', group: 'radioGroup1', indicatorType: RadioIndicatorType.TICK }) - .checked(true) - .radioStyle({ - checkedBackgroundColor: Color.Pink - }) - .height(50) - .width(50) - .id('UIComponentButtonRadioLConic0280') - } - - Column() { - Text('Radio2') - Radio({ value: 'Radio2', group: 'radioGroup2', indicatorType: RadioIndicatorType.DOT }) - .checked(true) - .radioStyle({ - checkedBackgroundColor: Color.Pink - }) - .height(50) - .width(50) - .id('UIComponentButtonRadioLConic0281') - } - - Column() { - Text('Radio3') - Radio({ - value: 'Radio3', - group: 'radioGroup3', - indicatorType: RadioIndicatorType.CUSTOM, - indicatorBuilder: () => this.indicatorBuilder() - }) - .checked(true) - .radioStyle({ - checkedBackgroundColor: Color.Pink - }) - .height(50) - .width(50) - .id('UIComponentButtonRadioLConic0282') - } - }.padding({ top: 30 }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic030.ets deleted file mode 100644 index f4bca6bf..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic030.ets +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioLConic030 { - @State rating: number = 3.5; - - @Builder - indicatorBuilder() { - Image('cat.jpg') - .width(100) - .height(100) - } - - build() { - Row() { - Column() { - Text('indicatorBuilder值设置为image,Radio设置宽高为50,image设置宽高为100 clip设置true') - .width('100%') - Radio( - { - value: 'Radio', - group: 'radioGroup', - indicatorType: RadioIndicatorType.CUSTOM, - indicatorBuilder: () => this.indicatorBuilder() - }) - .height(50) - .width(50) - .checked(false) - .clip(true) - .margin({ - top: 20 - }) - .id('UIComponentButtonRadioLConic0300') - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - .backgroundColor($r('sys.color.background_primary')) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic031.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic031.ets deleted file mode 100644 index 4cf2c7ee..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic031.ets +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonRadioLConic031 { - @State rating: number = 3.5; - - @Builder - indicatorBuilder() { - Image('cat.jpg') - .width('20%') - .height('20%') - } - - build() { - Row() { - Column() { - Text('indicatorBuilder值设置为image,indicatorColor设为Pink,Radio设置为120,image传入”20%"图片') - Radio( - { - value: 'Radio', - group: 'radioGroup', - indicatorType: RadioIndicatorType.CUSTOM, - indicatorBuilder: () => this.indicatorBuilder(), - }) - .height(120) - .width(120) - .checked(false) - .radioStyle( - { - indicatorColor: Color.Pink - } - ) - .id('UIComponentButtonRadioLConic0310') - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - .backgroundColor($r('sys.color.background_primary')) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute004.ets deleted file mode 100644 index 7418a530..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute004.ets +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectAttribute004 { - build() { - Row() { - Column({ space: 20 }) { - Text("默认值: 'HarmonyOS Sans', selected为0") - Select([{ - value: 'abc', - }, { - value: 'def', - }, { - value: 'ghi', - }]) - .width('100%') - .id('UIComponentButtonSelectAttribute0040') - .font({ - size: 5 - }) - .menuItemContentModifier(new FontSizeItemContentModifier(0)) - .value(getContext().resourceManager.getStringSync($r("app.string.popup_font_family"))) - .selected(0) - - Text("默认值: 'HarmonyOS Sans'") - Select([{ - value: 'abc', - }, { - value: 'def', - }, { - value: 'ghi', - }]) - .width('100%') - .id('UIComponentButtonSelectAttribute0041') - .font({ - size: 0 - }) - .menuItemContentModifier(new FontSizeItemContentModifier(1)) - .selected(0) - .value(getContext().resourceManager.getStringSync($r("app.string.popup_font_family"))) - .font({ - size: getContext().resourceManager.getNumber($r("app.integer.negative30")) - }) - - Text("默认值: 'HarmonyOS Sans'") - Select([{ - value: 'abc', - }, { - value: 'def', - }, { - value: 'ghi', - }]) - .width('100%') - .id('UIComponentButtonSelectAttribute0042') - .font({ - size: -5 - }) - .menuItemContentModifier(new FontSizeItemContentModifier(2)) - .selected(0) - .value(getContext().resourceManager.getStringSync($r("app.string.popup_font_family"))) - .font({ - size: getContext().resourceManager.getNumber($r("app.integer.negative30")) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} - -class FontSizeItemContentModifier implements ContentModifier { - selectNum: number = 0; - - constructor(selectNumber: number) { - this.selectNum = selectNumber; - } - - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(FontSizeItemBuilder); - } -} - -@Builder -function FontSizeItemBuilder(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .id(`UIComponentButtonSelectAttribute004${(configuration.contentModifier as FontSizeItemContentModifier).selectNum}_${configuration.value}`) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - .fontSize(getFontSize((configuration.contentModifier as FontSizeItemContentModifier).selectNum)) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()); - }) -} - -function getFontSize(itemIndex: number) { - switch (itemIndex) { - case 0: - return 5; - case 1: - return 0; - case 2: - return -5; - default: - return 0; - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute005.ets deleted file mode 100644 index b16d622a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute005.ets +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectAttribute005 { - build() { - Row() { - Column({ space: 50 }) { - Text("默认值: 'HarmonyOS Sans', selected为0") - Select([{ - value: getContext().resourceManager.getStringSync($r("app.string.popup_font_family")), - }, { - value: '2', - }, { - value: '3', - }, { - value: '4', - }, { - value: '5', - }]) - .width('100%') - .id('UIComponentButtonSelectAttribute0050') - .menuItemContentModifier(new FontMenuItemContentModifier(0)) - .value(getContext().resourceManager.getStringSync($r("app.string.popup_font_family"))) - .selected(0) - - Select([{ - value: 'default_font_size', - }, { - value: getContext().resourceManager.getNumber($r("app.integer.negative30")) + '', - }]) - .width('100%') - .id('UIComponentButtonSelectAttribute0051') - .menuItemContentModifier(new FontMenuItemContentModifier(1)) - .selected(0) - .value(getContext().resourceManager.getStringSync($r("app.string.popup_font_family"))) - .font({ - size: getContext().resourceManager.getNumber($r("app.integer.negative30")) - }) - } - .width('350px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} - -class FontMenuItemContentModifier implements ContentModifier { - selectNum: number = 0; - - constructor(selectNumber: number) { - this.selectNum = selectNumber; - } - - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(FontMenuItemBuilder); - } -} - -@Builder -function FontMenuItemBuilder(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .id(`UIComponentButtonSelectAttribute005${(configuration.contentModifier as FontMenuItemContentModifier).selectNum}_${configuration.value}`) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - .fontSize(getContext().resourceManager.getNumber($r("app.integer.5"))) - .fontFamily(getContext().resourceManager.getStringSync($r("app.string.popup_font_time_picker"))) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()); - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute006.ets deleted file mode 100644 index c52ef9ec..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute006.ets +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectAttribute006 { - build() { - Row() { - Column({ space: 20 }) { - Text("默认值: 'HarmonyOS Sans', selected为0") - Select([{ - value: 'abc', - }, { - value: 'def', - }, { - value: 'ghi', - }]) - .width('100%') - .id('UIComponentButtonSelectAttribute0060') - .font({ - size: '5' - }) - .menuItemContentModifier(new FontSizeContentModifier(0)) - .value(getContext().resourceManager.getStringSync($r("app.string.popup_font_family"))) - .selected(0) - - Text("默认值: 'HarmonyOS Sans'") - Select([{ - value: 'abc', - }, { - value: 'def', - }, { - value: 'ghi', - }]) - .width('100%') - .id('UIComponentButtonSelectAttribute0061') - .font({ - size: '0' - }) - .menuItemContentModifier(new FontSizeContentModifier(1)) - .selected(0) - .value(getContext().resourceManager.getStringSync($r("app.string.popup_font_family"))) - .font({ - size: getContext().resourceManager.getNumber($r("app.integer.negative30")) - }) - - Text("默认值: 'HarmonyOS Sans'") - Select([{ - value: 'abc', - }, { - value: 'def', - }, { - value: 'ghi', - }]) - .width('100%') - .id('UIComponentButtonSelectAttribute0062') - .font({ - size: '-5' - }) - .menuItemContentModifier(new FontSizeContentModifier(2)) - .selected(0) - .value(getContext().resourceManager.getStringSync($r("app.string.popup_font_family"))) - .font({ - size: getContext().resourceManager.getNumber($r("app.integer.negative30")) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} - -class FontSizeContentModifier implements ContentModifier { - selectNum: number = 0; - - constructor(selectNumber: number) { - this.selectNum = selectNumber; - } - - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(FontSizeMenuItemBuilder); - } -} - -@Builder -function FontSizeMenuItemBuilder(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .id(`UIComponentButtonSelectAttribute006${(configuration.contentModifier as FontSizeContentModifier).selectNum}_${configuration.value}`) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - .fontSize(getMenuItemFontSize((configuration.contentModifier as FontSizeContentModifier).selectNum)) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()); - }) -} - -function getMenuItemFontSize(itemIndex: number) { - switch (itemIndex) { - case 0: - return '5'; - case 1: - return '0'; - case 2: - return '-5'; - default: - return '0'; - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute031.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute031.ets deleted file mode 100644 index fcc74902..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute031.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectAttribute031 { - build() { - Row() { - Column({ space: 20 }) { - Text('默认值: 1, selected为-5') - Select([{ - value: '1', - }, { - value: '2', - }, { - value: '3', - }, { - value: '4', - }, { - value: '5', - }]) - .width('100%') - .id('UIComponentButtonSelectAttribute0310') - .menuItemContentModifier(new TextFirstItemContentModifier()) - .selected(-5) - .value('1') - .obscured([ObscuredReasons.PLACEHOLDER]) - - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} - -class TextFirstItemContentModifier implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(TextFirstMenuItemBuilder); - } -} - -@Builder -function TextFirstMenuItemBuilder(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .id(`UIComponentButtonSelectAttribute031${configuration.value}`) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()); - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute032.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute032.ets deleted file mode 100644 index 6ed37a90..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute032.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectAttribute032 { - build() { - Row() { - Column({ space: 20 }) { - Text('默认值: 1, selected为0') - Select([{ - value: '1', - }, { - value: '2', - }, { - value: '3', - }, { - value: '4', - }, { - value: '5', - }]) - .width('100%') - .id('UIComponentButtonSelectAttribute0320') - .menuItemContentModifier(new MyMenuItemContentModifier()) - .selected(0) - .value('1') - .obscured([ObscuredReasons.PLACEHOLDER]) - - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} - -class MyMenuItemContentModifier implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(MenuItemBuilder); - } -} - -@Builder -function MenuItemBuilder(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .id(`UIComponentButtonSelectAttribute032${configuration.value}`) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()); - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute033.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute033.ets deleted file mode 100644 index 42373460..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute033.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectAttribute033 { - build() { - Row() { - Column({ space: 20 }) { - Text('默认值: 1, selected为3') - Select([{ - value: '1', - }, { - value: '2', - }, { - value: '3', - }, { - value: '4', - }, { - value: '5', - }]) - .width('100%') - .id('UIComponentButtonSelectAttribute0330') - .menuItemContentModifier(new TextThirdItemContentModifier()) - .selected(3) - .value('1') - .obscured([ObscuredReasons.PLACEHOLDER]) - - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} - -class TextThirdItemContentModifier implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(TextThirdMenuItemBuilder); - } -} - -@Builder -function TextThirdMenuItemBuilder(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .id(`UIComponentButtonSelectAttribute033${configuration.value}`) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()); - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute034.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute034.ets deleted file mode 100644 index 3ac6e1db..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute034.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectAttribute034 { - build() { - Row() { - Column({space: 20}) { - Text('默认值: 1, selected为6') - Select([{ - value: '1', - }, { - value: '2', - }, { - value: '3', - }, { - value: '4', - }, { - value: '5', - }]) - .width('100%') - .id('UIComponentButtonSelectAttribute0340') - .menuItemContentModifier(new TextSecondItemContentModifier()) - .selected(6) - .value('1') - .obscured([ObscuredReasons.PLACEHOLDER]) - - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} - -class TextSecondItemContentModifier implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(TextSecondMenuItemBuilder); - } -} - -@Builder -function TextSecondMenuItemBuilder(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .id(`UIComponentButtonSelectAttribute034${configuration.value}`) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()); - }) -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute035.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute035.ets deleted file mode 100644 index 29f87ec2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute035.ets +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectAttribute035 { - build() { - Row() { - Column({space: 20}) { - Text('默认值: 1, selected为-10异常值') - Select([{ - value: '1', - }, { - value: '2', - }, { - value: '3', - }, { - value: '4', - }, { - value: '5', - }]) - .width('100%') - .id('UIComponentButtonSelectAttribute0350') - .menuItemContentModifier(new TextFourItemContentModifier()) - .selected(-10) - .value('1') - .obscured([ObscuredReasons.PLACEHOLDER]) - - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} - -class TextFourItemContentModifier implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(TextFourMenuItemBuilder); - } -} - -@Builder -function TextFourMenuItemBuilder(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .id(`UIComponentButtonSelectAttribute0350_${configuration.value}`) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()); - }) -} 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 deleted file mode 100644 index 8f94a66c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0020.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0020 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 677f4aca..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0030.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0030 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .width('100vp') - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 4e6852ff..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0040.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0040 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .width('50vp') - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 8af8a70b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0050.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0050 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .width(undefined) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .width(null) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .width(-1) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .width("") - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 920a0e92..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0060.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0060 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .width('66vp') - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index ab77b0dd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0070.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0070 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index e6b928aa..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0080.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0080 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .borderWidth(2) - .borderStyle({ - left: BorderStyle.Dashed, - right: BorderStyle.Dashed, - top: BorderStyle.Dashed, - bottom: BorderStyle.Dashed - }) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 662f00e9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0090.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0090 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .borderWidth(2) - .borderStyle({ - left: BorderStyle.Dashed, - right: BorderStyle.Solid, - top: BorderStyle.Dotted, - bottom: BorderStyle.Dashed - }) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 97e2d6db..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0100.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0100 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .borderWidth(2) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .borderWidth(2) - .borderStyle(BorderStyle.Solid) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 3f2d24c2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0110.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0110 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .borderWidth(2) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index b27e5fc6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0120.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0120 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .borderRadius(20) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 781645c0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0130.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0130 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .borderRadius(500) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 58b8dfe9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0140.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0140 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .borderRadius(-1) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .borderRadius('10%') - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 52c5fbc8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0150.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0150 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .borderRadius(null) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .borderRadius(undefined) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 1a976f06..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0160.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0160 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .borderRadius(20) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 333f4241..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0170.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0170 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .font({ size: 16, weight: 500 }) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 8f02a8d1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0180.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0180 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .size(null) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .size(undefined) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .size({ width: -10, height: -10 }) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .size({ width: '10%', height: '10%' }) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index a9dcdb24..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0190.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0190 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .size({ width: '10%', height: '10%' }) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 35604723..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0200.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0200 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .font({ weight: '-10%' }) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .font({ weight: -10 }) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 7552f1a5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0210.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0210 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .font({ weight: null }) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .font({ weight: undefined }) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 90fc8ed0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0220.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0220 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .font({ size: '16fp', weight: FontWeight.Medium }) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 00a103d3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0230.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0230 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .fontColor(0xffff00) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 376f2a5c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0240.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0240 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .fontColor(Color.Pink) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index e7a5a7eb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0250.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0250 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .fontColor('#ff0000ff') - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index d032ff47..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0260.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0260 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .fontColor('#FF508131') - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 6bd7ffd2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0270.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0270 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .fontColor(undefined) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .fontColor(null) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .fontColor(0) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .fontColor("") - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .fontColor("2%") - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 1eab9672..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0280.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0280 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .fontColor(-1) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 13d07c23..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0290.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0290 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .fontColor(Color.Black) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index e993e25a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0300.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0300 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index e87e90e8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0310.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0310 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .backgroundColor(0xffff00) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index c248a063..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0320.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0320 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .backgroundColor(Color.Pink) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index e4ccbe6b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0330.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0330 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .backgroundColor('#ff0000ff') - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index b7345220..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0340.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0340 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .backgroundColor('#FF508131') - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index e99d7b4c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0350.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0350 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .backgroundColor(undefined) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .backgroundColor(null) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .backgroundColor(-1) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .backgroundColor("") - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .backgroundColor('2%') - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 4c53312e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0360.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0360 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .backgroundColor(0) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .backgroundColor('2%') - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 3d3d527e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0370.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0370 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .backgroundColor('#E5000000') - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 0b1d4552..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0380.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0380 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 0f726cb2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0390.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0390 { - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .padding({ top: 8, left: 16, bottom:8, right: 16 }) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 67bebde8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0400.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0400 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .padding(-1) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 720f69da..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0410.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0410 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .padding(null) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 5af0aab2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0420.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0420 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .padding({top: 8, left: 16, bottom: 8, right: 16}) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 6f390512..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0430.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0430 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .padding(0) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 542dacf9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0450.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0450 { - @State bgColor: ResourceColor = Color.Blue - @State text: string = "" - build() { - Row() { - Column() { - Button("文本长度>normal宽度:80") - .onClick(() => { - this.text = "这是一段测试文本" - }) - .id("UIComponentButtonSelectControlSize0450_001") - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - .value(this.text) - .fontColor(Color.White) - .backgroundColor(this.bgColor) - .gesture( - LongPressGesture({ repeat: false }) - .onAction((event: GestureEvent) => { - if (event) { - this.bgColor = this.bgColor === Color.Blue ? Color.Red : Color.Blue - } - }) - ) - .id("UIComponentButtonSelectControlSize0450_002") - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index c8d6b399..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0470.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0470 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 146e5bd6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0480.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0480 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .width('100vp') - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index edf8bc77..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0490.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0490 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .width('50vp') - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 0c3c6c3e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0500.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0500 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .width(null) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .width(undefined) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .width(-1) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .width("") - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 39954515..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0510.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0510 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .width('66vp') - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index af78aa90..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0520.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0520 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .borderWidth(2) - .borderStyle({ - left: BorderStyle.Dotted, - right: BorderStyle.Dotted, - top: BorderStyle.Dotted, - bottom: BorderStyle.Dotted - }) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index bfcffd51..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0530.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0530 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .borderWidth(2) - .borderStyle({ - left: BorderStyle.Dotted, - right: BorderStyle.Dotted, - top: BorderStyle.Solid, - bottom: BorderStyle.Dashed - }) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 756265a7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0540.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0540 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .borderWidth(2) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .borderWidth(2) - .borderStyle(BorderStyle.Solid) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 3676d33d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0550.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0550 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 3dc41d0f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0560.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0560 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .borderRadius(20) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index f640cdd5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0570.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0570 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .borderRadius(500) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 485aa596..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0580.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0580 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .borderRadius('10%') - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .borderRadius(-1) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 81db79de..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0590.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0590 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .borderRadius(null) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .borderRadius(undefined) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 2721958e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0600.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0600 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .borderRadius(20) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 0ef6660a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0610.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0610 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .font({ size: 16, weight: FontWeight.Bold }) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 85a2818f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0620.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0620 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .size(null) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .size(undefined) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .size({ width: -10, height: -10 }) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .size({ width: '10%', height: '10%' }) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 1b59b7ba..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0630.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0630 { - - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .size({ width: '10%', height: '10%' }) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 5fd234ce..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0640.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0640 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .font({ weight: -10}) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .font({ weight: '10%'}) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index b3d05edb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0650.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0650 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .font({ weight: null}) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .font({ weight: undefined}) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .font({ weight: FontWeight.Medium}) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 31bf89b8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0660.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0660 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .font({ size: 16, weight: FontWeight.Medium}) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index ab64d011..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0670.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0670 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .fontColor(0xffff00) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 474a2c6a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0680.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0680 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .fontColor(Color.Pink) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 54c714ca..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0690.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0690 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .fontColor('#ff0000ff') - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index ff167961..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0700.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0700 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .fontColor('#FF508131') - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index b9615010..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0710.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0710 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .fontColor(undefined) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .fontColor(null) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .fontColor(0) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .fontColor("") - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .fontColor('2%') - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 9d06cad3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0720.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0720 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .fontColor(-1) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index a627db05..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0730.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0730 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .fontColor(Color.Black) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index c4e55045..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0740.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0740 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .backgroundColor(0xffff00) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 18d4d90a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0750.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0750 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .backgroundColor(Color.Pink) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index e9cb80fa..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0760.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0760 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .backgroundColor('#ff0000ff') - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 66f2d698..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0770.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0770 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .backgroundColor('#FF508131') - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index aa1eec49..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0780.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0780 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .backgroundColor(undefined) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .backgroundColor(null) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .backgroundColor(-1) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .backgroundColor("") - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .backgroundColor('2%') - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 9cec4110..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0790.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0790 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .backgroundColor(0) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .backgroundColor('2%') - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 1c85a911..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0800.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0800 { - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .value(this.text) - .backgroundColor('#E5000000') - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 56cf5860..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0810.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0810 { - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .padding({ top: 8, left: 16, bottom:8, right: 16 }) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 26bf15aa..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0820.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0820 { - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .padding(-1) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 3b169d5f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0830.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0830 { - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .padding(null) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .padding(undefined) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index e4bb5cdf..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0840.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0840 { - build() { - Row() { - Column() { - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - Select(this.getOptions()) - .controlSize(ControlSize.SMALL) - .padding({ top: 8, left: 16, bottom: 8, right:16 }) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index f46d0f68..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0860.ets +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0860 { - @State bgColor: ResourceColor = Color.Blue - @State control: ControlSize = ControlSize.NORMAL - @State text: string = "" - build() { - Row() { - Column() { - Button("文本长度>normal宽度:80") - .onClick(() => { - this.text = "这是一段测试文本" - }) - .id("UIComponentButtonSelectControlSize0860_001") - Button("点击切换controlSize类型") - .onClick(() => { - this.control = this.control === ControlSize.NORMAL ? ControlSize.SMALL : ControlSize.NORMAL - }) - .id("UIComponentButtonSelectControlSize0860_002") - Select(this.getOptions()) - .controlSize(this.control) - .value(this.text) - .fontColor(Color.White) - .backgroundColor(this.bgColor) - .gesture( - LongPressGesture({ repeat: false }) - .onAction((event: GestureEvent) => { - if (event) { - this.bgColor = this.bgColor === Color.Blue ? Color.Red : Color.Blue - } - }) - ) - .id("UIComponentButtonSelectControlSize0860_003") - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 7f56d548..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0880.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0880 { - @State control: ControlSize = ControlSize.NORMAL - @State text: string = "" - build() { - Row() { - Column() { - Button("文本长度>normal宽度:80") - .onClick(() => { - this.text = "这是一段测试文本" - }) - .id("UIComponentButtonSelectControlSize0880_001") - Button("点击切换controlSize类型") - .onClick(() => { - this.control = this.control === ControlSize.NORMAL ? ControlSize.SMALL : ControlSize.NORMAL - }) - .id("UIComponentButtonSelectControlSize0880_002") - Select(this.getOptions()) - .controlSize(this.control) - .value(this.text) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 9b00212e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0890.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import measure from '@ohos.measure' - -@Entry -@Component -struct UIComponentButtonSelectControlSize0890 { - @State control: ControlSize = ControlSize.NORMAL - @State text: string = "" - - build() { - Row() { - Column() { - Button("文本长度大于small小于normal:56") - .onClick(() => { - this.text = "oi.." - }) - .id("UIComponentButtonSelectControlSize0890_001") - Button("点击切换controlSize类型") - .onClick(() => { - this.control = this.control === ControlSize.NORMAL ? ControlSize.SMALL : ControlSize.NORMAL - }) - .id("UIComponentButtonSelectControlSize0890_002") - Select(this.getOptions()) - .controlSize(this.control) - .value(this.text) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 8f207703..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0900.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0900 { - @State control: ControlSize = ControlSize.NORMAL - @State text: string = "" - build() { - Row() { - Column() { - Button("文本长度 { - this.text = "1" - }) - .id("UIComponentButtonSelectControlSize0900_001") - Button("点击切换controlSize类型") - .onClick(() => { - this.control = this.control === ControlSize.NORMAL ? ControlSize.SMALL : ControlSize.NORMAL - }) - .id("UIComponentButtonSelectControlSize0900_002") - Select(this.getOptions()) - .controlSize(this.control) - .value(this.text) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index a4105305..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0910.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0910 { - @State control: ControlSize = ControlSize.NORMAL - @State text: string = "" - build() { - Row() { - Column() { - Button("文本超长”你好我的朋友上午好早上好中午好晚上好晚安你好我的朋友上午好早上好中午好晚上好晚安”") - .onClick(() => { - this.text = '你好我的朋友上午好早上好中午好晚上好晚安你好我的朋友上午好早上好中午好晚上好晚安' - }) - .id("UIComponentButtonSelectControlSize0910_001") - Button("点击切换controlSize类型") - .onClick(() => { - this.control = this.control === ControlSize.NORMAL ? ControlSize.SMALL : ControlSize.NORMAL - }) - .id("UIComponentButtonSelectControlSize0910_002") - Select(this.getOptions()) - .controlSize(this.control) - .value(this.text) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 7cc25223..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0920.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0920 { - @State control: ControlSize = ControlSize.NORMAL - @State containerWidth: Length = -1 - build() { - Row() { - Column() { - Button("容器宽度大于normal宽度:80") - .onClick(() => { - this.containerWidth = 80 - }) - .id("UIComponentButtonSelectControlSize0920_001") - Button("点击切换controlSize类型") - .onClick(() => { - this.control = this.control === ControlSize.NORMAL ? ControlSize.SMALL : ControlSize.NORMAL - }) - .id("UIComponentButtonSelectControlSize0920_002") - Select(this.getOptions()) - .controlSize(this.control) - .width(this.containerWidth) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 665fa8fe..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0930.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0930 { - @State control: ControlSize = ControlSize.NORMAL - @State containerWidth: Length = -1 - build() { - Row() { - Column() { - Button("容器宽度大于small小于normal:56") - .onClick(() => { - this.containerWidth = 56 - }) - .id("UIComponentButtonSelectControlSize0930_001") - Button("点击切换controlSize类型") - .onClick(() => { - this.control = this.control === ControlSize.NORMAL ? ControlSize.SMALL : ControlSize.NORMAL - }) - .id("UIComponentButtonSelectControlSize0930_002") - Select(this.getOptions()) - .controlSize(this.control) - .width(this.containerWidth) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 05e16149..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0940.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0940 { - @State control: ControlSize = ControlSize.NORMAL - @State containerWidth: Length = -1 - build() { - Row() { - Column() { - Button("容器宽度小于small:20") - .onClick(() => { - this.containerWidth = 20 - }) - .id("UIComponentButtonSelectControlSize0940_001") - Button("点击切换controlSize类型") - .onClick(() => { - this.control = this.control === ControlSize.NORMAL ? ControlSize.SMALL : ControlSize.NORMAL - }) - .id("UIComponentButtonSelectControlSize0940_002") - Select(this.getOptions()) - .controlSize(this.control) - .width(this.containerWidth) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index e05b4d85..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0950.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0950 { - @State fontSize: Length = -1 - @State control: ControlSize = ControlSize.NORMAL - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Button("文本高度>normal高度:font-size:100") - .onClick(() => { - this.fontSize = 100 - }) - .id("UIComponentButtonSelectControlSize0950_001") - Button("点击切换controlSize类型") - .onClick(() => { - this.control = this.control === ControlSize.NORMAL ? ControlSize.SMALL : ControlSize.NORMAL - }) - .id("UIComponentButtonSelectControlSize0950_002") - Select(this.getOptions()) - .controlSize(this.control) - .value(this.text) - .font({ size: this.fontSize }) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 60c309e4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0960.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0960 { - @State fontSize: Length = -1 - @State control: ControlSize = ControlSize.NORMAL - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Button("文本高度>normal高度:font-size:35") - .onClick(() => { - this.fontSize = 35 - }) - .id("UIComponentButtonSelectControlSize0960_001") - Button("点击切换controlSize类型") - .onClick(() => { - this.control = this.control === ControlSize.NORMAL ? ControlSize.SMALL : ControlSize.NORMAL - }) - .id("UIComponentButtonSelectControlSize0960_002") - Select(this.getOptions()) - .controlSize(this.control) - .value(this.text) - .font({ size: this.fontSize }) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 7861d932..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0970.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0970 { - @State fontSize: Length = -1 - @State control: ControlSize = ControlSize.NORMAL - @State text: string = "TTTTT" - build() { - Row() { - Column() { - Button("文本高度 { - this.fontSize = 20 - }) - .id("UIComponentButtonSelectControlSize0970_001") - Button("点击切换controlSize类型") - .onClick(() => { - this.control = this.control === ControlSize.NORMAL ? ControlSize.SMALL : ControlSize.NORMAL - }) - .id("UIComponentButtonSelectControlSize0970_002") - Select(this.getOptions()) - .controlSize(this.control) - .value(this.text) - .font({ size: this.fontSize }) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 80f00d80..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0980.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0980 { - @State control: ControlSize = ControlSize.NORMAL - @State containerHeight: Length = -1 - build() { - Row() { - Column() { - Button("容器高度大于normal高度:80") - .onClick(() => { - this.containerHeight = 80 - }) - .id("UIComponentButtonSelectControlSize0980_001") - Button("点击切换controlSize类型") - .onClick(() => { - this.control = this.control === ControlSize.NORMAL ? ControlSize.SMALL : ControlSize.NORMAL - }) - .id("UIComponentButtonSelectControlSize0980_002") - Select(this.getOptions()) - .controlSize(this.control) - .height(this.containerHeight) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 600813cc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0990.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize0990 { - @State control: ControlSize = ControlSize.NORMAL - @State containerHeight: Length = -1 - build() { - Row() { - Column() { - Button("容器高度大于small小于normal:35") - .onClick(() => { - this.containerHeight = 35 - }) - .id("UIComponentButtonSelectControlSize0990_001") - Button("点击切换controlSize类型") - .onClick(() => { - this.control = this.control === ControlSize.NORMAL ? ControlSize.SMALL : ControlSize.NORMAL - }) - .id("UIComponentButtonSelectControlSize0990_002") - Select(this.getOptions()) - .controlSize(this.control) - .height(this.containerHeight) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index 96ec6daa..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize1000.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize1000 { - @State control: ControlSize = ControlSize.NORMAL - @State containerHeight: Length = -1 - build() { - Row() { - Column() { - Button("容器高度小于normal:20") - .onClick(() => { - this.containerHeight = 20 - }) - .id("UIComponentButtonSelectControlSize1000_001") - Button("点击切换controlSize类型") - .onClick(() => { - this.control = this.control === ControlSize.NORMAL ? ControlSize.SMALL : ControlSize.NORMAL - }) - .id("UIComponentButtonSelectControlSize1000_002") - Select(this.getOptions()) - .controlSize(this.control) - .height(this.containerHeight) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file 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 deleted file mode 100644 index f3b92789..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize1010.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectControlSize1010 { - build() { - Row() { - Column() { - Select(this.getOptions()) - Select(this.getOptions()) - .controlSize(ControlSize.NORMAL) - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options:Array = []; - for (let i = 1; i <= 20; i++) { - const value = i === 3 ? "" : (i === 4 ? '这是一个非常长的文本,可能会超过显示限制,需要截断或者滚动查看' : `item${i}`); - options.push({ value: value }); - } - return options; - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0010.ets deleted file mode 100644 index 1723bad3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0010.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectDivider0010 { - @State isDivider: boolean = false - @State dividerConfig: DividerOptions = {}; - - build() { - Row() { - Column() { - Button('divider不为null') - .onClick(() => { - this.isDivider = true - }) - .id('UIComponentButtonSelectDivider0010_001') - Button('010_divider') - .onClick(() => { - this.dividerConfig = { - strokeWidth: '1px', - color: '#33000000' - } - }) - .id('UIComponentButtonSelectDivider0010_002') - Select([{ value: 'aaa'}, { value: 'bbb'}, { value: 'ccc'}]) - .divider(this.isDivider ? this.dividerConfig : null) - .id("UIComponentButtonSelectDivider0010_003") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0020.ets deleted file mode 100644 index 03c531ad..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0020.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectDivider0020 { - @State isDivider: boolean = false - @State dividerConfig: DividerOptions = { - strokeWidth: 20, - startMargin: 50, - endMargin: 50, - color: Color.Green - }; - - build() { - Row() { - Column() { - Button('divider为nuIl') - .onClick(() => { - this.isDivider = false - }) - .id('UIComponentButtonSelectDivider0020_001') - Select([{ value: 'aaa'}, { value: 'bbb'}, { value: 'ccc'}]) - .divider(this.isDivider ? this.dividerConfig : null) - .id("UIComponentButtonSelectDivider0020_002") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0030.ets deleted file mode 100644 index e2d2813f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0030.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectDivider0030 { - @State isDivider: boolean = false - @State dividerConfig: DividerOptions = {}; - - build() { - Row() { - Column() { - Button('divider不为null') - .onClick(() => { - this.isDivider = true - }) - .id('UIComponentButtonSelectDivider0030_001') - Button('030_divider') - .onClick(() => { - this.dividerConfig = { - strokeWidth: '1px', - color: '#33000000' - } - }) - .id('UIComponentButtonSelectDivider0030_002') - Select([{ value: 'aaa'}]) - .divider(this.isDivider ? this.dividerConfig : null) - .id("UIComponentButtonSelectDivider0030_003") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0040.ets deleted file mode 100644 index faeb73be..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0040.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectDivider0040 { - @State isDivider: boolean = false - @State dividerConfig: DividerOptions = {}; - - build() { - Row() { - Column() { - Button('divider不为null') - .onClick(() => { - this.isDivider = true - }) - .id('UIComponentButtonSelectDivider0040_001') - Button('040_divider') - .onClick(() => { - this.dividerConfig = { - strokeWidth: (getContext().resourceManager.getNumber($r("app.integer.5")) + 'vp') as VP, - startMargin: (getContext().resourceManager.getNumber($r("app.integer.5")) + 'vp') as VP, - endMargin: (getContext().resourceManager.getNumber($r("app.integer.5")) + 'vp') as VP, - color: getContext().resourceManager.getColorSync($r("app.color.color3")) - } - }) - .id('UIComponentButtonSelectDivider0040_002') - Select([{ value: 'aaa'}, { value: 'bbb'}, { value: 'ccc'}]) - .divider(this.isDivider ? this.dividerConfig : null) - .id("UIComponentButtonSelectDivider0040_003") - } - .width('100%') - .height('100%') - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0050.ets deleted file mode 100644 index c6459ac4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0050.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectDivider0050 { - @State isDivider: boolean = false - @State dividerConfig: DividerOptions = {}; - - build() { - Row() { - Column() { - Button('divider不为null') - .onClick(() => { - this.isDivider = true - }) - .id('UIComponentButtonSelectDivider0050_001') - Button('050_divider') - .onClick(() => { - this.dividerConfig = { - strokeWidth: 20, - startMargin: 50, - endMargin: 50, - color: Color.Green - } - }) - .id('UIComponentButtonSelectDivider0050_002') - Select([{ value: 'aaa'}, { value: 'bbb'}, { value: 'ccc'}]) - .optionWidth(100.1) - .divider(this.isDivider ? this.dividerConfig : null) - .id("UIComponentButtonSelectDivider0050_003") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0060.ets deleted file mode 100644 index 3acf606d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0060.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectDivider0060 { - @State isDivider: boolean = false - @State dividerConfig: DividerOptions = {}; - - build() { - Row() { - Column() { - Button('divider不为null') - .onClick(() => { - this.isDivider = true - }) - .id('UIComponentButtonSelectDivider0060_001') - Button('060_divider') - .onClick(() => { - this.dividerConfig = { - strokeWidth: '5fp', - startMargin: '5fp', - endMargin: '5fp', - color: '#ff00ff' - } - }) - .id('UIComponentButtonSelectDivider0060_002') - Select([{ value: 'aaa'}, { value: 'bbb'}, { value: 'ccc'}]) - .divider(this.isDivider ? this.dividerConfig : null) - .id("UIComponentButtonSelectDivider0060_003") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0070.ets deleted file mode 100644 index eba0a119..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0070.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectDivider0070 { - @State isDivider: boolean = false - @State dividerConfig: DividerOptions = {}; - - build() { - Row() { - Column() { - Button('divider不为null') - .onClick(() => { - this.isDivider = true - }) - .id('UIComponentButtonSelectDivider0070_001') - Button('070_divider') - .onClick(() => { - this.dividerConfig = { - strokeWidth: '10lpx', - startMargin: '10lpx', - endMargin: '10lpx', - color: Color.Green - } - }) - .id('UIComponentButtonSelectDivider0070_002') - Select([{ value: 'aaa'}, { value: 'bbb'}, { value: 'ccc'}]) - .divider(this.isDivider ? this.dividerConfig : null) - .id("UIComponentButtonSelectDivider0070_003") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0080.ets deleted file mode 100644 index d58b7646..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0080.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectDivider0080 { - @State isDivider: boolean = true - build() { - Row() { - Column() { - Button('divider不设置') - .onClick(() => { - this.isDivider = false - }) - .id('UIComponentButtonSelectDivider0080_001') - if (!this.isDivider) { - Select([{ value: 'aaa' }, { value: 'bbb' }, { value: 'ccc' }]) - .id("UIComponentButtonSelectDivider0080_002") - } - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0090.ets deleted file mode 100644 index 1b7daecd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0090.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectDivider0090 { - @State isDivider: boolean = false - @State dividerConfig: DividerOptions = {}; - - build() { - Row() { - Column() { - Button('divider不为null') - .onClick(() => { - this.isDivider = true - }) - .id('UIComponentButtonSelectDivider0090_001') - Button('090_divider') - .onClick(() => { - this.dividerConfig = { - strokeWidth: -10, - startMargin: -10, - endMargin: -10, - color: 'null' - } - }) - .id('UIComponentButtonSelectDivider0090_002') - Select([{ value: 'aaa'}, { value: 'bbb'}, { value: 'ccc'}]) - .divider(this.isDivider ? this.dividerConfig : null) - .id("UIComponentButtonSelectDivider0090_003") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0100.ets deleted file mode 100644 index 667bcc12..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0100.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectDivider0100 { - @State isDivider: boolean = false - @State dividerConfig: DividerOptions = {}; - - build() { - Row() { - Column() { - Button('divider不为null') - .onClick(() => { - this.isDivider = true - }) - .id('UIComponentButtonSelectDivider0100_001') - Button('100_divider') - .onClick(() => { - this.dividerConfig = { - startMargin: 28, - endMargin: 28 - } - }) - .id('UIComponentButtonSelectDivider0100_002') - Select([{ value: 'aaa'}, { value: 'bbb'}, { value: 'ccc'}]) - .optionWidth(56) - .divider(this.isDivider ? this.dividerConfig : null) - .id("UIComponentButtonSelectDivider0100_003") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0110.ets deleted file mode 100644 index b6998efa..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0110.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectDivider0110 { - @State isDivider: boolean = false - @State dividerConfig: DividerOptions = {}; - - build() { - Row() { - Column() { - Button('divider不为null') - .onClick(() => { - this.isDivider = true - }) - .id('UIComponentButtonSelectDivider0110_001') - Button('110_divider') - .onClick(() => { - this.dividerConfig = { - strokeWidth: undefined, - startMargin: undefined, - endMargin: undefined, - color: undefined - } - }) - .id('UIComponentButtonSelectDivider0110_002') - Select([{ value: 'aaa'}, { value: 'bbb'}, { value: 'ccc'}]) - .divider(this.isDivider ? this.dividerConfig : null) - .id("UIComponentButtonSelectDivider0110_003") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0120.ets deleted file mode 100644 index 971f2ca0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0120.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectDivider0120 { - @State isDivider: boolean = false - @State dividerConfig: DividerOptions = {}; - - build() { - Row() { - Column() { - Button('divider不为null') - .onClick(() => { - this.isDivider = true - }) - .id('UIComponentButtonSelectDivider0120_001') - Button('120_divider') - .onClick(() => { - this.dividerConfig = { - strokeWidth: '20px', - startMargin: '20px', - endMargin: '10px', - color: Color.Red - } - }) - .id('UIComponentButtonSelectDivider0120_002') - Select([{ value: 'aaa'}, { value: 'bbb'}, { value: 'ccc'}]) - .divider(this.isDivider ? this.dividerConfig : null) - .id("UIComponentButtonSelectDivider0120_003") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0130.ets deleted file mode 100644 index 0420ef5a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0130.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectDivider0130 { - @State isDivider: boolean = false - @State dividerConfig: DividerOptions = {}; - - build() { - Row() { - Column() { - Button('动态切换') - .onClick(() => { - this.isDivider = !this.isDivider - }) - .id('UIComponentButtonSelectDivider0130_001') - Button('130_动态切换') - .onClick(() => { - this.dividerConfig = { - strokeWidth: 20, - startMargin: 50, - endMargin: 50, - color: Color.Green - } - }) - .id('UIComponentButtonSelectDivider0130_002') - Select([{ value: 'aaa'}, { value: 'bbb'}, { value: 'ccc'}]) - .divider(this.isDivider ? - {strokeWidth: -10, startMargin: -10, endMargin: -10, color: undefined} : this.dividerConfig) - .id("UIComponentButtonSelectDivider0130_003") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0140.ets deleted file mode 100644 index f3e136e0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0140.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectDivider0140 { - @State isDivider: boolean = false - @State dividerConfig: DividerOptions = {}; - - build() { - Row() { - Column() { - Button('divider不为null') - .onClick(() => { - this.isDivider = true - }) - .id('UIComponentButtonSelectDivider0140_001') - Button('140_divider') - .onClick(() => { - this.dividerConfig = { - strokeWidth: '5vp', - startMargin: '5vp', - endMargin: '5vp', - color: 0xffff00 - } - }) - .id('UIComponentButtonSelectDivider0140_002') - Select([{ value: 'aaa'}, { value: 'bbb'}, { value: 'ccc'}]) - .divider(this.isDivider ? this.dividerConfig : null) - .id("UIComponentButtonSelectDivider0140_003") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0150.ets deleted file mode 100644 index 4cee193d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0150.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectDivider0150 { - @State isDivider: boolean = false - @State dividerConfig: DividerOptions = {}; - - build() { - Row() { - Column() { - Button('divider不为null') - .onClick(() => { - this.isDivider = true - }) - .id('UIComponentButtonSelectDivider0150_001') - Button('150_divider') - .onClick(() => { - this.dividerConfig = { - strokeWidth: 99999, - startMargin: 99999, - endMargin: 99999, - color: 'null' - } - }) - .id('UIComponentButtonSelectDivider0150_002') - Select([{ value: 'aaa'}, { value: 'bbb'}, { value: 'ccc'}]) - .divider(this.isDivider ? this.dividerConfig : null) - .id("UIComponentButtonSelectDivider0150_003") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0160.ets deleted file mode 100644 index 8a4daf53..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0160.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonSelectDivider0160 { - @State isDivider: boolean = false - @State dividerConfig: DividerOptions = {}; - - build() { - Row() { - Column() { - Button('divider不为null') - .onClick(() => { - this.isDivider = true - }) - .id('UIComponentButtonSelectDivider0160_001') - Button('160_divider') - .onClick(() => { - this.dividerConfig = { - strokeWidth: undefined, - startMargin: undefined, - endMargin: undefined, - color: 'null' - } - }) - .id('UIComponentButtonSelectDivider0160_002') - Select([{ value: 'aaa'}, { value: 'bbb'}, { value: 'ccc'}]) - .divider(this.isDivider ? this.dividerConfig : null) - .id("UIComponentButtonSelectDivider0160_003") - } - .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/UIComponentButtonStyle051.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle051.ets deleted file mode 100644 index 02ef6271..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle051.ets +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonStyle051 { - @State rating: number = 2; - @State myButtonModifier: RatingAttributeModifier = new RatingAttributeModifier(); - - build() { - Row() { - Column() { - Rating({ rating: this.rating, indicator: false }) - .stars(5) - .stepSize(0.5) - .margin({ top: 24 }) - .attributeModifier(this.myButtonModifier) - Column() { - Button('Modifier') - .fontSize(20) - .fontColor(Color.Blue) - .width('200px') - .id('UIComponentButtonStyle0510') - .onClick(() => { - this.rating = 3; - }) - } - } - .width('200px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} - -class RatingAttributeModifier implements AttributeModifier { - stars: number = 0; - stepSize: number = 0; - starStyle: StarStyleOptions = { - backgroundUri: '', - foregroundUri: '' - }; - - applyNormalAttribute(instance: RatingAttribute): void { - instance.stars(this.stars); - instance.stepSize(this.stepSize); - instance.starStyle(this.starStyle); - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle052.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle052.ets deleted file mode 100644 index 574afb04..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle052.ets +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonStyle052 { - @State rating: number = 2; - @State myButtonModifier: StarsAttributeModifier = new StarsAttributeModifier(); - - build() { - Row() { - Column() { - Rating({ rating: this.rating, indicator: false }) - .stars(5) - .stepSize(0.5) - .margin({ top: 24 }) - .attributeModifier(this.myButtonModifier) - Column() { - Button('Modifier') - .fontSize(20) - .fontColor(Color.Blue) - .width('200px') - .id('UIComponentButtonStyle0520') - .onClick(() => { - this.myButtonModifier.stars = 8; - }) - } - } - .width('200px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} - -class StarsAttributeModifier implements AttributeModifier { - stars: number = 0; - stepSize: number = 0; - starStyle: StarStyleOptions = { - backgroundUri: '', - foregroundUri: '' - }; - - applyNormalAttribute(instance: RatingAttribute): void { - instance.stars(this.stars); - instance.stepSize(this.stepSize); - instance.starStyle(this.starStyle); - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle053.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle053.ets deleted file mode 100644 index ea149456..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle053.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonStyle053 { - @State rating: number = 2; - @State stepSizeTextTip: string = 'stepSize: 1'; - @State myButtonModifier: StepSizeAttributeModifier = new StepSizeAttributeModifier(); - - build() { - Row() { - Column() { - Text(this.stepSizeTextTip) - Rating({ rating: this.rating, indicator: false }) - .stars(5) - .stepSize(1) - .margin({ top: 24 }) - .attributeModifier(this.myButtonModifier) - Column() { - Button('Modifier') - .fontSize(20) - .fontColor(Color.Blue) - .width('200px') - .id('UIComponentButtonStyle0530') - .onClick(() => { - this.myButtonModifier.stepSize = 0.5; - this.rating += this.myButtonModifier.stepSize; - this.stepSizeTextTip = 'stepSize: ' + this.myButtonModifier.stepSize; - }) - } - } - .width('200px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} - -class StepSizeAttributeModifier implements AttributeModifier { - stars: number = 0; - stepSize: number = 0; - starStyle: StarStyleOptions = { - backgroundUri: '', - foregroundUri: '' - }; - - applyNormalAttribute(instance: RatingAttribute): void { - instance.stars(this.stars); - instance.stepSize(this.stepSize); - instance.starStyle(this.starStyle); - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle054.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle054.ets deleted file mode 100644 index 20ffbc59..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle054.ets +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonStyle054 { - @State myButtonModifier: StarStyleAttributeModifier = new StarStyleAttributeModifier(); - - build() { - Row() { - Column() { - Rating({ rating: 1, indicator: false }) - .stars(5) - .stepSize(0.5) - .margin({ top: 24 }) - .attributeModifier(this.myButtonModifier) - Column() { - Button('Modifier') - .fontSize(20) - .fontColor(Color.Blue) - .width('200px') - .id('UIComponentButtonStyle0540') - .onClick(() => { - this.myButtonModifier.starStyle = { - backgroundUri: 'cat.jpg', - foregroundUri: 'cat.jpg' - }; - }) - } - } - .width('200px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} - -class StarStyleAttributeModifier implements AttributeModifier { - stars: number = 0; - stepSize: number = 0; - starStyle: StarStyleOptions = { - backgroundUri: '', - foregroundUri: '' - }; - - applyNormalAttribute(instance: RatingAttribute): void { - instance.stars(this.stars); - instance.stepSize(this.stepSize); - instance.starStyle(this.starStyle); - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle055.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle055.ets deleted file mode 100644 index 60c50756..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle055.ets +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonStyle055 { - @State rating: number = 3.5; - @State myButtonModifier: RadioStyleAttributeModifier = new RadioStyleAttributeModifier(); - - build() { - Row() { - Column() { - Text('Radio') - Radio({ value: 'Radio', group: 'radioGroup' }) - .height(50) - .width(50) - .checked(true) - .attributeModifier(this.myButtonModifier) - .id('UIComponentButtonStyle0550') - .onClick(() => { - this.myButtonModifier.radioStyle = { - checkedBackgroundColor: 'rgba(255,100,255,0.5)', - uncheckedBorderColor: Color.Black, - indicatorColor: Color.White, - }; - }) - } - .width('200px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} - -class RadioStyleAttributeModifier implements AttributeModifier { - radioStyle: RadioStyle = { - checkedBackgroundColor: undefined, - uncheckedBorderColor: undefined, - indicatorColor: undefined - }; - - applyNormalAttribute(instance: RadioAttribute): void { - instance.radioStyle(this.radioStyle) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle056.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle056.ets deleted file mode 100644 index e41bf8d1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle056.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonStyle056 { - @State rating: number = 3.5; - @State myButtonModifier: RadioAttributeModifier = new RadioAttributeModifier(); - - build() { - Row() { - Column() { - Text('Radio') - Radio({ value: 'Radio', group: 'radioGroup' }) - .checked(false) - .attributeModifier(this.myButtonModifier) - .id('UIComponentButtonStyle0560') - .onClick(() => { - this.myButtonModifier.widthValue = 30; - this.myButtonModifier.heightValue = 30; - }) - } - .width('200px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} - -class RadioAttributeModifier implements AttributeModifier { - widthValue: number = 50 - heightValue: number = 50 - - applyNormalAttribute(instance: RadioAttribute): void { - instance.width(this.widthValue) - instance.height(this.heightValue) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle057.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle057.ets deleted file mode 100644 index cdf850be..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle057.ets +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentButtonStyle057 { - @State rating: number = 3.5; - @State myButtonModifier: CheckedAttributeModifier = new CheckedAttributeModifier(); - - build() { - Row() { - Column() { - Rating({ rating: this.rating, indicator: false }) - .stars(5) - .stepSize(0.5) - .margin({ top: 24 }) - Column() { - Text('Radio') - Radio({ value: 'Radio', group: 'radioGroup' }) - .height(50) - .width(50) - .checked(false) - .attributeModifier(this.myButtonModifier) - .id('UIComponentButtonStyle0570') - .onChange((isChecked: boolean) => { - this.myButtonModifier.checked = isChecked; - }) - } - } - .width('200px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} - -class CheckedAttributeModifier implements AttributeModifier { - checked: boolean = false; - - applyNormalAttribute(instance: RadioAttribute): void { - instance.checked(this.checked); - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0010.ets deleted file mode 100644 index 25578282..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0010.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI'; - -@Entry -@Component -struct UIComponentFunctionSelectSymbol0010 { - @State symbolModifier: SymbolGlyphModifier | null = null - - build() { - Row() { - Column() { - Button('010_symbolicon') - .onClick(() => { - this.symbolModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_star')) - .fontSize(999) - .fontColor(["#ffffff"]) - }) - .id('UIComponentFunctionSelectSymbol0010_001') - Select([{ value: 'aaa', symbolIcon: this.symbolModifier }]) - .optionBgColor(Color.Black) - .id('UIComponentFunctionSelectSymbol0010_002') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0020.ets deleted file mode 100644 index d32e3b6c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0020.ets +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MenuItemModifier, SymbolGlyphModifier } from '@kit.ArkUI' - -class MyMenuItemContentModifier implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(MenuItemBuilder) - } -} - -@Builder -function MenuItemBuilder(configuration: MenuItemConfiguration) { - Row() { - Text(configuration.value) - Blank(100) - SymbolGlyph().attributeModifier(configuration.symbolIcon) - } -} - -@Entry -@Component -struct UIComponentFunctionSelectSymbol0020 { - @State beChange: boolean = false - @State symbolModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_star')) - .fontColor([Color.Blue]) - .fontSize(50) - @State symbolModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_wifi')) - .fontColor([Color.Red]) - .fontSize(100) - @State symbolModifier: SymbolGlyphModifier = this.symbolModifier1 - - build() { - Row() { - Column() { - Button('020_动态切换') - .onClick(() => { - this.beChange = !this.beChange - }) - .id('UIComponentFunctionSelectSymbol0020_001') - if (this.beChange) { - Button('symbolicon++、symbilicon样式++') - .onClick(() => { - this.symbolModifier = this.symbolModifier === this.symbolModifier1 ? - this.symbolModifier2 : this.symbolModifier1 - }) - .id('UIComponentFunctionSelectSymbol0020_002') - Select([{ value: 'aaa', symbolIcon: this.symbolModifier }]) - .menuItemContentModifier(new MyMenuItemContentModifier()) - .id('UIComponentFunctionSelectSymbol0020_003') - } - } - .width('100%') - .height('100%') - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0030.ets deleted file mode 100644 index 98d9ada4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0030.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI'; - -@Entry -@Component -struct UIComponentFunctionSelectSymbol0030 { - @State symbolModifier: SymbolGlyphModifier | null = null - - build() { - Row() { - Column() { - Button('030_symbolicon') - .onClick(() => { - this.symbolModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_trash')) - .fontSize(24) - .fontColor(["#E5182431"]) - }) - .id('UIComponentFunctionSelectSymbol0030_001') - Select([{ value: 'aaa', symbolIcon: this.symbolModifier }]) - .id('UIComponentFunctionSelectSymbol0030_002') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0040.ets deleted file mode 100644 index 55f0f948..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0040.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI'; - -@Entry -@Component -struct UIComponentFunctionSelectSymbol0040 { - @State resource: ResourceStr | null = null - - build() { - Row() { - Column() { - Button('040_引用icon') - .onClick(() => { - this.resource = $r('app.media.icon') - }) - .id('UIComponentFunctionSelectSymbol0040_001') - Select([{ value: 'aaa', icon: this.resource, symbolIcon: undefined }]) - .id('UIComponentFunctionSelectSymbol0040_002') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0050.ets deleted file mode 100644 index b4c6714b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0050.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI'; - -@Entry -@Component -struct UIComponentFunctionSelectSymbol0050 { - @State option: Array = [] - - build() { - Row() { - Column() { - Button('050_symbolicon_icon') - .onClick(() => { - this.option = [{ value: 'aaa', icon: undefined, symbolIcon: undefined}, - {value: 'bbb', icon: undefined, symbolIcon: undefined}] - }) - .id('UIComponentFunctionSelectSymbol0050_001') - Select(this.option) - .id('UIComponentFunctionSelectSymbol0050_002') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0060.ets deleted file mode 100644 index cbf224c3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0060.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI'; - -@Entry -@Component -struct UIComponentFunctionSelectSymbol0060 { - @State symbolModifier: SymbolGlyphModifier | null = null - - build() { - Row() { - Column() { - Button('060_symbolicon') - .onClick(() => { - this.symbolModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_wifi')) - }) - .id('UIComponentFunctionSelectSymbol0060_001') - Select([{ value: 'aaa', icon: undefined, symbolIcon: this.symbolModifier }]) - .id('UIComponentFunctionSelectSymbol0060_002') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0070.ets deleted file mode 100644 index 6e1ab47b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0070.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI'; - -@Entry -@Component -struct UIComponentFunctionSelectSymbol0070 { - @State symbolModifier: SymbolGlyphModifier | null = null - @State resource: ResourceStr | null = null - - build() { - Row() { - Column() { - Button('070_symbolicon_icon') - .onClick(() => { - this.symbolModifier = new SymbolGlyphModifier($r('sys.symbol.exposure')) - .fontSize(getContext().resourceManager.getNumber($r("app.integer.50"))) - .fontColor([getContext().resourceManager.getColorSync($r("app.color.txt_color"))]) - this.resource = $r('app.media.icon') - }) - .id('UIComponentFunctionSelectSymbol0070_001') - Select([{ value: 'aaa', icon: this.resource, symbolIcon: this.symbolModifier }]) - .id('UIComponentFunctionSelectSymbol0070_002') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0090.ets deleted file mode 100644 index c5faaf98..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0090.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI'; - -@Entry -@Component -struct UIComponentFunctionSelectSymbol0090 { - @State option: Array = [] - - build() { - Row() { - Column() { - Button('090_symbolicon_icon') - .onClick(() => { - this.option = [{ value: 'aaa'}, {value: 'bbb'}] - }) - .id('UIComponentFunctionSelectSymbol0090_001') - Select(this.option) - .id('UIComponentFunctionSelectSymbol0090_002') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0110.ets deleted file mode 100644 index 7478893d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0110.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI'; - -@Entry -@Component -struct UIComponentFunctionSelectSymbol0110 { - @State resource: ResourceStr | null = null - - build() { - Row() { - Column() { - Button('110_引用icon') - .onClick(() => { - this.resource = $r('app.media.icon') - }) - .id('UIComponentFunctionSelectSymbol0110_001') - Select([{ value: 'aaa', icon: this.resource}]) - .id('UIComponentFunctionSelectSymbol0110_002') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0120.ets deleted file mode 100644 index ae66dcd2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0120.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI'; - -@Entry -@Component -struct UIComponentFunctionSelectSymbol0120 { - @State symbolModifier: SymbolGlyphModifier | null = null - - build() { - Row() { - Column() { - Button('120_symbolicon') - .onClick(() => { - this.symbolModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_trash')) - .fontSize(-24) - .fontColor([0xffa500]) - }) - .id('UIComponentFunctionSelectSymbol0120_001') - Select([{ value: 'aaa', symbolIcon: this.symbolModifier }]) - .id('UIComponentFunctionSelectSymbol0120_002') - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0080458.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0080458.ets deleted file mode 100644 index f45455ea..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0080458.ets +++ /dev/null @@ -1,231 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 12; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= -@Entry -@Component -struct UIComponentListAndGridWaterFlowAdd0080458 { - @State minSize: number = 80 - @State maxSize: number = 180 - @State fontSize: number = 24 - @State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - private itemWidthArray: number[] = [] - private itemHeightArray: number[] = [] - - // 计算FlowItem宽/高 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的宽/高数组 - setItemSizeArray() { - for (let i = 0; i < 12; i++) { - //this.itemWidthArray.push(this.getSize()) - //this.itemHeightArray.push(this.getSize()) - this.itemWidthArray.push(60) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - } - - @Builder - itemFoot() { - Column() { - Text(`Footer`) - .fontSize(10) - .backgroundColor(Color.Red) - .width(50) - .height(50) - .align(Alignment.Center) - .margin({ top: 2 }) - } - } - - build() { - Column({ space: 2 }) { - WaterFlow() { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - Column() { - Text("N" + item).fontSize(12).height('16') - Image($r("app.media.waterFlowTest")) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1) - } - } - .width('100%') - .height(this.itemHeightArray[item % 12]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate("1fr 1fr") - .rowsTemplate("1fr 1fr 1fr") - .columnsGap('abc') - .rowsGap('abc') - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .layoutDirection(FlexDirection.ColumnReverse) - .onReachStart(() => { - console.info('waterFlow reach start') - }) - .onScrollStart(() => { - console.info('waterFlow scroll start') - }) - .onScrollStop(() => { - console.info('waterFlow scroll stop') - }) - .onScrollFrameBegin((offset: number, state: ScrollState) => { - console.info('waterFlow scrollFrameBegin offset: ' + offset + ' state: ' + state.toString()) - return { offsetRemain: offset } - }) - .id('UIComponentListAndGridWaterFlowAdd0080458_001'); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0090321.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0090321.ets deleted file mode 100644 index 703225be..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0090321.ets +++ /dev/null @@ -1,231 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 12; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= -@Entry -@Component -struct UIComponentListAndGridWaterFlowAdd0090321 { - @State minSize: number = 80 - @State maxSize: number = 180 - @State fontSize: number = 24 - @State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - private itemWidthArray: number[] = [] - private itemHeightArray: number[] = [] - - // 计算FlowItem宽/高 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的宽/高数组 - setItemSizeArray() { - for (let i = 0; i < 12; i++) { - //this.itemWidthArray.push(this.getSize()) - //this.itemHeightArray.push(this.getSize()) - this.itemWidthArray.push(60) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - } - - @Builder - itemFoot() { - Column() { - Text(`Footer`) - .fontSize(10) - .backgroundColor(Color.Red) - .width(50) - .height(50) - .align(Alignment.Center) - .margin({ top: 2 }) - } - } - - build() { - Column({ space: 2 }) { - WaterFlow() { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - Column() { - Text("N" + item).fontSize(12).height('16') - Image($r("app.media.waterFlowTest")) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1) - } - } - .width('100%') - .height(this.itemHeightArray[item % 12]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate("1fr 1fr") - .rowsTemplate("1fr 1fr 1fr") - .columnsGap('abc') - .rowsGap('abc') - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .layoutDirection(FlexDirection.Column) - .onReachStart(() => { - console.info('waterFlow reach start') - }) - .onScrollStart(() => { - console.info('waterFlow scroll start') - }) - .onScrollStop(() => { - console.info('waterFlow scroll stop') - }) - .onScrollFrameBegin((offset: number, state: ScrollState) => { - console.info('waterFlow scrollFrameBegin offset: ' + offset + ' state: ' + state.toString()) - return { offsetRemain: offset } - }) - .id('UIComponentListAndGridWaterFlowAdd0090321_001'); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0100678.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0100678.ets deleted file mode 100644 index 5a0eb84c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0100678.ets +++ /dev/null @@ -1,231 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 12; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= -@Entry -@Component -struct UIComponentListAndGridWaterFlowAdd0100678 { - @State minSize: number = 80 - @State maxSize: number = 180 - @State fontSize: number = 24 - @State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - private itemWidthArray: number[] = [] - private itemHeightArray: number[] = [] - - // 计算FlowItem宽/高 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的宽/高数组 - setItemSizeArray() { - for (let i = 0; i < 12; i++) { - //this.itemWidthArray.push(this.getSize()) - //this.itemHeightArray.push(this.getSize()) - this.itemWidthArray.push(60) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - } - - @Builder - itemFoot() { - Column() { - Text(`Footer`) - .fontSize(10) - .backgroundColor(Color.Red) - .width(50) - .height(50) - .align(Alignment.Center) - .margin({ top: 2 }) - } - } - - build() { - Column({ space: 2 }) { - WaterFlow() { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - Column() { - Text("N" + item).fontSize(12).height('16') - Image($r("app.media.waterFlowTest")) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1) - } - } - .width('100%') - .height(this.itemHeightArray[item % 12]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate("1fr 1fr") - .rowsTemplate("1fr 1fr 1fr") - .columnsGap('abc') - .rowsGap('abc') - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .layoutDirection(FlexDirection.RowReverse) - .onReachStart(() => { - console.info('waterFlow reach start') - }) - .onScrollStart(() => { - console.info('waterFlow scroll start') - }) - .onScrollStop(() => { - console.info('waterFlow scroll stop') - }) - .onScrollFrameBegin((offset: number, state: ScrollState) => { - console.info('waterFlow scrollFrameBegin offset: ' + offset + ' state: ' + state.toString()) - return { offsetRemain: offset } - }) - .id('UIComponentListAndGridWaterFlowAdd0100678_001'); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0110972.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0110972.ets deleted file mode 100644 index 6f21d355..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0110972.ets +++ /dev/null @@ -1,231 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 12; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= -@Entry -@Component -struct UIComponentListAndGridWaterFlowAdd0110972 { - @State minSize: number = 80 - @State maxSize: number = 180 - @State fontSize: number = 24 - @State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - private itemWidthArray: number[] = [] - private itemHeightArray: number[] = [] - - // 计算FlowItem宽/高 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的宽/高数组 - setItemSizeArray() { - for (let i = 0; i < 12; i++) { - //this.itemWidthArray.push(this.getSize()) - //this.itemHeightArray.push(this.getSize()) - this.itemWidthArray.push(60) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - } - - @Builder - itemFoot() { - Column() { - Text(`Footer`) - .fontSize(10) - .backgroundColor(Color.Red) - .width(50) - .height(50) - .align(Alignment.Center) - .margin({ top: 2 }) - } - } - - build() { - Column({ space: 2 }) { - WaterFlow() { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - Column() { - Text("N" + item).fontSize(12).height('16') - Image($r("app.media.waterFlowTest")) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1) - } - } - .width('100%') - .height(this.itemHeightArray[item % 12]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate("1fr 1fr") - .rowsTemplate("1fr 1fr 1fr") - .columnsGap('abc') - .rowsGap('abc') - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .layoutDirection(FlexDirection.Row) - .onReachStart(() => { - console.info('waterFlow reach start') - }) - .onScrollStart(() => { - console.info('waterFlow scroll start') - }) - .onScrollStop(() => { - console.info('waterFlow scroll stop') - }) - .onScrollFrameBegin((offset: number, state: ScrollState) => { - console.info('waterFlow scrollFrameBegin offset: ' + offset + ' state: ' + state.toString()) - return { offsetRemain: offset } - }) - .id('UIComponentListAndGridWaterFlowAdd0110972_001'); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0120725.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0120725.ets deleted file mode 100644 index e43a0859..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0120725.ets +++ /dev/null @@ -1,230 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 12; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= -@Entry -@Component -struct UIComponentListAndGridWaterFlowAdd0120725 { - @State minSize: number = 80 - @State maxSize: number = 180 - @State fontSize: number = 24 - @State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - private itemWidthArray: number[] = [] - private itemHeightArray: number[] = [] - - // 计算FlowItem宽/高 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的宽/高数组 - setItemSizeArray() { - for (let i = 0; i < 12; i++) { - //this.itemWidthArray.push(this.getSize()) - //this.itemHeightArray.push(this.getSize()) - this.itemWidthArray.push(60) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - } - - @Builder - itemFoot() { - Column() { - Text(`Footer`) - .fontSize(10) - .backgroundColor(Color.Red) - .width(50) - .height(50) - .align(Alignment.Center) - .margin({ top: 2 }) - } - } - - build() { - Column({ space: 2 }) { - WaterFlow() { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - Column() { - Text("N" + item).fontSize(12).height('16') - Image($r("app.media.waterFlowTest")) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1) - } - } - .width('100%') - .height(this.itemHeightArray[item % 12]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate("1fr 1fr") - .rowsTemplate("1fr 1fr 1fr") - .columnsGap('abc') - .rowsGap('abc') - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .onReachStart(() => { - console.info('waterFlow reach start') - }) - .onScrollStart(() => { - console.info('waterFlow scroll start') - }) - .onScrollStop(() => { - console.info('waterFlow scroll stop') - }) - .onScrollFrameBegin((offset: number, state: ScrollState) => { - console.info('waterFlow scrollFrameBegin offset: ' + offset + ' state: ' + state.toString()) - return { offsetRemain: offset } - }) - .id('UIComponentListAndGridWaterFlowAdd0120725_001'); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0130072.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0130072.ets deleted file mode 100644 index 90f9858b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0130072.ets +++ /dev/null @@ -1,240 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 20; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= -@Entry -@Component -struct UIComponentListAndGridWaterFlowAdd0130072 { - @State minSize: number = 80 - @State maxSize: number = 180 - @State fontSize: number = 24 - @State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - private itemWidthArray: number[] = [] - private itemHeightArray: number[] = [] - - // 计算FlowItem宽/高 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的宽/高数组 - setItemSizeArray() { - for (let i = 0; i < 100; i++) { - //this.itemWidthArray.push(this.getSize()) - //this.itemHeightArray.push(this.getSize()) - this.itemWidthArray.push(60) - this.itemHeightArray.push(100) - - } - } - - aboutToAppear() { - this.setItemSizeArray() - } - - @Builder - itemFoot() { - Column() { - Text(`Footer`) - .fontSize(10) - .backgroundColor(Color.Red) - .width(50) - .height(50) - .align(Alignment.Center) - .margin({ top: 2 }) - } - } - - build() { - Column({ space: 2 }) { - WaterFlow() { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - Column() { - Text("N" + item).fontSize(12).height('16') - // 存在对应的jpg文件才会显示图片 - Image($r("app.media.waterFlowTest")) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1) - } - } - .onAppear(() => { - // 即将触底时提前增加数据 - if (item + 20 == this.dataSource.totalCount()) { - for (let i = 0; i < 100; i++) { - this.dataSource.addLastItem() - } - } - }) - .width('100%') - .height(this.itemHeightArray[item % 100]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate("1fr 1fr") - .rowsGap(5) - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .columnsGap('') - .onReachStart(() => { - console.info('waterFlow reach start') - }) - .onScrollStart(() => { - console.info('waterFlow scroll start') - }) - .onScrollStop(() => { - console.info('waterFlow scroll stop') - }) - .onScrollFrameBegin((offset: number, state: ScrollState) => { - console.info('waterFlow scrollFrameBegin offset: ' + offset + ' state: ' + state.toString()) - return { offsetRemain: offset } - }) - .id('UIComponentListAndGridWaterFlowAdd0270011_001'); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0140666.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0140666.ets deleted file mode 100644 index dbc72c65..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0140666.ets +++ /dev/null @@ -1,239 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 20; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= -@Entry -@Component -struct UIComponentListAndGridWaterFlowAdd0140666 { - @State minSize: number = 80 - @State maxSize: number = 180 - @State fontSize: number = 24 - @State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - private itemWidthArray: number[] = [] - private itemHeightArray: number[] = [] - - // 计算FlowItem宽/高 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的宽/高数组 - setItemSizeArray() { - for (let i = 0; i < 100; i++) { - //this.itemWidthArray.push(this.getSize()) - //this.itemHeightArray.push(this.getSize()) - this.itemWidthArray.push(60) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - } - - @Builder - itemFoot() { - Column() { - Text(`Footer`) - .fontSize(10) - .backgroundColor(Color.Red) - .width(50) - .height(50) - .align(Alignment.Center) - .margin({ top: 2 }) - } - } - - build() { - Column({ space: 2 }) { - WaterFlow() { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - Column() { - Text("N" + item).fontSize(12).height('16') - // 存在对应的jpg文件才会显示图片 - Image($r("app.media.waterFlowTest")) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1) - } - } - .onAppear(() => { - // 即将触底时提前增加数据 - if (item + 20 == this.dataSource.totalCount()) { - for (let i = 0; i < 100; i++) { - this.dataSource.addLastItem() - } - } - }) - .width('100%') - .height(this.itemHeightArray[item % 100]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate("1fr 1fr") - .columnsGap(10) - .rowsGap(5) - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .onReachStart(() => { - console.info('waterFlow reach start') - }) - .onScrollStart(() => { - console.info('waterFlow scroll start') - }) - .onScrollStop(() => { - console.info('waterFlow scroll stop') - }) - .onScrollFrameBegin((offset: number, state: ScrollState) => { - console.info('waterFlow scrollFrameBegin offset: ' + offset + ' state: ' + state.toString()) - return { offsetRemain: offset } - }) - .id('UIComponentListAndGridWaterFlowAdd0270011_001'); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0150827.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0150827.ets deleted file mode 100644 index a45ca8ed..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0150827.ets +++ /dev/null @@ -1,230 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 10; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= -@Entry -@Component -struct UIComponentListAndGridWaterFlowAdd0150827 { - @State minSize: number = 80 - @State maxSize: number = 180 - @State fontSize: number = 24 - @State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - private itemWidthArray: number[] = [] - private itemHeightArray: number[] = [] - - // 计算FlowItem宽/高 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的宽/高数组 - setItemSizeArray() { - for (let i = 0; i < 10; i++) { - //this.itemWidthArray.push(this.getSize()) - //this.itemHeightArray.push(this.getSize()) - this.itemWidthArray.push(60) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - } - - @Builder - itemFoot() { - Column() { - Text(`Footer`) - .fontSize(10) - .backgroundColor(Color.Red) - .width(50) - .height(50) - .align(Alignment.Center) - .margin({ top: 2 }) - } - } - - build() { - Column({ space: 2 }) { - WaterFlow() { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - Column() { - Text("N" + item).fontSize(12).height('16') - Image($r("app.media.waterFlowTest")) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1) - } - } - .width('100%') - .height(this.itemHeightArray[item % 10]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate("1fr 1fr") - .columnsGap($r('app.string.width_20')) - .rowsGap(5) - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .onReachStart(() => { - console.info('waterFlow reach start') - }) - .onScrollStart(() => { - console.info('waterFlow scroll start') - }) - .onScrollStop(() => { - console.info('waterFlow scroll stop') - }) - .onScrollFrameBegin((offset: number, state: ScrollState) => { - console.info('waterFlow scrollFrameBegin offset: ' + offset + ' state: ' + state.toString()) - return { offsetRemain: offset } - }) - .id('UIComponentListAndGridWaterFlowAdd0150827_001'); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0160890.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0160890.ets deleted file mode 100644 index 227b4f39..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0160890.ets +++ /dev/null @@ -1,239 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 20; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= -@Entry -@Component -struct UIComponentListAndGridWaterFlowAdd0160890 { - @State minSize: number = 80 - @State maxSize: number = 180 - @State fontSize: number = 24 - @State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - private itemWidthArray: number[] = [] - private itemHeightArray: number[] = [] - - // 计算FlowItem宽/高 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的宽/高数组 - setItemSizeArray() { - for (let i = 0; i < 100; i++) { - //this.itemWidthArray.push(this.getSize()) - //this.itemHeightArray.push(this.getSize()) - this.itemWidthArray.push(60) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - } - - @Builder - itemFoot() { - Column() { - Text(`Footer`) - .fontSize(10) - .backgroundColor(Color.Red) - .width(50) - .height(50) - .align(Alignment.Center) - .margin({ top: 2 }) - } - } - - build() { - Column({ space: 2 }) { - WaterFlow() { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - Column() { - Text("N" + item).fontSize(12).height('16') - // 存在对应的jpg文件才会显示图片 - Image($r("app.media.waterFlowTest")) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1) - } - } - .onAppear(() => { - // 即将触底时提前增加数据 - if (item + 20 == this.dataSource.totalCount()) { - for (let i = 0; i < 100; i++) { - this.dataSource.addLastItem() - } - } - }) - .width('100%') - .height(this.itemHeightArray[item % 100]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate("1fr 1fr") - .columnsGap('5vp') - .rowsGap(5) - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .onReachStart(() => { - console.info('waterFlow reach start') - }) - .onScrollStart(() => { - console.info('waterFlow scroll start') - }) - .onScrollStop(() => { - console.info('waterFlow scroll stop') - }) - .onScrollFrameBegin((offset: number, state: ScrollState) => { - console.info('waterFlow scrollFrameBegin offset: ' + offset + ' state: ' + state.toString()) - return { offsetRemain: offset } - }) - .id('UIComponentListAndGridWaterFlowAdd0270011_001'); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0170444.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0170444.ets deleted file mode 100644 index 09f64e02..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0170444.ets +++ /dev/null @@ -1,230 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 10; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= -@Entry -@Component -struct UIComponentListAndGridWaterFlowAdd0170444 { - @State minSize: number = 80 - @State maxSize: number = 180 - @State fontSize: number = 24 - @State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - private itemWidthArray: number[] = [] - private itemHeightArray: number[] = [] - - // 计算FlowItem宽/高 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的宽/高数组 - setItemSizeArray() { - for (let i = 0; i < 10; i++) { - //this.itemWidthArray.push(this.getSize()) - //this.itemHeightArray.push(this.getSize()) - this.itemWidthArray.push(60) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - } - - @Builder - itemFoot() { - Column() { - Text(`Footer`) - .fontSize(10) - .backgroundColor(Color.Red) - .width(50) - .height(50) - .align(Alignment.Center) - .margin({ top: 2 }) - } - } - - build() { - Column({ space: 2 }) { - WaterFlow() { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - Column() { - Text("N" + item).fontSize(12).height('16') - Image($r("app.media.waterFlowTest")) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1) - } - } - .width('100%') - .height(this.itemHeightArray[item % 10]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate("1fr 1fr") - .columnsGap('abc') - .rowsGap(5) - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .onReachStart(() => { - console.info('waterFlow reach start') - }) - .onScrollStart(() => { - console.info('waterFlow scroll start') - }) - .onScrollStop(() => { - console.info('waterFlow scroll stop') - }) - .onScrollFrameBegin((offset: number, state: ScrollState) => { - console.info('waterFlow scrollFrameBegin offset: ' + offset + ' state: ' + state.toString()) - return { offsetRemain: offset } - }) - .id('UIComponentListAndGridWaterFlowAdd0170444_001'); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0270011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0270011.ets deleted file mode 100644 index 2f3589e4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0270011.ets +++ /dev/null @@ -1,240 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 20; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= -@Entry -@Component -struct UIComponentListAndGridWaterFlowAdd0270011 { - @State minSize: number = 80 - @State maxSize: number = 180 - @State fontSize: number = 24 - @State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - private itemWidthArray: number[] = [] - private itemHeightArray: number[] = [] - - // 计算FlowItem宽/高 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的宽/高数组 - setItemSizeArray() { - for (let i = 0; i < 100; i++) { - //this.itemWidthArray.push(this.getSize()) - //this.itemHeightArray.push(this.getSize()) - this.itemWidthArray.push(60) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - } - - @Builder - itemFoot() { - Column() { - Text(`Footer`) - .fontSize(10) - .backgroundColor(Color.Red) - .width(50) - .height(50) - .align(Alignment.Center) - .margin({ top: 2 }) - } - } - - build() { - Column({ space: 2 }) { - WaterFlow() { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - Column() { - Text("N" + item).fontSize(12).height('16') - // 存在对应的jpg文件才会显示图片 - Image($r("app.media.waterFlowTest")) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1) - } - } - .onAppear(() => { - // 即将触底时提前增加数据 - if (item + 20 == this.dataSource.totalCount()) { - for (let i = 0; i < 100; i++) { - this.dataSource.addLastItem() - } - } - }) - .width('100%') - .height(this.itemHeightArray[item % 100]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate("1fr 1fr") - .columnsGap(10) - .rowsGap(5) - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .itemConstraintSize({minWidth:'0%',maxWidth:'50%',minHeight:'0%',maxHeight:'100%'}) - .onReachStart(() => { - console.info('waterFlow reach start') - }) - .onScrollStart(() => { - console.info('waterFlow scroll start') - }) - .onScrollStop(() => { - console.info('waterFlow scroll stop') - }) - .onScrollFrameBegin((offset: number, state: ScrollState) => { - console.info('waterFlow scrollFrameBegin offset: ' + offset + ' state: ' + state.toString()) - return { offsetRemain: offset } - }) - .id('UIComponentListAndGridWaterFlowAdd0270011_001'); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0280056.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0280056.ets deleted file mode 100644 index 8f3ae95b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0280056.ets +++ /dev/null @@ -1,230 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 10; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= -@Entry -@Component -struct UIComponentListAndGridWaterFlowAdd0280056 { - @State minSize: number = 80 - @State maxSize: number = 180 - @State fontSize: number = 24 - @State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - private itemWidthArray: number[] = [] - private itemHeightArray: number[] = [] - - // 计算FlowItem宽/高 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的宽/高数组 - setItemSizeArray() { - for (let i = 0; i < 10; i++) { - //this.itemWidthArray.push(this.getSize()) - //this.itemHeightArray.push(this.getSize()) - this.itemWidthArray.push(60) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - } - - @Builder - itemFoot() { - Column() { - Text(`Footer`) - .fontSize(10) - .backgroundColor(Color.Red) - .width(50) - .height(50) - .align(Alignment.Center) - .margin({ top: 2 }) - } - } - - build() { - Column({ space: 2 }) { - WaterFlow() { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - Column() { - Text("N" + item).fontSize(12).height('16') - Image($r("app.media.waterFlowTest")) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1) - } - } - .width('100%') - .height(this.itemHeightArray[item % 10]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate("1fr 1fr") - .columnsGap('abc') - .rowsGap('') - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .onReachStart(() => { - console.info('waterFlow reach start') - }) - .onScrollStart(() => { - console.info('waterFlow scroll start') - }) - .onScrollStop(() => { - console.info('waterFlow scroll stop') - }) - .onScrollFrameBegin((offset: number, state: ScrollState) => { - console.info('waterFlow scrollFrameBegin offset: ' + offset + ' state: ' + state.toString()) - return { offsetRemain: offset } - }) - .id('UIComponentListAndGridWaterFlowAdd0280056_001'); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0290223.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0290223.ets deleted file mode 100644 index 57622af0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0290223.ets +++ /dev/null @@ -1,230 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 10; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= -@Entry -@Component -struct UIComponentListAndGridWaterFlowAdd0290223 { - @State minSize: number = 80 - @State maxSize: number = 180 - @State fontSize: number = 24 - @State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - private itemWidthArray: number[] = [] - private itemHeightArray: number[] = [] - - // 计算FlowItem宽/高 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的宽/高数组 - setItemSizeArray() { - for (let i = 0; i < 10; i++) { - //this.itemWidthArray.push(this.getSize()) - //this.itemHeightArray.push(this.getSize()) - this.itemWidthArray.push(60) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - } - - @Builder - itemFoot() { - Column() { - Text(`Footer`) - .fontSize(10) - .backgroundColor(Color.Red) - .width(50) - .height(50) - .align(Alignment.Center) - .margin({ top: 2 }) - } - } - - build() { - Column({ space: 2 }) { - WaterFlow() { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - Column() { - Text("N" + item).fontSize(12).height('16') - Image($r("app.media.waterFlowTest")) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1) - } - } - .width('100%') - .height(this.itemHeightArray[item % 10]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate("1fr 1fr") - .columnsGap('abc') - .rowsGap(10) - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .onReachStart(() => { - console.info('waterFlow reach start') - }) - .onScrollStart(() => { - console.info('waterFlow scroll start') - }) - .onScrollStop(() => { - console.info('waterFlow scroll stop') - }) - .onScrollFrameBegin((offset: number, state: ScrollState) => { - console.info('waterFlow scrollFrameBegin offset: ' + offset + ' state: ' + state.toString()) - return { offsetRemain: offset } - }) - .id('UIComponentListAndGridWaterFlowAdd0290223_001'); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0300414.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0300414.ets deleted file mode 100644 index f46d210a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0300414.ets +++ /dev/null @@ -1,230 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 10; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= -@Entry -@Component -struct UIComponentListAndGridWaterFlowAdd0300414 { - @State minSize: number = 80 - @State maxSize: number = 180 - @State fontSize: number = 24 - @State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - private itemWidthArray: number[] = [] - private itemHeightArray: number[] = [] - - // 计算FlowItem宽/高 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的宽/高数组 - setItemSizeArray() { - for (let i = 0; i < 10; i++) { - //this.itemWidthArray.push(this.getSize()) - //this.itemHeightArray.push(this.getSize()) - this.itemWidthArray.push(60) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - } - - @Builder - itemFoot() { - Column() { - Text(`Footer`) - .fontSize(10) - .backgroundColor(Color.Red) - .width(50) - .height(50) - .align(Alignment.Center) - .margin({ top: 2 }) - } - } - - build() { - Column({ space: 2 }) { - WaterFlow() { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - Column() { - Text("N" + item).fontSize(12).height('16') - Image($r("app.media.waterFlowTest")) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1) - } - } - .width('100%') - .height(this.itemHeightArray[item % 10]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate("1fr 1fr") - .columnsGap('abc') - .rowsGap($r('app.string.height_20')) - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .onReachStart(() => { - console.info('waterFlow reach start') - }) - .onScrollStart(() => { - console.info('waterFlow scroll start') - }) - .onScrollStop(() => { - console.info('waterFlow scroll stop') - }) - .onScrollFrameBegin((offset: number, state: ScrollState) => { - console.info('waterFlow scrollFrameBegin offset: ' + offset + ' state: ' + state.toString()) - return { offsetRemain: offset } - }) - .id('UIComponentListAndGridWaterFlowAdd0300414_001'); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0310330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0310330.ets deleted file mode 100644 index d5990378..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0310330.ets +++ /dev/null @@ -1,230 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 10; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= -@Entry -@Component -struct UIComponentListAndGridWaterFlowAdd0310330 { - @State minSize: number = 80 - @State maxSize: number = 180 - @State fontSize: number = 24 - @State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - private itemWidthArray: number[] = [] - private itemHeightArray: number[] = [] - - // 计算FlowItem宽/高 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的宽/高数组 - setItemSizeArray() { - for (let i = 0; i < 10; i++) { - //this.itemWidthArray.push(this.getSize()) - //this.itemHeightArray.push(this.getSize()) - this.itemWidthArray.push(60) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - } - - @Builder - itemFoot() { - Column() { - Text(`Footer`) - .fontSize(10) - .backgroundColor(Color.Red) - .width(50) - .height(50) - .align(Alignment.Center) - .margin({ top: 2 }) - } - } - - build() { - Column({ space: 2 }) { - WaterFlow() { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - Column() { - Text("N" + item).fontSize(12).height('16') - Image($r("app.media.waterFlowTest")) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1) - } - } - .width('100%') - .height(this.itemHeightArray[item % 10]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate("1fr 1fr") - .columnsGap('abc') - .rowsGap('5vp') - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .onReachStart(() => { - console.info('waterFlow reach start') - }) - .onScrollStart(() => { - console.info('waterFlow scroll start') - }) - .onScrollStop(() => { - console.info('waterFlow scroll stop') - }) - .onScrollFrameBegin((offset: number, state: ScrollState) => { - console.info('waterFlow scrollFrameBegin offset: ' + offset + ' state: ' + state.toString()) - return { offsetRemain: offset } - }) - .id('UIComponentListAndGridWaterFlowAdd0310330_001'); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0320534.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0320534.ets deleted file mode 100644 index 9d8f77cc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0320534.ets +++ /dev/null @@ -1,230 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 10; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= -@Entry -@Component -struct UIComponentListAndGridWaterFlowAdd0320534 { - @State minSize: number = 80 - @State maxSize: number = 180 - @State fontSize: number = 24 - @State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - private itemWidthArray: number[] = [] - private itemHeightArray: number[] = [] - - // 计算FlowItem宽/高 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的宽/高数组 - setItemSizeArray() { - for (let i = 0; i < 10; i++) { - //this.itemWidthArray.push(this.getSize()) - //this.itemHeightArray.push(this.getSize()) - this.itemWidthArray.push(60) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - } - - @Builder - itemFoot() { - Column() { - Text(`Footer`) - .fontSize(10) - .backgroundColor(Color.Red) - .width(50) - .height(50) - .align(Alignment.Center) - .margin({ top: 2 }) - } - } - - build() { - Column({ space: 2 }) { - WaterFlow() { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - Column() { - Text("N" + item).fontSize(12).height('16') - Image($r("app.media.waterFlowTest")) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1) - } - } - .width('100%') - .height(this.itemHeightArray[item % 10]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate("1fr 1fr") - .columnsGap('abc') - .rowsGap('abc') - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .onReachStart(() => { - console.info('waterFlow reach start') - }) - .onScrollStart(() => { - console.info('waterFlow scroll start') - }) - .onScrollStop(() => { - console.info('waterFlow scroll stop') - }) - .onScrollFrameBegin((offset: number, state: ScrollState) => { - console.info('waterFlow scrollFrameBegin offset: ' + offset + ' state: ' + state.toString()) - return { offsetRemain: offset } - }) - .id('UIComponentListAndGridWaterFlowAdd0320534_001'); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0370.ets deleted file mode 100644 index 0f41441a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0370.ets +++ /dev/null @@ -1,287 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 10; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= - -@Reusable -@Component -struct ReusableFlowItem { - @State item: number = 0 - - // 从复用缓存中加入到组件树之前调用,可在此处更新组件的状态变量以展示正确的内容 - aboutToReuse(params: Record) { - this.item = params.item; - console.info('Reuse item:' + this.item) - } - - aboutToAppear() { - console.info('new item:' + this.item) - } - - build() { - /* Image($r("app.media.waterFlowTest")) - .overlay('N' + this.item, { align: Alignment.Top }) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1)*/ - } -} - -@Entry -@Component -struct UIComponentListAndGridWaterSections0370 { - minSize: number = 80 - maxSize: number = 180 - fontSize: number = 24 - colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - dataCount: number = this.dataSource.totalCount() - private itemHeightArray: number[] = [] - @State sections: WaterFlowSections = new WaterFlowSections() - @State newCrossCount: number = 3 - sectionMargin: Margin = { top: 10, left: 5, bottom: 10, right: 5 } - oneColumnSection: SectionOptions = { - itemsCount: 4, - crossCount: 2, - columnsGap: '5vp', - rowsGap: 10, - margin: this.sectionMargin, - onGetItemMainSizeByIndex: (index: number) => { - return this.itemHeightArray[index % 100] - } - } - twoColumnSection: SectionOptions = { - itemsCount: 6, - crossCount: 2, - rowsGap: 5, - onGetItemMainSizeByIndex: (index: number) => { - return 10 - } - } - - // 计算FlowItem高度 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的高度数组 - setItemSizeArray() { - for (let i = 0; i < 10; i++) { - //this.itemHeightArray.push(this.getSize()) - this.itemHeightArray.push(100) - - } - } - - aboutToAppear() { - this.setItemSizeArray() - // 初始化瀑布流分组信息 - let sectionOptions: SectionOptions[] = [] - let count = 0 - let oneOrTwo = 0 - while (count < this.dataCount) { - if (oneOrTwo++ % 2 == 0) { - sectionOptions.push(this.oneColumnSection) - count += this.oneColumnSection.itemsCount - } else { - sectionOptions.push(this.twoColumnSection) - count += this.twoColumnSection.itemsCount - } - } - this.sections.splice(0, 0, sectionOptions) - } - - build() { - Column({ space: 2 }) { - Row() { - Button('push') - .height('5%') - .onClick(() => { - let newSection: SectionOptions = { - itemsCount: 6, - crossCount: this.newCrossCount, - columnsGap: 15, - rowsGap: 10, - margin: this.sectionMargin, - onGetItemMainSizeByIndex: (index: number) => { - return this.itemHeightArray[index % 10] - } - } - this.dataSource.addItem(this.oneColumnSection.itemsCount) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 1) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 2) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 3) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 5) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 6) - const result: boolean = this.sections.push(newSection) - }) - .id('UIComponentListAndGridWaterSections0370_001'); - Button('改变crossCount') - .height('5%') - .onClick(() => { - this.newCrossCount = this.newCrossCount+1 - }).id('UIComponentListAndGridWaterSections0370_002'); - }.margin({ bottom: 20 }) - - WaterFlow({ scroller: this.scroller, sections: this.sections }) { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - ReusableFlowItem({ item: item }) - } - .width('100%') - // 以onGetItemMainSizeByIndex为准 - // .height(this.itemHeightArray[item % 100]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .columnsGap(10) - .rowsGap(5) - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .layoutWeight(1) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0380.ets deleted file mode 100644 index 1ecfd41b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0380.ets +++ /dev/null @@ -1,286 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 10; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= - -@Reusable -@Component -struct ReusableFlowItem { - @State item: number = 0 - - // 从复用缓存中加入到组件树之前调用,可在此处更新组件的状态变量以展示正确的内容 - aboutToReuse(params: Record) { - this.item = params.item; - console.info('Reuse item:' + this.item) - } - - aboutToAppear() { - console.info('new item:' + this.item) - } - - build() { - /* Image($r("app.media.waterFlowTest")) - .overlay('N' + this.item, { align: Alignment.Top }) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1)*/ - } -} - -@Entry -@Component -struct UIComponentListAndGridWaterSections0380 { - minSize: number = 80 - maxSize: number = 180 - fontSize: number = 24 - colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - dataCount: number = this.dataSource.totalCount() - private itemHeightArray: number[] = [] - @State sections: WaterFlowSections = new WaterFlowSections() - @State newColumnsGap: number = 15 - sectionMargin: Margin = { top: 10, left: 5, bottom: 10, right: 5 } - oneColumnSection: SectionOptions = { - itemsCount: 4, - crossCount: 2, - columnsGap: '5vp', - rowsGap: 10, - margin: this.sectionMargin, - onGetItemMainSizeByIndex: (index: number) => { - return this.itemHeightArray[index % 100] - } - } - twoColumnSection: SectionOptions = { - itemsCount: 6, - crossCount: 2, - rowsGap: 5, - onGetItemMainSizeByIndex: (index: number) => { - return 10 - } - } - - // 计算FlowItem高度 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的高度数组 - setItemSizeArray() { - for (let i = 0; i < 10; i++) { - //this.itemHeightArray.push(this.getSize()) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - // 初始化瀑布流分组信息 - let sectionOptions: SectionOptions[] = [] - let count = 0 - let oneOrTwo = 0 - while (count < this.dataCount) { - if (oneOrTwo++ % 2 == 0) { - sectionOptions.push(this.oneColumnSection) - count += this.oneColumnSection.itemsCount - } else { - sectionOptions.push(this.twoColumnSection) - count += this.twoColumnSection.itemsCount - } - } - this.sections.splice(0, 0, sectionOptions) - } - - build() { - Column({ space: 2 }) { - Row() { - Button('push') - .height('5%') - .onClick(() => { - let newSection: SectionOptions = { - itemsCount: 6, - crossCount: 3, - columnsGap: this.newColumnsGap, - rowsGap: 10, - margin: this.sectionMargin, - onGetItemMainSizeByIndex: (index: number) => { - return this.itemHeightArray[index % 10] - } - } - this.dataSource.addItem(this.oneColumnSection.itemsCount) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 1) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 2) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 3) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 5) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 6) - const result: boolean = this.sections.push(newSection) - }) - .id('UIComponentListAndGridWaterSections0380_001'); - Button('改变ColumnsGap') - .height('5%') - .onClick(() => { - this.newColumnsGap = this.newColumnsGap+10 - }).id('UIComponentListAndGridWaterSections0380_002'); - }.margin({ bottom: 20 }) - - WaterFlow({ scroller: this.scroller, sections: this.sections }) { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - ReusableFlowItem({ item: item }) - } - .width('100%') - // 以onGetItemMainSizeByIndex为准 - // .height(this.itemHeightArray[item % 100]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .columnsGap(10) - .rowsGap(5) - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .layoutWeight(1) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0390.ets deleted file mode 100644 index 5288f7e0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0390.ets +++ /dev/null @@ -1,286 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 10; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= - -@Reusable -@Component -struct ReusableFlowItem { - @State item: number = 0 - - // 从复用缓存中加入到组件树之前调用,可在此处更新组件的状态变量以展示正确的内容 - aboutToReuse(params: Record) { - this.item = params.item; - console.info('Reuse item:' + this.item) - } - - aboutToAppear() { - console.info('new item:' + this.item) - } - - build() { - /* Image($r("app.media.waterFlowTest")) - .overlay('N' + this.item, { align: Alignment.Top }) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1)*/ - } -} - -@Entry -@Component -struct UIComponentListAndGridWaterSections0390 { - minSize: number = 80 - maxSize: number = 180 - fontSize: number = 24 - colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - dataCount: number = this.dataSource.totalCount() - private itemHeightArray: number[] = [] - @State sections: WaterFlowSections = new WaterFlowSections() - @State newItemsCount: number = 6 - sectionMargin: Margin = { top: 10, left: 5, bottom: 10, right: 5 } - oneColumnSection: SectionOptions = { - itemsCount: 4, - crossCount: 2, - columnsGap: '5vp', - rowsGap: 10, - margin: this.sectionMargin, - onGetItemMainSizeByIndex: (index: number) => { - return this.itemHeightArray[index % 100] - } - } - twoColumnSection: SectionOptions = { - itemsCount: 6, - crossCount: 2, - rowsGap: 5, - onGetItemMainSizeByIndex: (index: number) => { - return 10 - } - } - - // 计算FlowItem高度 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的高度数组 - setItemSizeArray() { - for (let i = 0; i < 10; i++) { - //this.itemHeightArray.push(this.getSize()) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - // 初始化瀑布流分组信息 - let sectionOptions: SectionOptions[] = [] - let count = 0 - let oneOrTwo = 0 - while (count < this.dataCount) { - if (oneOrTwo++ % 2 == 0) { - sectionOptions.push(this.oneColumnSection) - count += this.oneColumnSection.itemsCount - } else { - sectionOptions.push(this.twoColumnSection) - count += this.twoColumnSection.itemsCount - } - } - this.sections.splice(0, 0, sectionOptions) - } - - build() { - Column({ space: 2 }) { - Row() { - Button('push') - .height('5%') - .onClick(() => { - let newSection: SectionOptions = { - itemsCount: this.newItemsCount, - crossCount: 3, - columnsGap: 15, - rowsGap: 10, - margin: this.sectionMargin, - onGetItemMainSizeByIndex: (index: number) => { - return this.itemHeightArray[index % 10] - } - } - this.dataSource.addItem(this.oneColumnSection.itemsCount) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 1) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 2) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 3) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 5) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 6) - const result: boolean = this.sections.push(newSection) - }) - .id('UIComponentListAndGridWaterSections0390_001'); - Button('改变itemsCount') - .height('5%') - .onClick(() => { - this.newItemsCount = this.newItemsCount+1 - }).id('UIComponentListAndGridWaterSections0390_002'); - }.margin({ bottom: 20 }) - - WaterFlow({ scroller: this.scroller, sections: this.sections }) { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - ReusableFlowItem({ item: item }) - } - .width('100%') - // 以onGetItemMainSizeByIndex为准 - // .height(this.itemHeightArray[item % 100]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .columnsGap(10) - .rowsGap(5) - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .layoutWeight(1) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0400.ets deleted file mode 100644 index 2a80a15f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0400.ets +++ /dev/null @@ -1,286 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 10; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= - -@Reusable -@Component -struct ReusableFlowItem { - @State item: number = 0 - - // 从复用缓存中加入到组件树之前调用,可在此处更新组件的状态变量以展示正确的内容 - aboutToReuse(params: Record) { - this.item = params.item; - console.info('Reuse item:' + this.item) - } - - aboutToAppear() { - console.info('new item:' + this.item) - } - - build() { - /* Image($r("app.media.waterFlowTest")) - .overlay('N' + this.item, { align: Alignment.Top }) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1)*/ - } -} - -@Entry -@Component -struct UIComponentListAndGridWaterSections0400 { - minSize: number = 80 - maxSize: number = 180 - fontSize: number = 24 - colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - dataCount: number = this.dataSource.totalCount() - private itemHeightArray: number[] = [] - @State sections: WaterFlowSections = new WaterFlowSections() - @State newRowsGap: number = 10 - sectionMargin: Margin = { top: 10, left: 5, bottom: 10, right: 5 } - oneColumnSection: SectionOptions = { - itemsCount: 4, - crossCount: 2, - columnsGap: '5vp', - rowsGap: 10, - margin: this.sectionMargin, - onGetItemMainSizeByIndex: (index: number) => { - return this.itemHeightArray[index % 100] - } - } - twoColumnSection: SectionOptions = { - itemsCount: 6, - crossCount: 2, - rowsGap: 5, - onGetItemMainSizeByIndex: (index: number) => { - return 10 - } - } - - // 计算FlowItem高度 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的高度数组 - setItemSizeArray() { - for (let i = 0; i < 10; i++) { - //this.itemHeightArray.push(this.getSize()) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - // 初始化瀑布流分组信息 - let sectionOptions: SectionOptions[] = [] - let count = 0 - let oneOrTwo = 0 - while (count < this.dataCount) { - if (oneOrTwo++ % 2 == 0) { - sectionOptions.push(this.oneColumnSection) - count += this.oneColumnSection.itemsCount - } else { - sectionOptions.push(this.twoColumnSection) - count += this.twoColumnSection.itemsCount - } - } - this.sections.splice(0, 0, sectionOptions) - } - - build() { - Column({ space: 2 }) { - Row() { - Button('push') - .height('5%') - .onClick(() => { - let newSection: SectionOptions = { - itemsCount: 6, - crossCount: 3, - columnsGap: 15, - rowsGap: this.newRowsGap, - margin: this.sectionMargin, - onGetItemMainSizeByIndex: (index: number) => { - return this.itemHeightArray[index % 10] - } - } - this.dataSource.addItem(this.oneColumnSection.itemsCount) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 1) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 2) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 3) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 5) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 6) - const result: boolean = this.sections.push(newSection) - }) - .id('UIComponentListAndGridWaterSections0400_001'); - Button('改变rowsGap') - .height('5%') - .onClick(() => { - this.newRowsGap = this.newRowsGap + 10 - }).id('UIComponentListAndGridWaterSections0400_002'); - }.margin({ bottom: 20 }) - - WaterFlow({ scroller: this.scroller, sections: this.sections }) { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - ReusableFlowItem({ item: item }) - } - .width('100%') - // 以onGetItemMainSizeByIndex为准 - // .height(this.itemHeightArray[item % 100]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .columnsGap(10) - .rowsGap(5) - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .layoutWeight(1) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0410.ets deleted file mode 100644 index 439beee8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0410.ets +++ /dev/null @@ -1,285 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 10; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= - -@Reusable -@Component -struct ReusableFlowItem { - @State item: number = 0 - - // 从复用缓存中加入到组件树之前调用,可在此处更新组件的状态变量以展示正确的内容 - aboutToReuse(params: Record) { - this.item = params.item; - console.info('Reuse item:' + this.item) - } - - aboutToAppear() { - console.info('new item:' + this.item) - } - - build() { - /* Image($r("app.media.waterFlowTest")) - .overlay('N' + this.item, { align: Alignment.Top }) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1)*/ - } -} - -@Entry -@Component -struct UIComponentListAndGridWaterSections0410 { - minSize: number = 80 - maxSize: number = 180 - fontSize: number = 24 - colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - dataCount: number = this.dataSource.totalCount() - private itemHeightArray: number[] = [] - @State sections: WaterFlowSections = new WaterFlowSections() - sectionMargin: Margin = { top: 10, left: 5, bottom: 10, right: 5 } - oneColumnSection: SectionOptions = { - itemsCount: 4, - crossCount: 2, - columnsGap: '5vp', - rowsGap: 10, - margin: this.sectionMargin, - onGetItemMainSizeByIndex: (index: number) => { - return this.itemHeightArray[index % 100] - } - } - twoColumnSection: SectionOptions = { - itemsCount: 6, - crossCount: 2, - rowsGap: 5, - onGetItemMainSizeByIndex: (index: number) => { - return 10 - } - } - - // 计算FlowItem高度 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的高度数组 - setItemSizeArray() { - for (let i = 0; i < 10; i++) { - //this.itemHeightArray.push(this.getSize()) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - // 初始化瀑布流分组信息 - let sectionOptions: SectionOptions[] = [] - let count = 0 - let oneOrTwo = 0 - while (count < this.dataCount) { - if (oneOrTwo++ % 2 == 0) { - sectionOptions.push(this.oneColumnSection) - count += this.oneColumnSection.itemsCount - } else { - sectionOptions.push(this.twoColumnSection) - count += this.twoColumnSection.itemsCount - } - } - this.sections.splice(0, 0, sectionOptions) - } - - build() { - Column({ space: 2 }) { - Row() { - Button('push') - .height('5%') - .onClick(() => { - let newSection: SectionOptions = { - itemsCount: 6, - crossCount: 3, - columnsGap: 15, - rowsGap: 10, - margin: this.sectionMargin, - onGetItemMainSizeByIndex: (index: number) => { - return this.itemHeightArray[index % 10] - } - } - this.dataSource.addItem(this.oneColumnSection.itemsCount) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 1) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 2) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 3) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 5) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 6) - const result: boolean = this.sections.push(newSection) - }) - .id('UIComponentListAndGridWaterSections0410_001'); - Button('改变Margin') - .height('5%') - .onClick(() => { - this.sectionMargin = { top: 20, left: 10, bottom: 20, right: 10 } - }).id('UIComponentListAndGridWaterSections0410_002'); - }.margin({ bottom: 20 }) - - WaterFlow({ scroller: this.scroller, sections: this.sections }) { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - ReusableFlowItem({ item: item }) - } - .width('100%') - // 以onGetItemMainSizeByIndex为准 - // .height(this.itemHeightArray[item % 100]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .columnsGap(10) - .rowsGap(5) - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .layoutWeight(1) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0420.ets deleted file mode 100644 index dccde5cb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0420.ets +++ /dev/null @@ -1,290 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 10; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= - -@Reusable -@Component -struct ReusableFlowItem { - @State item: number = 0 - - // 从复用缓存中加入到组件树之前调用,可在此处更新组件的状态变量以展示正确的内容 - aboutToReuse(params: Record) { - this.item = params.item; - console.info('Reuse item:' + this.item) - } - - aboutToAppear() { - console.info('new item:' + this.item) - } - - build() { - /* Image($r("app.media.waterFlowTest")) - .overlay('N' + this.item, { align: Alignment.Top }) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1)*/ - } -} - -@Entry -@Component -struct UIComponentListAndGridWaterSections0420 { - minSize: number = 80 - maxSize: number = 180 - fontSize: number = 24 - colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - dataCount: number = this.dataSource.totalCount() - private itemHeightArray: number[] = [] - @State sections: WaterFlowSections = new WaterFlowSections() - sectionMargin: Margin = { top: 10, left: 5, bottom: 10, right: 5 } - oneColumnSection: SectionOptions = { - itemsCount: 4, - crossCount: 2, - columnsGap: '5vp', - rowsGap: 10, - margin: this.sectionMargin, - onGetItemMainSizeByIndex: (index: number) => { - return this.itemHeightArray[index % 100] - } - } - twoColumnSection: SectionOptions = { - itemsCount: 6, - crossCount: 2, - rowsGap: 5, - onGetItemMainSizeByIndex: (index: number) => { - return 10 - } - } - - // 计算FlowItem高度 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的高度数组 - setItemSizeArray() { - for (let i = 0; i < 10; i++) { - //this.itemHeightArray.push(this.getSize()) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - // 初始化瀑布流分组信息 - let sectionOptions: SectionOptions[] = [] - let count = 0 - let oneOrTwo = 0 - while (count < this.dataCount) { - if (oneOrTwo++ % 2 == 0) { - sectionOptions.push(this.oneColumnSection) - count += this.oneColumnSection.itemsCount - } else { - sectionOptions.push(this.twoColumnSection) - count += this.twoColumnSection.itemsCount - } - } - this.sections.splice(0, 0, sectionOptions) - } - - build() { - Column({ space: 2 }) { - Row() { - Button('push') - .height('5%') - .onClick(() => { - let newSection: SectionOptions = { - itemsCount: 6, - crossCount: 3, - columnsGap: 15, - rowsGap: 10, - margin: this.sectionMargin, - onGetItemMainSizeByIndex: (index: number) => { - return this.itemHeightArray[index % 10] - } - } - this.dataSource.addItem(this.oneColumnSection.itemsCount) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 1) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 2) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 3) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 5) - this.dataSource.addItem(this.oneColumnSection.itemsCount + 6) - for (let i = 10; i < 16; i++) { - this.itemHeightArray.push(this.getSize()) - } - const result: boolean = this.sections.push(newSection) - }) - .id('UIComponentListAndGridWaterSections0420_001'); - Button('改变itemHeigh') - .height('5%') - .onClick(() => { - for (let i = 0; i < 16; i++) { - this.itemHeightArray.push(30) - } - }).id('UIComponentListAndGridWaterSections0420_002'); - }.margin({ bottom: 20 }) - - WaterFlow({ scroller: this.scroller, sections: this.sections }) { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - ReusableFlowItem({ item: item }) - } - .width('100%') - // 以onGetItemMainSizeByIndex为准 - // .height(this.itemHeightArray[item % 100]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .columnsGap(10) - .rowsGap(5) - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .layoutWeight(1) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0500.ets deleted file mode 100644 index 673aaef1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0500.ets +++ /dev/null @@ -1,254 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 10; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= - -@Reusable -@Component -struct ReusableFlowItem { - @State item: number = 0 - - // 从复用缓存中加入到组件树之前调用,可在此处更新组件的状态变量以展示正确的内容 - aboutToReuse(params: Record) { - this.item = params.item; - console.info('Reuse item:' + this.item) - } - - aboutToAppear() { - console.info('new item:' + this.item) - } - - build() { - /* Image($r("app.media.waterFlowTest")) - .overlay('N' + this.item, { align: Alignment.Top }) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1)*/ - } -} - -@Entry -@Component -struct UIComponentListAndGridWaterSections0500 { - minSize: number = 80 - maxSize: number = 180 - fontSize: number = 24 - colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - dataCount: number = this.dataSource.totalCount() - private itemHeightArray: number[] = [] - @State sections: WaterFlowSections = new WaterFlowSections() - sectionMargin: Margin = { top: 10, left: 5, bottom: 10, right: 5 } - oneColumnSection: SectionOptions = { - itemsCount: 4, - columnsGap: '5vp', - rowsGap: 10, - margin: this.sectionMargin, - onGetItemMainSizeByIndex: (index: number) => { - return this.itemHeightArray[index % 100] - } - } - twoColumnSection: SectionOptions = { - itemsCount: 6, - rowsGap: 5, - onGetItemMainSizeByIndex: (index: number) => { - return 10 - } - } - - // 计算FlowItem高度 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的高度数组 - setItemSizeArray() { - for (let i = 0; i < 10; i++) { - //this.itemHeightArray.push(this.getSize()) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - // 初始化瀑布流分组信息 - let sectionOptions: SectionOptions[] = [] - let count = 0 - let oneOrTwo = 0 - while (count < this.dataCount) { - if (oneOrTwo++ % 2 == 0) { - sectionOptions.push(this.oneColumnSection) - count += this.oneColumnSection.itemsCount - } else { - sectionOptions.push(this.twoColumnSection) - count += this.twoColumnSection.itemsCount - } - } - this.sections.splice(0, 0, sectionOptions) - } - - build() { - Column({ space: 2 }) { - - WaterFlow({ scroller: this.scroller, sections: this.sections }) { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - ReusableFlowItem({ item: item }) - } - .width('100%') - // 以onGetItemMainSizeByIndex为准 - // .height(this.itemHeightArray[item % 100]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .columnsGap(10) - .rowsGap(5) - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .layoutWeight(1) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0510.ets deleted file mode 100644 index 149782f8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0510.ets +++ /dev/null @@ -1,255 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 10; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= - -@Reusable -@Component -struct ReusableFlowItem { - @State item: number = 0 - - // 从复用缓存中加入到组件树之前调用,可在此处更新组件的状态变量以展示正确的内容 - aboutToReuse(params: Record) { - this.item = params.item; - console.info('Reuse item:' + this.item) - } - - aboutToAppear() { - console.info('new item:' + this.item) - } - - build() { - /* Image($r("app.media.waterFlowTest")) - .overlay('N' + this.item, { align: Alignment.Top }) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1)*/ - } -} - -@Entry -@Component -struct UIComponentListAndGridWaterSections0510 { - minSize: number = 80 - maxSize: number = 180 - fontSize: number = 24 - colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - dataCount: number = this.dataSource.totalCount() - private itemHeightArray: number[] = [] - @State sections: WaterFlowSections = new WaterFlowSections() - sectionMargin: Margin = { top: 10, left: 5, bottom: 10, right: 5 } - oneColumnSection: SectionOptions = { - itemsCount: 4, - crossCount:2, - rowsGap: 10, - margin: this.sectionMargin, - onGetItemMainSizeByIndex: (index: number) => { - return this.itemHeightArray[index % 100] - } - } - twoColumnSection: SectionOptions = { - itemsCount: 6, - crossCount:2, - rowsGap: 5, - onGetItemMainSizeByIndex: (index: number) => { - return 10 - } - } - - // 计算FlowItem高度 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的高度数组 - setItemSizeArray() { - for (let i = 0; i < 10; i++) { - //this.itemHeightArray.push(this.getSize()) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - // 初始化瀑布流分组信息 - let sectionOptions: SectionOptions[] = [] - let count = 0 - let oneOrTwo = 0 - while (count < this.dataCount) { - if (oneOrTwo++ % 2 == 0) { - sectionOptions.push(this.oneColumnSection) - count += this.oneColumnSection.itemsCount - } else { - sectionOptions.push(this.twoColumnSection) - count += this.twoColumnSection.itemsCount - } - } - this.sections.splice(0, 0, sectionOptions) - } - - build() { - Column({ space: 2 }) { - - WaterFlow({ scroller: this.scroller, sections: this.sections }) { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - ReusableFlowItem({ item: item }) - } - .width('100%') - // 以onGetItemMainSizeByIndex为准 - // .height(this.itemHeightArray[item % 100]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .columnsGap(20) - .rowsGap(5) - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .layoutWeight(1) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0520.ets deleted file mode 100644 index 30f972ba..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0520.ets +++ /dev/null @@ -1,252 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 10; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= - -@Reusable -@Component -struct ReusableFlowItem { - @State item: number = 0 - - // 从复用缓存中加入到组件树之前调用,可在此处更新组件的状态变量以展示正确的内容 - aboutToReuse(params: Record) { - this.item = params.item; - console.info('Reuse item:' + this.item) - } - - aboutToAppear() { - console.info('new item:' + this.item) - } - - build() { - /* Image($r("app.media.waterFlowTest")) - .overlay('N' + this.item, { align: Alignment.Top }) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1)*/ - } -} - -@Entry -@Component -struct UIComponentListAndGridWaterSections0520 { - minSize: number = 80 - maxSize: number = 180 - fontSize: number = 24 - colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - dataCount: number = this.dataSource.totalCount() - private itemHeightArray: number[] = [] - @State sections: WaterFlowSections = new WaterFlowSections() - sectionMargin: Margin = { top: 10, left: 5, bottom: 10, right: 5 } - oneColumnSection: SectionOptions = { - itemsCount: 4, - crossCount:2, - margin: this.sectionMargin, - onGetItemMainSizeByIndex: (index: number) => { - return this.itemHeightArray[index % 100] - } - } - twoColumnSection: SectionOptions = { - itemsCount: 6, - crossCount:2, - onGetItemMainSizeByIndex: (index: number) => { - return 10 - } - } - - // 计算FlowItem高度 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的高度数组 - setItemSizeArray() { - for (let i = 0; i < 10; i++) { - //this.itemHeightArray.push(this.getSize()) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - // 初始化瀑布流分组信息 - let sectionOptions: SectionOptions[] = [] - let count = 0 - let oneOrTwo = 0 - while (count < this.dataCount) { - if (oneOrTwo++ % 2 == 0) { - sectionOptions.push(this.oneColumnSection) - count += this.oneColumnSection.itemsCount - } else { - sectionOptions.push(this.twoColumnSection) - count += this.twoColumnSection.itemsCount - } - } - this.sections.splice(0, 0, sectionOptions) - } - - build() { - Column({ space: 2 }) { - - WaterFlow({ scroller: this.scroller, sections: this.sections }) { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - ReusableFlowItem({ item: item }) - } - .width('100%') - // 以onGetItemMainSizeByIndex为准 - // .height(this.itemHeightArray[item % 100]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .rowsGap(20) - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .layoutWeight(1) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0530.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0530.ets deleted file mode 100644 index d18fcd31..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0530.ets +++ /dev/null @@ -1,252 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 10; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= - -@Reusable -@Component -struct ReusableFlowItem { - @State item: number = 0 - - // 从复用缓存中加入到组件树之前调用,可在此处更新组件的状态变量以展示正确的内容 - aboutToReuse(params: Record) { - this.item = params.item; - console.info('Reuse item:' + this.item) - } - - aboutToAppear() { - console.info('new item:' + this.item) - } - - build() { - /* Image($r("app.media.waterFlowTest")) - .overlay('N' + this.item, { align: Alignment.Top }) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1)*/ - } -} - -@Entry -@Component -struct UIComponentListAndGridWaterSections0530 { - minSize: number = 80 - maxSize: number = 180 - fontSize: number = 24 - colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - dataCount: number = this.dataSource.totalCount() - private itemHeightArray: number[] = [] - @State sections: WaterFlowSections = new WaterFlowSections() - sectionMargin: Margin = { top: 0, left: 0, bottom: 0, right: 0 } - oneColumnSection: SectionOptions = { - itemsCount: 5, - crossCount:2, - onGetItemMainSizeByIndex: (index: number) => { - return 50; - } - } - twoColumnSection: SectionOptions = { - itemsCount: 5, - crossCount:2, - margin:this.sectionMargin, - onGetItemMainSizeByIndex: (index: number) => { - return 50; - } - } - - // 计算FlowItem高度 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的高度数组 - setItemSizeArray() { - for (let i = 0; i < 10; i++) { - //this.itemHeightArray.push(this.getSize()) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - // 初始化瀑布流分组信息 - let sectionOptions: SectionOptions[] = [] - let count = 0 - let oneOrTwo = 0 - while (count < this.dataCount) { - if (oneOrTwo++ % 2 == 0) { - sectionOptions.push(this.oneColumnSection) - count += this.oneColumnSection.itemsCount - } else { - sectionOptions.push(this.twoColumnSection) - count += this.twoColumnSection.itemsCount - } - } - this.sections.splice(0, 0, sectionOptions) - } - - build() { - Column({ space: 2 }) { - - WaterFlow({ scroller: this.scroller, sections: this.sections }) { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - ReusableFlowItem({ item: item }) - } - .width('100%') - // 以onGetItemMainSizeByIndex为准 - // .height(this.itemHeightArray[item % 100]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .rowsGap(20) - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .layoutWeight(1) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0540.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0540.ets deleted file mode 100644 index 9d1ac7b3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0540.ets +++ /dev/null @@ -1,260 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 10; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} - -//============================================================= - -@Reusable -@Component -struct ReusableFlowItem { - @State item: number = 0 - - // 从复用缓存中加入到组件树之前调用,可在此处更新组件的状态变量以展示正确的内容 - aboutToReuse(params: Record) { - this.item = params.item; - console.info('Reuse item:' + this.item) - } - - aboutToAppear() { - console.info('new item:' + this.item) - } - - build() { - /* Image($r("app.media.waterFlowTest")) - .overlay('N' + this.item, { align: Alignment.Top }) - .objectFit(ImageFit.Fill) - .width('100%') - .layoutWeight(1)*/ - } -} - -@Entry -@Component -struct UIComponentListAndGridWaterSections0540 { - minSize: number = 80 - maxSize: number = 180 - fontSize: number = 24 - colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - dataCount: number = this.dataSource.totalCount() - private itemHeightArray: number[] = [] - @State sections: WaterFlowSections = new WaterFlowSections() - @State newPadding: number = 0; - sectionMargin: Margin = { top: 0, left: 0, bottom: 0, right: 0 } - oneColumnSection: SectionOptions = { - itemsCount: 5, - crossCount: 2, - onGetItemMainSizeByIndex: (index: number) => { - return 50; - } - } - twoColumnSection: SectionOptions = { - itemsCount: 5, - crossCount: 2, - margin: this.sectionMargin, - onGetItemMainSizeByIndex: (index: number) => { - return 50; - } - } - - // 计算FlowItem高度 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的高度数组 - setItemSizeArray() { - for (let i = 0; i < 10; i++) { - //this.itemHeightArray.push(this.getSize()) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - // 初始化瀑布流分组信息 - let sectionOptions: SectionOptions[] = [] - let count = 0 - let oneOrTwo = 0 - while (count < this.dataCount) { - if (oneOrTwo++ % 2 == 0) { - sectionOptions.push(this.oneColumnSection) - count += this.oneColumnSection.itemsCount - } else { - sectionOptions.push(this.twoColumnSection) - count += this.twoColumnSection.itemsCount - } - } - this.sections.splice(0, 0, sectionOptions) - } - - build() { - Column({ space: 2 }) { - Button('改变padding') - .height('5%') - .onClick(() => { - this.newPadding = 20 - }).id('UIComponentListAndGridWaterSections0540_001'); - - WaterFlow({ scroller: this.scroller, sections: this.sections }) { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - ReusableFlowItem({ item: item }) - } - .width('100%') - // 以onGetItemMainSizeByIndex为准 - // .height(this.itemHeightArray[item % 100]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .rowsGap(20) - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .padding(this.newPadding) - .layoutWeight(1) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0560.ets deleted file mode 100644 index 988ec7c9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0560.ets +++ /dev/null @@ -1,269 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// 实现IDataSource接口的对象,用于瀑布流组件加载数据 -export class WaterFlowDataSource implements IDataSource { - private dataArray: number[] = [] - private listeners: DataChangeListener[] = [] - - constructor() { - for (let i = 0; i < 10; i++) { - this.dataArray.push(i) - } - } - - // 获取索引对应的数据 - public getData(index: number): number { - return this.dataArray[index] - } - - // 通知控制器数据重新加载 - notifyDataReload(): void { - this.listeners.forEach(listener => { - listener.onDataReloaded() - }) - } - - // 通知控制器数据增加 - notifyDataAdd(index: number): void { - this.listeners.forEach(listener => { - listener.onDataAdd(index) - }) - } - - // 通知控制器数据变化 - notifyDataChange(index: number): void { - this.listeners.forEach(listener => { - listener.onDataChange(index) - }) - } - - // 通知控制器数据删除 - notifyDataDelete(index: number): void { - this.listeners.forEach(listener => { - listener.onDataDelete(index) - }) - } - - // 通知控制器数据位置变化 - notifyDataMove(from: number, to: number): void { - this.listeners.forEach(listener => { - listener.onDataMove(from, to) - }) - } - - //通知控制器数据批量修改 - notifyDatasetChange(operations: DataOperation[]): void { - this.listeners.forEach(listener => { - listener.onDatasetChange(operations); - }) - } - - // 获取数据总数 - public totalCount(): number { - return this.dataArray.length - } - - // 注册改变数据的控制器 - registerDataChangeListener(listener: DataChangeListener): void { - if (this.listeners.indexOf(listener) < 0) { - this.listeners.push(listener) - } - } - - // 注销改变数据的控制器 - unregisterDataChangeListener(listener: DataChangeListener): void { - const pos = this.listeners.indexOf(listener) - if (pos >= 0) { - this.listeners.splice(pos, 1) - } - } - - // 增加数据 - public add1stItem(): void { - this.dataArray.splice(0, 0, this.dataArray.length) - this.notifyDataAdd(0) - } - - // 在数据尾部增加一个元素 - public addLastItem(): void { - this.dataArray.splice(this.dataArray.length, 0, this.dataArray.length) - this.notifyDataAdd(this.dataArray.length - 1) - } - - // 在指定索引位置增加一个元素 - public addItem(index: number): void { - this.dataArray.splice(index, 0, this.dataArray.length) - this.notifyDataAdd(index) - } - - // 删除第一个元素 - public delete1stItem(): void { - this.dataArray.splice(0, 1) - this.notifyDataDelete(0) - } - - // 删除第二个元素 - public delete2ndItem(): void { - this.dataArray.splice(1, 1) - this.notifyDataDelete(1) - } - - // 删除最后一个元素 - public deleteLastItem(): void { - this.dataArray.splice(-1, 1) - this.notifyDataDelete(this.dataArray.length) - } - - // 在指定索引位置删除一个元素 - public deleteItem(index: number): void { - this.dataArray.splice(index, 1) - this.notifyDataDelete(index) - } - - // 重新加载数据 - public reload(): void { - this.dataArray.splice(1, 1) - this.dataArray.splice(3, 2) - this.notifyDataReload() - } -} -//============================================================= - -@Reusable -@Component -struct ReusableFlowItem { - @State item: number = 0 - - // 从复用缓存中加入到组件树之前调用,可在此处更新组件的状态变量以展示正确的内容 - aboutToReuse(params: Record) { - this.item = params.item; - console.info('Reuse item:' + this.item) - } - - aboutToAppear() { - console.info('new item:' + this.item) - } - - build() { - } -} - -@Entry -@Component -struct UIComponentListAndGridWaterSections0560 { - minSize: number = 80 - maxSize: number = 180 - fontSize: number = 24 - colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F] - scroller: Scroller = new Scroller() - dataSource: WaterFlowDataSource = new WaterFlowDataSource() - dataCount: number = this.dataSource.totalCount() - private itemHeightArray: number[] = [] - @State sections: WaterFlowSections = new WaterFlowSections() - sectionMargin: Margin = { top: 10, left: 5, bottom: 10, right: 5 } - oneColumnSection: SectionOptions = { - itemsCount: 4, - crossCount: 1, - columnsGap: '5vp', - rowsGap: 10, - margin: this.sectionMargin, - onGetItemMainSizeByIndex: (index: number) => { - return this.itemHeightArray[index % 10] - } - } - twoColumnSection: SectionOptions = { - itemsCount: 6, - crossCount: 2, - onGetItemMainSizeByIndex: (index: number) => { - return 100 - } - } - - // 计算FlowItem高度 - getSize() { - let ret = Math.floor(Math.random() * this.maxSize) - return (ret > this.minSize ? ret : this.minSize) - } - - // 设置FlowItem的高度数组 - setItemSizeArray() { - for (let i = 0; i < 10; i++) { - //this.itemHeightArray.push(this.getSize()) - this.itemHeightArray.push(100) - } - } - - aboutToAppear() { - this.setItemSizeArray() - // 初始化瀑布流分组信息 - let sectionOptions: SectionOptions[] = [] - let count = 0 - let oneOrTwo = 0 - while (count < this.dataCount) { - if (oneOrTwo++ % 2 == 0) { - sectionOptions.push(this.oneColumnSection) - count += this.oneColumnSection.itemsCount - } else { - sectionOptions.push(this.twoColumnSection) - count += this.twoColumnSection.itemsCount - } - } - this.sections.splice(0, 0, sectionOptions) - } - - build() { - Column({ space: 2 }) { - Row() { - Button('splice') - .height('5%') - .onClick(() => { - // 将所有分组替换成一个新分组,注意保证LazyForEach中数据数量和新分组itemsCount保持一致 - let totalCount: number = this.dataSource.totalCount() - let newSection: SectionOptions = { - itemsCount: totalCount, - crossCount: 2, - onGetItemMainSizeByIndex: (index: number) => { - return this.itemHeightArray[index % 10] - } - } - let oldLength: number = this.sections.length() - this.sections.splice(0, oldLength, [newSection]) - }) - .id('UIComponentListAndGridWaterSections0560_001') - .margin({ top: 10, left: 20 }) - }.margin({ bottom: 20 }) - - WaterFlow({ scroller: this.scroller, sections: this.sections }) { - LazyForEach(this.dataSource, (item: number) => { - FlowItem() { - ReusableFlowItem({ item: item }) - } - .width('100%') - // 以onGetItemMainSizeByIndex为准 - // .height(this.itemHeightArray[item % 100]) - .backgroundColor(this.colors[item % 5]) - }, (item: string) => item) - } - .columnsTemplate('1fr 1fr') // 瀑布流使用sections参数时该属性无效 - .columnsGap(10) - .rowsGap(5) - .backgroundColor(0xFAEEE0) - .width('100%') - .height('100%') - .layoutWeight(1) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0370.ets deleted file mode 100644 index 430529e9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0370.ets +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavModifier0370 { - private controller: TabsController = new TabsController(); - @State gridGutter: number = 10; - - build() { - Column() { - Row() { - Button("gridGutter+10 " + this.gridGutter) - .width('47%') - .height(50) - .margin({ top: 5 }) - .onClick((event?: ClickEvent) => { - this.gridGutter += 10; - }).id('UIComponentNavModifier0370_001') - .margin({ right: '6%', bottom: '12vp' }); - Button("gridGutter-10 " + this.gridGutter) - .width('47%') - .height(50) - .margin({ top: 5 }) - .onClick((event?: ClickEvent) => { - this.gridGutter -= 10; - }).id('UIComponentNavModifier0370_002') - .margin({ bottom: '12vp' }); - } - - Tabs({ barPosition: BarPosition.End, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(BottomTabBarStyle.of($r("sys.media.ohos_app_icon"), "1")); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(BottomTabBarStyle.of($r("sys.media.ohos_app_icon"), "2")); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(BottomTabBarStyle.of($r("sys.media.ohos_app_icon"), "3")); - } - .width('350vp') - .animationDuration(300) - .height('60%') - .barGridAlign({ sm: 2, margin: 10, gutter: this.gridGutter }) - .backgroundColor(0xf1f3f5); - } - .width('100%') - .height(500) - .margin({ top: 5 }) - .padding('10vp'); - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0380.ets deleted file mode 100644 index 78c6dcf1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0380.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentNavModifier0380 { - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .barOverlap(true) - .barGridAlign( - { - lg:10 - } - ) - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0400.ets deleted file mode 100644 index 9b203df8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0400.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentNavModifier0400 { - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .barOverlap(true) - .barGridAlign( - { - sm:10 - } - ) - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier041.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier041.ets deleted file mode 100644 index fa5fb410..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier041.ets +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavModifier041 { - private controller1: TabsController = new TabsController() - @State dividerColor: string = 'blue'; - @State strokeWidth: Resource = ($r('app.float.strokewidth_10')); - @State isVisible: boolean = false; - @State startMargin: number = 0; - @State endMargin: number = 0; - @State nullFlag: boolean = false; - - build() { - Column() { - Tabs({ controller: this.controller1 }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar('pink'); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar('yellow'); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar('blue'); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar('green'); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - }.tabBar('red'); - } - .vertical(true) - .scrollable(true) - .barMode(BarMode.Fixed) - .barWidth(70) - .barHeight(200) - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .height('200vp') - .margin({ bottom: '12vp' }) - .divider(this.nullFlag ? null : { - strokeWidth: this.strokeWidth, - color: this.dividerColor, - startMargin: this.startMargin, - endMargin: this.endMargin - }); - - Button('设置').width('50%').margin({ top: 20 }) - .onClick(() => { - this.isVisible = !this.isVisible; - }).id('UIComponentNavModifier041_001') - if (this.isVisible) { - Text($r('app.float.strokewidth_10')).fontSize(30); - } - }.padding({ top: '24vp', left: '24vp', right: '24vp' }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier043.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier043.ets deleted file mode 100644 index 55ac82a7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier043.ets +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavModifier043 { - private controller1: TabsController = new TabsController() - @State dividerColor: string = 'blue' - @State strokeWidth: number = -10 - @State strokeWidthDefaultWidth: number = 2 - @State startMargin: number = 0 - @State endMargin: number = 0 - @State nullFlag: boolean = false - aboutToAppear(): void { - console.log(`gzc+${this.strokeWidth}`) - if(this.strokeWidth < 0) - { - this.strokeWidth = this.strokeWidthDefaultWidth - } - } - build() { - Column() { - Tabs({ controller: this.controller1 }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar('pink') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar('yellow') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar('blue') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar('green') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - }.tabBar('red') - } - .vertical(true) - .scrollable(true) - .barMode(BarMode.Fixed) - .barWidth(70) - .barHeight(200) - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .height('200vp') - .margin({ bottom: '12vp' }) - .divider(this.nullFlag ? null : { - strokeWidth: this.strokeWidth, - color: this.dividerColor, - startMargin: this.startMargin, - endMargin: this.endMargin - }) - Button('设置').width('50%').margin({ top: 20 }) - .onClick(()=>{ - if(this.strokeWidth < 0) - { - this.strokeWidth = this.strokeWidthDefaultWidth - } - }).id('UIComponentNavModifier043_001') - - Text(this.strokeWidth + '').fontSize(30) - - }.padding({ top: '24vp', left: '24vp', right: '24vp' }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier044.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier044.ets deleted file mode 100644 index fca54e6b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier044.ets +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavModifier044 { - private controller1: TabsController = new TabsController(); - @State dividerColor: string = 'blue'; - @State strokeWidth: string = '50'; - @State startMargin: number = 0; - @State endMargin: number = 0; - @State nullFlag: boolean = false; - @State isVisible: boolean = false; - - build() { - Column() { - Tabs({ controller: this.controller1 }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar('pink'); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar('yellow'); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar('blue'); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar('green'); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - }.tabBar('red'); - } - .vertical(true) - .scrollable(true) - .barMode(BarMode.Fixed) - .barWidth(70) - .barHeight(200) - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .height('200vp') - .margin({ bottom: '12vp' }) - .divider(this.nullFlag ? null : { - strokeWidth: this.strokeWidth, - color: this.dividerColor, - startMargin: this.startMargin, - endMargin: this.endMargin - }); - Button('设置').width('50%').margin({ top: 20 }) - .onClick(()=>{ - this.isVisible = !this.isVisible; - }).id('UIComponentNavModifier044_001'); - - if (this.isVisible) { - Text(this.strokeWidth).fontSize(30); - } - - }.padding({ top: '24vp', left: '24vp', right: '24vp' }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier045.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier045.ets deleted file mode 100644 index e939be39..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier045.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavModifier045 { - private controller1: TabsController = new TabsController() - @State dividerColor: string = 'blue' - @State strokeWidth: number = 2 - @State startMargin: number = 0 - @State endMargin: number = 0 - @State nullFlag: boolean = false - - build() { - Column() { - Tabs({ controller: this.controller1 }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar('pink') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar('yellow') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar('blue') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar('green') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - }.tabBar('red') - } - .vertical(true) - .scrollable(true) - .barMode(BarMode.Fixed) - .barWidth(70) - .barHeight(200) - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .height('200vp') - .margin({ bottom: '12vp' }) - .divider(this.nullFlag ? null : { - strokeWidth: this.strokeWidth, - color: this.dividerColor, - startMargin: this.startMargin, - endMargin: this.endMargin - }) - - }.padding({ top: '24vp', left: '24vp', right: '24vp' }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier046.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier046.ets deleted file mode 100644 index cc364cab..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier046.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavModifier046 { - private controller1: TabsController = new TabsController() - @State dividerColor: string = '#FF0000' - @State strokeWidth: number = 2 - @State startMargin: number = 0 - @State endMargin: number = 0 - @State nullFlag: boolean = false - - build() { - Column() { - Tabs({ controller: this.controller1 }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar('pink') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar('yellow') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar('blue') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar('green') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - }.tabBar('red') - } - .vertical(true) - .scrollable(true) - .barMode(BarMode.Fixed) - .barWidth(70) - .barHeight(200) - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .height('200vp') - .margin({ bottom: '12vp' }) - .divider(this.nullFlag ? null : { - strokeWidth: this.strokeWidth, - color: this.dividerColor, - startMargin: this.startMargin, - endMargin: this.endMargin - }) - - }.padding({ top: '24vp', left: '24vp', right: '24vp' }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier048.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier048.ets deleted file mode 100644 index edfa0002..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier048.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavModifier048 { - private controller1: TabsController = new TabsController() - @State dividerColor: string = '#FFC0CB' - @State strokeWidth: number = 2 - @State startMargin: number = 0 - @State endMargin: number = 0 - @State nullFlag: boolean = false - - build() { - Column() { - Tabs({ controller: this.controller1 }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar('pink') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar('yellow') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar('blue') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar('green') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - }.tabBar('red') - } - .vertical(true) - .scrollable(true) - .barMode(BarMode.Fixed) - .barWidth(70) - .barHeight(200) - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .height('200vp') - .margin({ bottom: '12vp' }) - .divider(this.nullFlag ? null : { - strokeWidth: this.strokeWidth, - color: this.dividerColor, - startMargin: this.startMargin, - endMargin: this.endMargin - }) - - }.padding({ top: '24vp', left: '24vp', right: '24vp' }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier053.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier053.ets deleted file mode 100644 index 2d75c161..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier053.ets +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavModifier053 { - private controller1: TabsController = new TabsController() - @State dividerColor: string = 'red' - @State strokeWidth: number = 2 - @State startMargin: number = 0 - @State endMargin: number = 0 - @State nullFlag: boolean = false - - build() { - Column() { - Tabs({ controller: this.controller1 }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar('pink') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar('yellow') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar('blue') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar('green') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - }.tabBar('red') - } - .vertical(true) - .scrollable(true) - .barMode(BarMode.Fixed) - .barWidth(70) - .barHeight(200) - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .height('200vp') - .margin({ bottom: '12vp' }) - .divider(this.nullFlag ? null : { - strokeWidth: this.strokeWidth, - color: this.dividerColor, - startMargin: this.startMargin, - endMargin: this.endMargin - }) - - Button('设置startMargin').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.startMargin = -10 - }).id('UIComponentNavModifier053_001') - }.padding({ top: '24vp', left: '24vp', right: '24vp' }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier056.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier056.ets deleted file mode 100644 index 7e1bdbc9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier056.ets +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavModifier056 { - private controller1: TabsController = new TabsController() - @State dividerColor: string = 'red' - @State strokeWidth: number = 2 - @State startMargin: number = 0 - @State endMargin: number = 0 - @State tabHeight: number = 200 - @State nullFlag: boolean = false - - build() { - Column() { - Tabs({ controller: this.controller1 }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar('pink') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar('yellow') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar('blue') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar('green') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - }.tabBar('red') - } - .vertical(true) - .scrollable(true) - .barMode(BarMode.Fixed) - .barWidth(70) - .barHeight(200) - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .height(this.tabHeight) - .margin({ bottom: '12vp' }) - .divider(this.nullFlag ? null : { - strokeWidth: this.strokeWidth, - color: this.dividerColor, - startMargin: this.startMargin, - endMargin: this.endMargin - }) - - Button('设置endMargin').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.endMargin = this.tabHeight * 0.8 - }).id('UIComponentNavModifier056_001') - }.padding({ top: '24vp', left: '24vp', right: '24vp' }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier058.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier058.ets deleted file mode 100644 index e881db5f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier058.ets +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavModifier058 { - private controller1: TabsController = new TabsController() - @State dividerColor: string = 'red' - @State strokeWidth: number = 2 - @State startMargin: number = 0 - @State endMargin: number = 0 - @State nullFlag: boolean = false - - build() { - Column() { - Tabs({ controller: this.controller1 }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar('pink') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar('yellow') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar('blue') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar('green') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - }.tabBar('red') - } - .vertical(true) - .scrollable(true) - .barMode(BarMode.Fixed) - .barWidth(70) - .barHeight(200) - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .height('200vp') - .margin({ bottom: '12vp' }) - .divider(this.nullFlag ? null : { - strokeWidth: this.strokeWidth, - color: this.dividerColor, - startMargin: this.startMargin, - endMargin: this.endMargin - }) - - Button('设置endMargin').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.endMargin = -10 - }).id('UIComponentNavModifier058_001') - }.padding({ top: '24vp', left: '24vp', right: '24vp' }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier060.ets deleted file mode 100644 index a738a3ae..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier060.ets +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavModifier060 { - @State message: string = 'Hello World' - private controller: TabsController = new TabsController() - private controller1: TabsController = new TabsController() - @State selfFadingFade: boolean = false; - - build() { - Column() { - Button('子页签设置渐隐').width('100%').margin({ bottom: '12vp' }) - .onClick((event?: ClickEvent) => { - this.selfFadingFade = true; - }) - Button('子页签设置不渐隐').width('100%').margin({ bottom: '12vp' }) - .onClick((event?: ClickEvent) => { - this.selfFadingFade = false; - }) - Tabs({ barPosition: BarPosition.End, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar('pink') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar('yellow') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar('blue') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar('green') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar('green') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar('green') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar('green') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar('green') - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Scrollable) - .barHeight(80) - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .fadingEdge(this.selfFadingFade) - .height('30%') - .width('100%') - - } - .padding({ top: '24vp', left: '24vp', right: '24vp' }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier063.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier063.ets deleted file mode 100644 index 18a66950..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier063.ets +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavModifier063 { - @State fontColor: string = '#182431' - @State bgColor: number = 0xff0000 - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Image(this.currentIndex === index ? '/common/public_icon_on.svg' : '/common/public_icon_off.svg') - .width(24) - .height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text(`Tab${index + 1}`) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - }.width('100%') - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller }) { - TabContent() { - Column() { - Text('Tab1') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%') - }.tabBar(this.tabBuilder(0)) - - TabContent() { - Column() { - Text('Tab2') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%') - }.tabBar(this.tabBuilder(1)) - - TabContent() { - Column() { - Text('Tab3') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%') - }.tabBar(this.tabBuilder(2)) - - TabContent() { - Column() { - Text('Tab4') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%') - }.tabBar(this.tabBuilder(3)) - } - .vertical(false) - .barHeight(56) - .onChange((index: number) => { - this.currentIndex = index - }) - .width(360) - .height(190) - .barBackgroundColor(this.bgColor) - .margin({ top: 38 }) - Button('设置背景色').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.bgColor = 0xffffff - }).id('UIComponentNavModifier063_001') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier065.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier065.ets deleted file mode 100644 index 5d92d940..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier065.ets +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavModifier065 { - @State fontColor: string = '#182431' - @State bgColor: string = '#ff0000' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Image(this.currentIndex === index ? '/common/public_icon_on.svg' : '/common/public_icon_off.svg') - .width(24) - .height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text(`Tab${index + 1}`) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - }.width('100%') - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller }) { - TabContent() { - Column() { - Text('Tab1') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%') - }.tabBar(this.tabBuilder(0)) - - TabContent() { - Column() { - Text('Tab2') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%') - }.tabBar(this.tabBuilder(1)) - - TabContent() { - Column() { - Text('Tab3') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%') - }.tabBar(this.tabBuilder(2)) - - TabContent() { - Column() { - Text('Tab4') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%') - }.tabBar(this.tabBuilder(3)) - } - .vertical(false) - .barHeight(56) - .onChange((index: number) => { - this.currentIndex = index - }) - .width(360) - .height(190) - .backgroundColor(this.bgColor) - .margin({ top: 38 }) - Button('设置背景色').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.bgColor = '#ffffff' - }).id('UIComponentNavModifier065_001') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier066.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier066.ets deleted file mode 100644 index ac1406f4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier066.ets +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavModifier066 { - @State fontColor: string = '#182431' - @State bgColor: Resource = $r('app.color.yellow') - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Image(this.currentIndex === index ? '/common/public_icon_on.svg' : '/common/public_icon_off.svg') - .width(24) - .height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text(`Tab${index + 1}`) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - }.width('100%') - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller }) { - TabContent() { - Column() { - Text('Tab1') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%') - }.tabBar(this.tabBuilder(0)) - - TabContent() { - Column() { - Text('Tab2') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%') - }.tabBar(this.tabBuilder(1)) - - TabContent() { - Column() { - Text('Tab3') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%') - }.tabBar(this.tabBuilder(2)) - - TabContent() { - Column() { - Text('Tab4') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%') - }.tabBar(this.tabBuilder(3)) - } - .vertical(false) - .barHeight(56) - .onChange((index: number) => { - this.currentIndex = index - }) - .width(360) - .height(190) - .backgroundColor(this.bgColor) - .margin({ top: 38 }) - Button('设置背景色').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.bgColor = $r('app.color.blue') - }).id('UIComponentNavModifier066_001') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0770.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0770.ets deleted file mode 100644 index 159e306e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0770.ets +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavModifier0770 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State selectedIndex: number = 0 - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Image(this.currentIndex === index ? $r("app.media.magnifier") : $r("app.media.tick")) - .width(24) - .height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text(`Tab${index + 1}`) - .fontColor(this.selectedIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - }.width('100%') - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller }) { - TabContent() { - Column() { - Text('Tab1') - } - }.tabBar(this.tabBuilder(0)).backgroundColor(Color.Red) - - TabContent() { - Column() { - Text('Tab2') - } - }.tabBar(this.tabBuilder(1)).backgroundColor(Color.Green) - - TabContent() { - Column() { - Text('Tab3') - } - }.tabBar(this.tabBuilder(2)).backgroundColor(Color.Yellow) - - TabContent() { - Column() { - Text('Tab4') - } - }.tabBar(this.tabBuilder(3)).backgroundColor(Color.Green) - } - .vertical(false) - .barHeight(56) - .barWidth(-300) - .width(360) - .height(190) - .backgroundColor('#F1F3F5') - .margin({ top: 38 }) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0810.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0810.ets deleted file mode 100644 index 77c4d706..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0810.ets +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavModifier0810 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State selectedIndex: number = 0 - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Image(this.currentIndex === index ? $r("app.media.magnifier") : $r("app.media.tick")) - .width(24) - .height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text(`Tab${index + 1}`) - .fontColor(this.selectedIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - }.width('100%') - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller }) { - TabContent() { - Column() { - Text('Tab1') - } - }.tabBar(this.tabBuilder(0)).backgroundColor(Color.Red) - - TabContent() { - Column() { - Text('Tab2') - } - }.tabBar(this.tabBuilder(1)).backgroundColor(Color.Green) - - TabContent() { - Column() { - Text('Tab3') - } - }.tabBar(this.tabBuilder(2)).backgroundColor(Color.Yellow) - - TabContent() { - Column() { - Text('Tab4') - } - }.tabBar(this.tabBuilder(3)).backgroundColor(Color.Green) - } - .vertical(false) - .barHeight(250) - .barWidth('100%') - .width(360) - .height(300) - .backgroundColor('#F1F3F5') - .margin({ top: 38 }) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier083.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier083.ets deleted file mode 100644 index 368cfe78..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier083.ets +++ /dev/null @@ -1,123 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavModifier083{ - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State tabBarHeight: number = 0 - @State tabBarHeight2: number = 0 - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Image(this.currentIndex === index ? $r("sys.media.ohos_app_icon") : $r("sys.media.ohos_app_icon")) - //.width(24) - //.height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text(`Tab${index + 1}`) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - }.width('100%').onSizeChange((oldValue: SizeOptions, newValue: SizeOptions) => { - this.tabBarHeight = newValue.height as number - }) - } - - build() { - Column({space:10}) { - Tabs({ barPosition: BarPosition.End, controller: this.controller }) { - TabContent() { - Column() { - Text('Tab1') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%') - }.tabBar(this.tabBuilder(0)) - - TabContent() { - Column() { - Text('Tab2') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%') - }.tabBar(this.tabBuilder(1)) - - TabContent() { - Column() { - Text('Tab3') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%') - }.tabBar(this.tabBuilder(2)) - - TabContent() { - Column() { - Text('Tab4') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%') - }.tabBar(this.tabBuilder(3)) - } - .vertical(false) - .barHeight(56) - .onChange((index: number) => { - this.currentIndex = index - }) - .width(360) - .height(190) - .backgroundColor('#F1F3F5') - .margin({ top: 38 }) - Button('设置').width('50%').margin({ top: 20 }) - .onClick(()=>{ - this.tabBarHeight2 = this.tabBarHeight - }).id('UIComponentNavModifier083_001') - - Text('barWidth为'+this.tabBarHeight2 + '').fontSize(30) - }.width('100%') - } -} - diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0840.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0840.ets deleted file mode 100644 index f96cc072..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0840.ets +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavModifier0840 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State selectedIndex: number = 0 - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Image(this.currentIndex === index ? $r("app.media.magnifier") : $r("app.media.tick")) - .width(24) - .height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text(`Tab${index + 1}`) - .fontColor(this.selectedIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - }.width('100%') - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller }) { - TabContent() { - Column() { - Text('Tab1') - } - }.tabBar(this.tabBuilder(0)).backgroundColor(Color.Red) - - TabContent() { - Column() { - Text('Tab2') - } - }.tabBar(this.tabBuilder(1)).backgroundColor(Color.Green) - - TabContent() { - Column() { - Text('Tab3') - } - }.tabBar(this.tabBuilder(2)).backgroundColor(Color.Yellow) - - TabContent() { - Column() { - Text('Tab4') - } - }.tabBar(this.tabBuilder(3)).backgroundColor(Color.Green) - } - .vertical(false) - .barHeight(-100) - .barWidth('100%') - .width(360) - .height(300) - .backgroundColor('#F1F3F5') - .margin({ top: 38 }) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0860.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0860.ets deleted file mode 100644 index 37f47718..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0860.ets +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavModifier0860 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State selectedIndex: number = 0 - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Image(this.currentIndex === index ? $r("app.media.magnifier") : $r("app.media.tick")) - .width(24) - .height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text(`Tab${index + 1}`) - .fontColor(this.selectedIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - }.width('100%') - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller }) { - TabContent() { - Column() { - Text('Tab1') - } - }.tabBar(this.tabBuilder(0)).backgroundColor(Color.Red) - - TabContent() { - Column() { - Text('Tab2') - } - }.tabBar(this.tabBuilder(1)).backgroundColor(Color.Green) - - TabContent() { - Column() { - Text('Tab3') - } - }.tabBar(this.tabBuilder(2)).backgroundColor(Color.Yellow) - - TabContent() { - Column() { - Text('Tab4') - } - }.tabBar(this.tabBuilder(3)).backgroundColor(Color.Green) - } - .vertical(false) - .barHeight(250) - .barWidth('100%') - .width(360) - .height(300) - .backgroundColor('#F1F3F5') - .margin({ top: 38 }) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0900.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0900.ets deleted file mode 100644 index 9304ac5d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0900.ets +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavModifier0900 { - @State fontColor: string = '#182431'; - @State selectedFontColor: string = '#007DFF'; - @State currentIndex: number = 0; - @State selectedIndex: number = 0; - private controller: TabsController = new TabsController(); - - @Builder tabBuilder(index: number, name: string) { - Column() { - Text(name) - .fontColor(this.selectedIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(16) - .fontWeight(this.selectedIndex === index ? 500 : 400) - .lineHeight(22) - .margin({ top: 17, bottom: 7 }); - Divider() - .strokeWidth(2) - .color('#007DFF') - .opacity(this.selectedIndex === index ? 1 : 0); - }.width('100%').id(name); - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor('#00CB87') - }.tabBar(this.tabBuilder(0, 'green')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor('#007DFF') - }.tabBar(this.tabBuilder(1, 'blue')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor('#FFBF00') - }.tabBar(this.tabBuilder(2, 'yellow')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor('#E67C92') - }.tabBar(this.tabBuilder(3, 'pink')); - } - .vertical(false) - .barMode(BarMode.Fixed) - .barWidth(360) - .barHeight(56) - .animationDuration(-100) - .onChange((index: number) => { - this.currentIndex = index - this.selectedIndex = index - }) - .width(360) - .height(296) - .margin({ top: 52 }) - .backgroundColor('#F1F3F5'); - }.width('100%'); - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0920.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0920.ets deleted file mode 100644 index 93ce0e74..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavModifier/UIComponentNavModifier0920.ets +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavModifier0920 { - @State fontColor: string = '#182431'; - @State selectedFontColor: string = '#007DFF'; - @State currentIndex: number = 0; - @State selectedIndex: number = 0; - private controller: TabsController = new TabsController(); - - @Builder tabBuilder(index: number, name: string) { - Column() { - Text(name) - .fontColor(this.selectedIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(16) - .fontWeight(this.selectedIndex === index ? 500 : 400) - .lineHeight(22) - .margin({ top: 17, bottom: 7 }); - Divider() - .strokeWidth(2) - .color('#007DFF') - .opacity(this.selectedIndex === index ? 1 : 0); - }.width('100%').id(name); - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor('#00CB87') - }.tabBar(this.tabBuilder(0, 'green')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor('#007DFF') - }.tabBar(this.tabBuilder(1, 'blue')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor('#FFBF00') - }.tabBar(this.tabBuilder(2, 'yellow')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor('#E67C92') - }.tabBar(this.tabBuilder(3, 'pink')); - } - .vertical(false) - .barMode(BarMode.Fixed) - .barWidth(360) - .barHeight(56) - .animationDuration(30/100) - .onChange((index: number) => { - this.currentIndex = index - this.selectedIndex = index - }) - .width(360) - .height(296) - .margin({ top: 52 }) - .backgroundColor('#F1F3F5'); - }.width('100%'); - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsAction/UIComponentNavTabsAction0011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsAction/UIComponentNavTabsAction0011.ets deleted file mode 100644 index 02c3b142..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsAction/UIComponentNavTabsAction0011.ets +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsAction0011 { - @State height1: number = 200; - @State width1: number = 200; - build() { - Column({ space: 5 }) { - - Text("底部页签样式") - Column() { - Tabs({ barPosition: BarPosition.End }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Pink').id('Pink')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Yellow').id('Yellow')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Blue').id('Blue')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Green').id('Green')); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .id('UIComponentNavTabsAction0011_001') - .width(this.width1) - .height(this.height1) - .backgroundColor(0xF1F3F5); - - Button('增加宽高').width('50%').margin({ top: 20 }) - .onClick(() => { - if(this.height1 == 200) - { - this.height1 = 250 - } - else - { - this.height1 = 200 - } - if(this.width1 == 200) - { - this.width1 = 250 - } - else - { - this.width1 = 200 - } - }).id('UIComponentNavTabsAction0011_002'); - }.width('100%').height(200) - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsAction/UIComponentNavTabsAction0012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsAction/UIComponentNavTabsAction0012.ets deleted file mode 100644 index 25dbe57b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsAction/UIComponentNavTabsAction0012.ets +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsAction0012 { - @State simpleList: Array = ['tab0','tab1','tab2','tab3','tab4','tab5','tab6','tab7','tab8','tab9', - 'tab10','tab11','tab12','tab13','tab14','tab15','tab16','tab17','tab18','tab19', - 'tab20','tab21','tab22','tab23','tab24','tab25','tab26','tab27','tab28','tab29', - 'tab30','tab31','tab32','tab33','tab34','tab35','tab36','tab37','tab38','tab39', - 'tab40','tab41','tab42','tab43','tab44','tab45','tab46','tab47','tab48','tab49', - 'tab50','tab51','tab52','tab53','tab54','tab55','tab56','tab57','tab58','tab59', - 'tab60','tab61','tab62','tab63','tab64','tab65','tab66','tab67','tab68','tab69', - 'tab70','tab71','tab72','tab73','tab74','tab75','tab76','tab77','tab78','tab79', - 'tab80','tab81','tab82','tab83','tab84','tab85','tab86','tab87','tab88','tab89', - 'tab90','tab91','tab92','tab93','tab94','tab95','tab96','tab97','tab98','tab99'] - @State currentIndex: number = 0 - @Builder tabBuilder(title: string) { - Column(){ - Text(title) - }.width('100%') - .height(50) - .id(title) - .justifyContent(FlexAlign.Center) - } - - build() { - Row() { - Column() { - Tabs({ barPosition: BarPosition.End, }) { - ForEach(this.simpleList, (item: string) => { - TabContent() { - Column() { - Text(`Content:${item}`).fontSize(50) - } - }.tabBar(this.tabBuilder(item)) - }, (item: string) => item) - } - .vertical(false) - .id('UIComponentNavTabsAction0012_001') - //.barMode(BarMode.Scrollable) - .barWidth(400) - .barHeight(120) - .animationDuration(0) - .width(400) - .height(400) - .backgroundColor('#FF0000') - .scrollable(true) - - } - .width('100%') - .height('100%') - - } - .height('100%') - .backgroundColor(0xF1F3F5) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsAction/UIComponentNavTabsAction0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsAction/UIComponentNavTabsAction0030.ets deleted file mode 100644 index fb4018de..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsAction/UIComponentNavTabsAction0030.ets +++ /dev/null @@ -1,122 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsAction0030 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State selectedIndex: number = 0 - private controller: TabsController = new TabsController() - - @Builder - tabBuilder(index: number) { - Column() { - Text(index == 0 ? 'Pink' : - (index == 1 ? 'Yellow' : - (index == 2 ? 'Green' : 'Blue'))) - .fontColor(this.selectedIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - }.width('100%').id(index == 0 ? 'Pink' : - (index == 1 ? 'Yellow' : - (index == 2 ? 'Green' : 'Blue'))) - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller }) { - TabContent() { - Column() { - Text('Tab1') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%').backgroundColor(Color.Pink) - }.tabBar(this.tabBuilder(0)) - - TabContent() { - Column() { - Text('Tab2') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%').backgroundColor(Color.Yellow) - }.tabBar(this.tabBuilder(1)) - - TabContent() { - Column() { - Text('Tab3') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%').backgroundColor(Color.Green) - }.tabBar(this.tabBuilder(2)) - - TabContent() { - Column() { - Text('Tab4') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%').backgroundColor(Color.Blue) - }.tabBar(this.tabBuilder(3)) - } - .vertical(false) - .barHeight(56) - .onChange((index: number) => { - // currentIndex控制TabContent显示页签 - this.currentIndex = index - }) - .onAnimationStart((index: number, targetIndex: number, event: TabsAnimationEvent) => { - if (index === targetIndex) { - return - } - // selectedIndex控制自定义TabBar内Image和Text颜色切换 - this.selectedIndex = targetIndex - }) - .id('UIComponentNavTabsAction0030_001') - .width(360) - .height(190) - .backgroundColor('#F1F3F5') - .margin({ top: 38 }); - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0010.ets deleted file mode 100644 index 6dfef649..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0010.ets +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0010 { - @State selectedMode: SelectedMode = SelectedMode.INDICATOR; - @State blurtype: BlurStyle = BlurStyle.COMPONENT_THIN; - @State seq: number = 0; - build() { - Column({ space: 5 }) { - Text("子页签样式") - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - - - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode) - ) - } - .vertical(false) - .scrollable(true) - .barBackgroundBlurStyle(this.blurtype) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5) - - - Button('设置材质NONE').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.NONE - }).id('UIComponentNavTabsBlurStyle0010_001') - - Button('设置材质Thin').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.Thin - }).id('UIComponentNavTabsBlurStyle0010_002') - - Button('设置材质Regular').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.Regular - }).id('UIComponentNavTabsBlurStyle0010_003') - - Button('设置材质Thick').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.Thick - }).id('UIComponentNavTabsBlurStyle0010_004') - - Button('设置材质BACKGROUND_THIN').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_THIN - }).id('UIComponentNavTabsBlurStyle0010_005') - - Button('设置材质BACKGROUND_REGULAR').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_REGULAR - }).id('UIComponentNavTabsBlurStyle0010_006') - - Button('设置材质BACKGROUND_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_THICK - }).id('UIComponentNavTabsBlurStyle0010_007') - - Button('设置材质BACKGROUND_ULTRA_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_ULTRA_THICK - }).id('UIComponentNavTabsBlurStyle0010_008') - - Button('设置材质COMPONENT_ULTRA_THIN').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_ULTRA_THIN - }).id('UIComponentNavTabsBlurStyle0010_009') - - Button('设置材质COMPONENT_REGULAR').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_REGULAR - }).id('UIComponentNavTabsBlurStyle0010_010') - - Button('设置材质COMPONENT_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_THICK - }).id('UIComponentNavTabsBlurStyle0010_011') - - Button('设置材质COMPONENT_ULTRA_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_ULTRA_THICK - }).id('UIComponentNavTabsBlurStyle0010_012') - - Button('设置材质COMPONENT_THIN').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_THIN - }).id('UIComponentNavTabsBlurStyle0010_013') - - }.width('100%').height(200) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0011.ets deleted file mode 100644 index cfe17f97..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0011.ets +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0011 { - @State selectedMode: SelectedMode = SelectedMode.BOARD; - @State blurtype: BlurStyle = BlurStyle.COMPONENT_THIN; - @State seq: number = 0; - build() { - Column({ space: 5 }) { - Text("子页签样式") - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - - - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode) - ) - } - .vertical(false) - .scrollable(true) - .barBackgroundBlurStyle(this.blurtype) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5) - - - Button('设置材质NONE').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.NONE - }).id('UIComponentNavTabsBlurStyle0011_001') - - Button('设置材质Thin').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.Thin - }).id('UIComponentNavTabsBlurStyle0011_002') - - Button('设置材质Regular').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.Regular - }).id('UIComponentNavTabsBlurStyle0011_003') - - Button('设置材质Thick').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.Thick - }).id('UIComponentNavTabsBlurStyle0011_004') - - Button('设置材质BACKGROUND_THIN').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_THIN - }).id('UIComponentNavTabsBlurStyle0011_005') - - Button('设置材质BACKGROUND_REGULAR').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_REGULAR - }).id('UIComponentNavTabsBlurStyle0011_006') - - Button('设置材质BACKGROUND_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_THICK - }).id('UIComponentNavTabsBlurStyle0011_007') - - Button('设置材质BACKGROUND_ULTRA_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_ULTRA_THICK - }).id('UIComponentNavTabsBlurStyle0011_008') - - Button('设置材质COMPONENT_ULTRA_THIN').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_ULTRA_THIN - }).id('UIComponentNavTabsBlurStyle0011_009') - - Button('设置材质COMPONENT_REGULAR').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_REGULAR - }).id('UIComponentNavTabsBlurStyle0011_010') - - Button('设置材质COMPONENT_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_THICK - }).id('UIComponentNavTabsBlurStyle0011_011') - - Button('设置材质COMPONENT_ULTRA_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_ULTRA_THICK - }).id('UIComponentNavTabsBlurStyle0011_012') - - Button('设置材质COMPONENT_THIN').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_THIN - }).id('UIComponentNavTabsBlurStyle0011_013') - - }.width('100%').height(200) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0012.ets deleted file mode 100644 index 0ef5fd10..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0012.ets +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0012 { - @State selectedMode: SelectedMode = SelectedMode.INDICATOR; - @State blurtype: BlurStyle = BlurStyle.COMPONENT_THIN; - @State seq: number = 0; - build() { - Column({ space: 5 }) { - Text("子页签样式") - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - - - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode) - ) - } - .vertical(true) - .scrollable(true) - .barBackgroundBlurStyle(this.blurtype) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5) - - - Button('设置材质NONE').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.NONE - }).id('UIComponentNavTabsBlurStyle0012_001') - - Button('设置材质Thin').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.Thin - }).id('UIComponentNavTabsBlurStyle0012_002') - - Button('设置材质Regular').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.Regular - }).id('UIComponentNavTabsBlurStyle0012_003') - - Button('设置材质Thick').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.Thick - }).id('UIComponentNavTabsBlurStyle0012_004') - - Button('设置材质BACKGROUND_THIN').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_THIN - }).id('UIComponentNavTabsBlurStyle0012_005') - - Button('设置材质BACKGROUND_REGULAR').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_REGULAR - }).id('UIComponentNavTabsBlurStyle0012_006') - - Button('设置材质BACKGROUND_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_THICK - }).id('UIComponentNavTabsBlurStyle0012_007') - - Button('设置材质BACKGROUND_ULTRA_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_ULTRA_THICK - }).id('UIComponentNavTabsBlurStyle0012_008') - - Button('设置材质COMPONENT_ULTRA_THIN').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_ULTRA_THIN - }).id('UIComponentNavTabsBlurStyle0012_009') - - Button('设置材质COMPONENT_REGULAR').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_REGULAR - }).id('UIComponentNavTabsBlurStyle0012_010') - - Button('设置材质COMPONENT_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_THICK - }).id('UIComponentNavTabsBlurStyle0012_011') - - Button('设置材质COMPONENT_ULTRA_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_ULTRA_THICK - }).id('UIComponentNavTabsBlurStyle0012_012') - - Button('设置材质COMPONENT_THIN').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_THIN - }).id('UIComponentNavTabsBlurStyle0012_013') - - }.width('100%').height(200) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0013.ets deleted file mode 100644 index 3b6c3e63..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0013.ets +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0013 { - @State selectedMode: SelectedMode = SelectedMode.BOARD; - @State blurtype: BlurStyle = BlurStyle.COMPONENT_THIN; - @State seq: number = 0; - build() { - Column({ space: 5 }) { - Text("子页签样式") - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - - - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode) - ) - } - .vertical(true) - .scrollable(true) - .barBackgroundBlurStyle(this.blurtype) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5) - - - Button('设置材质NONE').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.NONE - }).id('UIComponentNavTabsBlurStyle0013_001') - - Button('设置材质Thin').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.Thin - }).id('UIComponentNavTabsBlurStyle0013_002') - - Button('设置材质Regular').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.Regular - }).id('UIComponentNavTabsBlurStyle0013_003') - - Button('设置材质Thick').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.Thick - }).id('UIComponentNavTabsBlurStyle0013_004') - - Button('设置材质BACKGROUND_THIN').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_THIN - }).id('UIComponentNavTabsBlurStyle0013_005') - - Button('设置材质BACKGROUND_REGULAR').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_REGULAR - }).id('UIComponentNavTabsBlurStyle0013_006') - - Button('设置材质BACKGROUND_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_THICK - }).id('UIComponentNavTabsBlurStyle0013_007') - - Button('设置材质BACKGROUND_ULTRA_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_ULTRA_THICK - }).id('UIComponentNavTabsBlurStyle0013_008') - - Button('设置材质COMPONENT_ULTRA_THIN').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_ULTRA_THIN - }).id('UIComponentNavTabsBlurStyle0013_009') - - Button('设置材质COMPONENT_REGULAR').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_REGULAR - }).id('UIComponentNavTabsBlurStyle0013_010') - - Button('设置材质COMPONENT_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_THICK - }).id('UIComponentNavTabsBlurStyle0013_011') - - Button('设置材质COMPONENT_ULTRA_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_ULTRA_THICK - }).id('UIComponentNavTabsBlurStyle0013_012') - - Button('设置材质COMPONENT_THIN').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_THIN - }).id('UIComponentNavTabsBlurStyle0013_013') - - }.width('100%').height(200) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0014.ets deleted file mode 100644 index c8e8b277..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0014.ets +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0014 { - @State selectedMode: SelectedMode = SelectedMode.INDICATOR; - @State blurtype: BlurStyle = BlurStyle.COMPONENT_THIN; - @State seq: number = 0; - build() { - Column({ space: 5 }) { - Text("子页签样式") - Column() { - Tabs({ barPosition: BarPosition.End }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - - - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode) - ) - } - .vertical(true) - .scrollable(true) - .barBackgroundBlurStyle(this.blurtype) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5) - - - Button('设置材质NONE').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.NONE - }).id('UIComponentNavTabsBlurStyle0014_001') - - Button('设置材质Thin').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.Thin - }).id('UIComponentNavTabsBlurStyle0014_002') - - Button('设置材质Regular').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.Regular - }).id('UIComponentNavTabsBlurStyle0014_003') - - Button('设置材质Thick').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.Thick - }).id('UIComponentNavTabsBlurStyle0014_004') - - Button('设置材质BACKGROUND_THIN').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_THIN - }).id('UIComponentNavTabsBlurStyle0014_005') - - Button('设置材质BACKGROUND_REGULAR').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_REGULAR - }).id('UIComponentNavTabsBlurStyle0014_006') - - Button('设置材质BACKGROUND_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_THICK - }).id('UIComponentNavTabsBlurStyle0014_007') - - Button('设置材质BACKGROUND_ULTRA_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_ULTRA_THICK - }).id('UIComponentNavTabsBlurStyle0014_008') - - Button('设置材质COMPONENT_ULTRA_THIN').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_ULTRA_THIN - }).id('UIComponentNavTabsBlurStyle0014_009') - - Button('设置材质COMPONENT_REGULAR').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_REGULAR - }).id('UIComponentNavTabsBlurStyle0014_010') - - Button('设置材质COMPONENT_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_THICK - }).id('UIComponentNavTabsBlurStyle0014_011') - - Button('设置材质COMPONENT_ULTRA_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_ULTRA_THICK - }).id('UIComponentNavTabsBlurStyle0014_012') - - Button('设置材质COMPONENT_THIN').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_THIN - }).id('UIComponentNavTabsBlurStyle0014_013') - - }.width('100%').height(200) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0015.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0015.ets deleted file mode 100644 index 674c4c61..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0015.ets +++ /dev/null @@ -1,131 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0015 { - @State selectedMode: SelectedMode = SelectedMode.BOARD; - @State blurtype: BlurStyle = BlurStyle.COMPONENT_THIN; - @State seq: number = 0; - build() { - Column({ space: 5 }) { - Text("子页签样式") - Column() { - Tabs({ barPosition: BarPosition.End }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - - - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode) - ) - } - .vertical(true) - .scrollable(true) - .barBackgroundBlurStyle(this.blurtype) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5) - - - Button('设置材质NONE').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.NONE - }).id('UIComponentNavTabsBlurStyle0015_001') - - Button('设置材质Thin').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.Thin - }).id('UIComponentNavTabsBlurStyle0015_002') - - Button('设置材质Regular').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.Regular - }).id('UIComponentNavTabsBlurStyle0015_003') - - Button('设置材质Thick').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.Thick - }).id('UIComponentNavTabsBlurStyle0015_004') - - Button('设置材质BACKGROUND_THIN').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_THIN - }).id('UIComponentNavTabsBlurStyle0015_005') - - Button('设置材质BACKGROUND_REGULAR').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_REGULAR - }).id('UIComponentNavTabsBlurStyle0015_006') - - Button('设置材质BACKGROUND_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_THICK - }).id('UIComponentNavTabsBlurStyle0015_007') - - Button('设置材质BACKGROUND_ULTRA_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_ULTRA_THICK - }).id('UIComponentNavTabsBlurStyle0015_008') - - Button('设置材质COMPONENT_ULTRA_THIN').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_ULTRA_THIN - }).id('UIComponentNavTabsBlurStyle0015_009') - - Button('设置材质COMPONENT_REGULAR').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_REGULAR - }).id('UIComponentNavTabsBlurStyle0015_010') - - Button('设置材质COMPONENT_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_THICK - }).id('UIComponentNavTabsBlurStyle0015_011') - - Button('设置材质COMPONENT_ULTRA_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_ULTRA_THICK - }).id('UIComponentNavTabsBlurStyle0015_012') - - Button('设置材质COMPONENT_THIN').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_THIN - }).id('UIComponentNavTabsBlurStyle0015_013') - }.width('100%').height(200) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0016.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0016.ets deleted file mode 100644 index ee751d14..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0016.ets +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0016 { - @State selectedMode: SelectedMode = SelectedMode.INDICATOR; - @State blurtype: BlurStyle = BlurStyle.COMPONENT_THIN; - @State seq: number = 0; - build() { - Column({ space: 5 }) { - Text("子页签样式") - Column() { - Tabs({ barPosition: BarPosition.End }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - - - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode) - ) - } - .vertical(false) - .scrollable(true) - .barBackgroundBlurStyle(this.blurtype) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5) - - - Button('设置材质NONE').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.NONE - }).id('UIComponentNavTabsBlurStyle0016_001') - - Button('设置材质Thin').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.Thin - }).id('UIComponentNavTabsBlurStyle0016_002') - - Button('设置材质Regular').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.Regular - }).id('UIComponentNavTabsBlurStyle0016_003') - - Button('设置材质Thick').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.Thick - }).id('UIComponentNavTabsBlurStyle0016_004') - - Button('设置材质BACKGROUND_THIN').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_THIN - }).id('UIComponentNavTabsBlurStyle0016_005') - - Button('设置材质BACKGROUND_REGULAR').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_REGULAR - }).id('UIComponentNavTabsBlurStyle0016_006') - - Button('设置材质BACKGROUND_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_THICK - }).id('UIComponentNavTabsBlurStyle0016_007') - - Button('设置材质BACKGROUND_ULTRA_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_ULTRA_THICK - }).id('UIComponentNavTabsBlurStyle0016_008') - - Button('设置材质COMPONENT_ULTRA_THIN').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_ULTRA_THIN - }).id('UIComponentNavTabsBlurStyle0016_009') - - Button('设置材质COMPONENT_REGULAR').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_REGULAR - }).id('UIComponentNavTabsBlurStyle0016_010') - - Button('设置材质COMPONENT_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_THICK - }).id('UIComponentNavTabsBlurStyle0016_011') - - Button('设置材质COMPONENT_ULTRA_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_ULTRA_THICK - }).id('UIComponentNavTabsBlurStyle0016_012') - - Button('设置材质COMPONENT_THIN').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_THIN - }).id('UIComponentNavTabsBlurStyle0016_013') - - }.width('100%').height(200) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0017.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0017.ets deleted file mode 100644 index d213b086..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0017.ets +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0017 { - @State selectedMode: SelectedMode = SelectedMode.BOARD; - @State blurtype: BlurStyle = BlurStyle.COMPONENT_THIN; - @State seq: number = 0; - build() { - Column({ space: 5 }) { - Text("子页签样式") - Column() { - Tabs({ barPosition: BarPosition.End }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - } - .vertical(false) - .scrollable(true) - .barBackgroundBlurStyle(this.blurtype) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5) - - - Button('设置材质NONE').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.NONE - }).id('UIComponentNavTabsBlurStyle0017_001') - - Button('设置材质Thin').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.Thin - }).id('UIComponentNavTabsBlurStyle0017_002') - - Button('设置材质Regular').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.Regular - }).id('UIComponentNavTabsBlurStyle0017_003') - - Button('设置材质Thick').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.Thick - }).id('UIComponentNavTabsBlurStyle0017_004') - - Button('设置材质BACKGROUND_THIN').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_THIN - }).id('UIComponentNavTabsBlurStyle0017_005') - - Button('设置材质BACKGROUND_REGULAR').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_REGULAR - }).id('UIComponentNavTabsBlurStyle0017_006') - - Button('设置材质BACKGROUND_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_THICK - }).id('UIComponentNavTabsBlurStyle0017_007') - - Button('设置材质BACKGROUND_ULTRA_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.BACKGROUND_ULTRA_THICK - }).id('UIComponentNavTabsBlurStyle0017_008') - - Button('设置材质COMPONENT_ULTRA_THIN').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_ULTRA_THIN - }).id('UIComponentNavTabsBlurStyle0017_009') - - Button('设置材质COMPONENT_REGULAR').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_REGULAR - }).id('UIComponentNavTabsBlurStyle0017_010') - - Button('设置材质COMPONENT_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_THICK - }).id('UIComponentNavTabsBlurStyle0017_011') - - Button('设置材质COMPONENT_ULTRA_THICK').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_ULTRA_THICK - }).id('UIComponentNavTabsBlurStyle0017_012') - - Button('设置材质COMPONENT_THIN').width('50%') - .onClick(()=>{ - this.blurtype = BlurStyle.COMPONENT_THIN - }).id('UIComponentNavTabsBlurStyle0017_013') - - }.width('100%').height(200) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0018.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0018.ets deleted file mode 100644 index 9fe44d5c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0018.ets +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0018 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - @Builder - tabBuilder(index: number, name: string) { - Column() { - Text(name) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(16) - .fontWeight(this.currentIndex === index ? 500 : 400) - .lineHeight(22) - .margin({ top: 17, bottom: 7 }) - Divider() - .strokeWidth(2) - .color('#007DFF') - .opacity(this.currentIndex === index ? 1 : 0) - }.width('100%') - } - - build() { - Column() { - Button('关闭模糊效果') - .onClick(()=>{ - this.blurStyle = BlurStyle.NONE - }) - .id('UIComponentNavTabsBlurStyle0018_001') - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(this.tabBuilder(0, 'Pink')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(this.tabBuilder(1, 'Yellow')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(this.tabBuilder(2, 'Blue')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(this.tabBuilder(3, 'Green')) - } - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barWidth(100) - .padding('10vp') - .barPosition(BarPosition.Start) - .vertical(false) - .width(360) - .height(296) - .margin({ top: 52 }) - .backgroundColor('#F1F3F5') - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0019.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0019.ets deleted file mode 100644 index fe049ee2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0019.ets +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0019 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - @Builder - tabBuilder(index: number, name: string) { - Column() { - Text(name) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(16) - .fontWeight(this.currentIndex === index ? 500 : 400) - .lineHeight(22) - .margin({ top: 17, bottom: 7 }) - Divider() - .strokeWidth(2) - .color('#007DFF') - .opacity(this.currentIndex === index ? 1 : 0) - }.width('100%') - } - - build() { - Column() { - Button('关闭模糊效果') - .onClick(()=>{ - this.blurStyle = BlurStyle.NONE - }) - .id('UIComponentNavTabsBlurStyle0019_001') - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(this.tabBuilder(0, 'Pink')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(this.tabBuilder(1, 'Yellow')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(this.tabBuilder(2, 'Blue')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(this.tabBuilder(3, 'Green')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - }.tabBar(this.tabBuilder(3, 'Red')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(this.tabBuilder(3, 'Blue')) - } - .divider({ - strokeWidth: 1, - color: Color.Red - }) - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barWidth(100) - .padding('10vp') - .barPosition(BarPosition.Start) - .vertical(false) - .width(360) - .height(296) - .margin({ top: 52 }) - .backgroundColor('#F1F3F5') - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0020.ets deleted file mode 100644 index 7009d34e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0020.ets +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0020 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - @Builder - tabBuilder(index: number, name: string) { - Column() { - Text(name) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(16) - .fontWeight(this.currentIndex === index ? 500 : 400) - .lineHeight(22) - .margin({ top: 17, bottom: 7 }) - Divider() - .strokeWidth(2) - .color('#007DFF') - .opacity(this.currentIndex === index ? 1 : 0) - }.width('100%') - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(this.tabBuilder(0, 'Pink')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(this.tabBuilder(1, 'Yellow')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(this.tabBuilder(2, 'Blue')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(this.tabBuilder(3, 'Green')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - }.tabBar(this.tabBuilder(3, 'Red')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(this.tabBuilder(3, 'Blue')) - } - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barWidth(100) - .barPosition(BarPosition.Start) - .vertical(false) - .onChange((index: number) => { - this.currentIndex = index - }) - .width(360) - .height(296) - .margin({ top: 52 }) - .backgroundColor('#F1F3F5') - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0021.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0021.ets deleted file mode 100644 index 2a06849a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0021.ets +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0021 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - @Builder - tabBuilder(index: number, name: string) { - Column() { - Text(name) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(16) - .fontWeight(this.currentIndex === index ? 500 : 400) - .lineHeight(22) - .margin({ top: 17, bottom: 7 }) - Divider() - .strokeWidth(2) - .color('#007DFF') - .opacity(this.currentIndex === index ? 1 : 0) - }.width('100%') - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(this.tabBuilder(0, 'Pink')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(this.tabBuilder(1, 'Yellow')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(this.tabBuilder(2, 'Blue')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(this.tabBuilder(3, 'Green')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - }.tabBar(this.tabBuilder(3, 'Red')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(this.tabBuilder(3, 'Blue')) - } - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barHeight(50) - .padding('10vp') - .barPosition(BarPosition.Start) - .vertical(false) - .width(360) - .height(296) - .margin({ top: 52 }) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0022.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0022.ets deleted file mode 100644 index dbd8d98e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0022.ets +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0022 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - @Builder - tabBuilder(index: number, name: string) { - Column() { - Text(name) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(16) - .fontWeight(this.currentIndex === index ? 500 : 400) - .lineHeight(22) - .margin({ top: 17, bottom: 7 }) - Divider() - .strokeWidth(2) - .color('#007DFF') - .opacity(this.currentIndex === index ? 1 : 0) - }.width('100%') - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(this.tabBuilder(0, 'Pink')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(this.tabBuilder(1, 'Yellow')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(this.tabBuilder(2, 'Blue')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(this.tabBuilder(3, 'Green')) - } - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barMode(BarMode.Scrollable) - .margin('12vp') - .barPosition(BarPosition.Start) - .vertical(false) - .width(360) - .height(296) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0023.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0023.ets deleted file mode 100644 index 555c6bd4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0023.ets +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0023 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(SubTabBarStyle.of('pink') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(SubTabBarStyle.of('Yellow') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(SubTabBarStyle.of('Blue') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(SubTabBarStyle.of('Green') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(SubTabBarStyle.of('Blue') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - }.tabBar(SubTabBarStyle.of('Red') - .selectedMode(SelectedMode.BOARD) - ) - } - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Fixed) - .barWidth(100) - .padding('10vp') - .barPosition(BarPosition.Start) - .vertical(false) - .width(360) - .height(296) - .margin({ top: 52 }) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0024.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0024.ets deleted file mode 100644 index 27501c81..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0024.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0024 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('Pink') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - } - .tabBar(SubTabBarStyle.of('Yellow') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - } - .tabBar(SubTabBarStyle.of('Blue') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - } - .tabBar(SubTabBarStyle.of('Green') - .selectedMode(SelectedMode.BOARD) - ) - } - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barWidth(80) - .padding('10vp') - .barPosition(BarPosition.Start) - .vertical(false) - .width(360) - .height(296) - .margin({ top: 52 }) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0025.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0025.ets deleted file mode 100644 index 6878c233..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0025.ets +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0025 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - @Builder - tabBuilder(index: number, name: string) { - Column() { - Text(name) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(16) - .fontWeight(this.currentIndex === index ? 500 : 400) - .lineHeight(22) - .margin({ top: 17, bottom: 7 }) - Divider() - .strokeWidth(2) - .color('#007DFF') - .opacity(this.currentIndex === index ? 1 : 0) - }.width('100%') - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('Pink') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - } - .tabBar(SubTabBarStyle.of('Yellow') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - } - .tabBar(SubTabBarStyle.of('Blue') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - } - .tabBar(SubTabBarStyle.of('Green') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - } - .tabBar(SubTabBarStyle.of('Blue') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - } - .tabBar(SubTabBarStyle.of('Red') - .selectedMode(SelectedMode.BOARD) - ) - } - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barHeight(300) - .padding('10vp') - .barPosition(BarPosition.Start) - .vertical(false) - .width(360) - .height(296) - .margin({ top: 52 }) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0026.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0026.ets deleted file mode 100644 index 3097bcb9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0026.ets +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0026 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - @Builder - tabBuilder(index: number, name: string) { - Column() { - Text(name) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(16) - .fontWeight(this.currentIndex === index ? 500 : 400) - .lineHeight(22) - .margin({ top: 17, bottom: 7 }) - Divider() - .strokeWidth(2) - .color('#007DFF') - .opacity(this.currentIndex === index ? 1 : 0) - }.width('100%') - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('Pink') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - } - .tabBar(SubTabBarStyle.of('Yellow') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - } - .tabBar(SubTabBarStyle.of('Blue') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - } - .tabBar(SubTabBarStyle.of('Green') - .selectedMode(SelectedMode.BOARD) - ) - } - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Fixed) - .padding('10vp') - .padding('10vp') - .barPosition(BarPosition.Start) - .vertical(false) - .width(360) - .height(296) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0027.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0027.ets deleted file mode 100644 index 74e17628..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0027.ets +++ /dev/null @@ -1,133 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0027 { - @State fontColor: string = '#182431'; - @State selectedFontColor: string = '#007DFF'; - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State indicatorColor: ResourceColor = Color.Blue; - @State indicatorHeight: number = 30; - @State indicatorWidth: number = 70; - private controller: TabsController = new TabsController(); - - @Builder - tabBuilder(index: number, name: string) { - Column() { - Text(name) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(16) - .fontWeight(this.currentIndex === index ? 500 : 400) - .lineHeight(22) - .margin({ top: 17, bottom: 7 }) - Divider() - .strokeWidth(2) - .color('#007DFF') - .opacity(this.currentIndex === index ? 1 : 0) - }.width('100%') - } - - build() { - Column() { - Button('下划线颜色变化') - .onClick(() => { - this.getUIContext()?.animateTo( - { - duration: 1000, - curve: Curve.Linear, - delay: 200, - iterations: 1, - playMode: PlayMode.Normal - }, () => { - if (this.indicatorColor === Color.Red) { - this.indicatorColor = Color.Yellow; - } else { - this.indicatorColor = Color.Red; - } - }) - }) - Button('下划线高度变化') - .onClick(()=>{ - this.getUIContext()?.animateTo( - { - duration: 1000, - curve: Curve.Linear, - delay: 200, - iterations: 1, - playMode: PlayMode.Normal - }, () => { - if (this.indicatorHeight === 20) { - this.indicatorHeight = 10; - } else { - this.indicatorHeight = 20; - } - }) - }) - Button('下划线宽度变化') - .onClick(()=>{ - this.getUIContext()?.animateTo( - { - duration: 1000, - curve: Curve.Linear, - delay: 200, - iterations: 1, - playMode: PlayMode.Normal - }, () => { - if (this.indicatorWidth === 30) { - this.indicatorWidth = 50; - } else { - this.indicatorWidth = 30; - } - }) - }) - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(SubTabBarStyle.of('pink') - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(SubTabBarStyle.of('Yellow') - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(SubTabBarStyle.of('Blue') - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(SubTabBarStyle.of('Green') - ) - } - .divider({ - strokeWidth: this.indicatorWidth, - color: this.indicatorColor, - }) - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Fixed) - .barWidth(100) - .padding('10vp') - .barPosition(BarPosition.Start) - .vertical(false) - .width(360) - .height(296) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0028.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0028.ets deleted file mode 100644 index 817aa9e9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0028.ets +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0028 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - @Builder - tabBuilder(index: number, name: string) { - Column() { - Text(name) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(16) - .fontWeight(this.currentIndex === index ? 500 : 400) - .lineHeight(22) - .margin({ top: 17, bottom: 7 }) - Divider() - .strokeWidth(2) - .color('#007DFF') - .opacity(this.currentIndex === index ? 1 : 0) - }.width('100%') - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(this.tabBuilder(0, 'Pink')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(this.tabBuilder(1, 'Yellow')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(this.tabBuilder(2, 'Blue')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(this.tabBuilder(3, 'Green')) - } - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barWidth(100) - .padding('10vp') - .barPosition(BarPosition.End) - .vertical(false) - .width(360) - .height(296) - .margin({ top: 52 }) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0029.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0029.ets deleted file mode 100644 index 03638c4c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0029.ets +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0029 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.NONE - @State selectedMode: SelectedMode = SelectedMode.INDICATOR; - private controller: TabsController = new TabsController() - - @Builder - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Pink }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Yellow }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - }.tabBar(new SubTabBarStyle('Red') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Red }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - } - .divider({ - strokeWidth: 1, - color: Color.Red, - }) - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barWidth(300) - .barHeight(300) - .vertical(false) - .padding('10vp') - .width('auto') - .height(396) - .fadingEdge(true) - Button('打开模糊').width('50%') - .onClick(()=>{ - this.blurStyle = BlurStyle.COMPONENT_ULTRA_THICK - }).id('UIComponentNavTabsBlurStyle0029_001') - Button('关闭模糊').width('50%') - .onClick(()=>{ - this.blurStyle = BlurStyle.NONE - }).id('UIComponentNavTabsBlurStyle0029_002') - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0030.ets deleted file mode 100644 index f25db1a6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0030.ets +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0030 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.COMPONENT_ULTRA_THICK - @State selectedMode: SelectedMode = SelectedMode.INDICATOR; - private controller: TabsController = new TabsController() - - @Builder - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Pink }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Yellow }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - }.tabBar(new SubTabBarStyle('Red') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Red }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - } - .divider({ - strokeWidth: 1, - color: Color.Red, - }) - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barWidth(100) - .barHeight(300) - .vertical(false) - .margin('10vp') - .width('auto') - .height(396) - .fadingEdge(true) - /* - Button('关闭模糊').width('50%') - .onClick(()=>{ - this.blurStyle = BlurStyle.NONE - }).id('UIComponentNavTabsBlurStyle0030_001')*/ - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0031.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0031.ets deleted file mode 100644 index 7437b832..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0031.ets +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0031 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.COMPONENT_ULTRA_THICK - @State selectedMode: SelectedMode = SelectedMode.INDICATOR; - private controller: TabsController = new TabsController() - - @Builder - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Pink }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Yellow }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - }.tabBar(new SubTabBarStyle('Red') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Red }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - } - .divider({ - strokeWidth: 1, - color: Color.Red, - }) - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barWidth(50) - .barHeight(300) - .vertical(false) - .margin('10vp') - .width('auto') - .height(396) - .fadingEdge(true) -/* - Button('关闭模糊').width('50%') - .onClick(()=>{ - this.blurStyle = BlurStyle.NONE - }).id('UIComponentNavTabsBlurStyle0031_001')*/ - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0032.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0032.ets deleted file mode 100644 index 72efc2ae..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0032.ets +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0032 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.COMPONENT_ULTRA_THICK - @State selectedMode: SelectedMode = SelectedMode.INDICATOR; - private controller: TabsController = new TabsController() - - @Builder - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Pink }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Yellow }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - /* - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - }.tabBar(new SubTabBarStyle('Red') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Red }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - */ - } - .divider({ - strokeWidth: 1, - color: Color.Red, - }) - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barWidth('auto') - .barHeight(300) - .vertical(false) - .margin('10vp') - .width('auto') - .height(396) - .fadingEdge(true) -/* - Button('关闭模糊').width('50%') - .onClick(()=>{ - this.blurStyle = BlurStyle.NONE - }).id('UIComponentNavTabsBlurStyle0032_001')*/ - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0033.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0033.ets deleted file mode 100644 index a76433e9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0033.ets +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0033 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.COMPONENT_ULTRA_THICK - @State selectedMode: SelectedMode = SelectedMode.BOARD; - private controller: TabsController = new TabsController() - - @Builder - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Pink }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Yellow }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - }.tabBar(new SubTabBarStyle('Red') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Red }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - } - .divider({ - strokeWidth: 1, - color: Color.Red, - }) - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Fixed) - .barWidth(50) - .barHeight(100) - .vertical(false) - .width('auto') - .height(396) - .fadingEdge(true) - /* - Button('关闭模糊').width('50%') - .onClick(()=>{ - this.blurStyle = BlurStyle.NONE - }).id('UIComponentNavTabsBlurStyle0033_001')*/ - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0034.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0034.ets deleted file mode 100644 index 8dbe91fb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0034.ets +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0034 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.COMPONENT_ULTRA_THICK - @State selectedMode: SelectedMode = SelectedMode.BOARD; - private controller: TabsController = new TabsController() - - @Builder - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Pink }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Yellow }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - }.tabBar(new SubTabBarStyle('Red') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Red }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - } - .divider({ - strokeWidth: 1, - color: Color.Red, - }) - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barWidth(80) - .barHeight(100) - .vertical(false) - .width('auto') - .height(396) - .fadingEdge(true) - /* - Button('关闭模糊').width('50%') - .onClick(()=>{ - this.blurStyle = BlurStyle.NONE - }).id('UIComponentNavTabsBlurStyle0034_001')*/ - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0035.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0035.ets deleted file mode 100644 index 5fc82a7c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0035.ets +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0035 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.COMPONENT_ULTRA_THICK - @State selectedMode: SelectedMode = SelectedMode.BOARD; - private controller: TabsController = new TabsController() - - @Builder - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Pink }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Yellow }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - }.tabBar(new SubTabBarStyle('Red') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Red }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - } - .divider({ - strokeWidth: 1, - color: Color.Red, - }) - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barWidth('auto') - .barHeight(300) - .vertical(false) - .padding('10vp') - .width('auto') - .height(396) - .fadingEdge(true) - /* - Button('关闭模糊').width('50%') - .onClick(()=>{ - this.blurStyle = BlurStyle.NONE - }).id('UIComponentNavTabsBlurStyle0035_001')*/ - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0036.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0036.ets deleted file mode 100644 index 79b2ecdb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0036.ets +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0036 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.COMPONENT_ULTRA_THICK - @State selectedMode: SelectedMode = SelectedMode.BOARD; - private controller: TabsController = new TabsController() - - @Builder - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Pink }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Yellow }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - /* - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - }.tabBar(new SubTabBarStyle('Red') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Red }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode))*/ - } - .divider({ - strokeWidth: 1, - color: Color.Red, - }) - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barWidth('auto') - .barHeight(100) - .vertical(false) - .padding('10vp') - .width('auto') - .height(396) - .fadingEdge(true) - - Button('关闭模糊').width('50%') - .onClick(()=>{ - this.blurStyle = BlurStyle.NONE - }).id('UIComponentNavTabsBlurStyle0036_001') - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0038.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0038.ets deleted file mode 100644 index 651fc16f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0038.ets +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0038 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.COMPONENT_ULTRA_THICK - @State selectedMode: SelectedMode = SelectedMode.INDICATOR; - private controller: TabsController = new TabsController() - - @Builder - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Pink }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Yellow }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - } - .divider({ - strokeWidth: 2, - color: Color.Red, - }) - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barWidth(80) - .barHeight(300) - .vertical(true) - .padding(('10vp')) - .width(360) - .height(396) - .fadingEdge(true) - - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0039.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0039.ets deleted file mode 100644 index 2cf9c48c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0039.ets +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0039 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.NONE - @State selectedMode: SelectedMode = SelectedMode.INDICATOR; - private controller: TabsController = new TabsController() - - @Builder - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Pink }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Yellow }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - }.tabBar(new SubTabBarStyle('Red') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Red }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - } - .divider({ - strokeWidth: 1, - color: Color.Red, - }) - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barWidth(100) - .barHeight(300) - .vertical(true) - .padding(('10vp')) - .width(360) - .height(396) - .fadingEdge(true) - Button('打开模糊').width('50%') - .onClick(()=>{ - this.blurStyle = BlurStyle.COMPONENT_ULTRA_THICK - }).id('UIComponentNavTabsBlurStyle0039_001') - Button('关闭模糊').width('50%') - .onClick(()=>{ - this.blurStyle = BlurStyle.NONE - }).id('UIComponentNavTabsBlurStyle0039_002') - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0040.ets deleted file mode 100644 index c7a2d4a8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0040.ets +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0040 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.COMPONENT_ULTRA_THICK - @State selectedMode: SelectedMode = SelectedMode.INDICATOR; - private controller: TabsController = new TabsController() - - @Builder - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Pink }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Yellow }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Red') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Red }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - } - .divider({ - strokeWidth: 2, - color: Color.Red, - }) - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barWidth(100) - .barHeight(300) - .vertical(true) - .padding(('10vp')) - .width(360) - .height(396) - .fadingEdge(true) - - /*Button('关闭模糊').width('50%') - .onClick(()=>{ - this.blurStyle = BlurStyle.NONE - }).id('UIComponentNavTabsBlurStyle0040_001')*/ - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0041.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0041.ets deleted file mode 100644 index fd23edf3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0041.ets +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0041 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.COMPONENT_ULTRA_THICK - @State selectedMode: SelectedMode = SelectedMode.INDICATOR; - private controller: TabsController = new TabsController() - - @Builder - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Pink }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Yellow }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Red') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Red }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - } - .divider({ - strokeWidth: 2, - color: Color.Red, - }) - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barWidth(50) - .barHeight(300) - .vertical(true) - .padding(('10vp')) - .width(360) - .height(396) - .fadingEdge(true) - - /*Button('关闭模糊').width('50%') - .onClick(()=>{ - this.blurStyle = BlurStyle.NONE - }).id('UIComponentNavTabsBlurStyle0041_001')*/ - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0042.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0042.ets deleted file mode 100644 index 98e26ea3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0042.ets +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0042 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - @State selectedMode: SelectedMode = SelectedMode.BOARD; - private controller: TabsController = new TabsController() - - @Builder - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Pink }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Yellow }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Red') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Red }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - } - .divider({ - strokeWidth: 2, - color: Color.Red, - }) - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Fixed) - .barWidth(50) - .vertical(true) - .width(360) - .height(396) - .fadingEdge(true) - - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0043.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0043.ets deleted file mode 100644 index 242b6fda..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0043.ets +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0043 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - @State selectedMode: SelectedMode = SelectedMode.BOARD; - private controller: TabsController = new TabsController() - - @Builder - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Pink }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Yellow }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Red') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Red }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Blur') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - } - .divider({ - strokeWidth: 2, - color: Color.Red, - }) - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barWidth(80) - //.padding('10vp') - .vertical(true) - .width(360) - .height(396) - .fadingEdge(true) - - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0044.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0044.ets deleted file mode 100644 index 53551f1c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0044.ets +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0044 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.COMPONENT_ULTRA_THICK - @State selectedMode: SelectedMode = SelectedMode.BOARD; - private controller: TabsController = new TabsController() - - @Builder - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Pink }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Yellow }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Red') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Red }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - } - .divider({ - strokeWidth: 2, - color: Color.Red, - }) - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barWidth(80) - .barHeight(300) - .vertical(true) - .width(360) - .height(396) - .fadingEdge(true) - - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0045.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0045.ets deleted file mode 100644 index d61e9c1a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0045.ets +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0045 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - @State selectedMode: SelectedMode = SelectedMode.BOARD; - private controller: TabsController = new TabsController() - - @Builder - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Pink }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Yellow }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - } - .divider({ - strokeWidth: 2, - color: Color.Red, - }) - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barWidth(80) - .padding('10vp') - .vertical(true) - .width(360) - .height(396) - .fadingEdge(true) - - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0046.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0046.ets deleted file mode 100644 index 96e991bf..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0046.ets +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0046 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - @State selectedMode: SelectedMode = SelectedMode.BOARD; - private controller: TabsController = new TabsController() - - @Builder - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Pink }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Yellow }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - } - .divider({ - strokeWidth: 2, - color: Color.Red, - }) - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Fixed) - .barWidth(50) - .padding('10vp') - .vertical(true) - .width(360) - .height(396) - .fadingEdge(true) - - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0047.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0047.ets deleted file mode 100644 index d6da2636..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0047.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0047 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - @Builder - tabBuilder(index: number, name: string) { - Column() { - Text(name) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(16) - .fontWeight(this.currentIndex === index ? 500 : 400) - .lineHeight(22) - .margin({ top: 17, bottom: 7 }) - Divider() - .strokeWidth(2) - .color('#007DFF') - .opacity(this.currentIndex === index ? 1 : 0) - }.width('100%') - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(this.tabBuilder(0, 'Pink')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(this.tabBuilder(1, 'Yellow')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(this.tabBuilder(2, 'Blue')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(this.tabBuilder(3, 'Green')) - } - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barWidth(100) - .padding('10vp') - .barPosition(BarPosition.End) - .vertical(true) - .width(360) - .height(296) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0048.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0048.ets deleted file mode 100644 index f741e524..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0048.ets +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0048 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.NONE - @State selectedMode: SelectedMode = SelectedMode.INDICATOR; - private controller: TabsController = new TabsController() - - @Builder - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Pink }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Yellow }) - .selectedMode(this.selectedMode)) - .backgroundBlurStyle(this.blurStyle) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Red') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Red }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - } - .divider({ - strokeWidth: 2, - color: Color.Red, - }) - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barWidth(100) - .padding('10vp') - .barPosition(BarPosition.End) - .vertical(true) - .width(360) - .height(196) - .fadingEdge(true) - Button('打开模糊').width('50%') - .onClick(()=>{ - this.blurStyle = BlurStyle.COMPONENT_ULTRA_THICK - }).id('UIComponentNavTabsBlurStyle0048_001') - Button('关闭模糊').width('50%') - .onClick(()=>{ - this.blurStyle = BlurStyle.NONE - }).id('UIComponentNavTabsBlurStyle0048_002') - - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0049.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0049.ets deleted file mode 100644 index 2f173a8e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0049.ets +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0049 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - @State selectedMode: SelectedMode = SelectedMode.INDICATOR; - private controller: TabsController = new TabsController() - - @Builder - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Pink }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Yellow }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Red') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Red }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - } - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barWidth(100) - .padding('10vp') - .barPosition(BarPosition.End) - .vertical(true) - .width(360) - .height(296) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0050.ets deleted file mode 100644 index d873edf8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0050.ets +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0050 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - @State selectedMode: SelectedMode = SelectedMode.INDICATOR; - private controller: TabsController = new TabsController() - - @Builder - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Pink }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Yellow }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Red') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Red }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - } - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barWidth(50) - .padding('10vp') - .barPosition(BarPosition.End) - .vertical(true) - .width(360) - .height(296) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0051.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0051.ets deleted file mode 100644 index 6937152c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0051.ets +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0051 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('Pink') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - } - .tabBar(SubTabBarStyle.of('Yellow') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - } - .tabBar(SubTabBarStyle.of('Blue') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - } - .tabBar(SubTabBarStyle.of('Green') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - } - .tabBar(SubTabBarStyle.of('Blue') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - } - .tabBar(SubTabBarStyle.of('Red') - .selectedMode(SelectedMode.BOARD) - ) - } - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Fixed) - .barWidth(50) - .barPosition(BarPosition.End) - .vertical(true) - .width(360) - .height(296) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0052.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0052.ets deleted file mode 100644 index ce25afd9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0052.ets +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0052 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - @Builder - tabBuilder(index: number, name: string) { - Column() { - Text(name) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(16) - .fontWeight(this.currentIndex === index ? 500 : 400) - .lineHeight(22) - .margin({ top: 17, bottom: 7 }) - Divider() - .strokeWidth(2) - .color('#007DFF') - .opacity(this.currentIndex === index ? 1 : 0) - }.width('100%') - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('Pink') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - } - .tabBar(SubTabBarStyle.of('Yellow') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - } - .tabBar(SubTabBarStyle.of('Blue') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - } - .tabBar(SubTabBarStyle.of('Green') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - } - .tabBar(SubTabBarStyle.of('Blue') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - } - .tabBar(SubTabBarStyle.of('Red') - .selectedMode(SelectedMode.BOARD) - ) - } - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .barHeight(300) - .barPosition(BarPosition.End) - .vertical(true) - .width(360) - .height(296) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0053.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0053.ets deleted file mode 100644 index dedd3f02..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0053.ets +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0053 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - @Builder - tabBuilder(index: number, name: string) { - Column() { - Text(name) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(16) - .fontWeight(this.currentIndex === index ? 500 : 400) - .lineHeight(22) - .margin({ top: 17, bottom: 7 }) - Divider() - .strokeWidth(2) - .color('#007DFF') - .opacity(this.currentIndex === index ? 1 : 0) - }.width('100%') - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('Pink') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - } - .tabBar(SubTabBarStyle.of('Yellow') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - } - .tabBar(SubTabBarStyle.of('Blue') - .selectedMode(SelectedMode.BOARD) - ) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - } - .tabBar(SubTabBarStyle.of('Green') - .selectedMode(SelectedMode.BOARD) - ) - } - .barBackgroundBlurStyle(this.blurStyle) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(BarMode.Scrollable) - .padding('10vp') - .barPosition(BarPosition.End) - .vertical(true) - .width(360) - .height(296) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0060.ets deleted file mode 100644 index a5c8a691..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0060.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0060 { - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%') - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width('100%').height('100%') - } - .tabBar(SubTabBarStyle.of('2')) - - } - .width(360) - .height(296) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0080.ets deleted file mode 100644 index 9c187a58..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0080.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0080 { - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .width(360) - .height(296) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0100.ets deleted file mode 100644 index fdf750c1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0100.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0100 { - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - } - .opacity(0.6) - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - } - .opacity(0.6) - .tabBar(SubTabBarStyle.of('2')) - - } - .opacity(0.6) - .barOverlap(true) - .width(360) - .height(296) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0110.ets deleted file mode 100644 index c3393cbb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0110.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0110 { - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Red) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .barWidth('50%') - .barOverlap(true) - .height(296) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0160.ets deleted file mode 100644 index c82db6f7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0160.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0160 { - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Red) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .barOverlap(true) - .height(296) - .margin(10) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0170.ets deleted file mode 100644 index cbad1cf4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0170.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0170 { - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Red) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .barOverlap(true) - .height(296) - .padding(10) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0180.ets deleted file mode 100644 index 254ad5af..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0180.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */@Entry -@Component -struct UIComponentNavTabsBlurStyle0180 { - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Red) - } - .opacity(0) - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .opacity(0) - .tabBar(SubTabBarStyle.of('2')) - - } - .barOverlap(true) - .height(296) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0190.ets deleted file mode 100644 index 581d2831..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0190.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0190 { - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Red) - } - .opacity(0.6) - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .opacity(0.6) - .tabBar(SubTabBarStyle.of('2')) - - } - .barOverlap(true) - .height(296) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0200.ets deleted file mode 100644 index 1710160e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0200.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0200 { - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Red) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .opacity(0.6) - .barOverlap(true) - .height(296) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0210.ets deleted file mode 100644 index 08693368..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0210.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0210 { - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Red) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .opacity(0) - .barOverlap(true) - .height(296) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0220.ets deleted file mode 100644 index 8d28c9a1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0220.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0220 { - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .barBackgroundBlurStyle(this.blurStyle) - .divider({ - strokeWidth: 10, - color: Color.Red }) - .barOverlap(true) - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0230.ets deleted file mode 100644 index 76dc54c8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0230.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0230 { - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .barBackgroundColor('#ff0000') - .barOverlap(true) - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0240.ets deleted file mode 100644 index e34491b1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0240.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0240 { - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .barBackgroundColor('#ffffff') - .barOverlap(true) - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0250.ets deleted file mode 100644 index 77f2db72..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0250.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0250 { - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .barBackgroundColor(0xff0000) - .barOverlap(true) - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0260.ets deleted file mode 100644 index 8753255d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0260.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0260 { - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .barBackgroundColor(0xffff00) - .barOverlap(true) - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0270.ets deleted file mode 100644 index aad861ed..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0270.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0270 { - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .barBackgroundColor(Color.Blue) - .barOverlap(true) - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0280.ets deleted file mode 100644 index e79cbfe2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0280.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0280 { - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .barBackgroundColor(Color.Yellow) - .barOverlap(true) - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0290.ets deleted file mode 100644 index 4a148ed2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0290.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0290 { - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .barBackgroundColor($r('app.color.start_window_background')) - .barOverlap(true) - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0300.ets deleted file mode 100644 index f1c10b08..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0300.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0300 { - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .barBackgroundColor('rgb(255,255,0)') - .barOverlap(true) - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0310.ets deleted file mode 100644 index ca812e50..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0310.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0310 { - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .barBackgroundColor('rgba(255,0,0,0.5)') - .barOverlap(true) - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0320.ets deleted file mode 100644 index f2b863e8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0320.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0320 { - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .barBackgroundColor('abc') - .barOverlap(true) - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0340.ets deleted file mode 100644 index 783cb4fe..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0340.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0340 { - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Green) - } - .tabBar(SubTabBarStyle.of('tab1')) - - TabContent() { - Column().width(500).height('100%') - } - .tabBar(SubTabBarStyle.of('tab2')).backgroundColor(Color.Red) - - } - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .barOverlap(true) - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0350.ets deleted file mode 100644 index 6f305f9f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0350.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0350 { - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .barBackgroundColor(Color. Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0360.ets deleted file mode 100644 index 19ce03d1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0360.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0360 { - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .barBackgroundColor(Color. Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .opacity(0.6) - .barOverlap(true) - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0370.ets deleted file mode 100644 index 4d03eec2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0370.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0370 { - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .barOverlap(true) - .barWidth('150%') - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0380.ets deleted file mode 100644 index 5d37b7e1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0380.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0380 { - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .barOverlap(true) - .barHeight('100%') - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0390.ets deleted file mode 100644 index e64126db..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0390.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0390 { - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .barOverlap(true) - .barHeight('150%') - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0400.ets deleted file mode 100644 index 8f396c21..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0400.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsBlurStyle0400 { - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .barOverlap(true) - .barHeight('20%') - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsCachedCount/UIComponentNavTabsCachedCount014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsCachedCount/UIComponentNavTabsCachedCount014.ets deleted file mode 100644 index 0a9b2b6d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsCachedCount/UIComponentNavTabsCachedCount014.ets +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { BusinessError } from '@kit.BasicServicesKit' - -@Entry -@Component -struct UIComponentNavTabsCachedCount014 { - @State currentIndex: number = 0 - private tabsController: TabsController = new TabsController() - - build() { - Column() { - Tabs({ index: this.currentIndex, barPosition: BarPosition.Start, controller: this.tabsController }) { - TabContent() { - MyComponent({ color: '#00CB87' }) - }.tabBar(SubTabBarStyle.of('green')) - - TabContent() { - MyComponent({ color: '#007DFF' }) - }.tabBar(SubTabBarStyle.of('blue')) - - TabContent() { - MyComponent({ color: '#FFBF00' }) - }.tabBar(SubTabBarStyle.of('yellow')) - - TabContent() { - MyComponent({ color: '#E67C92' }) - }.tabBar(SubTabBarStyle.of('pink')) - } - .width(360) - .height(296) - .backgroundColor('#F1F3F5') - .onChange((index: number) => { - this.currentIndex = index - }) - - Button('preload items: [1, 3]') - .margin(5) - .onClick(() => { - // 预加载第1、3个子节点,提高滑动或点击切换至这些节点时的性能 - this.tabsController.preloadItems([1, 3]) - .then(() => { - console.info('preloadItems success.') - }) - .catch((error: BusinessError) => { - console.error('preloadItems failed, error code: ' + error.code + ', error message: ' + error.message) - }) - }) - .id('UIComponentNavTabs014_001') - } - } -} - -@Component -struct MyComponent { - private color: string = "" - - aboutToAppear(): void { - console.info('aboutToAppear backgroundColor:' + this.color) - } - - aboutToDisappear(): void { - console.info('aboutToDisappear backgroundColor:' + this.color) - } - - build() { - Column() - .width('100%') - .height('100%') - .backgroundColor(this.color) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsCachedCount/UIComponentNavTabsCachedCount015.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsCachedCount/UIComponentNavTabsCachedCount015.ets deleted file mode 100644 index 57f6ee4c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsCachedCount/UIComponentNavTabsCachedCount015.ets +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { BusinessError } from '@kit.BasicServicesKit' - -@Entry -@Component -struct UIComponentNavTabsCachedCount015 { - @State currentIndex: number = 0 - private tabsController: TabsController = new TabsController() - - build() { - Column() { - Tabs({ index: this.currentIndex, barPosition: BarPosition.End, controller: this.tabsController }) { - TabContent() { - MyComponent({ color: '#00CB87' }) - }.tabBar(SubTabBarStyle.of('green')) - - TabContent() { - MyComponent({ color: '#007DFF' }) - }.tabBar(SubTabBarStyle.of('blue')) - - TabContent() { - MyComponent({ color: '#FFBF00' }) - }.tabBar(SubTabBarStyle.of('yellow')) - - TabContent() { - MyComponent({ color: '#E67C92' }) - }.tabBar(SubTabBarStyle.of('pink')) - } - .width(360) - .height(296) - .backgroundColor('#F1F3F5') - .onChange((index: number) => { - this.currentIndex = index - }) - - Button('preload items: [1, 3]') - .margin(5) - .onClick(() => { - // 预加载第1、3个子节点,提高滑动或点击切换至这些节点时的性能 - this.tabsController.preloadItems([1, 3]) - .then(() => { - console.info('preloadItems success.') - }) - .catch((error: BusinessError) => { - console.error('preloadItems failed, error code: ' + error.code + ', error message: ' + error.message) - }) - }) - .id('UIComponentNavTabs015_001') - } - } -} - -@Component -struct MyComponent { - private color: string = "" - - aboutToAppear(): void { - console.info('aboutToAppear backgroundColor:' + this.color) - } - - aboutToDisappear(): void { - console.info('aboutToDisappear backgroundColor:' + this.color) - } - - build() { - Column() - .width('100%') - .height('100%') - .backgroundColor(this.color) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsCachedCount/UIComponentNavTabsCachedCount016.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsCachedCount/UIComponentNavTabsCachedCount016.ets deleted file mode 100644 index 4989f8da..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsCachedCount/UIComponentNavTabsCachedCount016.ets +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { BusinessError } from '@kit.BasicServicesKit' - -@Entry -@Component -struct UIComponentNavTabsCachedCount016 { - @State currentIndex: number = 0 - @State barPosition: BarPosition = BarPosition.Start // 新增状态以动态改变 barPosition - private tabsController: TabsController = new TabsController() - - build() { - Column() { - // Tabs 组件,使用动态 barPosition - Tabs({ index: this.currentIndex, barPosition: this.barPosition, controller: this.tabsController }) { - TabContent() { - MyComponent({ color: '#00CB87' }) - }.tabBar(SubTabBarStyle.of('green')) - - TabContent() { - MyComponent({ color: '#007DFF' }) - }.tabBar(SubTabBarStyle.of('blue')) - - TabContent() { - MyComponent({ color: '#FFBF00' }) - }.tabBar(SubTabBarStyle.of('yellow')) - - TabContent() { - MyComponent({ color: '#E67C92' }) - }.tabBar(SubTabBarStyle.of('pink')) - } - .width(360) - .height(296) - .backgroundColor('#F1F3F5') - .onChange((index: number) => { - this.currentIndex = index - }) - - Button('preload items: [1, 3]') - .margin(5) - .onClick(() => { - // 预加载第1、3个子节点,提高滑动或点击切换至这些节点时的性能 - this.tabsController.preloadItems([1, 3]) - .then(() => { - console.info('preloadItems success.') - }) - .catch((error: BusinessError) => { - console.error('preloadItems failed, error code: ' + error.code + ', error message: ' + error.message) - }) - }) - .id('UIComponentNavTabs016_001') - - // 按钮用于切换 barPosition - Button('Toggle Bar Position') - .margin(5) - .onClick(() => { - // 切换 barPosition - this.barPosition = this.barPosition === BarPosition.Start ? BarPosition.End : BarPosition.Start; - console.info('Bar position changed to: ' + this.barPosition); - }) - .id('UIComponentNavTabs016_002') - } - } -} - -@Component -struct MyComponent { - private color: string = "" - - aboutToAppear(): void { - console.info('aboutToAppear backgroundColor:' + this.color) - } - - aboutToDisappear(): void { - console.info('aboutToDisappear backgroundColor:' + this.color) - } - - build() { - Column() - .width('100%') - .height('100%') - .backgroundColor(this.color) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt001.ets deleted file mode 100644 index 38dc8833..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt001.ets +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentAdapt001 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Image(this.currentIndex === index ? '/common/public_icon_on.svg' : '/common/public_icon_off.svg') - .width(24) - .height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text(`Tab${index + 1}`) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - } - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, controller: this.controller, }) { - TabContent() { - Column() { - Text('Tab_1') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width(50) - }.tabBar(this.tabBuilder(0)) - - TabContent() { - Column() { - Text('Tab_2') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width(100) - }.tabBar(this.tabBuilder(1)) - - TabContent() { - Column() { - Text('Tab_3') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width(150) - }.tabBar(this.tabBuilder(2)) - - TabContent() { - Column() { - Text('Tab_4') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width(200) - }.tabBar(this.tabBuilder(3)) - } - .vertical(false) - .barWidth('auto') - .onChange((index: number) => { - this.currentIndex = index - }) - .width('auto') - .height(400) - .backgroundColor('#F1F3F5') - .margin({ top: 38 }) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt002.ets deleted file mode 100644 index 978133eb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt002.ets +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentAdapt002 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Image(this.currentIndex === index ? '/common/public_icon_on.svg' : '/common/public_icon_off.svg') - .width(24) - .height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text(`Tab${index + 1}`) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - } - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, controller: this.controller, }) { - TabContent() { - Column() { - Text('Tab_1') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(50) - }.tabBar(this.tabBuilder(0)) - - TabContent() { - Column() { - Text('Tab_2') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(100) - }.tabBar(this.tabBuilder(1)) - - TabContent() { - Column() { - Text('Tab_3') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(150) - }.tabBar(this.tabBuilder(2)) - - TabContent() { - Column() { - Text('Tab_4') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(200) - }.tabBar(this.tabBuilder(3)) - } - .vertical(false) - .barHeight('auto') - .onChange((index: number) => { - this.currentIndex = index - }) - .width(500) - .height('auto') - .backgroundColor('#F1F3F5') - .margin({ top: 38 }) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt003.ets deleted file mode 100644 index 3a480b85..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt003.ets +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentAdapt003 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Image(this.currentIndex === index ? '/common/public_icon_on.svg' : '/common/public_icon_off.svg') - .width(24) - .height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text(`Tab${index + 1}`) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - } - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller, }) { - TabContent() { - Column() { - Text('Tab_1') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(50) - }.tabBar(this.tabBuilder(0)) - - TabContent() { - Column() { - Text('Tab_2') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(100) - }.tabBar(this.tabBuilder(1)) - - TabContent() { - Column() { - Text('Tab_3') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(150) - }.tabBar(this.tabBuilder(2)) - - TabContent() { - Column() { - Text('Tab_4') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(200) - }.tabBar(this.tabBuilder(3)) - } - .vertical(false) - .barHeight('auto') - .onChange((index: number) => { - this.currentIndex = index - }) - .width(500) - .height('auto') - .backgroundColor('#F1F3F5') - .margin({ top: 38 }) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt004.ets deleted file mode 100644 index 8bc1098d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt004.ets +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentAdapt004 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Image(this.currentIndex === index ? '/common/public_icon_on.svg' : '/common/public_icon_off.svg') - .width(24) - .height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text(`Tab${index + 1}`) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - } - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller, }) { - TabContent() { - Column() { - Text('Tab_1') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width(50) - }.tabBar(this.tabBuilder(0)) - - TabContent() { - Column() { - Text('Tab_2') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width(100) - }.tabBar(this.tabBuilder(1)) - - TabContent() { - Column() { - Text('Tab_3') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width(150) - }.tabBar(this.tabBuilder(2)) - - TabContent() { - Column() { - Text('Tab_4') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width(200) - }.tabBar(this.tabBuilder(3)) - } - .vertical(false) - .barWidth('auto') - .onChange((index: number) => { - this.currentIndex = index - }) - .width('auto') - .height(400) - .backgroundColor('#F1F3F5') - .margin({ top: 38 }) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0050.ets deleted file mode 100644 index 7e7ab58e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0050.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentAdapt0500 { - private controller: TabsController = new TabsController() - @State subTabBorderRadius: number = 10; - - build() { - Column() { - - Tabs({ barPosition: BarPosition.Start, controller: this.controller }) { - TabContent() { - Column().width('100%').height(50).backgroundColor(Color.Pink).borderRadius(this.subTabBorderRadius) - }.tabBar('pink') - - TabContent() { - Column().width('100%').height(60).backgroundColor(Color.Yellow).borderRadius(this.subTabBorderRadius) - }.tabBar('yellow') - - TabContent() { - Column().width('100%').height(70).backgroundColor(Color.Blue).borderRadius(this.subTabBorderRadius) - }.tabBar('blue') - - TabContent() { - Column().width('100%').height(80).backgroundColor(Color.Green).borderRadius(this.subTabBorderRadius) - }.tabBar('green') - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Scrollable) - .barHeight(140) - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .backgroundColor(0xF5F5F5) - .height('auto') - - }.width('100%').height(250).padding({ top: '24vp', left: '24vp', right: '24vp' }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt007.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt007.ets deleted file mode 100644 index 88974097..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt007.ets +++ /dev/null @@ -1,135 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentAdapt007 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State tabPadding: string = 'auto' - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Image(this.currentIndex === index ? '/common/public_icon_on.svg' : '/common/public_icon_off.svg') - .width(24) - .height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text(`Tab${index + 1}`) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - } - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, controller: this.controller, }) { - TabContent() { - Column() { - Text('Tab_1') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(50) - }.tabBar(this.tabBuilder(0)) - - TabContent() { - Column() { - Text('Tab_2') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(100) - }.tabBar(this.tabBuilder(1)) - - TabContent() { - Column() { - Text('Tab_3') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(150) - }.tabBar(this.tabBuilder(2)) - - TabContent() { - Column() { - Text('Tab_4') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(200) - }.tabBar(this.tabBuilder(3)) - } - .vertical(false) - .barHeight('auto') - .onChange((index: number) => { - this.currentIndex = index - }) - .width(500) - .height('auto') - .backgroundColor('#F1F3F5') - .margin({ top: 38 }) - .padding(this.tabPadding) - - Button('tab.padding设置为10').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.tabPadding = '10' - }).id('UIComponentNavTabsContentAdapt007_001') - - Button('tab.padding设置为20').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.tabPadding = '20' - }).id('UIComponentNavTabsContentAdapt007_002') - - Button('tab.padding设置为30').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.tabPadding = '30' - }).id('UIComponentNavTabsContentAdapt007_003') - - Button('tab.padding设置为auto').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.tabPadding = 'auto' - }).id('UIComponentNavTabsContentAdapt007_004') - - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0080.ets deleted file mode 100644 index a595bf56..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0080.ets +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentAdapt0080 { - private controller: TabsController = new TabsController() - @State subTabBorderRadius: number = 10; - - build() { - Column() { - - Tabs({ barPosition: BarPosition.Start, controller: this.controller }) { - TabContent() { - Column().width('100%').height(50).backgroundColor(Color.Pink).borderRadius(this.subTabBorderRadius) - }.tabBar('pink') - - TabContent() { - Column().width('100%').height(60).backgroundColor(Color.Yellow).borderRadius(this.subTabBorderRadius) - }.tabBar('yellow') - - TabContent() { - Column().width('100%').height(70).backgroundColor(Color.Blue).borderRadius(this.subTabBorderRadius) - }.tabBar('blue') - - TabContent() { - Column().width('100%').height(80).backgroundColor(Color.Green).borderRadius(this.subTabBorderRadius) - }.tabBar('green') - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Scrollable) - .barHeight(140) - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .backgroundColor(0xF5F5F5) - .height('auto') - - Button('addBorderRadius').width('50%').margin({ top: 20 }) - .onClick(()=>{ - this.subTabBorderRadius = 20 - }).id('UIComponentNavTabsContentAdapt0080_001') - - Button('resetBorderRadius').width('50%').margin({ top: 20 }) - .onClick(()=>{ - this.subTabBorderRadius = 10 - }).id('UIComponentNavTabsContentAdapt0080_002') - - }.width('100%').height(250).padding({ top: '24vp', left: '24vp', right: '24vp' }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt010.ets deleted file mode 100644 index d226bfc2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt010.ets +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentAdapt010 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Image(this.currentIndex === index ? '/common/public_icon_on.svg' : '/common/public_icon_off.svg') - .width(24) - .height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text('Tab') - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - }.width('100%').height('100%').justifyContent(FlexAlign.Center) - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, controller: this.controller }) { - TabContent() { - Column() { - Text('Tab_1') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width(50) - }.tabBar(this.tabBuilder(0)) - TabContent() { - Column() { - Text('Tab_2') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width(100) - }.tabBar(this.tabBuilder(1)) - TabContent(){ - Column() { - Text('Tab_3') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width(150) - }.tabBar(this.tabBuilder(2)) - TabContent(){ - Column() { - Text('Tab_4') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width(200) - }.tabBar(this.tabBuilder(3)) - } - .vertical(true) - .barWidth(96) - .barHeight(414) - .onChange((index: number) => { - this.currentIndex = index - }) - .width('auto') - .height(414) - .backgroundColor('#F1F3F5') - .margin({ top: 52 }) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt011.ets deleted file mode 100644 index 5d4994b3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt011.ets +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentAdapt011 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Image(this.currentIndex === index ? '/common/public_icon_on.svg' : '/common/public_icon_off.svg') - .width(24) - .height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text('Tab') - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - }.width('100%').height('100%').justifyContent(FlexAlign.Center) - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, controller: this.controller }) { - TabContent() { - Column() { - Text('Tab_1') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(50) - }.tabBar(this.tabBuilder(0)) - TabContent() { - Column() { - Text('Tab_2') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(100) - }.tabBar(this.tabBuilder(1)) - TabContent(){ - Column() { - Text('Tab_3') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(150) - }.tabBar(this.tabBuilder(2)) - TabContent(){ - Column() { - Text('Tab_4') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(400) - }.tabBar(this.tabBuilder(3)) - } - .vertical(true) - .barWidth(96) - .barHeight(200) - .onChange((index: number) => { - this.currentIndex = index - }) - .width(300) - .height('auto') - .backgroundColor('#F1F3F5') - .margin({ top: 52 }) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt012.ets deleted file mode 100644 index 5ea70d1d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt012.ets +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentAdapt012 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Image(this.currentIndex === index ? '/common/public_icon_on.svg' : '/common/public_icon_off.svg') - .width(24) - .height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text('Tab') - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - }.width('100%').height('100%').justifyContent(FlexAlign.Center) - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller }) { - TabContent() { - Column() { - Text('Tab_1') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(50) - }.tabBar(this.tabBuilder(0)) - TabContent() { - Column() { - Text('Tab_2') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(100) - }.tabBar(this.tabBuilder(1)) - TabContent(){ - Column() { - Text('Tab_3') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(150) - }.tabBar(this.tabBuilder(2)) - TabContent(){ - Column() { - Text('Tab_4') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(400) - }.tabBar(this.tabBuilder(3)) - } - .vertical(true) - .barWidth(96) - .barHeight(200) - .onChange((index: number) => { - this.currentIndex = index - }) - .width(300) - .height('auto') - .backgroundColor('#F1F3F5') - .margin({ top: 52 }) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt013.ets deleted file mode 100644 index 495b0615..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt013.ets +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentAdapt013 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Image(this.currentIndex === index ? '/common/public_icon_on.svg' : '/common/public_icon_off.svg') - .width(24) - .height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text('Tab') - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - }.width('100%').height('100%').justifyContent(FlexAlign.Center) - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller }) { - TabContent() { - Column() { - Text('Tab_1') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width(50) - }.tabBar(this.tabBuilder(0)) - TabContent() { - Column() { - Text('Tab_2') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width(100) - }.tabBar(this.tabBuilder(1)) - TabContent(){ - Column() { - Text('Tab_3') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width(150) - }.tabBar(this.tabBuilder(2)) - TabContent(){ - Column() { - Text('Tab_4') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width(200) - }.tabBar(this.tabBuilder(3)) - } - .vertical(true) - .barWidth(96) - .barHeight(414) - .onChange((index: number) => { - this.currentIndex = index - }) - .width('auto') - .height(414) - .backgroundColor('#F1F3F5') - .margin({ top: 52 }) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt014.ets deleted file mode 100644 index 4422d4d9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt014.ets +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentAdapt014 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Image(this.currentIndex === index ? '/common/public_icon_on.svg' : '/common/public_icon_off.svg') - .width(24) - .height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text(`Tab${index + 1}`) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - } - } - - build() { - Column() { - - Tabs({ barPosition: BarPosition.Start, controller: this.controller, }) { - TabContent() { - Column() { - Text('Tab_1') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(50).width(50) - }.tabBar(this.tabBuilder(0)) - - TabContent() { - Column() { - Text('Tab_2') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(100).width(100) - }.tabBar(this.tabBuilder(1)) - - TabContent() { - Column() { - Text('Tab_3') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(150).width(150) - }.tabBar(this.tabBuilder(2)) - - TabContent() { - Column() { - Text('Tab_4') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(200).width(200) - }.tabBar(this.tabBuilder(3)) - } - .vertical(false) - .scrollable(false) - .barHeight('auto') - .onChange((index: number) => { - this.currentIndex = index - }) - .width('auto') - .height('auto') - .backgroundColor('#F1F3F5') - .margin({ top: 38 }) - .padding('auto') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0150.ets deleted file mode 100644 index 7274559e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0150.ets +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentAdapt0150 { - @State barWidth: number = 300; - - build() { - Column({ space: 5 }) { - Text("底部页签样式") - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Pink')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Yellow')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Blue')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Green')); - } - .vertical(false) - .scrollable(true) - .barHeight('auto') - .barWidth(this.barWidth) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()); - }) - .width('400') - .height('auto') - .backgroundColor(0xF1F3F5); - Button('宽度改变').width('50%') - .onClick(() => { - if (this.barWidth == 300) { - this.barWidth = 400; - } - else { - this.barWidth = 300; - } - }).id('UIComponentNavTabsContentAdapt0150_001'); - - }.width('100%').height(200) - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0160.ets deleted file mode 100644 index 57cfb440..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0160.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentadapt0160 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State barWidth: number = 200; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('change barWidth') - .id('UIComponentNavTabsContentadapt0160_001') - .onClick(() => { - this.barWidth += 50; - }) - Tabs({ barPosition: BarPosition.Start, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(SubTabBarStyle.of('Pink')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(SubTabBarStyle.of('Green')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(SubTabBarStyle.of('Blue')) - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('auto') - .barWidth(this.barWidth) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0170.ets deleted file mode 100644 index 9ffae16a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0170.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentadapt0170 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State barWidth: number = 200; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('change barWidth') - .id('UIComponentNavTabsContentadapt0170_001') - .onClick(() => { - this.barWidth += 50; - }) - Tabs({ barPosition: BarPosition.Start, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(SubTabBarStyle.of('Pink')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(SubTabBarStyle.of('Green')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(SubTabBarStyle.of('Blue')) - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('auto') - .barWidth(this.barWidth) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0180.ets deleted file mode 100644 index 15c96d9b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0180.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentAdapt0180 { - @State barWidth: number = 200; - build() { - Column({ space: 5 }) { - - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Pink')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Yellow')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Blue')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Green')); - } - .vertical(true).scrollable(true).barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('auto') - .barWidth(this.barWidth) - .backgroundColor(0xF1F3F5); - - Button('宽度改变').width('50%') - .onClick(() => { - this.barWidth -= 50; - if (this.barWidth <= 100) { - this.barWidth = 200; - } - }).id('UIComponentNavTabsContentAdapt0180_001'); - - }.width('400').height('400'); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0190.ets deleted file mode 100644 index ac565f2f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0190.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentadapt0190 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State barWidth: number = 200; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('change barWidth') - .id('UIComponentNavTabsContentadapt0190_001') - .onClick(() => { - this.barWidth += 50; - }) - Tabs({ barPosition: BarPosition.Start, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(SubTabBarStyle.of('Pink')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(SubTabBarStyle.of('Green')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(SubTabBarStyle.of('Blue')) - } - .vertical(true) - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .width('auto') - .barWidth(this.barWidth) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0200.ets deleted file mode 100644 index 5f4db990..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0200.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentadapt0200 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State barWidth: number = 200; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('change barWidth') - .id('UIComponentNavTabsContentadapt0200_001') - .onClick(() => { - this.barWidth += 50; - }) - Tabs({ barPosition: BarPosition.Start, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(SubTabBarStyle.of('Pink')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(SubTabBarStyle.of('Green')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(SubTabBarStyle.of('Blue')) - } - .vertical(true) - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('auto') - .barWidth(this.barWidth) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0210.ets deleted file mode 100644 index 26fb7de5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0210.ets +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentAdapt0210 { - @State barHeight: number = 100; - - build() { - Column({ space: 5 }) { - Text("底部页签样式") - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Pink')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Yellow')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Blue')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Green')); - } - .vertical(false) - .scrollable(true) - .barHeight(this.barHeight) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()); - }) - .width('100%') - .height('auto') - .backgroundColor(0xF1F3F5); - Button('高度改变').width('50%') - .onClick(() => { - this.barHeight += 50; - if (this.barHeight >= 200) { - this.barHeight = 100; - } - }).id('UIComponentNavTabsContentAdapt0210_001'); - - }.width('100%').height(200) - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0220.ets deleted file mode 100644 index 61c778ab..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0220.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentadapt0220 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State barHeight: number = 100; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('change barheight') - .id('UIComponentNavTabsContentadapt0220_001') - .onClick(() => { - this.barHeight += 50; - }) - Tabs({ barPosition: BarPosition.Start, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(SubTabBarStyle.of('Pink')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(SubTabBarStyle.of('Green')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(SubTabBarStyle.of('Blue')) - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('auto') - .barHeight(this.barHeight) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0230.ets deleted file mode 100644 index bd0c8fc2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0230.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentadapt0230 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State barHeight: number = 200; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('change barHeight') - .id('UIComponentNavTabsContentadapt0230_001') - .onClick(() => { - this.barHeight += 50; - }) - Tabs({ barPosition: BarPosition.Start, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(SubTabBarStyle.of('Pink')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(SubTabBarStyle.of('Green')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(SubTabBarStyle.of('Blue')) - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('auto') - .barHeight(this.barHeight) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0240.ets deleted file mode 100644 index 9be0ffc8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0240.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentAdapt0240 { - @State barHeight: number = 400; - build() { - Column({ space: 5 }) { - - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Pink')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Yellow')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Blue')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Green')); - } - .vertical(true).scrollable(true).barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('auto') - .barHeight(this.barHeight) - .backgroundColor(0xF1F3F5); - - Button('高度改变').width('50%') - .onClick(() => { - this.barHeight -= 50; - if (this.barHeight <= 300) { - this.barHeight = 400; - } - }).id('UIComponentNavTabsContentAdapt0240_001'); - - }.width('100%').height(400); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0250.ets deleted file mode 100644 index 7bb6a5df..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0250.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentadapt0250 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State barHeight: number = 100; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('change barheight') - .id('UIComponentNavTabsContentadapt0250_001') - .onClick(() => { - this.barHeight += 50; - }) - Tabs({ barPosition: BarPosition.Start, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(SubTabBarStyle.of('Pink')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(SubTabBarStyle.of('Green')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(SubTabBarStyle.of('Blue')) - } - .vertical(true) - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .width('auto') - .barHeight(this.barHeight) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0260.ets deleted file mode 100644 index 0f786fc5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0260.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentadapt0260 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State barHeight: number = 200; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('change barHeight') - .id('UIComponentNavTabsContentadapt0260_001') - .onClick(() => { - this.barHeight += 50; - }) - Tabs({ barPosition: BarPosition.Start, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(SubTabBarStyle.of('Pink')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(SubTabBarStyle.of('Green')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(SubTabBarStyle.of('Blue')) - } - .vertical(true) - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .width('auto') - .barHeight(this.barHeight) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt027.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt027.ets deleted file mode 100644 index 9e1ab4d5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt027.ets +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentAdapt027 { - private controller1: TabsController = new TabsController() - @State dividerColor: string = 'red' - @State strokeWidth: number = 2 - @State startMargin: number = 0 - @State endMargin: number = 0 - @State nullFlag: boolean = false - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, controller: this.controller1 }) { - TabContent() { - Column().width('100%').height(50).backgroundColor(Color.Pink) - }.tabBar('pink') - - TabContent() { - Column().width('100%').height(80).backgroundColor(Color.Yellow) - }.tabBar('yellow') - - TabContent() { - Column().width('100%').height(100).backgroundColor(Color.Blue) - }.tabBar('blue') - - TabContent() { - Column().width('100%').height(120).backgroundColor(Color.Green) - }.tabBar('green') - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .barWidth('auto') - .barHeight('auto') - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .height('auto') - .margin({ bottom: '12vp' }) - .divider(this.nullFlag ? null : { - strokeWidth: this.strokeWidth, - color: this.dividerColor, - startMargin: this.startMargin, - endMargin: this.endMargin - }) - - Button('增加Divider').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.nullFlag = false; - this.strokeWidth += 2; - this.dividerColor = 'red'; - this.startMargin = 0; - this.endMargin = 0; - }).id('UIComponentNavTabsContentAdapt027_001') - Button('复位Divider').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.nullFlag = false - this.strokeWidth = 2; - }).id('UIComponentNavTabsContentAdapt027_002') - }.padding({ top: '24vp', left: '24vp', right: '24vp' }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt028.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt028.ets deleted file mode 100644 index dd92e42c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt028.ets +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentAdapt028 { - private controller1: TabsController = new TabsController() - @State dividerColor: string = 'blue' - @State startMargin: number = 0 - @State endMargin: number = 0 - @State nullFlag: boolean = false - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, controller: this.controller1 }) { - TabContent() { - Column().width('100%').height(50).backgroundColor(Color.Pink) - }.tabBar('pink') - - TabContent() { - Column().width('100%').height(70).backgroundColor(Color.Yellow) - }.tabBar('yellow') - - TabContent() { - Column().width('100%').height(80).backgroundColor(Color.Blue) - }.tabBar('blue') - - TabContent() { - Column().width('100%').height(100).backgroundColor(Color.Green) - }.tabBar('green') - - } - .vertical(false) - .direction(Direction.Ltr) - .scrollable(true) - .barMode(BarMode.Fixed) - .barWidth('auto') - .barHeight('auto') - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .height('auto') - .margin({ bottom: '12vp' }) - .divider(this.nullFlag ? null : { - strokeWidth: 2, - color: this.dividerColor, - startMargin: this.startMargin, - endMargin: this.endMargin - }) - Button('上边距增加').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.startMargin += 2 - }).id('UIComponentNavTabsContentAdapt028_001') - - Button('上边距减少').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - if (this.startMargin > 2) { - this.startMargin -= 2 - } - }).id('UIComponentNavTabsContentAdapt028_002') - - Button('下边距增加').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.endMargin += 2 - }).id('UIComponentNavTabsContentAdapt028_003') - - Button('下边距减少').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - if (this.endMargin > 2) { - this.endMargin -= 2 - } - }).id('UIComponentNavTabsContentAdapt028_004') - - Button('颜色变为红色').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.dividerColor = 'red' - }).id('UIComponentNavTabsContentAdapt028_005') - - - }.padding({ top: '24vp', left: '24vp', right: '24vp' }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt030.ets deleted file mode 100644 index fcb001cd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt030.ets +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentAdapt030 { - private controller: TabsController = new TabsController() - @State barOverlap: boolean = true; - @State barBackgroundColor: string = '#88888888'; - - build() { - Column() { - - Tabs({ barPosition: BarPosition.Start, index: 2, controller: this.controller }) { - TabContent() { - Column() { - Text(`barOverlap ${this.barOverlap}`).fontSize(16).margin({ top: this.barOverlap ? '56vp' : 0 }) - Text(`barBackgroundColor ${this.barBackgroundColor}`).fontSize(16) - }.width('100%').width('100%').height(200) - .backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), "1")) - - TabContent() { - Column() { - Text(`barOverlap ${this.barOverlap}`).fontSize(16).margin({ top: this.barOverlap ? '56vp' : 0 }) - Text(`barBackgroundColor ${this.barBackgroundColor}`).fontSize(16) - }.width('100%').width('100%').height(300) - .backgroundColor(Color.Yellow) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), "2")) - - TabContent() { - Column() { - Text(`barOverlap ${this.barOverlap}`).fontSize(16).margin({ top: this.barOverlap ? '56vp' : 0 }) - Text(`barBackgroundColor ${this.barBackgroundColor}`).fontSize(16) - }.width('100%').width('100%').height(400) - .backgroundColor(Color.Green) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), "3")) - } - .vertical(false) - .barMode(BarMode.Fixed) - .height('60%') - .barOverlap(true) - .scrollable(true) - .animationDuration(10) - .barBackgroundColor(this.barBackgroundColor) - } - .height(500) - .padding({ top: '24vp', left: '24vp', right: '24vp' }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0310.ets deleted file mode 100644 index 8fb27f96..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0310.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentAdapt0310 { - @State vertical: boolean = false; - build() { - Column({ space: 5 }) { - - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height(100).backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Pink')) - - TabContent() { - Column().width('100%').height(110).backgroundColor(Color.Yellow) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Yellow')) - - TabContent() { - Column().width('100%').height(120).backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Blue')) - - TabContent() { - Column().width('100%').height(130).backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Green')) - } - .vertical(this.vertical).scrollable(true).barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .height('auto') - .backgroundColor(0xF1F3F5); - - Button('设置').width('50%').margin({ top: 20 }) - .onClick(() => { - this.vertical = !this.vertical; - }).id('UIComponentNavTabsContentAdapt0310_001') - - }.width('100%').height(400) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt032.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt032.ets deleted file mode 100644 index 79e66eec..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt032.ets +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentAdapt032 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State tabVertical: boolean = false - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Image(this.currentIndex === index ? '/common/public_icon_on.svg' : '/common/public_icon_off.svg') - .width(24) - .height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text(`Tab${index + 1}`) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - } - } - - build() { - Column() { - Button('tab.vertical设置为true').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.tabVertical = !this.tabVertical - }).id('UIComponentNavTabsContentAdapt032_001') - - Tabs({ barPosition: BarPosition.Start, controller: this.controller, }) { - TabContent() { - Column() { - Text('Tab_1') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(50).width(50) - }.tabBar(this.tabBuilder(0)) - - TabContent() { - Column() { - Text('Tab_2') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(100).width(100) - }.tabBar(this.tabBuilder(1)) - - TabContent() { - Column() { - Text('Tab_3') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(150).width(150) - }.tabBar(this.tabBuilder(2)) - - TabContent() { - Column() { - Text('Tab_4') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(200).width(200) - }.tabBar(this.tabBuilder(3)) - } - .vertical(this.tabVertical) - .barHeight('auto') - .onChange((index: number) => { - this.currentIndex = index - }) - .width('auto') - .height('auto') - .backgroundColor('#F1F3F5') - .margin({ top: 38 }) - .padding('auto') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt033.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt033.ets deleted file mode 100644 index d41ad152..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt033.ets +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI' - -@Entry -@Component -struct Index { - @State symbolModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_wifi')); - @State symbolModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ellipsis_bubble')); - @State symbolModifier3: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.dot_video')); - @State symbolModifier4: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.exposure')); - - @State barPosition: BarPosition = BarPosition.Start // 新增状态以动态改变 barPosition - - build() { - Column({space: 5}) { - Text("底部页签样式") - Column(){ - Tabs({barPosition: this.barPosition}) { - TabContent() { - Column(){ - Text('Tab_1') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 0, bottom: 6.5 }) - }.width('100%').height('auto').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier1, - }, 'Pink')) - .onWillShow(() => { - console.info("Pink will show") - }) - .onWillHide(() => { - console.info("Pink will hide") - }) - - TabContent() { - Column(){ - Text('Tab_222') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 10, bottom: 16.5 }) - }.width('100%').height('auto').backgroundColor(Color.Orange) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier2, - }, 'Orange')) - .onWillShow(() => { - console.info("Orange will show") - }) - .onWillHide(() => { - console.info("Orange will hide") - }) - - TabContent() { - Column(){ - Text('Tab_333333') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 20, bottom: 26.5 }) - }.width('100%').height('auto').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier3, - }, 'Blue')) - .onWillShow(() => { - console.info("Blue will show") - }) - .onWillHide(() => { - console.info("Blue will hide") - }) - - TabContent() { - Column(){ - Text('Tab_444444444') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 36.5 }) - }.width('100%').height('auto').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier4, - }, 'Green')) - .onWillShow(() => { - console.info("Green will show") - }) - .onWillHide(() => { - console.info("Green will hide") - }) - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index:number)=>{ - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5) - - // 按钮用于切换 barPosition - Button('Toggle Bar Position') - .margin(5) - .onClick(() => { - // 切换 barPosition - this.barPosition = this.barPosition === BarPosition.Start ? BarPosition.End : BarPosition.Start; - console.info('Bar position changed to: ' + this.barPosition); - }) - .id('UIComponentNavTabs033_001') - - }.width('100%').height(200) - - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt034.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt034.ets deleted file mode 100644 index 80b50767..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt034.ets +++ /dev/null @@ -1,131 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentAdapt034 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State tabWidth: string = 'auto' - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Image(this.currentIndex === index ? '/common/public_icon_on.svg' : '/common/public_icon_off.svg') - .width(24) - .height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text('Tab') - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - }.width('100%').height('100%').justifyContent(FlexAlign.Center) - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, controller: this.controller }) { - TabContent() { - Column() { - Text('Tab_1') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width(50) - }.tabBar(this.tabBuilder(0)) - TabContent() { - Column() { - Text('Tab_2') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width(100) - }.tabBar(this.tabBuilder(1)) - TabContent(){ - Column() { - Text('Tab_3') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width(150) - }.tabBar(this.tabBuilder(2)) - TabContent(){ - Column() { - Text('Tab_4') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width(250) - }.tabBar(this.tabBuilder(3)) - } - .vertical(true) - .barWidth(96) - .barHeight(414) - .onChange((index: number) => { - this.currentIndex = index - }) - .width(this.tabWidth) - .height(414) - .backgroundColor('#F1F3F5') - .margin({ top: 52 }) - - Button('宽度设置为200').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.tabWidth = '200' - }).id('UIComponentNavTabsContentAdapt034_001') - - Button('宽度设置为-100').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.tabWidth = '-100' - }).id('UIComponentNavTabsContentAdapt034_002') - - Button('宽度设置为100%').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.tabWidth = '100%' - }).id('UIComponentNavTabsContentAdapt034_003') - - Button('宽度设置为auto').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.tabWidth = 'auto' - }).id('UIComponentNavTabsContentAdapt034_004') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt035.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt035.ets deleted file mode 100644 index 5dcf876c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt035.ets +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsContentAdapt035 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State tabHeight: string = 'auto' - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Image(this.currentIndex === index ? '/common/public_icon_on.svg' : '/common/public_icon_off.svg') - .width(24) - .height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text(`Tab${index + 1}`) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - } - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, controller: this.controller, }) { - TabContent() { - Column() { - Text('Tab_1') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(50) - }.tabBar(this.tabBuilder(0)) - - TabContent() { - Column() { - Text('Tab_2') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(100) - }.tabBar(this.tabBuilder(1)) - - TabContent() { - Column() { - Text('Tab_3') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(150) - }.tabBar(this.tabBuilder(2)) - - TabContent() { - Column() { - Text('Tab_4') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(200) - }.tabBar(this.tabBuilder(3)) - } - .vertical(false) - .barHeight('auto') - .onChange((index: number) => { - this.currentIndex = index - }) - .width(500) - .height(this.tabHeight) - .backgroundColor('#F1F3F5') - .margin({ top: 38 }) - - Button('高度设置为200').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.tabHeight = '300' - }).id('UIComponentNavTabsContentAdapt035_001') - - Button('高度设置为-1').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.tabHeight = 'auto' - }).id('UIComponentNavTabsContentAdapt035_002') - - Button('高度设置为50%').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.tabHeight = '50%' - }).id('UIComponentNavTabsContentAdapt035_003') - - Button('高度设置为auto').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.tabHeight = '-1' - }).id('UIComponentNavTabsContentAdapt035_004') - - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsEdgeeffect/UIComponentNavTabsEdgeeffect0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsEdgeeffect/UIComponentNavTabsEdgeeffect0230.ets deleted file mode 100644 index 9334f81c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsEdgeeffect/UIComponentNavTabsEdgeeffect0230.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentNavTabsEdgeeffect0230 { - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .barOverlap(true) - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsEdgeeffect/UIComponentNavTabsEdgeeffect0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsEdgeeffect/UIComponentNavTabsEdgeeffect0270.ets deleted file mode 100644 index 1c64ab4c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsEdgeeffect/UIComponentNavTabsEdgeeffect0270.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentNavTabsEdgeeffect0270 { - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(SubTabBarStyle.of('1')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(SubTabBarStyle.of('2')) - - } - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .barOverlap(true) - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0010.ets deleted file mode 100644 index 9cd6c935..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0010.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentNavTabsExpandsafearea0010 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Pink }) - .iconStyle({ unselectedColor: Color.Red, selectedColor: Color.Pink }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Black }) - .iconStyle({ unselectedColor: Color.Red, selectedColor: Color.Black }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0020.ets deleted file mode 100644 index 5d35f376..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0020.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentNavTabsExpandsafearea0020 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Scroll(){ - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Pink }) - .iconStyle({ unselectedColor: Color.Red, selectedColor: Color.Pink }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Black }) - .iconStyle({ unselectedColor: Color.Red, selectedColor: Color.Black }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - } - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0030.ets deleted file mode 100644 index a8bf8d37..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0030.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentNavTabsExpandsafearea0030 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Scroll(){ - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Pink }) - .iconStyle({ unselectedColor: Color.Red, selectedColor: Color.Pink }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Black }) - .iconStyle({ unselectedColor: Color.Red, selectedColor: Color.Black }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - .expandSafeArea([SafeAreaType.SYSTEM],[SafeAreaEdge.TOP, SafeAreaEdge.BOTTOM]) - } - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0040.ets deleted file mode 100644 index bc633d62..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0040.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentNavTabsExpandsafearea0040 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Scroll(){ - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Pink }) - .iconStyle({ unselectedColor: Color.Red, selectedColor: Color.Pink }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Black }) - .iconStyle({ unselectedColor: Color.Red, selectedColor: Color.Black }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - .expandSafeArea([SafeAreaType.SYSTEM],[SafeAreaEdge.TOP]) - } - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0050.ets deleted file mode 100644 index 0093d68c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0050.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentNavTabsExpandsafearea0050 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Scroll(){ - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Pink }) - .iconStyle({ unselectedColor: Color.Red, selectedColor: Color.Pink }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Black }) - .iconStyle({ unselectedColor: Color.Red, selectedColor: Color.Black }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - .expandSafeArea([SafeAreaType.SYSTEM],[SafeAreaEdge.BOTTOM]) - } - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0060.ets deleted file mode 100644 index f7106714..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0060.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentNavTabsExpandsafearea0060 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Scroll(){ - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Pink }) - .iconStyle({ unselectedColor: Color.Red, selectedColor: Color.Pink }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Black }) - .iconStyle({ unselectedColor: Color.Red, selectedColor: Color.Black }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - .expandSafeArea([SafeAreaType.SYSTEM],[SafeAreaEdge.START, SafeAreaEdge.END]) - } - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0070.ets deleted file mode 100644 index 9a3a0664..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0070.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentNavTabsExpandsafearea0070 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Scroll(){ - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Pink }) - .iconStyle({ unselectedColor: Color.Red, selectedColor: Color.Pink }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Black }) - .iconStyle({ unselectedColor: Color.Red, selectedColor: Color.Black }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - .expandSafeArea([SafeAreaType.SYSTEM],[SafeAreaEdge.START]) - } - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0080.ets deleted file mode 100644 index 90c44740..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0080.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentNavTabsExpandsafearea0080 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Scroll(){ - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Pink }) - .iconStyle({ unselectedColor: Color.Red, selectedColor: Color.Pink }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Black }) - .iconStyle({ unselectedColor: Color.Red, selectedColor: Color.Black }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - .expandSafeArea([SafeAreaType.SYSTEM],[SafeAreaEdge.END]) - } - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0090.ets deleted file mode 100644 index e03fbf64..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0090.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentNavTabsExpandsafearea0090 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Scroll(){ - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Pink }) - .iconStyle({ unselectedColor: Color.Red, selectedColor: Color.Pink }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Black }) - .iconStyle({ unselectedColor: Color.Red, selectedColor: Color.Black }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - } - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0100.ets deleted file mode 100644 index d1edb2fd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0100.ets +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentNavTabsExpandsafearea0100 { - @State currentIndex: number = 0 - @State simpleList: Array = ['1','2']; - private controller: TabsController = new TabsController() - - @Builder - tabBuilder(title: string, targetIndex: number) { - Column() { - Text(title) - }.width('100%') - .height(50) - .justifyContent(FlexAlign.Center); - } - - build() { - Row() { - Column() { - Tabs({ barPosition: BarPosition.End, index: this.currentIndex }) { - ForEach(this.simpleList, (item: string) => { - TabContent() { - Column() { - Text(`Content:${item}`) - } - }.tabBar(this.tabBuilder(item, 1)) - }, (item: string) => item) - } - .vertical(false) - .barMode(BarMode.Fixed) - .barWidth(360) - .barHeight(60) - .animationDuration(0) - .onChange((index: number) => { - this.currentIndex = index - }) - .width(360) - .height(200) - .backgroundColor('#F1F3F5') - .scrollable(true) - - Button('addTabs').width('50%').margin({ top: 20 }) - .onClick(() => { - for (let i = 2; i <= 2000; i++) { - console.log("addTabs=%d",i); - this.simpleList.push('a'); - this.simpleList.push(i.toString()); - } - }).id('UIComponentNavTabsImproTrace0140_001') - - Button('changeTabIndex').width('50%').margin({ top: 20 }) - .onClick(() => { - this.currentIndex = 3 - }).id('UIComponentNavTabsImproTrace0140_002') - } - .width('100%') - .height('100%') - - } - .height('100%') - .backgroundColor(0xF1F3F5) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0110.ets deleted file mode 100644 index 8b87aebe..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0110.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentNavTabsExpandsafearea0110 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Scroll(){ - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Pink }) - .iconStyle({ unselectedColor: Color.Red, selectedColor: Color.Pink }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Black }) - .iconStyle({ unselectedColor: Color.Red, selectedColor: Color.Black }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - } - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0120.ets deleted file mode 100644 index c028a16c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0120.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentNavTabsExpandsafearea0120 { - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - private controller: TabsController = new TabsController(); - - build() { - Column() { - Text('文本') - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Pink') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Pink }) - .iconStyle({ unselectedColor: Color.Red, selectedColor: Color.Pink }) - ) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_ic_public_text'), 'Black') - .labelStyle({ unselectedColor: Color.Red, selectedColor: Color.Black }) - .iconStyle({ unselectedColor: Color.Red, selectedColor: Color.Black }) - ) - - } - .backgroundColor(Color.Green) - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .height('50%') - Text('文本') - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsHeight/UIComponentNavTabsHeight001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsHeight/UIComponentNavTabsHeight001.ets deleted file mode 100644 index fa19b6d2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsHeight/UIComponentNavTabsHeight001.ets +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsHeight001 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Image(this.currentIndex === index ? '/common/public_icon_on.svg' : '/common/public_icon_off.svg') - .width(24) - .height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text(`Tab${index + 1}`) - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - } - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, controller: this.controller, }) { - TabContent() { - Column() { - Text('Tab_1') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(50) - }.tabBar(this.tabBuilder(0)) - - TabContent() { - Column() { - Text('Tab_2') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(100) - }.tabBar(this.tabBuilder(1)) - - TabContent() { - Column() { - Text('Tab_3') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(150) - }.tabBar(this.tabBuilder(2)) - - TabContent() { - Column() { - Text('Tab_4') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.height(200) - }.tabBar(this.tabBuilder(3)) - } - .vertical(false) - .barHeight('auto') - .onChange((index: number) => { - this.currentIndex = index - }) - .width(500) - .height('auto') - .backgroundColor('#F1F3F5') - .margin({ top: 38 }) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0010.ets deleted file mode 100644 index 359b549b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0010.ets +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsImproTrace0010 { - @State currentIndex: number = 0; - @State tabVertical: boolean = false; - @State direction1: Direction = Direction.Rtl; - @State simpleList: Array = ['1']; - private controller: TabsController = new TabsController(); - - @Builder - tabBuilder(title: string, targetIndex: number) { - Column() { - Text(title) - }.width('100%') - .height(50) - .justifyContent(FlexAlign.Center); - } - - aboutToAppear(): void { - for (let i = 2; i <= 10; i++) { - this.simpleList.push(i.toString()); - } - } - - build() { - Row() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller, index: this.currentIndex }) { - ForEach(this.simpleList, (item: string) => { - TabContent() { - Column() { - Text(`Content:${item}`) - } - .height(100) - .width(100) - .backgroundColor('#FF0000') - .justifyContent(FlexAlign.Center); - }.tabBar(this.tabBuilder(item, 1)); - }, (item: string) => item) - } - .vertical(true) - .barMode(BarMode.Fixed) - .barWidth(60) - .barHeight(360) - .animationDuration(0) - .onChange((index: number) => { - this.currentIndex = index; - }) - .width(200) - .height('auto') - .backgroundColor('#F1F3F5') - .scrollable(true) - .direction(this.direction1); - } - .width('100%') - .height('100%'); - } - .height('100%') - .backgroundColor(0xF1F3F5); - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0020.ets deleted file mode 100644 index fef0a00a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0020.ets +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsImproTrace0020 { - @State fontColor: string = '#182431'; - @State selectedFontColor: string = '#007DFF'; - @State currentIndex: number = 0; - @State selectedIndex: number = 0; - @State simpleList: Array = [1]; - private controller: TabsController = new TabsController(); - - @Builder - tabBuilder(index: number) { - Column() { - Image(this.selectedIndex === index ? $r("app.media.magnifier") : $r("app.media.tick")) - .width(24) - .height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text(`Tab${index}`) - .fontColor(this.selectedIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - }.width('100%') - } - - build() { - Column() { - Button('addTabContents').width('50%').margin({ top: 20 }) - .onClick(() => { - for (let i = 2; i <= 5; i++) { - this.simpleList.push(i); - } - }).id('UIComponentNavTabsImproTrace0020_001'); - Tabs({ barPosition: BarPosition.End, controller: this.controller }) { - ForEach(this.simpleList, (item: number) => { - TabContent() { - Column() { - Text(`Content:${item}`) - } - .height(200) - .width(200) - .backgroundColor('#FF0000') - .justifyContent(FlexAlign.Center); - }.tabBar(this.tabBuilder(item)); - - }, (item: string) => item); - } - .vertical(false) - .barHeight(56) - .onChange((index: number) => { - this.currentIndex = index - }) - .onAnimationStart((index: number, targetIndex: number, event: TabsAnimationEvent) => { - if (index === targetIndex) { - return - } - this.selectedIndex = targetIndex + 1 - }) - .width(360) - .height(190) - .backgroundColor('#F1F3F5') - .margin({ top: 38 }); - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0030.ets deleted file mode 100644 index 327c620b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0030.ets +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsImproTrace0030 { - @State currentIndex: number = 0 - @State simpleList: Array = ['1']; - private controller: TabsController = new TabsController() - - @Builder - tabBuilder(title: string, targetIndex: number) { - Column() { - Text(title) - }.width('100%') - .height(50) - .id(title) - .justifyContent(FlexAlign.Center); - } - - build() { - Row() { - Column() { - - Button('addTabContents').width('50%').margin({ top: 20 }) - .onClick(() => { - for (let i = 2; i <= 10; i++) { - this.simpleList.push(i.toString()); - } - }).id('UIComponentNavTabsImproTrace0030_001'); - - Tabs({ barPosition: BarPosition.End, controller: this.controller, index: this.currentIndex }) { - ForEach(this.simpleList, (item: string) => { - TabContent() { - Column() { - Text(`Content:${item}`) - } - .height(200) - .width(200) - .backgroundColor('#FF0000') - .justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder(item, 1)); - }, (item: string) => item) - } - .vertical(false) - .barWidth(260) - .barMode(BarMode.Fixed) - .barHeight(100) - .animationDuration(0) - .onChange((index: number) => { - this.currentIndex = index - }) - .width('auto') - .height('300') - .backgroundColor('#F1F3F5') - .scrollable(true) - .id('UIComponentNavTabsImproTrace0030_002'); - } - .width('100%') - .height('100%'); - } - .height('100%') - .backgroundColor(0xF1F3F5); - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0040.ets deleted file mode 100644 index ce06fb0e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0040.ets +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsImproTrace0040 { - @State currentIndex: number = 0 - - @State simpleList: Array = ['1']; - private controller: TabsController = new TabsController() - - @Builder - tabBuilder(title: string, targetIndex: number) { - Column() { - Text(title) - }.width('100%') - .height(50) - .justifyContent(FlexAlign.Center); - } - - build() { - Row() { - Column() { - - Button('addTabContents').width('50%').margin({ top: 20 }) - .onClick(() => { - for (let i = 2; i <= 10; i++) { - this.simpleList.push(i.toString()); - } - }).id('UIComponentNavTabsImproTrace0040_001'); - - Tabs({ barPosition: BarPosition.End, controller: this.controller, index: this.currentIndex }) { - ForEach(this.simpleList, (item: string) => { - TabContent() { - Column() { - Text(`Content:${item}`) - } - .height(400) - .width(400) - .backgroundColor('#FF0000') - .justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder(item, 1)); - }, (item: string) => item) - } - .vertical(false) - .barWidth(360) - .barMode(BarMode.Scrollable) - .barHeight(100) - .animationDuration(0) - .onChange((index: number) => { - this.currentIndex = index - }) - .width('auto') - .height('500') - .backgroundColor('#F1F3F5') - .scrollable(true) - .id('UIComponentNavTabsImproTrace0040_002'); - } - .width('100%') - .height('100%'); - } - .height('100%') - .backgroundColor(0xF1F3F5); - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0060.ets deleted file mode 100644 index d94c02ea..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0060.ets +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsImproTrace0060 { - @State currentIndex: number = 0 - - @State simpleList: Array = ['1']; - private controller: TabsController = new TabsController() - - @Builder - tabBuilder(title: string, targetIndex: number) { - Column() { - Text(title) - }.width('100%') - .height(50) - .justifyContent(FlexAlign.Center); - } - - build() { - Row() { - Column() { - - Button('addTabContents').width('50%').margin({ top: 20 }) - .onClick(() => { - for (let i = 2; i <= 10; i++) { - this.simpleList.push(i.toString()); - } - }).id('UIComponentNavTabsImproTrace0060_001'); - - Tabs({ barPosition: BarPosition.End, controller: this.controller, index: this.currentIndex }) { - ForEach(this.simpleList, (item: string) => { - TabContent() { - Column() { - Text(`Content:${item}`) - } - .height(400) - .width(400) - .backgroundColor('#FF0000') - .justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder(item, 1)); - }, (item: string) => item) - } - .vertical(false) - .barWidth(360) - .barMode(BarMode.Scrollable) - .barHeight(100) - .animationDuration(0) - .onChange((index: number) => { - this.currentIndex = index - }) - .width('auto') - .height('500') - .backgroundColor('#F1F3F5') - .scrollable(true) - .id('UIComponentNavTabsImproTrace0060_002'); - } - .width('100%') - .height('100%'); - } - .height('100%') - .backgroundColor(0xF1F3F5); - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0070.ets deleted file mode 100644 index 43658789..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0070.ets +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsImproTrace0070 { - @State currentIndex: number = 0 - @State simpleList: Array = ['1']; - private controller: TabsController = new TabsController() - - @Builder - tabBuilder(title: string, targetIndex: number) { - Column() { - Text(title) - }.width('100%') - .height(50) - .justifyContent(FlexAlign.Center); - } - - build() { - Row() { - Column() { - - Button('addTabContents').width('50%').margin({ top: 20 }) - .onClick(() => { - for (let i = 2; i <= 10; i++) { - this.simpleList.push(i.toString()); - } - }).id('UIComponentNavTabsImproTrace0070_001'); - - Tabs({ barPosition: BarPosition.End, controller: this.controller, index: this.currentIndex }) { - ForEach(this.simpleList, (item: string) => { - TabContent() { - Column() { - Text(`Content:${item}`) - } - .height(200) - .width(200) - .backgroundColor('#FF0000') - .justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder(item, 1)); - }, (item: string) => item) - } - .vertical(false) - .barWidth(260) - .barMode(BarMode.Scrollable) - .barHeight(100) - .animationDuration(0) - .onChange((index: number) => { - this.currentIndex = index - }) - .width('auto') - .height('300') - .backgroundColor('#F1F3F5') - .scrollable(true) - .id('UIComponentNavTabsImproTrace0070_002'); - } - .width('100%') - .height('100%'); - } - .height('100%') - .backgroundColor(0xF1F3F5); - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0080.ets deleted file mode 100644 index 67062e5b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0080.ets +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsImproTrace0080 { - @State currentIndex: number = 0 - @State barWidth: string = '360' - @State barHeight: string = '60' - @State tabWidth: string = 'auto' - @State tabHeight: string = '200' - @State tabVertical: boolean = false - @State simpleList: Array = ['1']; - private controller: TabsController = new TabsController() - - @Builder - tabBuilder(title: string, targetIndex: number) { - Column() { - Text(title) - }.width('100%') - .height(50) - .justifyContent(FlexAlign.Center); - } - - build() { - Row() { - Column() { - - Button('addTabContents').width('50%').margin({ top: 20 }) - .onClick(() => { - for (let i = 2; i <= 10; i++) { - this.simpleList.push(i.toString()); - } - }).id('UIComponentNavTabsImproTrace0080_001'); - - Button('横纵向切换').width('50%').margin({ top: 20 }) - .onClick(() => { - this.barWidth = '60' - this.barHeight = '360' - this.tabWidth = '200' - this.tabHeight = 'auto' - this.tabVertical = !this.tabVertical - }).id('UIComponentNavTabsImproTrace0080_002'); - Tabs({ barPosition: BarPosition.End, controller: this.controller, index: this.currentIndex }) { - ForEach(this.simpleList, (item: string) => { - TabContent() { - Column() { - Text(`Content:${item}`) - } - .height(100) - .width(100) - .backgroundColor('#FF0000') - .justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder(item, 1)); - }, (item: string) => item) - } - .vertical(this.tabVertical) - .barMode(BarMode.Fixed) - .barWidth(this.barWidth) - .barHeight(this.barHeight) - .animationDuration(0) - .onChange((index: number) => { - this.currentIndex = index - }) - .width(this.tabWidth) - .height(this.tabHeight) - .backgroundColor('#F1F3F5') - .scrollable(true) - - } - .width('100%') - .height('100%'); - } - .height('100%') - .backgroundColor(0xF1F3F5); - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0120.ets deleted file mode 100644 index 1c0bb555..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0120.ets +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsImproTrace0120 { - @State currentIndex: number = 0 - @State tabContentWidth: number = 60 - @State tabContentHeight: number = 60 - @State simpleList: Array = ['1']; - private controller: TabsController = new TabsController() - - @Builder - tabBuilder(title: string, targetIndex: number) { - Column() { - Text(title) - }.width('100%') - .height(50) - .justifyContent(FlexAlign.Center); - } - - build() { - Row() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller, index: this.currentIndex }) { - ForEach(this.simpleList, (item: string) => { - TabContent() { - Column() { - Text(`Content:${item}`) - } - .height(this.tabContentHeight) - .width(this.tabContentWidth) - .backgroundColor('#FF0000') - .justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder(item, 1)); - }, (item: string) => item) - } - .vertical(false) - .barMode(BarMode.Fixed) - .barWidth(360) - .barHeight(60) - .animationDuration(0) - .onChange((index: number) => { - this.currentIndex = index - }) - .width('auto') - .height(200) - .backgroundColor('#F1F3F5') - .scrollable(true) - - Button('addTabContents').width('50%').margin({ top: 20 }) - .onClick(() => { - for (let i = 2; i <= 10; i++) { - this.simpleList.push(i.toString()); - } - }).id('UIComponentNavTabsImproTrace0120_001'); - - Button('增加宽和高').width('50%').margin({ top: 20 }) - .onClick(() => { - this.tabContentHeight = this.tabContentHeight + 10; - this.tabContentWidth = this.tabContentWidth + 10; - }).id('UIComponentNavTabsImproTrace0120_002'); - - } - .width('100%') - .height('100%'); - } - .height('100%') - .backgroundColor(0xF1F3F5); - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0130.ets deleted file mode 100644 index bfc06f4d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0130.ets +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsImproTrace0130 { - @State currentIndex: number = 0 - @State tabVertical: boolean = false - @State direction1: Direction = Direction.Rtl - @State simpleList: Array = ['1']; - private controller: TabsController = new TabsController() - - @Builder - tabBuilder(title: string, targetIndex: number) { - Column() { - Text(title) - }.width('100%') - .height(50) - .justifyContent(FlexAlign.Center); - } - - build() { - Row() { - Column() { - - Button('addTabContents').width('50%').margin({ top: 20 }) - .onClick(() => { - for (let i = 2; i <= 10; i++) { - this.simpleList.push(i.toString()); - } - }).id('UIComponentNavTabsImproTrace0130_001'); - - Button('镜像切换').width('50%').margin({ top: 20 }) - .onClick(() => { - if (this.direction1 == Direction.Ltr) { - this.direction1 = Direction.Rtl; - } - else if (this.direction1 == Direction.Rtl) { - this.direction1 = Direction.Ltr; - } - }).id('UIComponentNavTabsImproTrace0130_002'); - Tabs({ barPosition: BarPosition.End, controller: this.controller, index: this.currentIndex }) { - ForEach(this.simpleList, (item: string) => { - TabContent() { - Column() { - Text(`Content:${item}`) - } - .height(100) - .width(100) - .backgroundColor('#FF0000') - .justifyContent(FlexAlign.Center); - }.tabBar(this.tabBuilder(item, 1)); - }, (item: string) => item) - } - .vertical(true) - .barMode(BarMode.Fixed) - .barWidth(60) - .barHeight(360) - .animationDuration(0) - .onChange((index: number) => { - this.currentIndex = index - }) - .width(200) - .height('auto') - .backgroundColor('#F1F3F5') - .scrollable(true) - .direction(this.direction1); - } - .width('100%') - .height('100%'); - } - .height('100%') - .backgroundColor(0xF1F3F5); - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0140.ets deleted file mode 100644 index 1491994e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0140.ets +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsImproTrace0140 { - @State currentIndex: number = 0 - @State simpleList: Array = ['1']; - private controller: TabsController = new TabsController() - - @Builder - tabBuilder(title: string, targetIndex: number) { - Column() { - Text(title) - }.width('100%') - .height(50) - .justifyContent(FlexAlign.Center); - } - - build() { - Row() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller, index: this.currentIndex }) { - ForEach(this.simpleList, (item: string) => { - TabContent() { - Column() { - Text(`Content:${item}`) - } - }.tabBar(this.tabBuilder(item, 1)); - }, (item: string) => item) - } - .vertical(false) - .barMode(BarMode.Fixed) - .barWidth(360) - .barHeight(60) - .animationDuration(0) - .onChange((index: number) => { - this.currentIndex = index - }) - .width(360) - .height(200) - .backgroundColor('#F1F3F5') - .scrollable(true); - - Button('addTabs').width('50%').margin({ top: 20 }) - .onClick(() => { - for (let i = 2; i <= 10; i++) { - this.simpleList.push(i.toString()); - } - }).id('UIComponentNavTabsImproTrace0140_001'); - - Button('changeTabIndex').width('50%').margin({ top: 20 }) - .onClick(() => { - this.controller.changeIndex(3) - }).id('UIComponentNavTabsImproTrace0140_002'); - } - .width('100%') - .height('100%'); - - } - .height('100%') - .backgroundColor(0xF1F3F5); - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0150.ets deleted file mode 100644 index daa7375e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0150.ets +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsImproTrace0150 { - @State currentIndex: number = 0 - @State simpleList: Array = ['1']; - private controller: TabsController = new TabsController() - - @Builder - tabBuilder(title: string, targetIndex: number) { - Column() { - Text(title) - }.width('100%') - .height(50) - .justifyContent(FlexAlign.Center); - } - - build() { - Row() { - Column() { - Tabs({ barPosition: BarPosition.End, index: this.currentIndex }) { - ForEach(this.simpleList, (item: string) => { - TabContent() { - Column() { - Text(`Content:${item}`) - } - }.tabBar(this.tabBuilder(item, 1)); - }, (item: string) => item) - } - .vertical(false) - .barMode(BarMode.Fixed) - .barWidth(360) - .barHeight(60) - .animationDuration(0) - .onChange((index: number) => { - this.currentIndex = index - }) - .width(360) - .height(200) - .backgroundColor('#F1F3F5') - .scrollable(true); - - Button('addTabs').width('50%').margin({ top: 20 }) - .onClick(() => { - for (let i = 2; i <= 10; i++) { - this.simpleList.push(i.toString()); - } - }).id('UIComponentNavTabsImproTrace0150_001'); - - Button('changeTabIndex').width('50%').margin({ top: 20 }) - .onClick(() => { - this.currentIndex = 3 - }).id('UIComponentNavTabsImproTrace0150_002'); - } - .width('100%') - .height('100%'); - - } - .height('100%') - .backgroundColor(0xF1F3F5); - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0160.ets deleted file mode 100644 index e02ef7cf..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0160.ets +++ /dev/null @@ -1,235 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI' -@Entry -@Component -struct UIComponentNavTabsImproTrace0160 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State tarBarMode: BarMode = BarMode.Scrollable - @State currentIndex: number = 0 - @State tarVertical: boolean = false - @State direction1: Direction = Direction.Rtl - @State gridMargin: number = 10 - @State gridGutter: number = 10 - @State sm: number = -2 - @State selectedIndex: number = 0 - @State selectedMode: SelectedMode = SelectedMode.INDICATOR; - @State symmetricExtensible: boolean = false; - @State layoutMode: LayoutMode = LayoutMode.VERTICAL; - @State symbolModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_wifi')); - @State symbolModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ellipsis_bubble')); - @State symbolModifier3: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.dot_video')); - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Image(this.currentIndex === index ? $r("app.media.magnifier") : $r("app.media.tick")) - .width(24) - .height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text(`Tab${index + 1}`) - .fontColor(this.selectedIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - }.width('100%') - } - - @Builder - build() { - Column() { - Tabs({ barPosition: BarPosition.End, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column() { - Text('Tab1') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%') - }.tabBar(this.tabBuilder(0)) - - TabContent() { - Column() { - Text('Tab2') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%') - }.tabBar(this.tabBuilder(1)) - - TabContent() { - Column() { - Text('Tab3') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%') - }.tabBar(this.tabBuilder(2)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle({normal: this.symbolModifier1,}, "3") - .layoutMode(this.layoutMode) - .symmetricExtensible(this.symmetricExtensible)); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle({normal: this.symbolModifier2,}, "4") - .layoutMode(this.layoutMode) - .symmetricExtensible(this.symmetricExtensible)); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle({normal: this.symbolModifier3,}, "4") - .layoutMode(this.layoutMode) - .symmetricExtensible(this.symmetricExtensible)); - - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Pink }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Yellow }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)) - - } - .divider({ - strokeWidth: 1, - color: Color.Red, - }) - - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(this.tarBarMode) - .barWidth(200) - .barHeight(200) - .vertical(this.tarVertical) - .margin('10vp') - .width('auto') - .height(396) - .fadingEdge(true) - .barGridAlign({ sm: this.sm, margin: this.gridMargin, gutter: this.gridGutter }) - .direction(this.direction1); - - Button('index改变').width('50%') - .onClick(() => { - this.currentIndex++; - if (this.currentIndex >= 6) { - this.currentIndex = 0; - } - }).id('UIComponentNavTabsImproTrace0160_001'); - - Button('方向改变').width('50%') - .onClick(() => { - this.tarVertical = !this.tarVertical - }).id('UIComponentNavTabsImproTrace0160_002'); - - Button('barMode改变').width('50%') - .onClick(() => { - if (this.tarBarMode == BarMode.Scrollable) { - this.tarBarMode = BarMode.Fixed - } - else { - this.tarBarMode = BarMode.Scrollable - } - }).id('UIComponentNavTabsImproTrace0160_003'); - Button('镜像改变').width('50%') - .onClick(()=>{ - if(this.direction1 == Direction.Ltr) - { - this.direction1 = Direction.Rtl - } - else if(this.direction1 == Direction.Rtl) - { - this.direction1 = Direction.Ltr - } - }).id('UIComponentNavTabsImproTrace0160_004') - - Button('barGridAlign改变').width('50%') - .onClick(()=>{ - this.gridMargin += 10 - }).id('UIComponentNavTabsImproTrace0160_005') - - Button('gridGutter改变').width('50%') - .onClick(()=>{ - this.gridGutter += 10 - }).id('UIComponentNavTabsImproTrace0160_006') - - Button('sm改变').width('50%') - .onClick(()=>{ - this.sm += 2; - if(this.sm>=8) - { - this.sm = -2; - } - }).id('UIComponentNavTabsImproTrace0160_007') - - Button('symmetricExtensible改变').width('50%') - .onClick(()=>{ - this.symmetricExtensible = !this.symmetricExtensible - }).id('UIComponentNavTabsImproTrace0160_008') - - Button('layoutMode改变').width('50%') - .onClick(()=>{ - if(this.layoutMode == LayoutMode.VERTICAL) - { - this.layoutMode = LayoutMode.HORIZONTAL; - } - else if(this.layoutMode == LayoutMode.HORIZONTAL) - { - this.layoutMode = LayoutMode.VERTICAL; - } - }).id('UIComponentNavTabsImproTrace0160_009') - - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0010.ets deleted file mode 100644 index e00858bd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0010.ets +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsInterception0010 { - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - @Builder tabBuilder(title: string,targetIndex: number) { - Column(){ - Text(title) - }.width('100%') - .height(50) - .justifyContent(FlexAlign.Center) - } - build() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller, index: this.currentIndex }) { - TabContent() { - Column(){ - Text('首页的内容') - }.width('100%').height('100%').backgroundColor('#00CB87').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('首页',0)) - - TabContent() { - Column(){ - Text('发现的内容') - }.width('100%').height('100%').backgroundColor('#007DFF').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('发现',1)) - - TabContent() { - Column(){ - Text('推荐的内容') - }.width('100%').height('100%').backgroundColor('#FFBF00').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('推荐',2)) - - TabContent() { - Column(){ - Text('我的内容') - }.width('100%').height('100%').backgroundColor('#E67C92').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('我的',3)) - - TabContent() { - Column(){ - Text('他的内容') - }.width('100%').height('100%').backgroundColor('#007DFF').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('他的',4)) - } - .vertical(false) - .barMode(BarMode.Fixed) - .barWidth(360) - .barHeight(60) - .animationDuration(0) - .onChange((index: number) => { - this.currentIndex = index - }) - .id('UIComponentNavTabsInterception0010_001') - .width(360) - .height(600) - .backgroundColor('#F1F3F5') - .scrollable(true) - .onContentWillChange((currentIndex, comingIndex) => { - if (currentIndex == 2 && comingIndex == 3) - { - return false - } - else - { - return true - } - - }) - Button('changeIndex').width('50%').margin({ top: 20 }) - .onClick(()=>{ - if(this.currentIndex==0) { - this.currentIndex = 2 - } - else - { - this.currentIndex = 0 - } - }).id('UIComponentNavTabsInterception0010_002') - - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0030.ets deleted file mode 100644 index f7c811d7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0030.ets +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsInterception0030 { - @State currentIndex: number = 3 - private controller: TabsController = new TabsController() - @Builder tabBuilder(title: string,targetIndex: number) { - Column(){ - Text(title) - }.width('100%') - .height(50) - .justifyContent(FlexAlign.Center) - } - build() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller, index: this.currentIndex }) { - TabContent() { - Column(){ - Text('首页的内容') - }.width('100%').height('100%').backgroundColor('#00CB87').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('首页',0)) - - TabContent() { - Column(){ - Text('发现的内容') - }.width('100%').height('100%').backgroundColor('#007DFF').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('发现',1)) - - TabContent() { - Column(){ - Text('推荐的内容') - }.width('100%').height('100%').backgroundColor('#FFBF00').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('推荐',2)) - - TabContent() { - Column(){ - Text('我的内容') - }.width('100%').height('100%').backgroundColor('#E67C92').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('我的',3)) - - TabContent() { - Column(){ - Text('他的内容') - }.width('100%').height('100%').backgroundColor('#007DFF').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('他的',4)) - } - .vertical(false) - .barMode(BarMode.Fixed) - .barWidth(360) - .barHeight(60) - .animationDuration(0) - .onChange((index: number) => { - this.currentIndex = index - }) - .id('UIComponentNavTabsInterception0030_001') - .width(360) - .height(600) - .backgroundColor('#F1F3F5') - .scrollable(true) - .onContentWillChange((currentIndex, comingIndex) => { - if (comingIndex == 3) - { - return true - } - else - { - return true - } - - }) - Button('changeIndex2').width('50%').margin({ top: 20 }) - .onClick(()=>{ - this.currentIndex = 2 - }).id('UIComponentNavTabsInterception0030_002') - - Button('changeIndex4').width('50%').margin({ top: 20 }) - .onClick(()=>{ - this.currentIndex = 4 - }).id('UIComponentNavTabsInterception0030_004') - - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0040.ets deleted file mode 100644 index 27cbd8dc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0040.ets +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsInterception0040 { - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - @Builder tabBuilder(title: string,targetIndex: number) { - Column(){ - Text(title) - }.width('100%') - .height(50) - .justifyContent(FlexAlign.Center) - } - build() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller, index: this.currentIndex }) { - TabContent() { - Column(){ - Text('首页的内容') - }.width('100%').height('100%').backgroundColor('#00CB87').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('首页',0)) - - TabContent() { - Column(){ - Text('发现的内容') - }.width('100%').height('100%').backgroundColor('#007DFF').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('发现',1)) - - TabContent() { - Column(){ - Text('推荐的内容') - }.width('100%').height('100%').backgroundColor('#FFBF00').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('推荐',2)) - - TabContent() { - Column(){ - Text('我的内容') - }.width('100%').height('100%').backgroundColor('#E67C92').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('我的',3)) - - TabContent() { - Column(){ - Text('他的内容') - }.width('100%').height('100%').backgroundColor('#007DFF').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('他的',4)) - } - .vertical(false) - .barMode(BarMode.Fixed) - .barWidth(360) - .barHeight(60) - .animationDuration(0) - .onChange((index: number) => { - this.currentIndex = index - }) - .width(360) - .height(600) - .backgroundColor('#F1F3F5') - .scrollable(true) - .onContentWillChange((currentIndex, comingIndex) => { - if (comingIndex == 3) { - return false - } - return true - }) - Button('changeIndex').width('50%').margin({ top: 20 }) - .onClick(()=>{ - this.controller.changeIndex(3) - }).id('UIComponentNavTabsInterception0040_001') - - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0050.ets deleted file mode 100644 index bea663c9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0050.ets +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsInterception0050 { - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - @Builder tabBuilder(title: string,targetIndex: number) { - Column(){ - Text(title) - }.width('100%') - .height(50) - .justifyContent(FlexAlign.Center) - } - build() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller, index: this.currentIndex }) { - TabContent() { - Column(){ - Text('首页的内容') - }.width('100%').height('100%').backgroundColor('#00CB87').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('首页',0)) - - TabContent() { - Column(){ - Text('发现的内容') - }.width('100%').height('100%').backgroundColor('#007DFF').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('发现',1)) - - TabContent() { - Column(){ - Text('推荐的内容') - }.width('100%').height('100%').backgroundColor('#FFBF00').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('推荐',2)) - - TabContent() { - Column(){ - Text('我的内容') - }.width('100%').height('100%').backgroundColor('#E67C92').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('我的',3)) - - TabContent() { - Column(){ - Text('他的内容') - }.width('100%').height('100%').backgroundColor('#007DFF').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('他的',4)) - } - .vertical(false) - .barMode(BarMode.Fixed) - .barWidth(360) - .barHeight(60) - .animationDuration(0) - .onChange((index: number) => { - this.currentIndex = index - }) - .width(360) - .height(600) - .backgroundColor('#F1F3F5') - .scrollable(true) - .onContentWillChange((currentIndex, comingIndex) => { - if (comingIndex == 3) { - return true - } - return true - }) - Button('changeIndex').width('50%').margin({ top: 20 }) - .onClick(()=>{ - this.controller.changeIndex(3) - }).id('UIComponentNavTabsInterception0050_001') - - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0060.ets deleted file mode 100644 index 009cf1a3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0060.ets +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsInterception0060 { - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - @Builder tabBuilder(title: string,targetIndex: number) { - Column(){ - Text(title) - }.width('100%') - .height(50) - .justifyContent(FlexAlign.Center) - } - build() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller, index: this.currentIndex }) { - TabContent() { - Column(){ - Text('首页的内容') - }.width('100%').height('100%').backgroundColor('#00CB87').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('首页',0)) - - TabContent() { - Column(){ - Text('发现的内容') - }.width('100%').height('100%').backgroundColor('#007DFF').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('发现',1)) - - TabContent() { - Column(){ - Text('推荐的内容') - }.width('100%').height('100%').backgroundColor('#FFBF00').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('推荐',2)) - - TabContent() { - Column(){ - Text('我的内容') - }.width('100%').height('100%').backgroundColor('#E67C92').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('我的',3)) - - TabContent() { - Column(){ - Text('他的内容') - }.width('100%').height('100%').backgroundColor('#007DFF').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('他的',4)) - } - .vertical(false) - .barMode(BarMode.Fixed) - .barWidth(360) - .barHeight(60) - .animationDuration(0) - .onChange((index: number) => { - this.currentIndex = index - }) - .width(360) - .height(600) - .backgroundColor('#F1F3F5') - .scrollable(true) - .onContentWillChange((currentIndex, comingIndex) => { - if (comingIndex == 3) { - return false - } - return true - }) - Button('changeIndex').width('50%').margin({ top: 20 }) - .onClick(()=>{ - this.currentIndex = 3 - }).id('UIComponentNavTabsInterception0060_001') - - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0070.ets deleted file mode 100644 index 8c1fb94e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0070.ets +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsInterception0070 { - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - @Builder tabBuilder(title: string,targetIndex: number) { - Column(){ - Text(title) - }.width('100%') - .height(50) - .justifyContent(FlexAlign.Center) - } - build() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller, index: this.currentIndex }) { - TabContent() { - Column(){ - Text('首页的内容') - }.width('100%').height('100%').backgroundColor('#00CB87').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('首页',0)) - - TabContent() { - Column(){ - Text('发现的内容') - }.width('100%').height('100%').backgroundColor('#007DFF').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('发现',1)) - - TabContent() { - Column(){ - Text('推荐的内容') - }.width('100%').height('100%').backgroundColor('#FFBF00').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('推荐',2)) - - TabContent() { - Column(){ - Text('我的内容') - }.width('100%').height('100%').backgroundColor('#E67C92').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('我的',3)) - - TabContent() { - Column(){ - Text('他的内容') - }.width('100%').height('100%').backgroundColor('#007DFF').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('他的',4)) - } - .vertical(false) - .barMode(BarMode.Fixed) - .barWidth(360) - .barHeight(60) - .animationDuration(0) - .onChange((index: number) => { - this.currentIndex = index - }) - .width(360) - .height(600) - .backgroundColor('#F1F3F5') - .scrollable(true) - .onContentWillChange((currentIndex, comingIndex) => { - if (comingIndex == 3) { - return true - } - return true - }) - Button('changeIndex').width('50%').margin({ top: 20 }) - .onClick(()=>{ - this.currentIndex = 3 - }).id('UIComponentNavTabsInterception0070_001') - - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0080.ets deleted file mode 100644 index 792b4b18..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0080.ets +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsInterception0080 { - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - @Builder tabBuilder(title: string,targetIndex: number) { - Column(){ - Text(title) - }.width('100%') - .height(50) - .id(title) - .justifyContent(FlexAlign.Center) - } - build() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller, index: this.currentIndex }) { - TabContent() { - Column(){ - Text('首页的内容') - }.width('100%').height('100%').backgroundColor('#00CB87').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('首页',0)) - - TabContent() { - Column(){ - Text('发现的内容') - }.width('100%').height('100%').backgroundColor('#007DFF').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('发现',1)) - - TabContent() { - Column(){ - Text('推荐的内容') - }.width('100%').height('100%').backgroundColor('#FFBF00').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('推荐',2)) - - TabContent() { - Column(){ - Text('我的内容') - }.width('100%').height('100%').backgroundColor('#E67C92').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('我的',3)) - - TabContent() { - Column(){ - Text('他的内容') - }.width('100%').height('100%').backgroundColor('#007DFF').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('他的',4)) - } - .vertical(false) - .barMode(BarMode.Fixed) - .barWidth(360) - .barHeight(60) - .animationDuration(0) - .onChange((index: number) => { - console.error(`onChange() this.currentIndex = ${index}`); - this.currentIndex = index - }).id('UIComponentNavTabsInterception0080_001') - .width(360) - .height(600) - .backgroundColor('#F1F3F5') - .scrollable(true) - .onContentWillChange((currentIndex, comingIndex) => { - if (comingIndex == 3) { - return false - } - return true - }) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0090.ets deleted file mode 100644 index 2aada3d3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0090.ets +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsInterception0090 { - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - @Builder tabBuilder(title: string,targetIndex: number) { - Column(){ - Text(title) - }.width('100%') - .height(50) - .id(title) - .justifyContent(FlexAlign.Center) - } - build() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller, index: this.currentIndex }) { - TabContent() { - Column(){ - Text('首页的内容') - }.width('100%').height('100%').backgroundColor('#00CB87').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('首页',0)) - - TabContent() { - Column(){ - Text('发现的内容') - }.width('100%').height('100%').backgroundColor('#007DFF').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('发现',1)) - - TabContent() { - Column(){ - Text('推荐的内容') - }.width('100%').height('100%').backgroundColor('#FFBF00').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('推荐',2)) - - TabContent() { - Column(){ - Text('我的内容') - }.width('100%').height('100%').backgroundColor('#E67C92').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('我的',3)) - - TabContent() { - Column(){ - Text('他的内容') - }.width('100%').height('100%').backgroundColor('#007DFF').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('他的',4)) - } - .vertical(false) - .barMode(BarMode.Fixed) - .barWidth(360) - .barHeight(60) - .animationDuration(0) - .onChange((index: number) => { - console.error(`onChange() this.currentIndex = ${index}`); - this.currentIndex = index - }).id('UIComponentNavTabsInterception0090_001') - .width(360) - .height(600) - .backgroundColor('#F1F3F5') - .scrollable(true) - .onContentWillChange((currentIndex, comingIndex) => { - if (comingIndex == 3) { - return true - } - return true - }) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0130.ets deleted file mode 100644 index 2b28ef29..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0130.ets +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsInterception0130 { - @State currentIndex: number = 2 - private controller: TabsController = new TabsController() - @Builder tabBuilder(title: string,targetIndex: number) { - Column(){ - Text(title).fontColor(this.currentIndex === targetIndex ? '#1698CE' : '#6B6B6B') - }.width('100%') - .height(50) - - .justifyContent(FlexAlign.Center) - - } - build() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller, index: this.currentIndex }) { - TabContent() { - Column(){ - Text('首页的内容') - }.width('100%').height('100%').backgroundColor('#00CB87').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('首页',0)) - - TabContent() { - Column(){ - Text('发现的内容') - }.width('100%').height('100%').backgroundColor('#007DFF').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('发现',1)) - - TabContent() { - Column(){ - Text('推荐的内容') - }.width('100%').height('100%').backgroundColor('#FFBF00').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('推荐',2)) - - TabContent() { - Column(){ - Text('我的内容') - }.width('100%').height('100%').backgroundColor('#E67C92').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('我的',3)) - - TabContent() { - Column(){ - Text('他的内容') - }.width('100%').height('100%').backgroundColor('#007DFF').justifyContent(FlexAlign.Center) - }.tabBar(this.tabBuilder('他的',4)) - } - - .vertical(false) - .barMode(BarMode.Fixed) - .barWidth(360) - - .barHeight(60) - .animationDuration(0) - .onChange((index: number) => { - this.currentIndex = index - }) - .width(360) - .height(600) - .backgroundColor('#F1F3F5') - .scrollable(true) - .onContentWillChange((currentIndex, comingIndex) => { - if (comingIndex == 3) { - return false - } - return true - }).id('UIComponentNavTabsInterception0130_001') - - - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0150.ets deleted file mode 100644 index 48d7cabb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0150.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsInterception0150 { - @State simpleList: Array = ['one', 'two', 'three', 'four', 'five']; - - build() { - Row() { - Column() { - Tabs({ barPosition: BarPosition.End, }) { - ForEach(this.simpleList, (item: string) => { - TabContent() { - Column() { - Text(`Content:${item}`) - } - }.tabBar(item) - }, (item: string) => item) - } - .vertical(false) - .barMode(BarMode.Fixed) - .barWidth(360) - .barHeight(60) - .animationDuration(0) - .onContentWillChange((currentIndex, comingIndex) => { - if (comingIndex == 3) { - return false; - } - return true; - }) - .width(360) - .height(200) - .backgroundColor('#F1F3F5') - .scrollable(true) - - Button('delTabContent').width('50%').margin({ top: 20 }) - .onClick(() => { - this.simpleList.pop(); - }).id('UIComponentNavTabsInterception0150_001') - - Button('addTabContent').width('50%').margin({ top: 20 }) - .onClick(() => { - this.simpleList.push('five'); - }).id('UIComponentNavTabsInterception0150_002') - } - .width('100%') - .height('100%') - - } - .height('100%') - .backgroundColor(0xF1F3F5) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterface/UIComponentNavTabsInterface012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterface/UIComponentNavTabsInterface012.ets deleted file mode 100644 index 5dd52beb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterface/UIComponentNavTabsInterface012.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsInterface012 { - @State message: string = 'Hello World' - private controller: TabsController = new TabsController() - private controller1: TabsController = new TabsController() - - build() { - Column() { - - Tabs({ barPosition: BarPosition.End, index: 0, controller: this.controller }) { - TabContent() { - Column().width(200).height('100%').backgroundColor(Color.Pink) - }.tabBar('pink111111111111111111111111111111111111111') - - TabContent() { - Column().width(250).height('100%').backgroundColor(Color.Yellow) - }.tabBar('yellow222222222222222222222222222222') - - TabContent() { - Column().width(300).height('100%').backgroundColor(Color.Blue) - }.tabBar('blue33333333333333333333333333333333') - - TabContent() { - Column().width(300).height('100%').backgroundColor(Color.Green) - }.tabBar('green444444444444444444444444444') - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Scrollable) - .barHeight(80) - .barWidth(400) - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .height('30%') - .width(200) - - } - .padding({ top: '24vp', left: '24vp', right: '24vp' }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterface/UIComponentNavTabsInterface1190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterface/UIComponentNavTabsInterface1190.ets deleted file mode 100644 index c8255774..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterface/UIComponentNavTabsInterface1190.ets +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsInterface1190 { - @State currentIndex: number = 0; - @State seq: number = 1; - @State simpleList: Array = ['1']; - private controller: TabsController = new TabsController() - - @Builder - tabBuilder(title: string, targetIndex: number) { - Column() { - Text(title) - }.width('100%') - .height(50) - .justifyContent(FlexAlign.Center); - } - - build() { - Row() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller, index: this.currentIndex }) { - ForEach(this.simpleList, (item: string) => { - TabContent() { - Column() { - Text(`Content:${item}`) - } - }.tabBar(this.tabBuilder(item, 1)); - }, (item: string) => item) - } - .vertical(false) - .barMode(BarMode.Fixed) - .barWidth(360) - .barHeight(60) - .animationDuration(0) - .onChange((index: number) => { - this.currentIndex = index - }) - .width(360) - .height(200) - .backgroundColor('#F1F3F5') - .scrollable(true); - - Button('addTabar').width('50%').margin({ top: 20 }) - .onClick(() => { - this.seq += 1 - this.simpleList.push(this.seq.toString()); - this.currentIndex = this.simpleList.length - 1 - }).id('UIComponentNavTabsInterface1190_001'); - - } - .width('100%') - .height('100%'); - - } - .height('100%') - .backgroundColor(0xF1F3F5); - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterface/UIComponentNavTabsInterface1220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterface/UIComponentNavTabsInterface1220.ets deleted file mode 100644 index 46241a05..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsInterface/UIComponentNavTabsInterface1220.ets +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsInterface1220 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State selectedIndex: number = 0 - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Text(`Tab${index + 1}`) - .fontColor(this.selectedIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - }.width('100%') - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller }) { - TabContent() { - Column() { - Text('Tab1') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.id('UIComponentNavTabsInterface1220_001').width('100%') - }.tabBar(this.tabBuilder(0)) - - TabContent() { - Column() { - Text('Tab2') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%') - }.tabBar(this.tabBuilder(1)) - - TabContent() { - Column() { - Text('Tab3') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%') - }.tabBar(this.tabBuilder(2)) - - TabContent() { - Column() { - Text('Tab4') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ top: 30, bottom: 56.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width('100%') - }.tabBar(this.tabBuilder(3)) - } - .vertical(false) - .barHeight(56) - .onChange((index: number) => { - // currentIndex控制TabContent显示页签 - this.currentIndex = index - }) - .onAnimationStart((index: number, targetIndex: number, event: TabsAnimationEvent) => { - if (index === targetIndex) { - return - } - // selectedIndex控制自定义TabBar内Image和Text颜色切换 - this.selectedIndex = targetIndex - }) - .width(360) - .height(190) - .backgroundColor('#F1F3F5') - .margin({ top: 38 }) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0030.ets deleted file mode 100644 index e960dc29..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0030.ets +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsMirror0030 { - private controller: TabsController = new TabsController() - @State barOverlap: boolean = true; - @State barBackgroundColor: string = '#88888888'; - @State direction1: Direction = Direction.Rtl - build() { - Column() { - Button('方向改变').width('50%').margin({ top: 20 }) - .onClick(()=>{ - if(this.direction1 == Direction.Ltr) - { - this.direction1 = Direction.Rtl - } - else if(this.direction1 == Direction.Rtl) - { - this.direction1 = Direction.Ltr - } - }).id('UIComponentNavTabsMirror0030_001') - Tabs({ barPosition: BarPosition.Start, index: 2, controller: this.controller }) { - TabContent() { - Column() { - Text(`barOverlap ${this.barOverlap}`).fontSize(16).margin({ top: this.barOverlap ? '56vp' : 0 }) - Text(`barBackgroundColor ${this.barBackgroundColor}`).fontSize(16) - }.width('100%').width('100%').height(200) - .backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), "1")) - - TabContent() { - Column() { - Text(`barOverlap ${this.barOverlap}`).fontSize(16).margin({ top: this.barOverlap ? '56vp' : 0 }) - Text(`barBackgroundColor ${this.barBackgroundColor}`).fontSize(16) - }.width('100%').width('100%').height(300) - .backgroundColor(Color.Yellow) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), "2")) - - TabContent() { - Column() { - Text(`barOverlap ${this.barOverlap}`).fontSize(16).margin({ top: this.barOverlap ? '56vp' : 0 }) - Text(`barBackgroundColor ${this.barBackgroundColor}`).fontSize(16) - }.width('100%').width('100%').height(400) - .backgroundColor(Color.Green) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), "3")) - } - .vertical(true) - .barMode(BarMode.Fixed) - .height('60%') - .barOverlap(true) - .scrollable(true) - .direction(this.direction1) - .animationDuration(10) - .barBackgroundColor(this.barBackgroundColor) - } - .height(500) - .padding({ top: '24vp', left: '24vp', right: '24vp' }) - - - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0070.ets deleted file mode 100644 index 596ee6ea..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0070.ets +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsMirror0070 { - private controller: TabsController = new TabsController() - @State barOverlap: boolean = true; - @State barBackgroundColor: string = '#88888888'; - @State direction1: Direction = Direction.Rtl - build() { - Column() { - Button('方向改变').width('50%').margin({ top: 20 }) - .onClick(()=>{ - if(this.direction1 == Direction.Ltr) - { - this.direction1 = Direction.Rtl - } - else if(this.direction1 == Direction.Rtl) - { - this.direction1 = Direction.Ltr - } - }).id('UIComponentNavTabsMirror0070_001') - Tabs({ barPosition: BarPosition.Start, index: 2, controller: this.controller }) { - TabContent() { - Column() { - Text(`barOverlap ${this.barOverlap}`).fontSize(16).margin({ top: this.barOverlap ? '56vp' : 0 }) - Text(`barBackgroundColor ${this.barBackgroundColor}`).fontSize(16) - }.width('100%').width('100%').height(200) - .backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), "1")) - - TabContent() { - Column() { - Text(`barOverlap ${this.barOverlap}`).fontSize(16).margin({ top: this.barOverlap ? '56vp' : 0 }) - Text(`barBackgroundColor ${this.barBackgroundColor}`).fontSize(16) - }.width('100%').width('100%').height(300) - .backgroundColor(Color.Yellow) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), "2")) - - TabContent() { - Column() { - Text(`barOverlap ${this.barOverlap}`).fontSize(16).margin({ top: this.barOverlap ? '56vp' : 0 }) - Text(`barBackgroundColor ${this.barBackgroundColor}`).fontSize(16) - }.width('100%').width('100%').height(400) - .backgroundColor(Color.Green) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), "3")) - } - .vertical(true) - .barMode(BarMode.Fixed) - .height('60%') - .barOverlap(true) - .scrollable(true) - .direction(this.direction1) - .animationDuration(10) - .barBackgroundColor(this.barBackgroundColor) - } - .height(500) - .padding({ top: '24vp', left: '24vp', right: '24vp' }) - - - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0090.ets deleted file mode 100644 index 8ad90cd1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0090.ets +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsMirror0090 { - private controller: TabsController = new TabsController() - @State barOverlap: boolean = true; - @State barBackgroundColor: string = '#88888888'; - @State direction1: Direction = Direction.Rtl - build() { - Column() { - Button('方向改变').width('50%').margin({ top: 20 }) - .onClick(()=>{ - if(this.direction1 == Direction.Ltr) - { - this.direction1 = Direction.Rtl - } - else if(this.direction1 == Direction.Rtl) - { - this.direction1 = Direction.Ltr - } - }).id('UIComponentNavTabsMirror0090_001') - Tabs({ barPosition: BarPosition.Start, index: 2, controller: this.controller }) { - TabContent() { - Column() { - Text(`barOverlap ${this.barOverlap}`).fontSize(16).margin({ top: this.barOverlap ? '56vp' : 0 }) - Text(`barBackgroundColor ${this.barBackgroundColor}`).fontSize(16) - }.width('100%').width('100%').height(200) - .backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), "1")) - - TabContent() { - Column() { - Text(`barOverlap ${this.barOverlap}`).fontSize(16).margin({ top: this.barOverlap ? '56vp' : 0 }) - Text(`barBackgroundColor ${this.barBackgroundColor}`).fontSize(16) - }.width('100%').width('100%').height(300) - .backgroundColor(Color.Yellow) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), "2")) - - TabContent() { - Column() { - Text(`barOverlap ${this.barOverlap}`).fontSize(16).margin({ top: this.barOverlap ? '56vp' : 0 }) - Text(`barBackgroundColor ${this.barBackgroundColor}`).fontSize(16) - }.width('100%').width('100%').height(400) - .backgroundColor(Color.Green) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), "3")) - } - .vertical(false) - .barMode(BarMode.Fixed) - .height('60%') - .barOverlap(true) - .scrollable(true) - .direction(this.direction1) - .animationDuration(10) - .barBackgroundColor(this.barBackgroundColor) - } - .height(500) - .padding({ top: '24vp', left: '24vp', right: '24vp' }) - - - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror010.ets deleted file mode 100644 index 3df89e54..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror010.ets +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsMirror010 { - private controller: TabsController = new TabsController() - @State barOverlap: boolean = true; - @State barBackgroundColor: string = '#88888888'; - @State direction1: Direction = Direction.Rtl - build() { - Column() { - Button('方向改变').width('50%').margin({ top: 20 }) - .onClick(()=>{ - if(this.direction1 == Direction.Ltr) - { - this.direction1 = Direction.Rtl - } - else if(this.direction1 == Direction.Rtl) - { - this.direction1 = Direction.Ltr - } - }).id('UIComponentNavTabsMirror010_001') - Tabs({ barPosition: BarPosition.Start, index: 2, controller: this.controller }) { - TabContent() { - Column() { - Text(`barOverlap ${this.barOverlap}`).fontSize(16).margin({ top: this.barOverlap ? '56vp' : 0 }) - Text(`barBackgroundColor ${this.barBackgroundColor}`).fontSize(16) - }.width('100%').width('100%').height(200) - .backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), "1")) - - TabContent() { - Column() { - Text(`barOverlap ${this.barOverlap}`).fontSize(16).margin({ top: this.barOverlap ? '56vp' : 0 }) - Text(`barBackgroundColor ${this.barBackgroundColor}`).fontSize(16) - }.width('100%').width('100%').height(300) - .backgroundColor(Color.Yellow) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), "2")) - - TabContent() { - Column() { - Text(`barOverlap ${this.barOverlap}`).fontSize(16).margin({ top: this.barOverlap ? '56vp' : 0 }) - Text(`barBackgroundColor ${this.barBackgroundColor}`).fontSize(16) - }.width('100%').width('100%').height(400) - .backgroundColor(Color.Green) - } - .tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), "3")) - } - .vertical(true) - .barMode(BarMode.Fixed) - .height('60%') - .barOverlap(true) - .scrollable(true) - .direction(this.direction1) - .animationDuration(10) - .barBackgroundColor(this.barBackgroundColor) - } - .height(500) - .padding({ top: '24vp', left: '24vp', right: '24vp' }) - - - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0110.ets deleted file mode 100644 index 6730b972..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0110.ets +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI' -@Entry -@Component -struct UIComponentNavTabsMirror0110 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State tarBarMode: BarMode = BarMode.Scrollable - @State currentIndex: number = 0 - @State tarVertical: boolean = false - @State direction1: Direction = Direction.Rtl - @State selectedIndex: number = 0 - @State selectedMode: SelectedMode = SelectedMode.INDICATOR; - private controller: TabsController = new TabsController() - - @Builder - build() { - Column() { - Button('镜像改变').width('50%') - .onClick(()=>{ - if(this.direction1 == Direction.Ltr) - { - this.direction1 = Direction.Rtl - } - else if(this.direction1 == Direction.Rtl) - { - this.direction1 = Direction.Ltr - } - }).id('UIComponentNavTabsMirror0110_001') - - Tabs({ barPosition: BarPosition.End, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Pink }) - .selectedMode(this.selectedMode)); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Yellow }) - .selectedMode(this.selectedMode)); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Blue }) - .selectedMode(this.selectedMode)); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green') - .labelStyle({ unselectedColor: Color.Black, selectedColor: Color.Green }) - .selectedMode(this.selectedMode)); - } - .divider({ - strokeWidth: 1, - color: Color.Red, - }) - .backgroundColor(0xF5F5F5) - .barOverlap(true) - .barMode(this.tarBarMode) - .barWidth(200) - .barHeight(200) - .vertical(true) - .margin('10vp') - .width('auto') - .height(396) - .fadingEdge(true) - .direction(this.direction1); - - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0120.ets deleted file mode 100644 index b6fb793b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0120.ets +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsMirror0120 { - @State direction1: Direction = Direction.Rtl; - - build() { - Column({ space: 5 }) { - - Text("侧边页签样式") - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Pink')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Yellow')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Blue')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Green')); - } - .vertical(true) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()); - }) - .width('100%') - .backgroundColor(0xF1F3F5) - .direction(this.direction1); - Button('镜像改变').width('50%') - .onClick(() => { - if (this.direction1 == Direction.Ltr) { - this.direction1 = Direction.Rtl; - } - else if (this.direction1 == Direction.Rtl) { - this.direction1 = Direction.Ltr; - } - }).id('UIComponentNavTabsMirror0120_001'); - - }.width('100%').height(400) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0130.ets deleted file mode 100644 index 02c75d2f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0130.ets +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsMirror0130 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - @State selectedIndex: number = 0 - @State direction1: Direction = Direction.Rtl; - private controller: TabsController = new TabsController() - - @Builder - tabBuilder(index: number) { - Column() { - Text(`Tab${index}`) - .fontColor(this.selectedIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(20) - .fontWeight(500) - .lineHeight(200) - }.width('100%') - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, controller: this.controller }) { - TabContent() { - Column() { - Text('TabContent0') - }.width('100%') - } - .tabBar(this.tabBuilder(0)) - - TabContent() { - Column() { - Text('TabContent1') - }.width('100%') - } - .tabBar(this.tabBuilder(1)) - - TabContent() { - Column() { - Text('TabContent2') - }.width('100%') - } - .tabBar(this.tabBuilder(2)) - - TabContent() { - Column() { - Text('TabContent3') - }.width('100%') - } - .tabBar(this.tabBuilder(3)) - } - .vertical(true) - .barWidth(200) - .barHeight(200) - .barMode(BarMode.Scrollable) - .scrollable(true) - .direction(this.direction1) - .width(400) - .height(200) - .backgroundColor('#F1F3F5') - .margin({ top: 52 }); - - Button('镜像改变').width('50%') - .onClick(() => { - if (this.direction1 == Direction.Ltr) { - this.direction1 = Direction.Rtl; - } - else if (this.direction1 == Direction.Rtl) { - this.direction1 = Direction.Ltr; - } - }).id('UIComponentNavTabsMirror0130_001'); - - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0140.ets deleted file mode 100644 index d7466e40..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0140.ets +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsMirror0140 { - @State direction1: Direction = Direction.Rtl; - - build() { - Column({ space: 5 }) { - - Text("侧边页签样式") - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Pink')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Yellow')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Blue')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Green')); - } - .vertical(true) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()); - }) - .width('100%') - .backgroundColor(0xF1F3F5) - .direction(this.direction1); - Button('镜像改变').width('50%') - .onClick(() => { - if (this.direction1 == Direction.Ltr) { - this.direction1 = Direction.Rtl; - } - else if (this.direction1 == Direction.Rtl) { - this.direction1 = Direction.Ltr; - } - }).id('UIComponentNavTabsMirror0140_001'); - - }.width('100%').height(400) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0150.ets deleted file mode 100644 index 82ff2997..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0150.ets +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsMirror0150 { - @State direction1: Direction = Direction.Rtl; - @State tabPadding: number = 0; - - build() { - Column({ space: 5 }) { - - Text("侧边页签样式") - Column({ space: 5 }) { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Pink').padding(this.tabPadding)); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Yellow').padding(this.tabPadding)); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Blue').padding(this.tabPadding)); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Green').padding(this.tabPadding)); - } - .vertical(true) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .direction(this.direction1) - .backgroundColor(0xF1F3F5); - - Button('镜像改变').width('50%') - .onClick(() => { - if (this.direction1 == Direction.Ltr) { - this.direction1 = Direction.Rtl; - } - else if (this.direction1 == Direction.Rtl) { - this.direction1 = Direction.Ltr; - } - }).id('UIComponentNavTabsMirror0150_001'); - - Button('padding改变').width('50%') - .onClick(() => { - this.tabPadding = this.tabPadding+5; - }).id('UIComponentNavTabsMirror0150_002'); - }.width('100%').height(400); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0160.ets deleted file mode 100644 index 5e46741b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0160.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsMirror0160 { - @State direction1: Direction = Direction.Rtl; - - build() { - Column({ space: 5 }) { - - Text("侧边页签样式") - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Pink')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Yellow')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Blue')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle($r('sys.media.ohos_app_icon'), 'Green')) - } - .vertical(true) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5) - .direction(this.direction1); - - Button('镜像改变').width('50%') - .onClick(() => { - if (this.direction1 == Direction.Ltr) { - this.direction1 = Direction.Rtl - } - else if (this.direction1 == Direction.Rtl) { - this.direction1 = Direction.Ltr - } - }).id('UIComponentNavTabsMirror0160_001'); - - }.width('100%').height(400) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0250.ets deleted file mode 100644 index 371a56d4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0250.ets +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { webview } from '@kit.ArkWeb'; -@Entry -@Component -struct UIComponentNavTabsMirror0250 { - controller: webview.WebviewController = new webview.WebviewController(); - @State fontColor: string = '#182431'; - @State selectedFontColor: string = '#007DFF'; - @State currentIndex: number = 0; - @State selectedIndex: number = 0; - @State direction1: Direction = Direction.Rtl; - @State arr: String[] = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10']; - - @Builder tabBuilder(index: number) { - Column() { - Text(`Tab${index}`) - .fontColor(this.selectedIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - }.id(`Tab${index}`).width('100%') - } - - build() { - Column({ space: 5 }) { - - Text("侧边页签样式") - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column() { - Text('www.sohu.com'); - Web({ src: 'www.sohu.com', controller: this.controller }) - .fileAccess(true); - } - .width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(this.tabBuilder(0)); - - TabContent() { - Column() { - Text('www.sina.com'); - Web({ src: 'www.sina.com', controller: this.controller }) - .fileAccess(true); - }.width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(this.tabBuilder(1)); - - TabContent() { - Column() { - Text('www.baidu.com'); - Web({ src: 'www.baidu.com', controller: this.controller }) - .fileAccess(true); - }.width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(this.tabBuilder(2)); - - TabContent() { - Column() { - Text('www.jd.com'); - Web({ src: 'www.jd.com', controller: this.controller }) - .fileAccess(true); - }.width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(this.tabBuilder(3)); - } - .vertical(true) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .onAnimationStart((index: number, targetIndex: number, event: TabsAnimationEvent) => { - if (index === targetIndex) { - return - } - // selectedIndex控制自定义TabBar内Image和Text颜色切换 - this.selectedIndex = targetIndex - }) - .width('100%') - .backgroundColor(0xF1F3F5) - .direction(this.direction1); - - Button('镜像改变').width('50%') - .onClick(() => { - if (this.direction1 == Direction.Ltr) { - this.direction1 = Direction.Rtl - } - else if (this.direction1 == Direction.Rtl) { - this.direction1 = Direction.Ltr - } - }).id('UIComponentNavTabsMirror0250_001') - - }.width('100%').height(400) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0260.ets deleted file mode 100644 index 575ea277..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0260.ets +++ /dev/null @@ -1,180 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsMirror0260 { - @State fontColor: string = '#182431'; - @State selectedFontColor: string = '#007DFF'; - @State currentIndex: number = 0; - @State selectedIndex: number = 0; - @State direction1: Direction = Direction.Rtl; - @State arr: String[] = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10']; - - @Builder tabBuilder(index: number) { - Column() { - Text(`Tab${index}`) - .fontColor(this.selectedIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - }.id(`Tab${index}`).width('100%') - } - - build() { - Column({ space: 5 }) { - - Text("侧边页签样式") - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column() { - List() { - ForEach(this.arr, (item: string) => { - ListItem() { - Text('' + item) - .width('70%') - .height(80) - .fontSize(16) - .margin(10) - .id('' + item) - .textAlign(TextAlign.Center) - .borderRadius(10) - .backgroundColor(0xFFFFFF) - } - }, (item: string) => item) - } - .onScrollIndex((first: number) => { - console.info(first.toString()) - }) - .width('100%') - .height('100%') - .alignListItem(ListItemAlign.Center) - .scrollBar(BarState.Off); - } - .width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(this.tabBuilder(0)); - - TabContent() { - Column() { - List() { - ForEach(this.arr, (item: string) => { - ListItem() { - Text('' + item) - .width('70%') - .height(80) - .fontSize(16) - .margin(10) - .id('' + item) - .textAlign(TextAlign.Center) - .borderRadius(10) - .backgroundColor(0xFFFFFF) - } - }, (item: string) => item) - } - .onScrollIndex((first: number) => { - console.info(first.toString()) - }) - .width('100%') - .height('100%') - .alignListItem(ListItemAlign.Center) - .scrollBar(BarState.Off); - }.width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(this.tabBuilder(1)); - - TabContent() { - Column() { - List() { - ForEach(this.arr, (item: string) => { - ListItem() { - Text('' + item) - .width('70%') - .height(80) - .fontSize(16) - .margin(10) - .id('' + item) - .textAlign(TextAlign.Center) - .borderRadius(10) - .backgroundColor(0xFFFFFF) - } - }, (item: string) => item) - } - .onScrollIndex((first: number) => { - console.info(first.toString()) - }) - .width('100%') - .height('100%') - .alignListItem(ListItemAlign.Center) - .scrollBar(BarState.Off); - }.width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(this.tabBuilder(2)); - - TabContent() { - Column() { - List() { - ForEach(this.arr, (item: string) => { - ListItem() { - Text('' + item) - .width('70%') - .height(80) - .fontSize(16) - .margin(10) - .id('' + item) - .textAlign(TextAlign.Center) - .borderRadius(10) - .backgroundColor(0xFFFFFF) - } - }, (item: string) => item) - } - .onScrollIndex((first: number) => { - console.info(first.toString()) - }) - .width('100%') - .height('100%') - .alignListItem(ListItemAlign.Center) - .scrollBar(BarState.Off); - }.width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(this.tabBuilder(3)); - } - .vertical(true) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .onAnimationStart((index: number, targetIndex: number, event: TabsAnimationEvent) => { - if (index === targetIndex) { - return - } - // selectedIndex控制自定义TabBar内Image和Text颜色切换 - this.selectedIndex = targetIndex - }) - .width('100%') - .backgroundColor(0xF1F3F5) - .direction(this.direction1); - - Button('镜像改变').width('50%') - .onClick(() => { - if (this.direction1 == Direction.Ltr) { - this.direction1 = Direction.Rtl - } - else if (this.direction1 == Direction.Rtl) { - this.direction1 = Direction.Ltr - } - }).id('UIComponentNavTabsMirror0260_001') - - }.width('100%').height(400) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror080.ets deleted file mode 100644 index 4975aa80..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror080.ets +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsMirror080 { - private controller1: TabsController = new TabsController() - @State dividerColor: string = 'blue' - @State strokeWidth: number = -10 - @State strokeWidthDefaultValue: number = 2 - @State startMargin: number = 0 - @State endMargin: number = 0 - @State nullFlag: boolean = false - @State direction1: Direction = Direction.Ltr - aboutToAppear(): void { - this.strokeWidth = (this.strokeWidth < 0? this.strokeWidthDefaultValue : this.strokeWidth) - } - build() { - Column() { - Tabs({ controller: this.controller1 }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar('pink') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar('yellow') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar('blue') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar('green') - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Red) - }.tabBar('red') - } - .vertical(true) - .direction(this.direction1) - .scrollable(true) - .barMode(BarMode.Fixed) - .barWidth(70) - .barHeight(200) - .animationDuration(400) - .onChange((index: number) => { - console.info(index.toString()) - }) - .height('200vp') - .margin({ bottom: '12vp' }) - .divider(this.nullFlag ? null : { - strokeWidth: this.strokeWidth, - color: this.dividerColor, - startMargin: this.startMargin, - endMargin: this.endMargin - }) - Button('上边距增加').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.startMargin += 2 - }).id('UIComponentNavTabsMirror080_001') - - Button('上边距减少').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - if (this.startMargin > 2) { - this.startMargin -= 2 - } - }).id('UIComponentNavTabsMirror080_002') - - Button('下边距增加').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - this.endMargin += 2 - }).id('UIComponentNavTabsMirror080_003') - Button('下边距减少').width('100%').margin({ bottom: '12vp' }) - .onClick(() => { - if (this.endMargin > 2) { - this.endMargin -= 2 - } - }).id('UIComponentNavTabsMirror080_004') - - Button('方向改变').width('50%').margin({ top: 20 }) - .onClick(()=>{ - if(this.direction1 == Direction.Ltr) - { - this.direction1 = Direction.Rtl - } - else if(this.direction1 == Direction.Rtl) - { - this.direction1 = Direction.Ltr - } - }).id('UIComponentNavTabsMirror080_005') - - - }.padding({ top: '24vp', left: '24vp', right: '24vp' }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsOnWillShow/UIComponentNavTabsOnWillShow0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsOnWillShow/UIComponentNavTabsOnWillShow0190.ets deleted file mode 100644 index 149dfdd8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsOnWillShow/UIComponentNavTabsOnWillShow0190.ets +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsOnWillShow0190 { - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - @Builder tabBuilder(title: string,targetIndex: number) { - Column(){ - Text(title) - }.width('100%') - .height(50) - .id(title) - .justifyContent(FlexAlign.Center) - } - - @Builder tabBuilder1(title: string,targetIndex: number) { - Column(){ - Text(title) - }.width('100%') - .height(50) - .id(title) - .justifyContent(FlexAlign.Center) - } - - build() { - Column({ space: 5 }) { - - Text("底部页签样式") - Column() { - Tabs({ barPosition: BarPosition.End }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(this.tabBuilder('tab1',0)) - .onWillShow(() => { - console.info("Pink will show"); - }); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(this.tabBuilder('tab2',1)) - .onWillShow(() => { - console.info("Yellow will show"); - }); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(this.tabBuilder('tab3',2)) - .onWillShow(() => { - console.info("Blue will show"); - }); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(this.tabBuilder('tab4',3)) - .onWillShow(() => { - console.info("Green will show"); - }); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200) - Text("侧边页签样式"); - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(this.tabBuilder1('tab_1',0)) - .onWillShow(() => { - console.info("Pink will show") - }); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(this.tabBuilder1('tab_2',1)) - .onWillShow(() => { - console.info("Yellow will show") - }); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(this.tabBuilder1('tab_3',2)) - .onWillShow(() => { - console.info("Blue will show") - }); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(this.tabBuilder1('tab_4',3)) - .onWillShow(() => { - console.info("Green will show") - }); - } - .vertical(true).scrollable(true).barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(400); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsSubTabbarStyle/UIComponentNavTabsSubTabbarStyle0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsSubTabbarStyle/UIComponentNavTabsSubTabbarStyle0010.ets deleted file mode 100644 index e6ee291f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsSubTabbarStyle/UIComponentNavTabsSubTabbarStyle0010.ets +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsSubTabbarStyle0010 { - build() { - Column({ space: 5 }) { - Text("子页签样式") - Column() { - Tabs({ barPosition: BarPosition.Start }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new SubTabBarStyle('Pink').id('Pink')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Yellow) - }.tabBar(new SubTabBarStyle('Yellow').id('Yellow')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new SubTabBarStyle('Blue').id('Blue')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new SubTabBarStyle('Green').id('Green')); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .id('UIComponentNavTabsSubTabbarStyle0010_001') - .width('100%') - .backgroundColor(0xF1F3F5) - }.width('100%').height(200) - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsWidth/UIComponentNavTabsWidth001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsWidth/UIComponentNavTabsWidth001.ets deleted file mode 100644 index 5f78971f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavTabsWidth/UIComponentNavTabsWidth001.ets +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentNavTabsWidth001 { - @State fontColor: string = '#182431' - @State selectedFontColor: string = '#007DFF' - @State currentIndex: number = 0 - private controller: TabsController = new TabsController() - - @Builder tabBuilder(index: number) { - Column() { - Image(this.currentIndex === index ? '/common/public_icon_on.svg' : '/common/public_icon_off.svg') - .width(24) - .height(24) - .margin({ bottom: 4 }) - .objectFit(ImageFit.Contain) - Text('Tab') - .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) - .fontSize(10) - .fontWeight(500) - .lineHeight(14) - }.width('100%').height('100%').justifyContent(FlexAlign.Center) - } - - build() { - Column() { - Tabs({ barPosition: BarPosition.End, controller: this.controller }) { - TabContent() { - Column() { - Text('Tab_1') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width(50) - }.tabBar(this.tabBuilder(0)) - TabContent() { - Column() { - Text('Tab_2') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width(100) - }.tabBar(this.tabBuilder(1)) - TabContent(){ - Column() { - Text('Tab_3') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width(150) - }.tabBar(this.tabBuilder(2)) - TabContent(){ - Column() { - Text('Tab_4') - .fontSize(36) - .fontColor('#182431') - .fontWeight(500) - .opacity(0.4) - .margin({ left: 10, right: 26.5 }) - Divider() - .strokeWidth(0.5) - .color('#182431') - .opacity(0.05) - }.width(200) - }.tabBar(this.tabBuilder(3)) - } - .vertical(true) - .barWidth(96) - .barHeight(414) - .onChange((index: number) => { - this.currentIndex = index - }) - .width('auto') - .height(414) - .backgroundColor('#F1F3F5') - .margin({ top: 52 }) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0040.ets deleted file mode 100644 index 71ebe99e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0040.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentOtherRefreshAbility0040 { - @State isRefreshing: boolean = false; - @State refreshOffset: number = 60; - @State promptText: string = "Refreshing..."; - @State arr: String[] = ['0', '1', '2', '3', '4','5','6','7','8','9','10']; - - build() { - Column() { - Text("Refresh test") - Button('addRefreshOffset').width('50%').margin({ top: 20 }) - .onClick(() => { - this.refreshOffset =+ 100; - }).id('UIComponentOtherRefreshAbility0040_001'); - Refresh({ refreshing: $$this.isRefreshing, promptText: this.promptText}) { - List() { - ForEach(this.arr, (item: string) => { - ListItem() { - Text('' + item) - .width('70%').height(80).fontSize(16).id('' + item).margin({bottom:10}) - .textAlign(TextAlign.Center).borderRadius(10).backgroundColor(0xFF0000); - } - }, (item: string) => item) - } - .onScrollIndex((first: number) => { - console.info(first.toString()) - }) - .width('100%') - .height('100%') - .alignListItem(ListItemAlign.Center) - .scrollBar(BarState.Off); - - } - .backgroundColor(0x89CFF0) - .pullToRefresh(true) - .refreshOffset(this.refreshOffset) - .pullDownRatio(1) - .onStateChange((refreshStatus: RefreshStatus) => { - console.info('Refresh onStatueChange state is ' + refreshStatus); - }) - .onOffsetChange((value: number) => { - console.info('Refresh onOffsetChange offset:' + value); - }) - .onRefreshing(() => { - setTimeout(() => { - this.isRefreshing = false; - }, 2000) - console.log('onRefreshing test'); - }) - - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0050.ets deleted file mode 100644 index 16fe4f55..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0050.ets +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentOtherRefreshAbility0050 { - @State isRefreshing: boolean = false; - @State promptText: string = "Refreshing..."; - @State arr: String[] = ['0', '1', '2', '3', '4','5','6','7','8','9','10']; - - build() { - Column() { - Text("Refresh test") - Refresh({ refreshing: $$this.isRefreshing, promptText: this.promptText}) { - List() { - ForEach(this.arr, (item: string) => { - ListItem() { - Text('' + item) - .width('70%').height(80).fontSize(16).id('' + item).margin({bottom:10}) - .textAlign(TextAlign.Center).borderRadius(10).backgroundColor(0xFF0000); - } - }, (item: string) => item) - } - .onScrollIndex((first: number) => { - console.info(first.toString()) - }) - .width('100%') - .height('100%') - .alignListItem(ListItemAlign.Center) - .scrollBar(BarState.Off); - } - .backgroundColor(0x89CFF0) - .pullToRefresh(true) - .refreshOffset(70) - .pullDownRatio(1) - .onStateChange((refreshStatus: RefreshStatus) => { - console.info('Refresh onStatueChange state is ' + refreshStatus); - }) - .onOffsetChange((value: number) => { - console.info('Refresh onOffsetChange offset:' + value); - }) - .onRefreshing(() => { - setTimeout(() => { - this.isRefreshing = false; - }, 2000) - console.log('onRefreshing test'); - }); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0070.ets deleted file mode 100644 index 85d5d1ce..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0070.ets +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentOtherRefreshAbility0070 { - @State isRefreshing: boolean = false; - @State promptText: string = "Refreshing..."; - @State arr: String[] = ['0', '1', '2', '3', '4','5','6','7','8','9','10']; - - build() { - Column() { - Text("Refresh test") - Refresh({ refreshing: $$this.isRefreshing, promptText: this.promptText}) { - List() { - ForEach(this.arr, (item: string) => { - ListItem() { - Text('' + item) - .width('70%').height(80).fontSize(16).id('' + item).margin({bottom:10}) - .textAlign(TextAlign.Center).borderRadius(10).backgroundColor(0xFF0000); - } - }, (item: string) => item) - } - .onScrollIndex((first: number) => { - console.info(first.toString()) - }) - .width('100%') - .height('100%') - .alignListItem(ListItemAlign.Center) - .scrollBar(BarState.Off); - } - .backgroundColor(0x89CFF0) - .pullToRefresh(true) - .refreshOffset(0) - .pullDownRatio(1) - .onStateChange((refreshStatus: RefreshStatus) => { - console.info('Refresh onStatueChange state is ' + refreshStatus); - }) - .onOffsetChange((value: number) => { - console.info('Refresh onOffsetChange offset:' + value); - }) - .onRefreshing(() => { - setTimeout(() => { - this.isRefreshing = false; - }, 2000) - console.log('onRefreshing test'); - }); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0080.ets deleted file mode 100644 index 6bd7bd78..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0080.ets +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentOtherRefreshAbility0080 { - @State isRefreshing: boolean = false; - @State promptText: string = "Refreshing..."; - @State arr: String[] = ['0', '1', '2', '3', '4','5','6','7','8','9','10']; - - build() { - Column() { - Text("Refresh test") - Refresh({ refreshing: $$this.isRefreshing, promptText: this.promptText}) { - List() { - ForEach(this.arr, (item: string) => { - ListItem() { - Text('' + item) - .width('70%').height(80).fontSize(16).id('' + item).margin({bottom:10}) - .textAlign(TextAlign.Center).borderRadius(10).backgroundColor(0xFF0000); - } - }, (item: string) => item) - } - .onScrollIndex((first: number) => { - console.info(first.toString()) - }) - .width('100%') - .height('100%') - .alignListItem(ListItemAlign.Center) - .scrollBar(BarState.Off); - } - .backgroundColor(0x89CFF0) - .pullToRefresh(true) - .refreshOffset(-1) - .pullDownRatio(1) - .onStateChange((refreshStatus: RefreshStatus) => { - console.info('Refresh onStatueChange state is ' + refreshStatus); - }) - .onOffsetChange((value: number) => { - console.info('Refresh onOffsetChange offset:' + value); - }) - .onRefreshing(() => { - setTimeout(() => { - this.isRefreshing = false; - }, 2000) - console.log('onRefreshing test'); - }); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0090.ets deleted file mode 100644 index ddb5eaee..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0090.ets +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentOtherRefreshAbility0090 { - @State isRefreshing: boolean = false; - @State promptText: string = "Refreshing..."; - @State arr: String[] = ['0', '1', '2', '3', '4','5','6','7','8','9','10']; - - build() { - Column() { - Text("Refresh test") - Refresh({ refreshing: $$this.isRefreshing, promptText: this.promptText}) { - List() { - ForEach(this.arr, (item: string) => { - ListItem() { - Text('' + item) - .width('70%').height(499).fontSize(16).id('' + item).margin({bottom:10}) - .textAlign(TextAlign.Center).borderRadius(10).backgroundColor(0xFF0000); - } - }, (item: string) => item) - } - .onScrollIndex((first: number) => { - console.info(first.toString()) - }) - .width('100%') - .height('100%') - .alignListItem(ListItemAlign.Center) - .scrollBar(BarState.Off); - } - .backgroundColor(0x89CFF0) - .pullToRefresh(true) - .refreshOffset(500) - .pullDownRatio(1) - .onStateChange((refreshStatus: RefreshStatus) => { - console.info('Refresh onStatueChange state is ' + refreshStatus); - }) - .onOffsetChange((value: number) => { - console.info('Refresh onOffsetChange offset:' + value); - }) - .onRefreshing(() => { - setTimeout(() => { - this.isRefreshing = false; - }, 2000) - console.log('onRefreshing test'); - }); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0100.ets deleted file mode 100644 index 52dfb3ef..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0100.ets +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentOtherRefreshAbility0100 { - @State isRefreshing: boolean = false; - @State promptText: string = "Refreshing..."; - @State arr: String[] = ['0', '1', '2', '3', '4','5','6','7','8','9','10']; - - build() { - Column() { - Text("Refresh test") - Refresh({ refreshing: $$this.isRefreshing, promptText: this.promptText}) { - List() { - ForEach(this.arr, (item: string) => { - ListItem() { - Text('' + item) - .width('70%').height(80).fontSize(16).id('' + item).margin({bottom:10}) - .textAlign(TextAlign.Center).borderRadius(10).backgroundColor(0xFF0000); - } - }, (item: string) => item) - } - .onScrollIndex((first: number) => { - console.info(first.toString()) - }) - .width('100%') - .height('100%') - .alignListItem(ListItemAlign.Center) - .scrollBar(BarState.Off); - } - .backgroundColor(0x89CFF0) - .pullToRefresh(true) - .refreshOffset(60.5) - .pullDownRatio(1) - .onStateChange((refreshStatus: RefreshStatus) => { - console.info('Refresh onStatueChange state is ' + refreshStatus); - }) - .onOffsetChange((value: number) => { - console.info('Refresh onOffsetChange offset:' + value); - }) - .onRefreshing(() => { - setTimeout(() => { - this.isRefreshing = false; - }, 2000) - console.log('onRefreshing test'); - }); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0380.ets deleted file mode 100644 index fa737a0a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0380.ets +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentOtherRefreshInterAction0380 { - @State isRefreshing: boolean = false - @State arr: String[] = ['0', '1', '2', '3', '4','5','6','7','8','9','10'] - - @Builder refreshbBuilder(name: string) { - Column() { - Text(name) .fontSize(30).margin(10) - .textAlign(TextAlign.Center).borderRadius(10).backgroundColor(0xFFFFFF) - }.width('100%').id('' + name) - } - - - build() { - Column() { - Refresh({ refreshing: $$this.isRefreshing}) { - List() { - ForEach(this.arr, (item: string) => { - ListItem() { - this.refreshbBuilder(item) - } - }, (item: string) => item) - } - .onScrollIndex((first: number) => { - console.info(first.toString()) - }) - .width('100%') - .height('100%') - .alignListItem(ListItemAlign.Center) - .scrollBar(BarState.Off) - } - .onStateChange((refreshStatus: RefreshStatus) => { - console.info('Refresh onStatueChange state is ' + refreshStatus) - }) - .onOffsetChange((value: number) => { - console.info('Refresh onOffsetChange offset:' + value) - }) - .onRefreshing(() => { - setTimeout(() => { - this.isRefreshing = false - }, 2000) - console.log('onRefreshing test') - }) - .backgroundColor(0x89CFF0) - .refreshOffset(64) - .pullToRefresh(true) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0390.ets deleted file mode 100644 index 04944c25..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0390.ets +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentOtherRefreshInterAction0390 { - @State isRefreshing: boolean = false - @State arr: String[] = ['0', '1', '2', '3', '4','5','6','7','8','9','10'] - @Builder - customRefreshComponent() - { - Stack() - { - Row() - { - LoadingProgress().height(32) - Text("Refreshing...").fontSize(16).margin({left:20}) - } - .alignItems(VerticalAlign.Center) - .backgroundColor(Color.Blue) - .height(100) - } - .align(Alignment.Center) - .clip(true) - .height(200) - .backgroundColor(Color.Red) - .constraintSize({minHeight:32}) // 设置最小高度约束保证自定义组件高度随刷新区域高度变化时自定义组件高度不会低于minHeight - .width("100%") - } - - build() { - Column() { - Refresh({ refreshing: $$this.isRefreshing,builder:this.customRefreshComponent()}) { - List() { - ForEach(this.arr, (item: string) => { - ListItem() { - Text('' + item) - .width('70%').height(80).fontSize(16).margin(10).id('' + item) - .textAlign(TextAlign.Center).borderRadius(10).backgroundColor(0xFFFFFF) - } - }, (item: string) => item) - } - .onScrollIndex((first: number) => { - console.info(first.toString()) - }) - .width('100%') - .height('100%') - .alignListItem(ListItemAlign.Center) - .scrollBar(BarState.Off) - } - .backgroundColor(0x89CFF0) - .pullToRefresh(true) - .refreshOffset(64) - .onStateChange((refreshStatus: RefreshStatus) => { - console.info('Refresh onStatueChange state is ' + refreshStatus) - }) - .onRefreshing(() => { - setTimeout(() => { - this.isRefreshing = false - }, 2000) - console.log('onRefreshing test') - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0400.ets deleted file mode 100644 index 1fce4eb0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0400.ets +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentOtherRefreshInterAction0400 { - @State isRefreshing: boolean = false - @State arr: String[] = ['0', '1', '2', '3', '4','5','6','7','8','9','10'] - @Builder - customRefreshComponent() - { - Stack() - { - Row() - { - LoadingProgress().height(32) - Text("Refreshing...").fontSize(16).margin({left:20}) - } - .alignItems(VerticalAlign.Center) - .backgroundColor(Color.Blue) - .height(100) - } - .align(Alignment.Center) - .clip(true) - .height(200) - .backgroundColor(Color.Red) - .constraintSize({minHeight:32}) // 设置最小高度约束保证自定义组件高度随刷新区域高度变化时自定义组件高度不会低于minHeight - .width("100%") - } - - build() { - Column() { - Refresh({ refreshing: $$this.isRefreshing,builder:this.customRefreshComponent()}) { - List() { - ForEach(this.arr, (item: string) => { - ListItem() { - Text('' + item) - .width('70%').height(80).fontSize(16).margin(10).id('' + item) - .textAlign(TextAlign.Center).borderRadius(10).backgroundColor(0xFFFFFF) - } - }, (item: string) => item) - } - .onScrollIndex((first: number) => { - console.info(first.toString()) - }) - .width('100%') - .height('100%') - .alignListItem(ListItemAlign.Center) - .scrollBar(BarState.Off) - } - .backgroundColor(0x89CFF0) - .pullToRefresh(true) - .refreshOffset(64) - .onStateChange((refreshStatus: RefreshStatus) => { - console.info('Refresh onStatueChange state is ' + refreshStatus) - }) - .onRefreshing(() => { - setTimeout(() => { - this.isRefreshing = false - }, 2000) - console.log('onRefreshing test') - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0410.ets deleted file mode 100644 index f6cd0aaa..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0410.ets +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentOtherRefreshInterAction0410 { - @State isRefreshing: boolean = false - @State arr: String[] = ['0', '1', '2', '3', '4','5','6','7','8','9','10'] - @Builder - customRefreshComponent() - { - Stack() - { - Row() - { - LoadingProgress().height(32) - Text("Refreshing...").fontSize(16).margin({left:20}) - } - .alignItems(VerticalAlign.Center) - .backgroundColor(Color.Blue) - .height('50%') - .width('50%') - } - .align(Alignment.Center) - .clip(true) - .height('50%') - .width('50%') - .backgroundColor(Color.Red) - .constraintSize({minHeight:32}) // 设置最小高度约束保证自定义组件高度随刷新区域高度变化时自定义组件高度不会低于minHeight - .width("100%") - } - - build() { - Column() { - Refresh({ refreshing: $$this.isRefreshing,builder:this.customRefreshComponent()}) { - List() { - ForEach(this.arr, (item: string) => { - ListItem() { - Text('' + item) - .width('70%').height(80).fontSize(16).margin(10).id('' + item) - .textAlign(TextAlign.Center).borderRadius(10).backgroundColor(0xFFFFFF) - } - }, (item: string) => item) - } - .onScrollIndex((first: number) => { - console.info(first.toString()) - }) - .width('100%') - .height('100%') - .alignListItem(ListItemAlign.Center) - .scrollBar(BarState.Off) - } - .backgroundColor(0x89CFF0) - .pullToRefresh(true) - .refreshOffset(64) - .onStateChange((refreshStatus: RefreshStatus) => { - console.info('Refresh onStatueChange state is ' + refreshStatus) - }) - .onRefreshing(() => { - setTimeout(() => { - this.isRefreshing = false - }, 2000) - console.log('onRefreshing test') - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterface/UIComponentOtherRefreshInterface0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterface/UIComponentOtherRefreshInterface0140.ets deleted file mode 100644 index b05f5508..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterface/UIComponentOtherRefreshInterface0140.ets +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentOtherRefreshPromptText0140 { - @State isRefreshing: boolean = false; - @State promptText: string = "Refreshing..."; - @State arr: String[] = ['0', '1', '2', '3', '4','5','6','7','8','9','10']; - - build() { - Column() { - Text("Refresh test") - Refresh({ refreshing: $$this.isRefreshing, promptText: this.promptText}) { - List() { - ForEach(this.arr, (item: string) => { - ListItem() { - Text('' + item) - .width('70%').height(80).fontSize(16).id('' + item) - .textAlign(TextAlign.Center).borderRadius(10).backgroundColor(0xFF0000); - } - }, (item: string) => item) - } - .onScrollIndex((first: number) => { - console.info(first.toString()) - }) - .width('100%') - .height('100%') - .alignListItem(ListItemAlign.Center) - .scrollBar(BarState.Off); - } - .backgroundColor(0x89CFF0) - .pullToRefresh(true) - .refreshOffset(0) - .pullDownRatio(1) - .onStateChange((refreshStatus: RefreshStatus) => { - console.info('Refresh onStatueChange state is ' + refreshStatus); - }) - .onOffsetChange((value: number) => { - console.info('Refresh onOffsetChange offset:' + value); - }) - .onRefreshing(() => { - setTimeout(() => { - this.isRefreshing = false; - }, 2000) - console.log('onRefreshing test'); - }); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterface/UIComponentOtherRefreshInterface0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterface/UIComponentOtherRefreshInterface0170.ets deleted file mode 100644 index 07269db1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterface/UIComponentOtherRefreshInterface0170.ets +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentOtherRefreshPromptText0170 { - @State isRefreshing: boolean = false; - @State promptText: string = "Refreshing..."; - @State arr: String[] = ['0', '1', '2', '3', '4','5','6','7','8','9','10']; - - build() { - Column() { - Text("Refresh test") - Refresh({ refreshing: $$this.isRefreshing, promptText: this.promptText}) { - List() { - ForEach(this.arr, (item: string) => { - ListItem() { - Text('' + item) - .width('70%').height(80).fontSize(16).id('' + item).margin({bottom:10}) - .textAlign(TextAlign.Center).borderRadius(10).backgroundColor(0xFF0000); - } - }, (item: string) => item) - } - .onScrollIndex((first: number) => { - console.info(first.toString()) - }) - .width('100%') - .height('100%') - .alignListItem(ListItemAlign.Center) - .scrollBar(BarState.Off); - } - .backgroundColor(0x89CFF0) - .pullToRefresh(true) - .refreshOffset(-100) - .pullDownRatio(1) - .onStateChange((refreshStatus: RefreshStatus) => { - console.info('Refresh onStatueChange state is ' + refreshStatus); - }) - .onOffsetChange((value: number) => { - console.info('Refresh onOffsetChange offset:' + value); - }) - .onRefreshing(() => { - setTimeout(() => { - this.isRefreshing = false; - }, 2000) - console.log('onRefreshing test'); - }); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterface/UIComponentOtherRefreshInterface0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterface/UIComponentOtherRefreshInterface0180.ets deleted file mode 100644 index 49240b52..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshInterface/UIComponentOtherRefreshInterface0180.ets +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentOtherRefreshPromptText0180 { - @State isRefreshing: boolean = false; - @State promptText: string = "Refreshing..."; - @State arr: String[] = ['0', '1', '2', '3', '4','5','6','7','8','9','10']; - - build() { - Column() { - Text("Refresh test") - Refresh({ refreshing: $$this.isRefreshing, promptText: this.promptText}) { - List() { - ForEach(this.arr, (item: string) => { - ListItem() { - Text('' + item) - .width('70%').height(80).fontSize(16).id('' + item).margin({bottom:10}) - .textAlign(TextAlign.Center).borderRadius(10).backgroundColor(0xFF0000); - } - }, (item: string) => item) - } - .onScrollIndex((first: number) => { - console.info(first.toString()) - }) - .width('100%') - .height('100%') - .alignListItem(ListItemAlign.Center) - .scrollBar(BarState.Off); - } - .backgroundColor(0x89CFF0) - .pullToRefresh(true) - .refreshOffset(0) - .pullDownRatio(1) - .onStateChange((refreshStatus: RefreshStatus) => { - console.info('Refresh onStatueChange state is ' + refreshStatus); - }) - .onOffsetChange((value: number) => { - console.info('Refresh onOffsetChange offset:' + value); - }) - .onRefreshing(() => { - setTimeout(() => { - this.isRefreshing = false; - }, 2000) - console.log('onRefreshing test'); - }); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0040.ets deleted file mode 100644 index 9de36774..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0040.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentOtherRefreshPromptText0040 { - @State isRefreshing: boolean = false; - @State promptText: string = ' '; - @State arr: String[] = ['0', '1', '2', '3', '4','5','6','7','8','9','10']; - - build() { - Column() { - Refresh({ refreshing: $$this.isRefreshing, promptText: this.promptText}) { - List() { - ForEach(this.arr, (item: string) => { - ListItem() { - Text('' + item) - .width('70%').height(80).fontSize(16).margin(10).id('' + item) - .textAlign(TextAlign.Center).borderRadius(10).backgroundColor(0xFFFFFF) - } - }, (item: string) => item) - } - .onScrollIndex((first: number) => { - console.info(first.toString()) - }) - .width('100%') - .height('100%') - .alignListItem(ListItemAlign.Center) - .scrollBar(BarState.Off); - } - .backgroundColor(0x89CFF0) - .pullToRefresh(true) - .refreshOffset(96) - .onStateChange((refreshStatus: RefreshStatus) => { - console.info('Refresh onStatueChange state is ' + refreshStatus); - }) - .onOffsetChange((value: number) => { - console.info('Refresh onOffsetChange offset:' + value); - }) - .onRefreshing(() => { - setTimeout(() => { - this.isRefreshing = false - }, 2000) - console.log('onRefreshing test'); - }); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0050.ets deleted file mode 100644 index d7645474..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0050.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentOtherRefreshPromptText0050 { - @State isRefreshing: boolean = false; - @State promptText: string = "+-*<>!@#$"; - @State arr: String[] = ['0', '1', '2', '3', '4','5','6','7','8','9','10']; - - build() { - Column() { - Refresh({ refreshing: $$this.isRefreshing, promptText: this.promptText}) { - List() { - ForEach(this.arr, (item: string) => { - ListItem() { - Text('' + item) - .width('70%').height(80).fontSize(16).margin(10).id('' + item) - .textAlign(TextAlign.Center).borderRadius(10).backgroundColor(0xFFFFFF) - } - }, (item: string) => item) - } - .onScrollIndex((first: number) => { - console.info(first.toString()) - }) - .width('100%') - .height('100%') - .alignListItem(ListItemAlign.Center) - .scrollBar(BarState.Off); - } - .backgroundColor(0x89CFF0) - .pullToRefresh(true) - .refreshOffset(96) - .onStateChange((refreshStatus: RefreshStatus) => { - console.info('Refresh onStatueChange state is ' + refreshStatus); - }) - .onOffsetChange((value: number) => { - console.info('Refresh onOffsetChange offset:' + value); - }) - .onRefreshing(() => { - setTimeout(() => { - this.isRefreshing = false - }, 2000) - console.log('onRefreshing test'); - }); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0060.ets deleted file mode 100644 index 96fc953b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0060.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentOtherRefreshPromptText0060 { - @State isRefreshing: boolean = false; - @State promptText: string = "中英文abc"; - @State arr: String[] = ['0', '1', '2', '3', '4','5','6','7','8','9','10']; - - build() { - Column() { - Refresh({ refreshing: $$this.isRefreshing, promptText: this.promptText}) { - List() { - ForEach(this.arr, (item: string) => { - ListItem() { - Text('' + item) - .width('70%').height(80).fontSize(16).margin(10).id('' + item) - .textAlign(TextAlign.Center).borderRadius(10).backgroundColor(0xFFFFFF) - } - }, (item: string) => item) - } - .onScrollIndex((first: number) => { - console.info(first.toString()) - }) - .width('100%') - .height('100%') - .alignListItem(ListItemAlign.Center) - .scrollBar(BarState.Off); - } - .backgroundColor(0x89CFF0) - .pullToRefresh(true) - .refreshOffset(96) - .onStateChange((refreshStatus: RefreshStatus) => { - console.info('Refresh onStatueChange state is ' + refreshStatus); - }) - .onOffsetChange((value: number) => { - console.info('Refresh onOffsetChange offset:' + value); - }) - .onRefreshing(() => { - setTimeout(() => { - this.isRefreshing = false - }, 2000) - console.log('onRefreshing test'); - }); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0100.ets deleted file mode 100644 index b782efe4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0100.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentOtherRefreshPromptText0100 { - @State isRefreshing: boolean = false; - @State promptText: Resource = $r("app.string.specifalRefreshText"); - @State arr: String[] = ['0', '1', '2', '3', '4','5','6','7','8','9','10']; - - build() { - Column() { - Refresh({ refreshing: $$this.isRefreshing, promptText: this.promptText}) { - List() { - ForEach(this.arr, (item: string) => { - ListItem() { - Text('' + item) - .width('70%').height(80).fontSize(16).margin(10).id('' + item) - .textAlign(TextAlign.Center).borderRadius(10).backgroundColor(0xFFFFFF) - } - }, (item: string) => item) - } - .onScrollIndex((first: number) => { - console.info(first.toString()) - }) - .width('100%') - .height('100%') - .alignListItem(ListItemAlign.Center) - .scrollBar(BarState.Off); - } - .backgroundColor(0x89CFF0) - .pullToRefresh(true) - .refreshOffset(96) - .onStateChange((refreshStatus: RefreshStatus) => { - console.info('Refresh onStatueChange state is ' + refreshStatus); - }) - .onOffsetChange((value: number) => { - console.info('Refresh onOffsetChange offset:' + value); - }) - .onRefreshing(() => { - setTimeout(() => { - this.isRefreshing = false - }, 2000) - console.log('onRefreshing test'); - }); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0110.ets deleted file mode 100644 index fe4c34ff..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0110.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentOtherRefreshPromptText0110 { - @State isRefreshing: boolean = false; - @State promptText: Resource = $r("app.string.mixRefreshText"); - @State arr: String[] = ['0', '1', '2', '3', '4','5','6','7','8','9','10']; - - build() { - Column() { - Refresh({ refreshing: $$this.isRefreshing, promptText: this.promptText}) { - List() { - ForEach(this.arr, (item: string) => { - ListItem() { - Text('' + item) - .width('70%').height(80).fontSize(16).margin(10).id('' + item) - .textAlign(TextAlign.Center).borderRadius(10).backgroundColor(0xFFFFFF) - } - }, (item: string) => item) - } - .onScrollIndex((first: number) => { - console.info(first.toString()) - }) - .width('100%') - .height('100%') - .alignListItem(ListItemAlign.Center) - .scrollBar(BarState.Off); - } - .backgroundColor(0x89CFF0) - .pullToRefresh(true) - .refreshOffset(96) - .onStateChange((refreshStatus: RefreshStatus) => { - console.info('Refresh onStatueChange state is ' + refreshStatus); - }) - .onOffsetChange((value: number) => { - console.info('Refresh onOffsetChange offset:' + value); - }) - .onRefreshing(() => { - setTimeout(() => { - this.isRefreshing = false - }, 2000) - console.log('onRefreshing test'); - }); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0120.ets deleted file mode 100644 index 2d05b80d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0120.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentOtherRefreshPromptText0120 { - @State isRefreshing: boolean = false; - @State promptText: string = 'openHarmon1234openHarmon1234openHarmon1234openHarmon1234openHarmon1234openHarmon1234openHarmon1234openHarmon1234openHarmon1234'; - @State arr: String[] = ['0', '1', '2', '3', '4','5','6','7','8','9','10']; - - build() { - Column() { - Refresh({ refreshing: $$this.isRefreshing, promptText: this.promptText}) { - List() { - ForEach(this.arr, (item: string) => { - ListItem() { - Text('' + item) - .width('70%').height(80).fontSize(16).margin(10).id('' + item) - .textAlign(TextAlign.Center).borderRadius(10).backgroundColor(0xFFFFFF) - } - }, (item: string) => item) - } - .onScrollIndex((first: number) => { - console.info(first.toString()) - }) - .width('100%') - .height('100%') - .alignListItem(ListItemAlign.Center) - .scrollBar(BarState.Off); - } - .backgroundColor(0x89CFF0) - .pullToRefresh(true) - .refreshOffset(96) - .onStateChange((refreshStatus: RefreshStatus) => { - console.info('Refresh onStatueChange state is ' + refreshStatus); - }) - .onOffsetChange((value: number) => { - console.info('Refresh onOffsetChange offset:' + value); - }) - .onRefreshing(() => { - setTimeout(() => { - this.isRefreshing = false - }, 2000) - console.log('onRefreshing test'); - }); - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute006.ets deleted file mode 100644 index bf037b38..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute006.ets +++ /dev/null @@ -1,131 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxAttribute006 { - @State textValue: string = ''; - @State inputValue: string = 'click me'; - @State dxNum: string = '0'; - @State dyNum: string = '-20'; - @State offsetNum: Offset = {dx: '0', dy: '-20'}; - - dialogController: CustomDialogController | null = new CustomDialogController({ - builder: CustomDialogExample({ - cancel: () => { - this.onCancel() - }, - confirm: () => { - this.onAccept() - }, - change: () => { - this.change() - }, - textValue: $textValue, - inputValue: $inputValue, - dxNum: $dxNum, - dyNum: $dyNum, - }), - cancel: this.exitApp, - autoCancel: true, - alignment: DialogAlignment.Bottom, - offset: this.offsetNum, - gridCount: 4, - customStyle: false, - cornerRadius: 10, - }) - - - aboutToDisappear() { - this.dialogController = null; - } - - onCancel() { - console.info('Callback when the first button is clicked'); - } - - onAccept() { - console.info('Callback when the second button is clicked'); - } - - exitApp() { - console.info('Click the callback in the blank area'); - } - - change() { - this.dxNum = '100px'; - this.dyNum = '100px'; - this.offset({x: '100px', y: '100px'}) - } - - build() { - Column() { - Button(this.inputValue) - .id('UIComponentPopupBoxAttribute0060') - .onClick(() => { - if (this.dialogController != null) { - this.dialogController.open() - } - }).backgroundColor(0x317aff) - }.width('100%').margin({ top: 5 }) - } -} - -@CustomDialog -struct CustomDialogExample { - @Link textValue: string; - @Link inputValue: string; - @Link dxNum: string; - @Link dyNum: string; - controller?: CustomDialogController; - cancel: () => void = () => { - } - confirm: () => void = () => { - } - change: () => void = () => { - - } - - build() { - Column({ space: 20 }) { - Text('Change offset').fontSize(20).margin({ top: 10, bottom: 10 }) - Button('change') - .id('UIComponentPopupBoxAttribute0061') - .onClick(() => { - if (this.controller != undefined) { - this.change() - } - }).backgroundColor(0xffffff).fontColor(Color.Red) - Flex({ justifyContent: FlexAlign.SpaceAround }) { - Button('cancel') - .onClick(() => { - if (this.controller != undefined) { - this.controller.close() - this.cancel() - } - }).backgroundColor(0xffffff).fontColor(Color.Black) - Button('confirm') - .onClick(() => { - if (this.controller != undefined) { - this.inputValue = this.textValue; - this.controller.close() - this.confirm() - } - }).backgroundColor(0xffffff).fontColor(Color.Red) - }.margin({ bottom: 10 }) - - }.borderRadius(10) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute011.ets deleted file mode 100644 index 69f59a4c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute011.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct UIComponentPopupBoxAttribute011 { - @State buttonText: string = 'Open'; - @State message: string = ''; - - build() { - Row() { - Column() { - Text(this.message) - .id('UIComponentPopupBoxAttribute0111') - Button(this.buttonText) - .fontSize(50) - .fontWeight(FontWeight.Bold) - .id('UIComponentPopupBoxAttribute0110') - .onClick(() => { - promptAction.openToast({ - message: 'this is a Toast', - offset: { dx: 0, dy: 1000 } - }) - }) - } - .width('100%') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute050.ets deleted file mode 100644 index 656b810a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute050.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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' - -let customDialogId: number = 0 - -@Builder -function customFirstDialogBuilder() { - Column() { - Text('Custom dialog Message').fontSize(10) - Row() { - Button("确认").onClick(() => { - promptAction.closeCustomDialog(customDialogId) - }) - } - }.height(200).padding(5) -} - -@Entry -@Component -struct UIComponentPopupBoxAttribute050 { - @State buttonText: string = 'Open'; - @State message: string = ''; - - build() { - Row() { - Column() { - Text(this.message) - .id('UIComponentPopupBoxAttribute0501') - Button(this.buttonText) - .fontSize(50) - .fontWeight(FontWeight.Bold) - .id('UIComponentPopupBoxAttribute0500') - .onClick(() => { - promptAction.openCustomDialog({ - builder: customFirstDialogBuilder.bind(this), - showInSubWindow: true - }).then((dialogId: number) => { - customDialogId = dialogId; - this.message = '弹框已开启'; - setTimeout(() => { - try { - promptAction.closeCustomDialog(customDialogId); - this.message = '弹框开启后已定时关闭'; - } catch (e) { - this.message = '弹框开启后定时关闭异常'; - } - }, 2000); - }) - }) - } - .width('100%') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute051.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute051.ets deleted file mode 100644 index d4519c96..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute051.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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' - -let customDialogId: number = 0 - -@Builder -function customDialogBuilder() { - Column() { - Text('Custom dialog Message').fontSize(10) - Row() { - Button("确认").onClick(() => { - promptAction.closeCustomDialog(customDialogId) - }) - } - }.height(200).padding(5) -} - -@Entry -@Component -struct UIComponentPopupBoxAttribute051 { - @State buttonText: string = 'Open'; - @State message: string = ''; - - build() { - Row() { - Column() { - Text(this.message) - .id('UIComponentPopupBoxAttribute0511') - Button(this.buttonText) - .fontSize(50) - .fontWeight(FontWeight.Bold) - .id('UIComponentPopupBoxAttribute0510') - .onClick(() => { - promptAction.openCustomDialog({ - builder: customDialogBuilder.bind(this), - showInSubWindow: false - }).then((dialogId: number) => { - customDialogId = dialogId; - this.message = '弹框已开启'; - setTimeout(() => { - try { - promptAction.closeCustomDialog(customDialogId); - this.message = '弹框开启后已定时关闭'; - } catch (e) { - this.message = '弹框开启后定时关闭异常'; - } - }, 2000); - }) - }) - } - .width('100%') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface001.ets deleted file mode 100644 index 2ebdec27..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface001.ets +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// xxx.ets -@CustomDialog -struct CustomDialogExampleFullDialog { - controller?: CustomDialogController - cancel: () => void = () => { - } - confirm: () => void = () => { - } - - build() { - Column() { - Text('isModal_false') - .fontSize(30) - .height(100) - Button('点我关闭弹窗') - .onClick(() => { - if (this.controller != undefined) { - this.controller.close() - } - }) - .margin(20) - }.backgroundColor(Color.Gray) - } -} - -@Entry -@Component -struct UIComponentPopupBoxFullDialogInterface001 { - dialogController: CustomDialogController | null = new CustomDialogController({ - builder: CustomDialogExampleFullDialog({ - cancel: () => { - this.onCancel() - }, - confirm: () => { - this.onAccept() - } - }), - cancel: this.existApp, - autoCancel: true, - onWillDismiss: (dismissDialogAction: DismissDialogAction) => { - console.info("reason=" + JSON.stringify(dismissDialogAction.reason)) - console.log("dialog onWillDismiss") - if (dismissDialogAction.reason == DismissReason.PRESS_BACK) { - dismissDialogAction.dismiss() - } - if (dismissDialogAction.reason == DismissReason.TOUCH_OUTSIDE) { - dismissDialogAction.dismiss() - } - }, - openAnimation: { iterations: -1, duration: 500 }, - alignment: DialogAlignment.Center, - isModal: false, - customStyle: false, - cornerRadius: 10, - }) - - // 在自定义组件即将析构销毁时将dialogController置空 - aboutToDisappear() { - this.dialogController = null // 将dialogController置空 - } - - onCancel() { - console.info('Callback when the first button is clicked') - } - - onAccept() { - console.info('Callback when the second button is clicked') - } - - existApp() { - console.info('Click the callback in the blank area') - } - - build() { - Column() { - Button('show dialog') - .onClick(() => { - if (this.dialogController != null) { - this.dialogController.open() - } - }).backgroundColor(0x317aff).key('UIComponentPopupBoxFullDialogInterface001_button_001') - }.width('100%').margin({ top: 5 }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface0010.ets deleted file mode 100644 index 4334f161..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface0010.ets +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// xxx.ets -@CustomDialog -struct CustomDialogExampleFullDialog0010 { - controller?: CustomDialogController - cancel: () => void = () => { - } - confirm: () => void = () => { - } - - build() { - Column() { - Text('这是测试 set maskRect') - .fontSize(30) - .height(100) - Button('点我关闭弹窗') - .onClick(() => { - if (this.controller != undefined) { - this.controller.close() - } - }) - .margin(20) - } - } -} - -@Entry -@Component -struct UIComponentPopupBoxFullDialogInterface0010 { - dialogController: CustomDialogController | null = new CustomDialogController({ - builder: CustomDialogExampleFullDialog0010({ - cancel: () => { - this.onCancel() - }, - confirm: () => { - this.onAccept() - } - }), - cancel: this.existApp, - autoCancel: true, - maskRect: { - x: 20, - y: '20px', - width: '300px', - height: '80%' - }, - alignment: DialogAlignment.Center, - isModal: true, - customStyle: false, - cornerRadius: 10, - }) - - // 在自定义组件即将析构销毁时将dialogController置空 - aboutToDisappear() { - this.dialogController = null // 将dialogController置空 - } - - onCancel() { - console.info('Callback when the first button is clicked') - } - - onAccept() { - console.info('Callback when the second button is clicked') - } - - existApp() { - console.info('Click the callback in the blank area') - } - - build() { - Column() { - Button('show dialog') - .onClick(() => { - if (this.dialogController != null) { - this.dialogController.open() - } - }).backgroundColor(0x317aff).key('UIComponentPopupBoxFullDialogInterface0010_button_001') - }.width('100%').margin({ top: 5 }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface002.ets deleted file mode 100644 index f00512da..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface002.ets +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@CustomDialog -struct CustomDialogExample002 { - controller?: CustomDialogController - cancel: () => void = () => { - } - confirm: () => void = () => { - } - - build() { - Column() { - Text('这是自定义弹窗') - .fontSize(30) - .height(100) - Button('点我关闭弹窗') - .onClick(() => { - if (this.controller != undefined) { - this.controller.close() - } - }) - .margin(20) - } - } -} - -@Entry -@Component -struct UIComponentPopupBoxFullDialogInterface002 { - @State autoCancel: boolean = false; - - onCancel() { - console.info('Callback when the first button is clicked') - } - - onAccept() { - console.info('Callback when the second button is clicked') - } - - existApp() { - console.info('Click the callback in the blank area') - } - - build() { - Column() { - Button('autoCacncel动态更新') - .onClick(() => { - this.autoCancel = !this.autoCancel; - let controller: CustomDialogController = new CustomDialogController({ - builder: CustomDialogExample002({ - cancel: () => { - this.onCancel() - }, - confirm: () => { - this.onAccept() - } - }), - cancel: this.existApp, - autoCancel: this.autoCancel, - alignment: DialogAlignment.Center, - offset: { dx: 0, dy: -20 }, - customStyle: false, - cornerRadius: 20, - width: 300, - height: 200, - borderStyle: BorderStyle.Dashed, - borderColor: Color.Blue, - backgroundColor: Color.White, - }); - controller.open(); - }).backgroundColor(0x317aff).key('UIComponentPopupBoxFullDialogInterface002_button_001') - }.width('100%').margin({ top: 5 }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface003.ets deleted file mode 100644 index c868ea32..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface003.ets +++ /dev/null @@ -1,156 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -// xxx.ets -@CustomDialog -struct CustomDialogExample003_1 { - controllerTwo?: CustomDialogController - build() { - Column() { - Text('我是第二个弹窗') - .fontSize(30) - .height(100) - Button('点我关闭第二个弹窗') - .onClick(() => { - if (this.controllerTwo != undefined) { - this.controllerTwo.close() - } - }) - .margin(20) - } - } -} -@CustomDialog -@Component -struct CustomDialogExample003 { - @Link textValue: string - @Link inputValue: string - dialogControllerTwo: CustomDialogController | null = new CustomDialogController({ - builder: CustomDialogExample003_1(), - alignment: DialogAlignment.Bottom, - onWillDismiss:(dismissDialogAction: DismissDialogAction)=> { - console.info("reason=" + JSON.stringify(dismissDialogAction.reason)) - console.log("dialog onWillDismiss") - if (dismissDialogAction.reason == DismissReason.PRESS_BACK) { - dismissDialogAction.dismiss() - } - if (dismissDialogAction.reason == DismissReason.TOUCH_OUTSIDE) { - dismissDialogAction.dismiss() - } - }, - offset: { dx: 0, dy: -25 } }) - controller?: CustomDialogController - // 若尝试在CustomDialog中传入多个其他的Controller,以实现在CustomDialog中打开另一个或另一些CustomDialog,那么此处需要将指向自己的controller放在所有controller的后面 - cancel: () => void = () => { - } - confirm: () => void = () => { - } - - build() { - Column() { - Text('Change text').fontSize(20).margin({ top: 10, bottom: 10 }) - TextInput({ placeholder: '', text: this.textValue }).height(60).width('90%') - .onChange((value: string) => { - this.textValue = value - }) - Text('Whether to change a text?').fontSize(16).margin({ bottom: 10 }) - Flex({ justifyContent: FlexAlign.SpaceAround }) { - Button('cancel') - .onClick(() => { - if (this.controller != undefined) { - this.controller.close() - this.cancel() - } - }).backgroundColor(0xffffff).fontColor(Color.Black) - Button('confirm') - .onClick(() => { - if (this.controller != undefined) { - this.inputValue = this.textValue - this.controller.close() - this.confirm() - } - }).backgroundColor(0xffffff).fontColor(Color.Red) - }.margin({ bottom: 10 }) - - Button('点我打开第二个弹窗') - .onClick(() => { - if (this.dialogControllerTwo != null) { - this.dialogControllerTwo.open() - } - }).key('UIComponentPopupBoxFullDialogInterface003_button_02') - .margin(20) - }.borderRadius(10) - // 如果需要使用border属性或cornerRadius属性,请和borderRadius属性一起使用。 - } -} -@Entry -@Component -struct UIComponentPopupBoxFullDialogInterface003 { - @State textValue: string = '' - @State inputValue: string = 'click me' - dialogController: CustomDialogController | null = new CustomDialogController({ - builder: CustomDialogExample003({ - cancel: ()=> { this.onCancel() }, - confirm: ()=> { this.onAccept() }, - textValue: $textValue, - inputValue: $inputValue - }), - cancel: this.exitApp, - autoCancel: true, - onWillDismiss:(dismissDialogAction: DismissDialogAction)=> { - console.info("reason=" + JSON.stringify(dismissDialogAction.reason)) - console.log("dialog onWillDismiss") - if (dismissDialogAction.reason == DismissReason.PRESS_BACK) { - dismissDialogAction.dismiss() - } - if (dismissDialogAction.reason == DismissReason.TOUCH_OUTSIDE) { - dismissDialogAction.dismiss() - } - }, - alignment: DialogAlignment.Bottom, - offset: { dx: 0, dy: -20 }, - gridCount: 4, - customStyle: false, - cornerRadius: 10, - }) - - // 在自定义组件即将析构销毁时将dialogController置空 - aboutToDisappear() { - this.dialogController = null // 将dialogController置空 - } - - onCancel() { - console.info('Callback when the first button is clicked') - } - - onAccept() { - console.info('Callback when the second button is clicked') - } - - exitApp() { - console.info('Click the callback in the blank area') - } - build() { - Column() { - Button(this.inputValue) - .onClick(() => { - if (this.dialogController != null) { - this.dialogController.open() - } - }).backgroundColor(0x317aff).key('UIComponentPopupBoxFullDialogInterface003_button_001') - }.width('100%').margin({ top: 5 }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface004.ets deleted file mode 100644 index 74c25af2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface004.ets +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@CustomDialog -struct CustomDialogExample004 { - controller?: CustomDialogController - cancel: () => void = () => { - } - confirm: () => void = () => { - } - - build() { - Column() { - Text('这是自定义弹窗') - .fontSize(30) - .height(100) - Button('点我关闭弹窗') - .onClick(() => { - if (this.controller != undefined) { - this.controller.close() - } - }) - .margin(20) - } - } -} - -@Entry -@Component -struct UIComponentPopupBoxFullDialogInterface004 { - dialogController: CustomDialogController | null = new CustomDialogController({ - builder: CustomDialogExample004({ - cancel: () => { - this.onCancel() - }, - confirm: () => { - this.onAccept() - } - }), - cancel: this.existApp, - autoCancel: true, - alignment: DialogAlignment.Bottom, - offset: { dx: 0, dy: 40 }, - customStyle: false, - cornerRadius: 20, - width: 300, - height: 200, - borderStyle: BorderStyle.Dashed, - borderColor: Color.Blue, - backgroundColor: Color.White, - }) - - aboutToDisappear() { - this.dialogController = null; - } - - onCancel() { - console.info('Callback when the first button is clicked') - } - - onAccept() { - console.info('Callback when the second button is clicked') - } - - existApp() { - console.info('Click the callback in the blank area') - } - - build() { - Column() { - Button('click me') - .onClick(() => { - if (this.dialogController != null) { - this.dialogController.open(); - } - }).backgroundColor(0x317aff).key('UIComponentPopupBoxFullDialogInterface004_button_001') - }.width('100%').margin({ top: 5 }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface005.ets deleted file mode 100644 index 21abf45f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface005.ets +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -// xxx.ets -@CustomDialog -struct CustomDialogExample005 { - controller?: CustomDialogController - cancel: () => void = () => { - } - confirm: () => void = () => { - } - - build() { - Column() { - Text('这是自定义弹窗') - .fontSize(30) - .height(100) - Button('点我关闭弹窗') - .onClick(() => { - if (this.controller != undefined) { - this.controller.close() - } - }) - .margin(20) - } - } -} - -@Entry -@Component -struct UIComponentPopupBoxFullDialogInterface005 { - @State index: number = 0; - private colorArr: number[] = [Color.Pink, Color.White, Color.Red, Color.Blue]; - - onCancel() { - console.info('Callback when the first button is clicked') - } - - onAccept() { - console.info('Callback when the second button is clicked') - } - - existApp() { - console.info('Click the callback in the blank area') - } - - build() { - Column() { - Button('maskColor动态更新') - .onClick(() => { - let dialogController: CustomDialogController | null = new CustomDialogController({ - builder: CustomDialogExample005({}), - cancel: this.existApp, - autoCancel: true, - alignment: DialogAlignment.Center, - offset: { dx: 0, dy: -20 }, - customStyle: false, - cornerRadius: 20, - width: 300, - height: 200, - borderStyle: BorderStyle.Dashed, //使用borderStyle属性,需要和borderWidth属性一起使用 - borderColor: Color.Blue, //使用borderColor属性,需要和borderWidth属性一起使用 - backgroundColor: Color.White, - maskColor: this.colorArr[this.index] - }) - dialogController.open(); - if (this.index == 3) { - this.index = -1; - } - this.index++; - }).backgroundColor(0x317aff).key('UIComponentPopupBoxFullDialogInterface005_button_001') - }.width('100%').margin({ top: 5 }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface006.ets deleted file mode 100644 index 3b8c0677..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface006.ets +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -// xxx.ets -@CustomDialog -struct CustomDialogExample006 { - controller?: CustomDialogController - cancel: () => void = () => { - } - confirm: () => void = () => { - } - - build() { - Column() { - Text('这是自定义弹窗') - .fontSize(30) - .height(100) - Button('点我关闭弹窗') - .onClick(() => { - if (this.controller != undefined) { - this.controller.close() - } - }) - .margin(20) - } - } -} - -@Entry -@Component -struct UIComponentPopupBoxFullDialogInterface006 { - @State index: number = 0; - private alignmentArr: number[] = - [DialogAlignment.Center, DialogAlignment.Bottom, DialogAlignment.Top, DialogAlignment.CenterStart, - DialogAlignment.BottomStart]; - - onCancel() { - console.info('Callback when the first button is clicked') - } - - onAccept() { - console.info('Callback when the second button is clicked') - } - - existApp() { - console.info('Click the callback in the blank area') - } - - build() { - Column() { - Button('maskColor动态更新') - .onClick(() => { - let dialogController: CustomDialogController | null = new CustomDialogController({ - builder: CustomDialogExample006({}), - cancel: this.existApp, - autoCancel: true, - alignment: this.alignmentArr[this.index], - offset: { dx: 0, dy: -20 }, - customStyle: false, - cornerRadius: 20, - width: 300, - height: 200, - borderStyle: BorderStyle.Dashed, //使用borderStyle属性,需要和borderWidth属性一起使用 - borderColor: Color.Blue, //使用borderColor属性,需要和borderWidth属性一起使用 - backgroundColor: Color.White, - }) - dialogController.open(); - if (this.index == 4) { - this.index = -1; - } - this.index++; - }).backgroundColor(0x317aff).key('UIComponentPopupBoxFullDialogInterface006_button_001') - }.width('100%').margin({ top: 5 }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface007.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface007.ets deleted file mode 100644 index 8270f0e9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface007.ets +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -// xxx.ets -@CustomDialog -struct CustomDialogExample007 { - controller?: CustomDialogController - cancel: () => void = () => { - } - confirm: () => void = () => { - } - - build() { - Column() { - Text('这是自定义弹窗') - .fontSize(30) - .height(100) - Button('点我关闭弹窗') - .onClick(() => { - if (this.controller != undefined) { - this.controller.close() - } - }) - .margin(20) - } - } -} - -@Entry -@Component -struct UIComponentPopupBoxFullDialogInterface007 { - @State index: number = 0; - private offSetArr: Offset[] = - [{ dx: '-20px', dy: 0 }, { dx: '20px', dy: 0 }, { dx: '-50vp', dy: 0 }, { dx: 0, dy: '-20px' }, - { dx: 0, dy: '20%' }, { dx: 0, dy: '-50vp' }]; - - onCancel() { - console.info('Callback when the first button is clicked') - } - - onAccept() { - console.info('Callback when the second button is clicked') - } - - existApp() { - console.info('Click the callback in the blank area') - } - - build() { - Column() { - Button('maskColor动态更新') - .onClick(() => { - let dialogController: CustomDialogController | null = new CustomDialogController({ - builder: CustomDialogExample007({}), - cancel: this.existApp, - autoCancel: true, - alignment: DialogAlignment.Center, - offset: this.offSetArr[this.index], - customStyle: false, - cornerRadius: 20, - width: 300, - height: 200, - borderStyle: BorderStyle.Dashed, //使用borderStyle属性,需要和borderWidth属性一起使用 - borderColor: Color.Blue, //使用borderColor属性,需要和borderWidth属性一起使用 - backgroundColor: Color.White, - }) - dialogController.open(); - if (this.index == 5) { - this.index = -1; - } - this.index++; - }).backgroundColor(0x317aff).key('UIComponentPopupBoxFullDialogInterface007_button_001') - }.width('100%').margin({ top: 5 }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface008.ets deleted file mode 100644 index 30a8eac6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface008.ets +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// xxx.ets -@CustomDialog -struct CustomDialogExampleFullDialog008 { - controller?: CustomDialogController - cancel: () => void = () => { - } - confirm: () => void = () => { - } - - build() { - Column() { - Text('isModal_true') - .fontSize(30) - .height(100) - Button('点我关闭弹窗') - .onClick(() => { - if (this.controller != undefined) { - this.controller.close() - } - }) - .margin(20) - }.backgroundColor(Color.Gray) - } -} - -@Entry -@Component -struct UIComponentPopupBoxFullDialogInterface008 { - dialogController: CustomDialogController | null = new CustomDialogController({ - builder: CustomDialogExampleFullDialog008({ - cancel: () => { - this.onCancel() - }, - confirm: () => { - this.onAccept() - } - }), - cancel: this.existApp, - autoCancel: true, - openAnimation: { iterations: -1, duration: 500 }, - alignment: DialogAlignment.Center, - isModal: true, - customStyle: false, - cornerRadius: 10, - }) - - // 在自定义组件即将析构销毁时将dialogController置空 - aboutToDisappear() { - this.dialogController = null // 将dialogController置空 - } - - onCancel() { - console.info('Callback when the first button is clicked') - } - - onAccept() { - console.info('Callback when the second button is clicked') - } - - existApp() { - console.info('Click the callback in the blank area') - } - - build() { - Column() { - Button('show dialog') - .onClick(() => { - if (this.dialogController != null) { - this.dialogController.open() - } - }).backgroundColor(0x317aff).key('UIComponentPopupBoxFullDialogInterface008_button_001') - }.width('100%').margin({ top: 5 }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface009.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface009.ets deleted file mode 100644 index fab8ec7a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface009.ets +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -// xxx.ets -@CustomDialog -struct CustomDialogExample009_1 { - controllerTwo?: CustomDialogController - - build() { - Column() { - Text('我是第二个弹窗showInSubWindow=false') - Button('点我关闭第二个弹窗') - .onClick(() => { - if (this.controllerTwo != undefined) { - this.controllerTwo.close() - } - }) - .margin(20) - } - } -} - -@CustomDialog -@Component -struct CustomDialogExample009 { - dialogControllerTwo: CustomDialogController | null = new CustomDialogController({ - builder: CustomDialogExample009_1(), - alignment: DialogAlignment.Bottom, - showInSubWindow:false, - offset: { dx: 0, dy: -20 } - }) - controller?: CustomDialogController - cancel: () => void = () => { - } - confirm: () => void = () => { - } - - build() { - Column() { - Text('Change text').fontSize(20).margin({ top: 10, bottom: 10 }) - Button('点我打开第二个弹窗') - .onClick(() => { - if (this.dialogControllerTwo != null) { - this.dialogControllerTwo.open() - } - }).key('UIComponentPopupBoxFullDialogInterface009_button_02') - .margin(20) - }.borderRadius(10) - - } -} - -@Entry -@Component -struct UIComponentPopupBoxFullDialogInterface009 { - @State inputValue: string = 'show Dialog'; - dialogController: CustomDialogController | null = new CustomDialogController({ - builder: CustomDialogExample009({ - cancel: () => { - this.onCancel() - }, - confirm: () => { - this.onAccept() - } - }), - cancel: this.exitApp, - alignment: DialogAlignment.Center, - offset: { dx: 0, dy: -20 }, - gridCount: 4, - showInSubWindow: true, - isModal: true, - customStyle: false, - cornerRadius: 10, - }) - - aboutToDisappear() { - this.dialogController = null // 将dialogController置空 - } - - onCancel() { - console.info('Callback when the first button is clicked') - } - - onAccept() { - console.info('Callback when the second button is clicked') - } - - exitApp() { - console.info('Click the callback in the blank area') - } - - build() { - Column() { - Button(this.inputValue) - .onClick(() => { - if (this.dialogController != null) { - this.dialogController.open() - } - }).backgroundColor(0x317aff).key('UIComponentPopupBoxFullDialogInterface009_button_001') - }.width('100%').margin({ top: 5 }) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface001.ets deleted file mode 100644 index b9b5d09d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface001.ets +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@CustomDialog -struct CustomDialogExamplePopup { - @Link textValue: string - @Link inputValue: string - controller?: CustomDialogController - @State fontColor: number = Color.Black; - - build() { - Column() { - Text('Change text') - .fontSize(20) - .margin({ top: 10 }) - .fontColor(this.fontColor) - .onClick(() => { - this.fontColor = Color.Blue; - }) - .key('UIComponentPopupBoxPopupInterface001_text_001') - TextInput({ placeholder: '', text: this.textValue }) - .height(60) - .width('90%') - .onChange((value: string) => { - this.textValue = value - }) - .margin(10) - .key('UIComponentPopupBoxPopupInterface001_textInput_001') - Flex({ justifyContent: FlexAlign.SpaceAround }) { - Button('cancel') - .onClick(() => { - if (this.controller != undefined) { - this.controller.close() - } - }).backgroundColor(0xffffff).fontColor(Color.Black) - Button('confirm') - .onClick(() => { - if (this.controller != undefined) { - this.controller.close() - } - }).backgroundColor(0xffffff).fontColor(Color.Red) - }.borderRadius(10) - } - } -} - -@Entry -@Component -struct UIComponentPopupBoxPopupInterface001 { - @State textValue: string = ''; - @State inputValue: string = 'show dialog'; - dialogController: CustomDialogController | null = new CustomDialogController({ - builder: CustomDialogExamplePopup({ - textValue: $textValue, - inputValue: $inputValue - }), - cancel: this.exitApp, - autoCancel: true, - alignment: DialogAlignment.Bottom, - offset: { dx: 0, dy: -200 }, - gridCount: 4, - customStyle: false, - cornerRadius: 10, - }) - - exitApp() { - this.dialogController?.close() - } - - build() { - Column() { - Button(this.inputValue) - .onClick(() => { - if (this.dialogController != null) { - this.dialogController.open() - } - }).backgroundColor(0x317aff).key('UIComponentPopupBoxPopupInterface001_button_001') - }.width('100%').margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface002.ets deleted file mode 100644 index ef6de4e4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface002.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { prompt } from '@kit.ArkUI'; - -@Entry -@Component -struct UIComponentPopupBoxPopupInterface002 { - @State inputValue: string = 'show dialog'; - - build() { - Column() { - Button(this.inputValue) - .onClick(() => { - prompt.showDialog({ - title: 'Title Info', - message: 'Message Info', - buttons: [ - { - text: 'cancel', - color: '#000000' - }, - { - text: 'confirm', - color: '#000000' - } - ], - }) - .then(data => { - console.info('showDialog success, click button: ' + data.index); - }) - .catch((err: Error) => { - console.info('showDialog error: ' + err); - }) - }).backgroundColor(0x317aff).key('UIComponentPopupBoxPopupInterface002_button_001') - }.width('100%').margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface003.ets deleted file mode 100644 index 3019137f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface003.ets +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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' - -let customDialogId: number = 0 - -@Builder -function customDialogBuilder() { - Column() { - Text('Custom dialog Message').fontSize(20) - Row() { - Button("确认").onClick(() => { - promptAction.closeCustomDialog(customDialogId) - }).key('UIComponentPopupBoxPopupInterface003_button_002') - Blank().width(50) - Button("取消").onClick(() => { - promptAction.closeCustomDialog(customDialogId) - }) - }.margin({ top: 20 }) - }.height(100).padding(15) -} - -@Entry -@Component -struct UIComponentPopupBoxPopupInterface003 { - @State message: string = 'Hello World' - - build() { - Row() { - Column() { - Button('Show promptAction') - .fontWeight(FontWeight.Bold) - .onClick(() => { - promptAction.openCustomDialog({ - builder: customDialogBuilder.bind(this) - }).then((dialogId: number) => { - customDialogId = dialogId - }) - }).key('UIComponentPopupBoxPopupInterface003_button_001') - } - .width('100%') - } - .height('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence002.ets deleted file mode 100644 index d5eacebf..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence002.ets +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 UIComponentPopupBoxPromptToastSequence002 { - @State buttonText: string = 'Open'; - @State message: string = ''; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - } - - build() { - Row() { - Column() { - Text(this.message) - .id('UIComponentPopupBoxPromptToastSequence0021') - Button(this.buttonText) - .fontSize(50) - .fontWeight(FontWeight.Bold) - .id('UIComponentPopupBoxPromptToastSequence0020') - .onClick(() => { - this.handlePopup = !this.handlePopup; - promptAction.showToast({ - message: '', - showMode: promptAction.ToastShowMode.TOP_MOST - }) - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('100%') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence003.ets deleted file mode 100644 index 9bd07154..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence003.ets +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -let customDialogId: number = 0 - -@Builder -function customSecondDialogBuilder() { - Column({ space: 50 }) { - Text('Custom dialog Message').fontSize(10) - Row() { - Button("confirm").onClick(() => { - promptAction.closeCustomDialog(customDialogId) - }) - - Button("cancel").onClick(() => { - promptAction.closeCustomDialog(customDialogId) - }) - } - }.height(200).padding(5) -} - -@Entry -@Component -struct UIComponentPopupBoxPromptToastSequence003 { - @State buttonText: string = 'Open'; - @State message: string = ''; - - build() { - Row() { - Column() { - Text(this.message) - .id('UIComponentPopupBoxPromptToastSequence0031') - Button(this.buttonText) - .fontSize(50) - .fontWeight(FontWeight.Bold) - .id('UIComponentPopupBoxPromptToastSequence0030') - .onClick(() => { - promptAction.showToast({ - message: 'this is a Toast', - showMode: promptAction.ToastShowMode.TOP_MOST, - alignment: Alignment.Top, - duration: 3000 - }); - promptAction.openCustomDialog({ - builder: customSecondDialogBuilder.bind(this) - }).then((dialogId: number) => { - customDialogId = dialogId - }) - }) - } - .width('100%') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence004.ets deleted file mode 100644 index 84e9e2eb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence004.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 UIComponentPopupBoxPromptToastSequence004 { - @State buttonText: string = 'Open'; - @State message: string = ''; - @Builder - SubMenu() { - Menu() { - MenuItem({ content: "复制", labelInfo: "Ctrl+C" }) - MenuItem({ content: "粘贴", labelInfo: "Ctrl+V" }) - } - } - - build() { - Row() { - Column() { - Text(this.message) - .id('UIComponentPopupBoxPromptToastSequence0041') - Button(this.buttonText) - .fontSize(50) - .fontWeight(FontWeight.Bold) - .id('UIComponentPopupBoxPromptToastSequence0040') - .onClick(() => { - promptAction.showToast({ - message: 'this is a Toast', - showMode: promptAction.ToastShowMode.TOP_MOST, - alignment: Alignment.Top, - duration: 3000 - }); - }) - .bindMenu(this.SubMenu) - } - .width('100%') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence005.ets deleted file mode 100644 index f8476165..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence005.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 UIComponentPopupBoxPromptToastSequence005 { - @State buttonText: string = 'Open'; - @State message: string = ''; - - build() { - Row() { - Column() { - Text(this.message) - .id('UIComponentPopupBoxPromptToastSequence0051') - - Image('cat.jpg') - .width(240) - .height(240) - .id('UIComponentPopupBoxPromptToastSequence0050') - .onClick(() => { - promptAction.showToast({ - message: 'this is a Toast', - alignment: Alignment.Center, - showMode: promptAction.ToastShowMode.TOP_MOST, - duration: 3000 - }); - }) - .overlay("This is a overlay!", { - align: Alignment.Bottom, - offset: { x: 0, y: -15 } - }) - } - .width('100%') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence006.ets deleted file mode 100644 index 2850feb0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence006.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 UIComponentPopupBoxPromptToastSequence006 { - @State buttonText: string = 'Open'; - @State message: string = ''; - - build() { - Row() { - Column() { - Text(this.message) - .id('UIComponentPopupBoxPromptToastSequence0061') - - Button(this.buttonText) - .fontSize(50) - .fontWeight(FontWeight.Bold) - .id('UIComponentPopupBoxPromptToastSequence0060') - .onClick(() => { - promptAction.showToast({ - message: 'This is a first Toast', - showMode: promptAction.ToastShowMode.TOP_MOST, - alignment: Alignment.Center, - duration: 3000 - }); - promptAction.showToast({ - message: 'This is a second Toast', - showMode: promptAction.ToastShowMode.TOP_MOST, - alignment: Alignment.Center, - duration: 3000 - }); - }) - } - .width('100%') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence007.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence007.ets deleted file mode 100644 index cdf7221e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence007.ets +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 UIComponentPopupBoxPromptToastSequence007 { - @State buttonText: string = 'Open'; - @State message: string = ''; - @State isShow: boolean = false - - @Builder - myBuilder() { - Column() { - Button("close modal 2") - .margin(10) - .fontSize(20) - .onClick(() => { - this.isShow = false; - }) - } - .width('100%') - .height('100%') - } - - build() { - Row() { - Column() { - Text(this.message) - .id('UIComponentPopupBoxPromptToastSequence0071') - Button(this.buttonText) - .fontSize(50) - .fontWeight(FontWeight.Bold) - .id('UIComponentPopupBoxPromptToastSequence0070') - .bindContentCover(this.isShow, this.myBuilder(), { - modalTransition: ModalTransition.NONE, - backgroundColor: Color.Orange, - onWillAppear: () => { - console.log("BindContentCover onWillAppear."); - }, - onAppear: () => { - console.log("BindContentCover onAppear."); - }, - onWillDisappear: () => { - console.log("BindContentCover onWillDisappear."); - }, - onDisappear: () => { - console.log("BindContentCover onDisappear."); - } - }) - .onClick(() => { - promptAction.showToast({ - message: 'this is a Toast', - alignment: Alignment.Top, - showMode: promptAction.ToastShowMode.TOP_MOST, - duration: 3000 - }); - this.isShow = true; - }) - } - .width('100%') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence008.ets deleted file mode 100644 index 9080e28b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence008.ets +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 UIComponentPopupBoxPromptToastSequence008 { - @State buttonText: string = 'Open'; - @State message: string = ''; - @State isShow: boolean = false; - @State handlePopup: boolean = false; - @State isShowSheet: boolean = false; - @State sheetHeight: number = 300; - - @Builder - myBuilder() { - Column() { - Button("first Button") - .margin(10) - .fontSize(20) - - Button("second Button") - .margin(10) - .fontSize(20) - } - .width('100%') - .height('100%') - } - - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - } - - build() { - Row() { - Column() { - Text(this.message) - .id('UIComponentPopupBoxPromptToastSequence0081') - Button(this.buttonText) - .fontSize(50) - .fontWeight(FontWeight.Bold) - .id('UIComponentPopupBoxPromptToastSequence0080') - .onClick(() => { - promptAction.showToast({ - message: 'this is a Toast', - showMode: promptAction.ToastShowMode.TOP_MOST, - duration: 3000 - }); - this.isShowSheet = true; - this.isShow = true; - }) - .bindSheet($$this.isShowSheet, this.myBuilder(), { - height: this.sheetHeight, - backgroundColor: Color.Green, - }) - } - .width('100%') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Top) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence009.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence009.ets deleted file mode 100644 index 88aaeae9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence009.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 UIComponentPopupBoxPromptToastSequence009 { - @State buttonText: string = 'Open'; - @State message: string = ''; - - build() { - Row() { - Column() { - TextInput() - .id('UIComponentPopupBoxPromptToastSequence0091') - Button(this.buttonText) - .fontSize(50) - .fontWeight(FontWeight.Bold) - .id('UIComponentPopupBoxPromptToastSequence0090') - .onClick(() => { - promptAction.showToast({ - message: 'this is a Toast', - showMode: promptAction.ToastShowMode.TOP_MOST, - duration: 4000 - }); - }) - } - .width('100%') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Top) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence014.ets deleted file mode 100644 index 45dc8137..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence014.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 UIComponentPopupBoxPromptToastSequence014 { - @State buttonText: string = 'Open'; - @State message: string = ''; - - build() { - Row() { - Column() { - TextInput() - .id('UIComponentPopupBoxPromptToastSequence0141') - Button(this.buttonText) - .fontSize(50) - .fontWeight(FontWeight.Bold) - .id('UIComponentPopupBoxPromptToastSequence0140') - .onClick(() => { - promptAction.showToast({ - message: 'this is a first toast', - showMode: promptAction.ToastShowMode.DEFAULT, - duration: 4000 - }); - }) - } - .width('100%') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Top) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence015.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence015.ets deleted file mode 100644 index 8a80aa77..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence015.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 UIComponentPopupBoxPromptToastSequence015 { - @State buttonText: string = 'Open'; - @State message: string = ''; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - } - - build() { - Row() { - Column() { - TextInput() - .id('UIComponentPopupBoxPromptToastSequence0151') - Button(this.buttonText) - .fontSize(50) - .fontWeight(FontWeight.Bold) - .id('UIComponentPopupBoxPromptToastSequence0150') - .onClick(() => { - promptAction.showToast({ - message: 'this is a first toast', - showMode: promptAction.ToastShowMode.TOP_MOST, - duration: 4000 - }); - promptAction.showToast({ - message: 'this is a second toast', - showMode: promptAction.ToastShowMode.DEFAULT, - duration: 3000 - }); - }) - } - .width('100%') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Top) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications058.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications058.ets deleted file mode 100644 index 4cf746fe..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications058.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications058 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0580') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - }) - } - .width('60') - .height('80') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Start) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications059.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications059.ets deleted file mode 100644 index 5be63410..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications059.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications059 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0590') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: false, - showInSubWindow: false, - }) - .alignSelf(ItemAlign.Start) - } - .height('100%') - .width('100%') - .justifyContent(FlexAlign.Center) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications060.ets deleted file mode 100644 index db2135fc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications060.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications060 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0600') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - }) - .alignSelf(ItemAlign.End) - } - .height('100%') - .width('100%') - .justifyContent(FlexAlign.Center) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications061.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications061.ets deleted file mode 100644 index ba1f21b6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications061.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications061 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0610') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: false, - showInSubWindow: false, - }) - .alignSelf(ItemAlign.End) - } - .height('100%') - .width('100%') - .justifyContent(FlexAlign.Center) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications062.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications062.ets deleted file mode 100644 index 87c013f5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications062.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications062 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0620') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - }) - .alignSelf(ItemAlign.Center) - } - .height('100%') - .width('100%') - .justifyContent(FlexAlign.Start) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications063.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications063.ets deleted file mode 100644 index 1aba2a12..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications063.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications063 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0630') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: false, - showInSubWindow: false, - }) - } - .width('60') - .height('80') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Top) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications064.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications064.ets deleted file mode 100644 index d8e85acc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications064.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications064 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0640') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: false, - showInSubWindow: false, - }) - } - .width('60') - .height('80') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Bottom) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications065.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications065.ets deleted file mode 100644 index 87956431..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications065.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications065 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0650') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: false, - showInSubWindow: false, - }) - } - .width('60') - .height('80') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Bottom) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications066.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications066.ets deleted file mode 100644 index 594539de..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications066.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications066 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0660') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - }) - } - .width('60') - .height('80') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Top) - .justifyContent(FlexAlign.Start) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications067.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications067.ets deleted file mode 100644 index fdb3282b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications067.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications067 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0670') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: false, - showInSubWindow: false, - }) - } - .width('60') - .height('80') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Top) - .justifyContent(FlexAlign.Start) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications068.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications068.ets deleted file mode 100644 index 50d8dcc4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications068.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications068 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0680') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - }) - } - .width('60') - .height('80') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Top) - .justifyContent(FlexAlign.End) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications069.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications069.ets deleted file mode 100644 index 1028ad2b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications069.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications069 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0690') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: false, - showInSubWindow: false, - }) - .alignSelf(ItemAlign.End) - } - .height('100%') - .width('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications070.ets deleted file mode 100644 index d580bc8a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications070.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications070 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0700') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - }) - } - .width('60') - .height('80') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Bottom) - .justifyContent(FlexAlign.Start) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications071.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications071.ets deleted file mode 100644 index 1a0dd8bd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications071.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications071 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0710') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: false, - showInSubWindow: false, - }) - } - .width('60') - .height('80') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Bottom) - .justifyContent(FlexAlign.Start) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications072.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications072.ets deleted file mode 100644 index ba02f973..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications072.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications072 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0720') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - }) - } - .width('60') - .height('80') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Bottom) - .justifyContent(FlexAlign.End) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications073.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications073.ets deleted file mode 100644 index dfcd1e82..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications073.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications073 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0730') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: false, - showInSubWindow: false, - }) - } - .width('60') - .height('80') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Bottom) - .justifyContent(FlexAlign.End) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications074.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications074.ets deleted file mode 100644 index a0b2dfb9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications074.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications074 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0740') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - arrowOffset: -1 - }) - } - .width('60') - .height('80') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Start) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications075.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications075.ets deleted file mode 100644 index cd669be4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications075.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications075 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0750') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: false, - showInSubWindow: false, - arrowOffset: -1 - }) - } - .width('60') - .height('80') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Start) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications076.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications076.ets deleted file mode 100644 index d45f8a8a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications076.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications076 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0760') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - arrowOffset: -1 - }) - } - .width('60') - .height('80') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.End) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications077.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications077.ets deleted file mode 100644 index d2f1f193..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications077.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications077 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0770') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: false, - showInSubWindow: false, - arrowOffset: -1 - }) - } - .width('60') - .height('80') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.End) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications078.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications078.ets deleted file mode 100644 index 9b209c20..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications078.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications078 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0780') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - arrowOffset: -1 - }) - } - .width('60') - .height('80') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Top) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications079.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications079.ets deleted file mode 100644 index 2d5fdff6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications079.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications079 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0790') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: false, - showInSubWindow: false, - arrowOffset: -1 - }) - } - .width('60') - .height('80') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Top) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications080.ets deleted file mode 100644 index 5be8638f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications080.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications080 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0800') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - arrowOffset: -1 - }) - } - .width('60') - .height('80') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Bottom) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications081.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications081.ets deleted file mode 100644 index 3cbb262a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications081.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications081 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0810') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: false, - showInSubWindow: false, - arrowOffset: -1 - }) - } - .width('60') - .height('80') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Bottom) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications082.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications082.ets deleted file mode 100644 index 8f4166d3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications082.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications082 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('100%') - .id('UIComponentPopupBoxSpecifications0820') - .offset({ x: 100, y: 0 }) - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placement: Placement.Left, - showInSubWindow: false, - offset: { x: -10, y: 0 } - }) - } - .width('60') - .height('80') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Start) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications083.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications083.ets deleted file mode 100644 index e889d49f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications083.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications083 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0830') - .offset({ x: -100, y: 0 }) - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placement: Placement.Right, - showInSubWindow: false, - offset: { x: 10, y: 0 } - }) - } - .width('60') - .height('80') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.End) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications084.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications084.ets deleted file mode 100644 index ab8b6489..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications084.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications084 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0840') - .offset({ x: 0, y: 100 }) - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - offset: { x: 0, y: -10 } - }) - - } - .width('60') - .height('80') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Top) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications085.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications085.ets deleted file mode 100644 index 788b2051..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications085.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxSpecifications085 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .width('50vp') - .id('UIComponentPopupBoxSpecifications0850') - .offset({ x: 0, y: -100 }) - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: false, - showInSubWindow: false, - offset: { x: 0, y: 10 } - }) - } - .width('60') - .height('80') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Bottom) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup001.ets deleted file mode 100644 index d91b0bd0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup001.ets +++ /dev/null @@ -1,257 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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' - -@Entry -@Component -struct UIComponentPopupBoxSpecificationsPopup001 { - - @Builder - customDialogComponent() { - Column() { - Text('原有配置的Menu') - Row({ space: 50 }) { - Menu() { - MenuItem({ content: "菜单选项1" }) - MenuItem({ content: "菜单选项2" }) - } - } - .border({ - width: 1 - }) - - Text('modifier配置的Menu') - .margin({top: 20}) - Row(){ - Menu() { - MenuItem({ content: "菜单选项1" }) - MenuItem({ content: "菜单选项2" }) - } - .font(MenuData[0].font) - .fontColor(MenuData[0].fontColor) - .fontSize(MenuData[0].fontSize) - .radius(MenuData[0].radius) - } - .border({ - width: 1 - }) - } - } - - build() { - Row() { - Column() { - Button('show_menu') - .id('UIComponentPopupBoxSpecificationsPopup0010') - .onClick(() => { - promptAction.openCustomDialog({ - builder: () => { - this.customDialogComponent(); - }, - onWillDismiss: (dismissDialogAction: DismissDialogAction) => { - if (dismissDialogAction.reason == DismissReason.PRESS_BACK) { - dismissDialogAction.dismiss(); - } - if (dismissDialogAction.reason == DismissReason.TOUCH_OUTSIDE) { - dismissDialogAction.dismiss(); - } - }, - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} - -export interface MenuItemAttributes { - selected?: boolean - selectIcon?: boolean | ResourceStr - contentFont?: Font - contentFontColor?: ResourceColor - labelFont?: Font - labelFontColor?: ResourceColor -} - -export const MenuItemData: MenuItemAttributes[] = [ - { - selected: true, - selectIcon: true, - contentFont: { - size: 20, - weight: 8, - family: "HarmonyOS Sans", - style: FontStyle.Normal - }, - labelFontColor: Color.Red, - labelFont: { - size: $r('app.string.20string'), - weight: 8, - family: $r("app.string.button_font_sans"), - style: FontStyle.Italic - }, - contentFontColor: Color.Pink - }, - { - selected: false, - selectIcon: true, - contentFont: { - size: 20, - weight: 10, - family: "HarmonyOS Sans", - style: FontStyle.Italic - }, - labelFontColor: Color.Brown, - labelFont: { - size: $r('app.string.20string'), - weight: 8, - family: $r("app.string.button_font_sans"), - style: FontStyle.Italic - }, - contentFontColor: Color.Orange - }, - { - selected: false, - selectIcon: false, - contentFont: { - size: 20, - weight: 10, - family: "HarmonyOS Sans", - style: FontStyle.Normal - }, - labelFontColor: Color.Blue, - labelFont: { - size: $r('app.string.20string'), - weight: 8, - family: $r("app.string.button_font_sans"), - style: FontStyle.Normal - }, - contentFontColor: "0xff0000" - } - -] - -export interface MenuAttributes { - font?: Font - fontColor?: ResourceColor | null | undefined - radius?: Dimension | BorderRadiuses - fontSize?: Length -} - -export const MenuData: MenuAttributes[] = [ - { - font: { - size: 10, - weight: 5, - family: "HarmonyOS Sans", - style: FontStyle.Normal - }, - radius: { - topLeft: 10, - topRight: 15, - bottomLeft: 20, - bottomRight: 25 - }, - fontColor: Color.Brown, - fontSize: 10 - }, - { - font: { - size: 10, - weight: 5, - family: "HarmonyOS Sans", - style: FontStyle.Normal - }, - radius: { - topLeft: 10, - topRight: 0, - bottomLeft: 0, - bottomRight: 30 - }, - fontColor: Color.Red, - fontSize: 20 - }, - { - font: { - size: 10, - weight: 5, - family: "HarmonyOS Sans", - style: FontStyle.Italic - }, - radius: { - topLeft: 10, - topRight: 0, - bottomLeft: 0, - bottomRight: 30 - }, - fontColor: Color.Pink, - fontSize: "20" - } -] - -export interface PanelAttributes { - type?: PanelType - mode?: PanelMode - dragBar?: boolean - customHeight?: (Dimension | PanelHeight) - fullHeight?: (string | number) - halfHeight?: (string | number) - miniHeight?: (string | number) - show?: boolean - backgroundMask?: ResourceColor | null - showCloseIcon?: boolean -} - -export const PanelData: PanelAttributes[] = [ - { - type: PanelType.Minibar, - mode: PanelMode.Mini, - miniHeight: 160, - dragBar: true, - showCloseIcon: true, - customHeight: PanelHeight.WRAP_CONTENT, - backgroundMask: 'rgb(255, 100, 255)', - show: true, - fullHeight: 240, - halfHeight: 120 - }, - { - type: PanelType.Minibar, - mode: PanelMode.Mini, - miniHeight: 160, - dragBar: true, - showCloseIcon: true, - backgroundMask: null, - show: true, - fullHeight: 240, - halfHeight: 120 - }, - { - type: PanelType.Temporary, - mode: PanelMode.Mini, - miniHeight: 160, - dragBar: true, - showCloseIcon: true, - backgroundMask: 'rgb(255, 200, 155)', - show: true, - fullHeight: 240, - halfHeight: 120 - } -] - diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup002.ets deleted file mode 100644 index 2bb51169..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup002.ets +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 { MenuData } from './UIComponentPopupBoxSpecificationsPopup001' - -@Entry -@Component -struct UIComponentPopupBoxSpecificationsPopup002 { - - @Builder - customDialogComponent() { - Column() { - Text('原有配置的Menu') - Row({ space: 50 }) { - Menu() { - MenuItem({ content: "菜单选项1" }) - MenuItem({ content: "菜单选项2" }) - } - } - .border({ - width: 1 - }) - - Text('modifier配置的Menu') - .margin({top: 20}) - Row(){ - Menu() { - MenuItem({ content: "菜单选项1" }) - MenuItem({ content: "菜单选项2" }) - } - .font(MenuData[1].font) - .fontColor(MenuData[1].fontColor) - .fontSize(MenuData[1].fontSize) - .radius(MenuData[1].radius) - } - .border({ - width: 1 - }) - } - } - - build() { - Row() { - Column() { - Button('show_menu') - .id('UIComponentPopupBoxSpecificationsPopup0020') - .onClick(() => { - promptAction.openCustomDialog({ - builder: () => { - this.customDialogComponent(); - }, - onWillDismiss: (dismissDialogAction: DismissDialogAction) => { - if (dismissDialogAction.reason == DismissReason.PRESS_BACK) { - dismissDialogAction.dismiss(); - } - if (dismissDialogAction.reason == DismissReason.TOUCH_OUTSIDE) { - dismissDialogAction.dismiss(); - } - }, - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup003.ets deleted file mode 100644 index 41be5696..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup003.ets +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 { MenuData } from './UIComponentPopupBoxSpecificationsPopup001' - -@Entry -@Component -struct UIComponentPopupBoxSpecificationsPopup003 { - - @Builder - customDialogComponent() { - Column() { - Text('原有配置的Menu') - Row({ space: 50 }) { - Menu() { - MenuItem({ content: "菜单选项1" }) - MenuItem({ content: "菜单选项2" }) - } - } - .border({ - width: 1 - }) - - Text('modifier配置的Menu') - .margin({top: 20}) - Row(){ - Menu() { - MenuItem({ content: "菜单选项1" }) - MenuItem({ content: "菜单选项2" }) - } - .font(MenuData[2].font) - .fontColor(MenuData[2].fontColor) - .fontSize(MenuData[2].fontSize) - .radius(MenuData[2].radius) - } - .border({ - width: 1 - }) - } - } - - build() { - Row() { - Column() { - Button('show_menu') - .id('UIComponentPopupBoxSpecificationsPopup0030') - .onClick(() => { - promptAction.openCustomDialog({ - builder: () => { - this.customDialogComponent(); - }, - onWillDismiss: (dismissDialogAction: DismissDialogAction) => { - if (dismissDialogAction.reason == DismissReason.PRESS_BACK) { - dismissDialogAction.dismiss(); - } - if (dismissDialogAction.reason == DismissReason.TOUCH_OUTSIDE) { - dismissDialogAction.dismiss(); - } - }, - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup004.ets deleted file mode 100644 index 9f79c528..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup004.ets +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 { MenuItemData } from './UIComponentPopupBoxSpecificationsPopup001' - -@Entry -@Component -struct UIComponentPopupBoxSpecificationsPopup004 { - - @Builder - customDialogComponent() { - Column() { - Text('原有配置的MenuItem') - Row({ space: 50 }) { - Menu() { - MenuItem({ content: "菜单选项" }) - } - } - .border({ - width: 1 - }) - Text('modifier配置的MenuItem') - .margin({top: 20}) - Row(){ - Menu() { - MenuItem({ content: "菜单选项" }) - .selected(MenuItemData[0].selected) - .selectIcon(MenuItemData[0].selectIcon) - .contentFont(MenuItemData[0].contentFont) - .labelFontColor(MenuItemData[0].labelFontColor) - .labelFont(MenuItemData[0].labelFont) - .contentFontColor(MenuItemData[0].contentFontColor) - } - } - .border({ - width: 1 - }) - } - } - - build() { - Row() { - Column() { - Button('show_menuItem') - .id('UIComponentPopupBoxSpecificationsPopup0040') - .onClick(() => { - promptAction.openCustomDialog({ - builder: () => { - this.customDialogComponent(); - }, - onWillDismiss: (dismissDialogAction: DismissDialogAction) => { - if (dismissDialogAction.reason == DismissReason.PRESS_BACK) { - dismissDialogAction.dismiss(); - } - if (dismissDialogAction.reason == DismissReason.TOUCH_OUTSIDE) { - dismissDialogAction.dismiss(); - } - }, - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup005.ets deleted file mode 100644 index 960a62ff..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup005.ets +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 { MenuItemData } from './UIComponentPopupBoxSpecificationsPopup001' - -@Entry -@Component -struct UIComponentPopupBoxSpecificationsPopup005 { - - @Builder - customDialogComponent() { - Column() { - Text('原有配置的MenuItem') - Row({ space: 50 }) { - Menu() { - MenuItem({ content: "菜单选项" }) - } - } - .border({ - width: 1 - }) - Text('modifier配置的MenuItem') - .margin({top: 20}) - Row(){ - Menu() { - MenuItem({ content: "菜单选项" }) - .selected(MenuItemData[1].selected) - .selectIcon(MenuItemData[1].selectIcon) - .contentFont(MenuItemData[1].contentFont) - .labelFontColor(MenuItemData[1].labelFontColor) - .labelFont(MenuItemData[1].labelFont) - .contentFontColor(MenuItemData[1].contentFontColor) - } - } - .border({ - width: 1 - }) - } - } - - build() { - Row() { - Column() { - Button('show_menuItem') - .id('UIComponentPopupBoxSpecificationsPopup0050') - .onClick(() => { - promptAction.openCustomDialog({ - builder: () => { - this.customDialogComponent(); - }, - onWillDismiss: (dismissDialogAction: DismissDialogAction) => { - if (dismissDialogAction.reason == DismissReason.PRESS_BACK) { - dismissDialogAction.dismiss(); - } - if (dismissDialogAction.reason == DismissReason.TOUCH_OUTSIDE) { - dismissDialogAction.dismiss(); - } - }, - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup006.ets deleted file mode 100644 index 8cb077cd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup006.ets +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 { MenuItemData } from './UIComponentPopupBoxSpecificationsPopup001' - -@Entry -@Component -struct UIComponentPopupBoxSpecificationsPopup006 { - - @Builder - customDialogComponent() { - Column() { - Text('原有配置的MenuItem') - Row({ space: 50 }) { - Menu() { - MenuItem({ content: "菜单选项" }) - } - } - .border({ - width: 1 - }) - Text('modifier配置的MenuItem') - .margin({top: 20}) - Row(){ - Menu() { - MenuItem({ content: "菜单选项" }) - .selected(MenuItemData[2].selected) - .selectIcon(MenuItemData[2].selectIcon) - .contentFont(MenuItemData[2].contentFont) - .labelFontColor(MenuItemData[2].labelFontColor) - .labelFont(MenuItemData[2].labelFont) - .contentFontColor(MenuItemData[2].contentFontColor) - } - } - .border({ - width: 1 - }) - } - } - - build() { - Row() { - Column() { - Button('show_menuItem') - .id('UIComponentPopupBoxSpecificationsPopup0060') - .onClick(() => { - promptAction.openCustomDialog({ - builder: () => { - this.customDialogComponent(); - }, - onWillDismiss: (dismissDialogAction: DismissDialogAction) => { - if (dismissDialogAction.reason == DismissReason.PRESS_BACK) { - dismissDialogAction.dismiss(); - } - if (dismissDialogAction.reason == DismissReason.TOUCH_OUTSIDE) { - dismissDialogAction.dismiss(); - } - }, - }) - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow012.ets deleted file mode 100644 index bf27335a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow012.ets +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct UIComponentPopupBoxSpecificationsShadow012 { - private customDialogComponentId: number = 0 - - @Builder - customDialogComponent() { - Column() { - Text('弹窗').fontSize(30) - Row({ space: 50 }) { - Button("确认").onClick(() => { - promptAction.closeCustomDialog(this.customDialogComponentId); - }) - Button("取消").onClick(() => { - promptAction.closeCustomDialog(this.customDialogComponentId); - }) - } - }.height(200).padding(5).justifyContent(FlexAlign.SpaceBetween) - } - - build() { - Row() { - Column() { - Button('SelectDialog') - .fontSize(20) - .fontColor(Color.Blue) - .width('300px') - .id('UIComponentPopupBoxSpecificationsShadow0120') - .onClick(() => { - promptAction.openCustomDialog({ - builder: () => { - this.customDialogComponent(); - }, - onWillDismiss: (dismissDialogAction: DismissDialogAction) => { - if (dismissDialogAction.reason == DismissReason.PRESS_BACK) { - dismissDialogAction.dismiss(); - } - if (dismissDialogAction.reason == DismissReason.TOUCH_OUTSIDE) { - dismissDialogAction.dismiss(); - } - }, - shadow: ShadowStyle.OUTER_DEFAULT_LG - }).then((dialogId: number) => { - this.customDialogComponentId = dialogId; - }) - }) - } - .width('300px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow013.ets deleted file mode 100644 index 30bc7b14..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow013.ets +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct UIComponentPopupBoxSpecificationsShadow013 { - private customDialogComponentId: number = 0 - - @Builder - customDialogComponent() { - Column() { - Text('弹窗').fontSize(30) - Row({ space: 50 }) { - Button("确认").onClick(() => { - promptAction.closeCustomDialog(this.customDialogComponentId); - }) - Button("取消").onClick(() => { - promptAction.closeCustomDialog(this.customDialogComponentId); - }) - } - }.height(200).padding(5).justifyContent(FlexAlign.SpaceBetween) - } - - build() { - Row() { - Column() { - Button('SelectDialog') - .fontSize(20) - .fontColor(Color.Blue) - .width('300px') - .id('UIComponentPopupBoxSpecificationsShadow0130') - .onClick(() => { - promptAction.openCustomDialog({ - builder: () => { - this.customDialogComponent(); - }, - onWillDismiss: (dismissDialogAction: DismissDialogAction) => { - if (dismissDialogAction.reason == DismissReason.PRESS_BACK) { - dismissDialogAction.dismiss(); - } - if (dismissDialogAction.reason == DismissReason.TOUCH_OUTSIDE) { - dismissDialogAction.dismiss(); - } - }, - shadow: ShadowStyle.OUTER_DEFAULT_SM - }).then((dialogId: number) => { - this.customDialogComponentId = dialogId; - }) - }) - } - .width('300px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow014.ets deleted file mode 100644 index 02211b4b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow014.ets +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct UIComponentPopupBoxSpecificationsShadow014 { - private customDialogComponentId: number = 0 - - @Builder - customDialogComponent() { - Column() { - Text('弹窗').fontSize(30) - Row({ space: 50 }) { - Button("确认").onClick(() => { - promptAction.closeCustomDialog(this.customDialogComponentId); - }) - Button("取消").onClick(() => { - promptAction.closeCustomDialog(this.customDialogComponentId); - }) - } - }.height(200).padding(5).justifyContent(FlexAlign.SpaceBetween) - } - - build() { - Row() { - Column() { - Button('SelectDialog') - .fontSize(20) - .fontColor(Color.Blue) - .width('300px') - .id('UIComponentPopupBoxSpecificationsShadow0140') - .onClick(() => { - promptAction.openCustomDialog({ - builder: () => { - this.customDialogComponent(); - }, - onWillDismiss: (dismissDialogAction: DismissDialogAction) => { - if (dismissDialogAction.reason == DismissReason.PRESS_BACK) { - dismissDialogAction.dismiss(); - } - if (dismissDialogAction.reason == DismissReason.TOUCH_OUTSIDE) { - dismissDialogAction.dismiss(); - } - }, - shadow: ShadowStyle.OUTER_DEFAULT_XS - }).then((dialogId: number) => { - this.customDialogComponentId = dialogId; - }) - }) - } - .width('300px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow016.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow016.ets deleted file mode 100644 index 82c0013a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow016.ets +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct UIComponentPopupBoxSpecificationsShadow016 { - private customDialogComponentId: number = 0 - - @Builder - customDialogComponent() { - Column() { - Text('弹窗').fontSize(30) - Row({ space: 50 }) { - Button("确认").onClick(() => { - promptAction.closeCustomDialog(this.customDialogComponentId); - }) - Button("取消").onClick(() => { - promptAction.closeCustomDialog(this.customDialogComponentId); - }) - } - }.height(200).padding(5).justifyContent(FlexAlign.SpaceBetween) - } - - build() { - Row() { - Column() { - Button('SelectDialog') - .fontSize(20) - .fontColor(Color.Blue) - .width('300px') - .id('UIComponentPopupBoxSpecificationsShadow0160') - .onClick(() => { - promptAction.openCustomDialog({ - builder: () => { - this.customDialogComponent(); - }, - onWillDismiss: (dismissDialogAction: DismissDialogAction) => { - if (dismissDialogAction.reason == DismissReason.PRESS_BACK) { - dismissDialogAction.dismiss(); - } - if (dismissDialogAction.reason == DismissReason.TOUCH_OUTSIDE) { - dismissDialogAction.dismiss(); - } - }, - shadow: ShadowStyle.OUTER_FLOATING_SM - }).then((dialogId: number) => { - this.customDialogComponentId = dialogId; - }) - }) - } - .width('300px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow017.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow017.ets deleted file mode 100644 index 66d1abb4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow017.ets +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct UIComponentPopupBoxSpecificationsShadow017 { - private customDialogComponentId: number = 0 - - @Builder - customDialogComponent() { - Column() { - Text('弹窗').fontSize(30) - Row({ space: 50 }) { - Button("确认").onClick(() => { - promptAction.closeCustomDialog(this.customDialogComponentId); - }) - Button("取消").onClick(() => { - promptAction.closeCustomDialog(this.customDialogComponentId); - }) - } - }.height(200).padding(5).justifyContent(FlexAlign.SpaceBetween) - } - - build() { - Row() { - Column() { - Button('SelectDialog') - .fontSize(20) - .fontColor(Color.Blue) - .width('300px') - .id('UIComponentPopupBoxSpecificationsShadow0170') - .onClick(() => { - promptAction.openCustomDialog({ - builder: () => { - this.customDialogComponent(); - }, - onWillDismiss: (dismissDialogAction: DismissDialogAction) => { - if (dismissDialogAction.reason == DismissReason.PRESS_BACK) { - dismissDialogAction.dismiss(); - } - if (dismissDialogAction.reason == DismissReason.TOUCH_OUTSIDE) { - dismissDialogAction.dismiss(); - } - }, - shadow: { - radius: getContext().resourceManager.getNumber($r("app.integer.30")), - type: ShadowType.COLOR, - color: Color.Black, - offsetX: getContext().resourceManager.getNumber($r("app.integer.30")), - offsetY: getContext().resourceManager.getNumber($r("app.integer.30")), - fill: true - } - }).then((dialogId: number) => { - this.customDialogComponentId = dialogId; - }) - }) - } - .width('300px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow018.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow018.ets deleted file mode 100644 index 822d3693..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow018.ets +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct UIComponentPopupBoxSpecificationsShadow018 { - private customDialogComponentId: number = 0 - - @Builder - customDialogComponent() { - Column() { - Text('弹窗').fontSize(30) - Row({ space: 50 }) { - Button("确认").onClick(() => { - promptAction.closeCustomDialog(this.customDialogComponentId); - }) - Button("取消").onClick(() => { - promptAction.closeCustomDialog(this.customDialogComponentId); - }) - } - }.height(200).padding(5).justifyContent(FlexAlign.SpaceBetween) - } - - build() { - Row() { - Column() { - Button('SelectDialog') - .fontSize(20) - .fontColor(Color.Blue) - .width('300px') - .id('UIComponentPopupBoxSpecificationsShadow0180') - .onClick(() => { - promptAction.openCustomDialog({ - builder: () => { - this.customDialogComponent(); - }, - onWillDismiss: (dismissDialogAction: DismissDialogAction) => { - if (dismissDialogAction.reason == DismissReason.PRESS_BACK) { - dismissDialogAction.dismiss(); - } - if (dismissDialogAction.reason == DismissReason.TOUCH_OUTSIDE) { - dismissDialogAction.dismiss(); - } - }, - shadow: { - radius: getContext().resourceManager.getNumber($r("app.integer.100")), - type: ShadowType.COLOR, - color: ColoringStrategy.AVERAGE, - offsetX: getContext().resourceManager.getNumber($r("app.integer.30")), - offsetY: getContext().resourceManager.getNumber($r("app.integer.30")), - fill: false - } - }).then((dialogId: number) => { - this.customDialogComponentId = dialogId; - }) - }) - } - .width('300px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow020.ets deleted file mode 100644 index fc478431..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow020.ets +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct UIComponentPopupBoxSpecificationsShadow020 { - private customDialogComponentId: number = 0 - - @Builder - customDialogComponent() { - Column() { - Text('弹窗').fontSize(30) - Row({ space: 50 }) { - Button("确认").onClick(() => { - promptAction.closeCustomDialog(this.customDialogComponentId); - }) - Button("取消").onClick(() => { - promptAction.closeCustomDialog(this.customDialogComponentId); - }) - } - }.height(200).padding(5).justifyContent(FlexAlign.SpaceBetween) - } - - build() { - Row() { - Column() { - Button('SelectDialog') - .fontSize(20) - .fontColor(Color.Blue) - .width('300px') - .id('UIComponentPopupBoxSpecificationsShadow0200') - .onClick(() => { - promptAction.openCustomDialog({ - builder: () => { - this.customDialogComponent(); - }, - onWillDismiss: (dismissDialogAction: DismissDialogAction) => { - if (dismissDialogAction.reason == DismissReason.PRESS_BACK) { - dismissDialogAction.dismiss(); - } - if (dismissDialogAction.reason == DismissReason.TOUCH_OUTSIDE) { - dismissDialogAction.dismiss(); - } - }, - shadow: { - radius: getContext().resourceManager.getNumber($r("app.integer.100")), - type: ShadowType.COLOR, - color: ColoringStrategy.PRIMARY, - offsetX: getContext().resourceManager.getNumber($r("app.integer.30")), - offsetY: getContext().resourceManager.getNumber($r("app.integer.30")), - fill: false - } - }).then((dialogId: number) => { - this.customDialogComponentId = dialogId; - }) - }) - } - .width('300px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow021.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow021.ets deleted file mode 100644 index 55e68245..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow021.ets +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct UIComponentPopupBoxSpecificationsShadow021 { - private customDialogComponentId: number = 0 - - @Builder - customDialogComponent() { - Column() { - Text('弹窗').fontSize(30) - Row({ space: 50 }) { - Button("确认").onClick(() => { - promptAction.closeCustomDialog(this.customDialogComponentId); - }) - Button("取消").onClick(() => { - promptAction.closeCustomDialog(this.customDialogComponentId); - }) - } - }.height(200).padding(5).justifyContent(FlexAlign.SpaceBetween) - } - - build() { - Row() { - Column() { - Button('SelectDialog') - .fontSize(20) - .fontColor(Color.Blue) - .width('300px') - .id('UIComponentPopupBoxSpecificationsShadow0210') - .onClick(() => { - promptAction.openCustomDialog({ - builder: () => { - this.customDialogComponent(); - }, - onWillDismiss: (dismissDialogAction: DismissDialogAction) => { - if (dismissDialogAction.reason == DismissReason.PRESS_BACK) { - dismissDialogAction.dismiss(); - } - if (dismissDialogAction.reason == DismissReason.TOUCH_OUTSIDE) { - dismissDialogAction.dismiss(); - } - }, - shadow: { - radius: getContext().resourceManager.getNumber($r("app.integer.30")), - type: ShadowType.BLUR, - color: '#FF00FF', - offsetX: getContext().resourceManager.getNumber($r("app.integer.30")), - offsetY: getContext().resourceManager.getNumber($r("app.integer.30")), - fill: false - } - }).then((dialogId: number) => { - this.customDialogComponentId = dialogId; - }) - }) - } - .width('300px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow022.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow022.ets deleted file mode 100644 index 5e4095cf..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow022.ets +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct UIComponentPopupBoxSpecificationsShadow022 { - private customDialogComponentId: number = 0 - - @Builder - customDialogComponent() { - Column() { - Text('弹窗').fontSize(30) - Row({ space: 50 }) { - Button("确认").onClick(() => { - promptAction.closeCustomDialog(this.customDialogComponentId); - }) - Button("取消").onClick(() => { - promptAction.closeCustomDialog(this.customDialogComponentId); - }) - } - }.height(200).padding(5).justifyContent(FlexAlign.SpaceBetween) - } - - build() { - Row() { - Column() { - Button('SelectDialog') - .fontSize(20) - .fontColor(Color.Blue) - .width('300px') - .id('UIComponentPopupBoxSpecificationsShadow0220') - .onClick(() => { - promptAction.openCustomDialog({ - builder: () => { - this.customDialogComponent(); - }, - onWillDismiss: (dismissDialogAction: DismissDialogAction) => { - if (dismissDialogAction.reason == DismissReason.PRESS_BACK) { - dismissDialogAction.dismiss(); - } - if (dismissDialogAction.reason == DismissReason.TOUCH_OUTSIDE) { - dismissDialogAction.dismiss(); - } - }, - shadow: { - radius: getContext().resourceManager.getNumber($r("app.integer.30")), - type: ShadowType.COLOR, - color: getContext().resourceManager.getColorSync($r("app.color.color3")), - offsetX: getContext().resourceManager.getNumber($r("app.integer.100")), - offsetY: getContext().resourceManager.getNumber($r("app.integer.100")), - fill: false - } - }).then((dialogId: number) => { - this.customDialogComponentId = dialogId; - }) - }) - } - .width('300px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow083.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow083.ets deleted file mode 100644 index 1f328d0d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow083.ets +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct UIComponentPopupBoxSpecificationsShadow083 { - private customDialogComponentId: number = 0 - - @Builder - customDialogComponent() { - Column() { - Text('弹窗').fontSize(30) - Row({ space: 50 }) { - Button("确认").onClick(() => { - promptAction.closeCustomDialog(this.customDialogComponentId); - }) - Button("取消").onClick(() => { - promptAction.closeCustomDialog(this.customDialogComponentId); - }) - } - }.height(200).padding(5).justifyContent(FlexAlign.SpaceBetween) - } - - build() { - Row() { - Column() { - Button('SelectDialog') - .fontSize(20) - .fontColor(Color.Blue) - .width('300px') - .id('UIComponentPopupBoxSpecificationsShadow0830') - .onClick(() => { - promptAction.openCustomDialog({ - builder: () => { - this.customDialogComponent(); - }, - onWillDismiss: (dismissDialogAction: DismissDialogAction) => { - if (dismissDialogAction.reason == DismissReason.PRESS_BACK) { - dismissDialogAction.dismiss(); - } - if (dismissDialogAction.reason == DismissReason.TOUCH_OUTSIDE) { - dismissDialogAction.dismiss(); - } - }, - shadow: undefined - }).then((dialogId: number) => { - this.customDialogComponentId = dialogId; - }) - }) - } - .width('300px') - .height('200px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface001.ets deleted file mode 100644 index 887c0361..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface001.ets +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxToastStyleInterface001 { - - build() { - Row() { - Column() { - Button('010_Toast') - .fontWeight(FontWeight.Bold) - .onClick(() => { - this.getUIContext().getPromptAction().showToast({ - message: '这是单行文本,全用默认值' - }); - }).key('UIComponentPopupBoxToastStyleInterface001_button_001') - } - .width('100%') - } - .height('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface002.ets deleted file mode 100644 index 4ba7826a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface002.ets +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxToastStyleInterface002 { - - build() { - Row() { - Column() { - Button('020_Toast') - .fontWeight(FontWeight.Bold) - .onClick(() => { - this.getUIContext().getPromptAction().showToast({ - message: '这是多行文本,全用默认值\n这是多行文本,全用默认值这\n是多行文本,全用默认值' - }); - }).key('UIComponentPopupBoxToastStyleInterface002_button_001') - } - .width('100%') - } - .height('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface003.ets deleted file mode 100644 index 7ef216ba..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface003.ets +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxToastStyleInterface003 { - - build() { - Row() { - Column() { - Button('030_Toast') - .fontWeight(FontWeight.Bold) - .onClick(() => { - this.getUIContext().getPromptAction().showToast({ - message: '这是超长文本,全用默认值。这是超长文本,全用默认值。这是超长文本,全用默认值。这是超长文本,全用默认值。这是超长文本,全用默认值。这是超长文本,全用默认值。' - }); - }).key('UIComponentPopupBoxToastStyleInterface003_button_001') - } - .width('100%') - } - .height('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface004.ets deleted file mode 100644 index b2bd2f4b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface004.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupBoxToastStyleInterface004 { - build() { - Row() { - Column() { - Button('040_Toast') - .fontWeight(FontWeight.Bold) - .onClick(() => { - this.getUIContext().getPromptAction().showToast({ - message: '这是超长文本,全用默认值', - showMode: 1 - }); - }).key('UIComponentPopupBoxToastStyleInterface004_button_001') - TextInput({ placeholder: '这是输入框' }) - .key('UIComponentPopupBoxToastStyleInterface004_textInput_001') - } - .width('100%') - } - .height('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface001.ets deleted file mode 100644 index 327db15a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface001.ets +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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' -import { BusinessError } from '@kit.BasicServicesKit' - -@Entry -@Component -struct UIComponentPopupPromptInterface001 { - @State currentTime: string = '文本提示时间为默认值1.5s'; - @State duration: number = 1000; - @State fontColor: number = Color.Black; - @State fontColor5s: number = Color.Black; - - build() { - Row() { - Column() { - Text('Change duration = 5000s').fontColor(this.fontColor5s) - .onClick(() => { - this.fontColor5s = Color.Blue; - this.fontColor = Color.Black; - this.duration = 5000; - this.currentTime = '文本提示时间为5s'; - }).key('UIComponentPopupPromptInterface001_button_003') - Text('Change duration = 15000s').fontColor(this.fontColor) - .onClick(() => { - this.fontColor = Color.Blue; - this.fontColor5s = Color.Black; - this.duration = 15000; - this.currentTime = '文本提示时间为最大值10s'; - }).key('UIComponentPopupPromptInterface001_button_002') - Button('Show Toast') - .fontWeight(FontWeight.Bold) - .onClick(() => { - try { - promptAction.showToast({ - message: this.currentTime, - duration: this.duration - }); - } 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}`); - } - ; - }).key('UIComponentPopupPromptInterface001_button_001') - } - .width('100%') - } - .height('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface0010.ets deleted file mode 100644 index 245d1b39..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface0010.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { BusinessError } from '@ohos.base'; - -@Entry -@Component -struct UIComponentPopupPromptInterface0010 { - @State selectContent: string = '不设置button'; - - build() { - Row() { - Column() { - Text(this.selectContent) - Button('Show Dialog') - .fontWeight(FontWeight.Bold) - .onClick(() => { - try { - this.getUIContext() - .getPromptAction() - .showDialog({ - title: 'showDialog Title 不设置button', - message: 'Message Info' - }, (err, data) => { - if (err) { - console.info('showDialog err: ' + err); - return; - } - this.selectContent = this.selectContent + data.index; - console.info('showDialog success callback, click button: ' + data.index); - }); - } catch (error) { - let message = (error as BusinessError).message; - let code = (error as BusinessError).code; - console.error(`showDialog args error code is ${code}, message is ${message}`); - } - ; - }).key('UIComponentPopupPromptInterface0010_button_001') - } - .width('100%') - } - .height('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface0011.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface0011.ets deleted file mode 100644 index d00b2508..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface0011.ets +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { BusinessError } from '@ohos.base'; - -@Entry -@Component -struct UIComponentPopupPromptInterface0011 { - @State selectContent: string = '4个button'; - - build() { - Row() { - Column() { - Text(this.selectContent) - Button('Show Dialog') - .fontWeight(FontWeight.Bold) - .onClick(() => { - try { - this.getUIContext() - .getPromptAction() - .showDialog({ - title: 'showDialog Title 设置4个button', - message: 'Message Info', - buttons: [ - { - text: 'button1', - color: '#000000' - }, - { - text: 'button2', - color: '#000000' - }, - { - text: 'button3', - color: '#000000' - }, - { - text: 'button4', - color: '#000000' - } - ] - }, (err, data) => { - if (err) { - console.info('showDialog err: ' + err); - return; - } - this.selectContent = this.selectContent + data.index; - console.info('showDialog success callback, click button: ' + data.index); - }); - } catch (error) { - let message = (error as BusinessError).message; - let code = (error as BusinessError).code; - console.error(`showDialog args error code is ${code}, message is ${message}`); - } - ; - }).key('UIComponentPopupPromptInterface0011_button_001') - } - .width('100%') - } - .height('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface0012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface0012.ets deleted file mode 100644 index c7434e82..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface0012.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { BusinessError } from '@ohos.base'; - -@Entry -@Component -struct UIComponentPopupPromptInterface0012 { - @State selectContent: string = '不设置message'; - - build() { - Row() { - Column() { - Text(this.selectContent) - Button('Show Dialog') - .fontWeight(FontWeight.Bold) - .onClick(() => { - try { - this.getUIContext() - .getPromptAction() - .showDialog({ - title: 'showDialog Title 不设置message', - buttons: [ - { - text: 'button1', - color: '#000000' - }, - { - text: 'button2', - color: '#000000' - }, - ] - }, (err, data) => { - if (err) { - console.info('showDialog err: ' + err); - return; - } - this.selectContent = this.selectContent + data.index; - console.info('showDialog success callback, click button: ' + data.index); - }); - } catch (error) { - let message = (error as BusinessError).message; - let code = (error as BusinessError).code; - console.error(`showDialog args error code is ${code}, message is ${message}`); - } - ; - }).key('UIComponentPopupPromptInterface0012_button_001') - } - .width('100%') - } - .height('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface002.ets deleted file mode 100644 index 3a16a0bc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface002.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { BusinessError } from '@kit.BasicServicesKit' - -@Entry -@Component -struct UIComponentPopupPromptInterface002 { - @State bottom: string = '150px' - @State currentBottom: string = '设置bottom=150px' - - build() { - Row() { - Column() { - Column() { - Button('Change bottom = 150vp').onClick(() => { - this.currentBottom = '设置bottom=150vp'; - this.bottom = '150vp'; - }).key('UIComponentPopupPromptInterface002_change_01') - Button('Change bottom = 0').onClick(() => { - this.currentBottom = '设置bottom=string0'; - this.bottom = '0'; - }).key('UIComponentPopupPromptInterface002_change_02') - Button('Change bottom = -100').onClick(() => { - this.currentBottom = '设置bottom=string-100'; - this.bottom = '-100'; - }).key('UIComponentPopupPromptInterface002_change_03') - Button('Change bottom = 150aaa').onClick(() => { - this.currentBottom = '设置bottom=string150aa'; - this.bottom = '150aaa'; - }).key('UIComponentPopupPromptInterface002_change_04') - }.layoutWeight(1).width('100%').backgroundColor(Color.Gray) - - Column() { - Text('白色块高度150px') - Button('Show Toast') - .fontWeight(FontWeight.Bold) - .onClick(() => { - try { - this.getUIContext().getPromptAction().showToast({ - message: this.currentBottom, - duration: 1000, - bottom: this.bottom - }); - } 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}`); - } - ; - }).key('UIComponentPopupPromptInterface002_button_001') - }.height('150px') - } - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface003.ets deleted file mode 100644 index ec4efa9f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface003.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { BusinessError } from '@kit.BasicServicesKit' - -@Entry -@Component -struct UIComponentPopupPromptInterface003 { - @State bottom: number = -100; - - build() { - Row() { - Column() { - Column() { - Button('Change bottom = 0').onClick(() => { - this.bottom = 0; - }).key('UIComponentPopupPromptInterface003_change_01') - }.layoutWeight(1).width('100%').backgroundColor(Color.Gray) - - Column() { - Text('白色块高度150px') - Button('Show Toast') - .fontWeight(FontWeight.Bold) - .onClick(() => { - try { - this.getUIContext().getPromptAction().showToast({ - message: '时间为默认值1.5s', - duration: 1000, - bottom: this.bottom - }); - } 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}`); - } - ; - }).key('UIComponentPopupPromptInterface003_button_001') - }.height('150px') - } - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface004.ets deleted file mode 100644 index f749596c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface004.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupPromptInterface004 { - @State selectContent: string = 'select内容为:'; - - build() { - Row() { - Column() { - Text(this.selectContent) - Button('Show ActionMenu') - .fontWeight(FontWeight.Bold) - .onClick(() => { - this.getUIContext().getPromptAction().showActionMenu({ - title: 'showActionMenu Title Info', - buttons: [ - { - text: 'item1', - color: '#666666' - }, - { - text: 'item2', - color: '#000000' - }, - ] - }) - .then(data => { - this.selectContent = this.selectContent + data.index; - }) - .catch((err:Error) => { - console.info('showActionMenu error: ' + err); - }) - }).key('UIComponentPopupPromptInterface004_button_001') - } - .width('100%') - } - .height('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface005.ets deleted file mode 100644 index 90b9ed30..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface005.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UIComponentPopupPromptInterface005 { - @State selectContent: string = 'select内容为:'; - - build() { - Row() { - Column() { - Text(this.selectContent) - Button('Show ActionMenu') - .fontWeight(FontWeight.Bold) - .onClick(() => { - this.getUIContext().getPromptAction().showActionMenu({ - buttons: [ - { - text: 'item1', - color: '#ffc8be2e' - }, - { - text: 'item2', - color: '#ffdd1e1e' - }, - ] - }) - .then(data => { - this.selectContent = this.selectContent + data.index; - }) - .catch((err:Error) => { - console.info('showActionMenu error: ' + err); - }) - }).key('UIComponentPopupPromptInterface005_button_001') - } - .width('100%') - } - .height('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface006.ets deleted file mode 100644 index 70b7c01a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface006.ets +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UIComponentPopupPromptInterface006 { - @State selectContent: string = 'select内容为:'; - - build() { - Row() { - Column() { - Text(this.selectContent) - Button('Show ActionMenu') - .fontWeight(FontWeight.Bold) - .onClick(() => { - this.getUIContext().getPromptAction().showActionMenu({ - title: 'Title Info 异步返回结果', - buttons: [ - { - text: 'item1', - color: '#666666' - }, - { - text: 'item2', - color: '#000000' - }, - { - text: 'item3', - color: '#666666' - }, - { - text: 'item4', - color: '#000000' - }, - ] - }, (err, data) => { - if (err) { - console.info('showActionMenu err: ' + err); - return; - } - this.selectContent = this.selectContent + data.index; - console.info('showActionMenu success callback, click button: ' + data.index); - }) - }).key('UIComponentPopupPromptInterface006_button_001') - } - .width('100%') - } - .height('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface007.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface007.ets deleted file mode 100644 index 86683661..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface007.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { BusinessError } from '@ohos.base'; - -@Entry -@Component -struct UIComponentPopupPromptInterface007 { - @State selectContent: string = '异步响应内容为:'; - - build() { - Row() { - Column() { - Text(this.selectContent) - Button('Show Dialog') - .fontWeight(FontWeight.Bold) - .onClick(() => { - try { - this.getUIContext() - .getPromptAction() - .showDialog({ - title: 'Title Info', - message: 'Message Info', - buttons: [ - { - text: 'button1', - color: '#000000' - }, - { - text: 'button2', - color: '#000000' - } - ], - }) - .then(data => { - this.selectContent = this.selectContent + data.index; - console.info('showDialog success, click button: ' + data.index); - }) - .catch((err: Error) => { - console.info('showDialog error: ' + err); - }) - } catch (error) { - let message = (error as BusinessError).message; - let code = (error as BusinessError).code; - console.error(`showDialog args error code is ${code}, message is ${message}`); - }; - }).key('UIComponentPopupPromptInterface007_button_001') - } - .width('100%') - } - .height('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface008.ets deleted file mode 100644 index 8a48e539..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface008.ets +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { BusinessError } from '@ohos.base'; - -@Entry -@Component -struct UIComponentPopupPromptInterface008 { - @State selectContent: string = '同步响应内容为:'; - - build() { - Row() { - Column() { - Text(this.selectContent) - Button('Show Dialog') - .fontWeight(FontWeight.Bold) - .onClick(() => { - try { - this.getUIContext() - .getPromptAction() - .showDialog({ - title: 'showDialog Title 为string类型', - message: 'Message Info', - buttons: [ - { - text: 'button1', - color: '#000000' - }, - { - text: 'button2', - color: '#000000' - }, - { - text: 'button3', - color: '#000000' - } - ] - }, (err, data) => { - if (err) { - console.info('showDialog err: ' + err); - return; - } - this.selectContent = this.selectContent + data.index; - console.info('showDialog success callback, click button: ' + data.index); - }); - } catch (error) { - let message = (error as BusinessError).message; - let code = (error as BusinessError).code; - console.error(`showDialog args error code is ${code}, message is ${message}`); - }; - }).key('UIComponentPopupPromptInterface008_button_001') - } - .width('100%') - } - .height('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface009.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface009.ets deleted file mode 100644 index baf2b193..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface009.ets +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { BusinessError } from '@ohos.base'; - -@Entry -@Component -struct UIComponentPopupPromptInterface009 { - @State selectContent: string = 'Message Info 为string类型'; - - build() { - Row() { - Column() { - Text(this.selectContent) - Button('Show Dialog') - .fontWeight(FontWeight.Bold) - .onClick(() => { - try { - this.getUIContext() - .getPromptAction() - .showDialog({ - message: 'Message Info 为string类型', - buttons: [ - { - text: 'button1', - color: '#000000' - }, - { - text: 'button2', - color: '#000000' - } - ] - }, (err, data) => { - if (err) { - console.info('showDialog err: ' + err); - return; - } - this.selectContent = this.selectContent + data.index; - console.info('showDialog success callback, click button: ' + data.index); - }); - } catch (error) { - let message = (error as BusinessError).message; - let code = (error as BusinessError).code; - console.error(`showDialog args error code is ${code}, message is ${message}`); - }; - }).key('UIComponentPopupPromptInterface009_button_001') - } - .width('100%') - } - .height('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0070.ets deleted file mode 100644 index c8e1ada3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0070.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupboxCalendarpickerInterface0070 { - private selectedDate: Date = new Date('2024-11-07') - @State changeRes: string = 'CalendarPicker onChange callBack:' - - build() { - Column() { - Text('月历日期选择器').fontSize(30) - Column() { - CalendarPicker({ hintRadius: 10, selected: this.selectedDate }) - .id('calendarpickerInterface0070') - .edgeAlign(CalendarAlign.END) - .textStyle({ color: "#ff182431", font: { size: 20, weight: FontWeight.Normal } }) - .margin(10) - .onChange((value) => { - console.info("CalendarPicker onChange:" + JSON.stringify(value)); - this.changeRes += JSON.stringify(value); - }) - }.alignItems(HorizontalAlign.Center).width("100%").height('60%') - - Text(this.changeRes).fontColor(Color.Orange).fontSize(16).margin(20).visibility(Visibility.Hidden) - }.width('100%').margin({ top: 20 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0250.ets deleted file mode 100644 index 1b355295..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0250.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupboxCalendarpickerInterface0250 { - private selectedDate: Date = new Date('2024-11-07') - @State changeRes: string = 'CalendarPicker onChange callBack:\n' - - build() { - Column() { - Text('月历日期选择器').fontSize(30) - Column() { - CalendarPicker({ hintRadius: 10, selected: this.selectedDate }) - .id('calendarpickerInterface0250') - .edgeAlign(CalendarAlign.END) - .textStyle({ color: "#ff182431", font: { size: 20, weight: FontWeight.Normal } }) - .margin(10) - .onChange((value) => { - console.info("CalendarPicker onChange:" + JSON.stringify(value)); - this.changeRes += (value.valueOf()) + '\n'; - }) - }.alignItems(HorizontalAlign.Center).width("100%").height('60%') - - Text(this.changeRes).fontColor(Color.Orange).fontSize(16).margin(20) - }.width('100%').margin({ top: 20 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0310.ets deleted file mode 100644 index b8c460a5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0310.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentPopupboxCalendarpickerInterface0310 { - @State changeRes: string = 'CalendarPicker onChange callBack:\n' - - build() { - Column() { - Text('月历日期选择器').fontSize(30) - Column() { - CalendarPicker({ hintRadius: 10 }) - .id('calendarpickerInterface0310') - .edgeAlign(CalendarAlign.END) - .textStyle({ color: "#ff182431", font: { size: 20, weight: FontWeight.Normal } }) - .margin(10) - .onChange((value) => { - console.info("CalendarPicker onChange:" + JSON.stringify(value)); - this.changeRes += (value.valueOf()) + '\n'; - }) - }.alignItems(HorizontalAlign.Center).width("100%").height('60%') - - Text(this.changeRes).fontColor(Color.Orange).fontSize(16).margin(20) - }.width('100%').margin({ top: 20 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0330.ets deleted file mode 100644 index 40e2ef39..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0330.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct UIComponentPopupboxCalendarpickerInterface0330 { - private selectedDate: Date | null = null - @State changeRes: string = 'CalendarPicker onChange callBack:\n' - controller: CalendarController = new CalendarController(); - - build() { - Column() { - Text('月历日期选择器').fontSize(30) - Column() { - CalendarPicker({ hintRadius: 10, selected: this.selectedDate }) - .id('calendarpickerInterface0330') - .edgeAlign(CalendarAlign.END) - .textStyle({ color: "#ff182431", font: { size: 20, weight: FontWeight.Normal } }) - .margin(10) - .onChange((value) => { - console.info("CalendarPicker onChange:" + JSON.stringify(value)); - this.changeRes += (value.valueOf()) + '\n'; - }) - }.alignItems(HorizontalAlign.Center).width("100%").height('60%') - - Button('System Date') - .id('calendarpickerInterface0330_btn') - .fontColor(Color.Orange) - .fontSize(16) - .margin(20) - .onClick(() => { - let sysDate: Date = Settings.getSysDateTime(); - console.info("CalendarPicker sysDate:" + JSON.stringify(sysDate)); - this.selectedDate = sysDate; - }) - }.width('100%').margin({ top: 20 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0050.ets deleted file mode 100644 index 5018e30d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0050.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct UIComponentPopupboxDatepickerDialogLanguageHabit0050 { - @State changeRes: string = 'select current date is: \n' - @State isLunar: boolean = true - private selectedDate: Date = new Date('2024-08-08') - - build() { - Column() { - DatePicker({ - start: new Date('1970-1-1'), - end: new Date('2100-1-1'), - selected: this.selectedDate - }) - .margin({ top: 30, bottom: 30 }) - .id('datepickerDialogLanguageHabit0050') - .disappearTextStyle({ color: Color.Gray, font: { size: '16fp', weight: FontWeight.Bold } }) - .textStyle({ color: '#ff182431', font: { size: '18fp', weight: FontWeight.Normal } }) - .selectedTextStyle({ color: '#ff0000FF', font: { size: '26fp', weight: FontWeight.Regular } }) - .lunar(this.isLunar) - .onDateChange((value: Date) => { - this.selectedDate = value; - console.info('select current date is: ' + value.toString()); - this.changeRes += value.toString()+'\n'; - }) - - - Button('切换公历农历').id('datepickerDialogLanguageHabit0050_btn') - .margin({ top: 30, bottom: 30 }) - .onClick(() => { - this.isLunar = !this.isLunar; - }) - - Text(this.changeRes) - .fontColor(Color.Orange) - .fontSize(16) - .margin(20) - .borderWidth(1) - .width('100%') - .textAlign(TextAlign.Start) - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210.ets deleted file mode 100644 index 5f941e26..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210.ets +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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'; - -@Entry -@Component -struct UIComponentPopupboxDatepickerDialogLanguageHabit0210 { - selectedDate: Date = new Date("2024-1-1") - @State changeRes: string = 'select current DateTime is: \n' - @State useMilitaryTime: boolean = true - @State showTime: boolean = true - lunar:boolean = false - - build() { - Column() { - Button("DatePickerDialog").id('datepickerDialogLanguageHabit0210_btn') - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - start: new Date("2000-1-1"), - end: new Date("2100-12-31"), - selected: this.selectedDate, - showTime: this.showTime, - useMilitaryTime: this.useMilitaryTime, - lunar: this.lunar, - lunarSwitch: true, - disappearTextStyle: { color: Color.Pink, font: { size: '22fp', weight: FontWeight.Bold } }, - textStyle: { color: '#ff00ff00', font: { size: '18fp', weight: FontWeight.Normal } }, - selectedTextStyle: { color: '#ff182431', font: { size: '14fp', weight: FontWeight.Regular } }, - onDateAccept: (value: Date) => { - // 通过Date的setFullYear方法设置按下确定按钮时的日期,这样当弹窗再次弹出时显示选中的是上一次确定的日期 - this.selectedDate = value - console.info("DatePickerDialog:onDateAccept()" + value.toString()); - this.changeRes += 'onDateAccept: ' + value + '\n'; - }, - onCancel: () => { - console.info("DatePickerDialog:onCancel()") - }, - onDateChange: (value: Date) => { - console.info("DatePickerDialog:onDateChange()" + value.toString()) - this.changeRes += 'onDateChange: ' + value + '\n'; - }, - onDidAppear: () => { - console.info("DatePickerDialog:onDidAppear()") - }, - onDidDisappear: () => { - console.info("DatePickerDialog:onDidDisappear()") - }, - onWillAppear: () => { - console.info("DatePickerDialog:onWillAppear()") - }, - onWillDisappear: () => { - console.info("DatePickerDialog:onWillDisappear()") - } - }) - }) - Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { - Checkbox({ name: 'cb1', group: 'checkboxGroup' }) - .id('datepickerDialogLanguageHabit0210_cb1') - .selectedColor(0x39a2db) - .shape(CheckBoxShape.CIRCLE) - .onChange((value: boolean) => { - console.info('Checkbox change is' + value) - this.useMilitaryTime = value; - }) - .mark({ - strokeColor: Color.Black, - size: 30, - strokeWidth: 3 - }) - .select(this.useMilitaryTime) - .unselectedColor(Color.Red) - .margin(20) - .height(30) - Text('24小时制').fontSize(20) - Checkbox({ name: 'cb2', group: 'checkboxGroup' }) - .id('datepickerDialogLanguageHabit0210_cb2') - .selectedColor(0x39a2db) - .shape(CheckBoxShape.CIRCLE) - .onChange((value: boolean) => { - console.info('Checkbox change is' + value) - this.showTime = value; - }) - .mark({ - strokeColor: Color.Black, - size: 30, - strokeWidth: 3 - }) - .select(this.showTime) - .unselectedColor(Color.Red) - .margin(20) - .height(30) - Text('显示时间').fontSize(20) - }.width('100%') - - Text(this.changeRes) - .fontColor(Color.Orange) - .fontSize(16) - .margin(20) - .borderWidth(1) - .width('100%') - .textAlign(TextAlign.Start) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0010.ets deleted file mode 100644 index e31d9512..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0010.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentScrollSwiperAcross0010 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [0, 1, 2, 3, 4, 5, 6, 7] - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .width(300) - .height(300) - Row({space: 8}){ - Button("ChangeIndex").onClick(() => { - this.swiperController.changeIndex(5, true) - }) - .id('UIComponentScrollSwiperAcross0010_ChangeIndex') - Button("ShowNext").onClick(() => { - this.swiperController.showNext() - }) - .id('UIComponentScrollSwiperAcross0010_ShowNext') - } - .margin({ top: 30 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0030.ets deleted file mode 100644 index 9aff3705..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0030.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentScrollSwiperAcross0030 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3, 4, 5, 6, 7, 8] - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: string) => { - Column() { - Text(item.toString()).fontSize(80) - } - .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .width(300) - .height(300) - - Button('change4').onClick(() => { - this.swiperController.changeIndex(4) - }) - .id('UIComponentScrollSwiperAcross0030_ChangeIndex') - .margin({ top: 20 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0060.ets deleted file mode 100644 index 57373291..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0060.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentScrollSwiperAcross0060 { - private swiperController: SwiperController = new SwiperController() - @State data: number[] = [0, 1, 2, 3, 4, 5, 6, 7] - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: string) => { - Column() { - Text(item.toString()).fontSize(80) - } - .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .width(300) - .height(300) - .displayCount(2, true) - .loop(true) - - Row({ space: 8 }) { - Button('Remove').onClick(() => { - this.data = [0, 1, 2, 3, 4] - }) - .id('UIComponentScrollSwiperAcross0060_Remove') - - Button('Change4').onClick(() => { - this.swiperController.changeIndex(4, true) - }) - .id('UIComponentScrollSwiperAcross0060_ChangeIndex') - } - .margin({ top: 20 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0010.ets deleted file mode 100644 index 7cad7201..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0010.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SwiperModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentScrollSwiperArrowHead0010 { - private swiperController: SwiperController = new SwiperController() - @State modifier: SwiperModifier = new SwiperModifier() - - build() { - Column({ space: 5 }) { - Swiper(this.swiperController) { - Text("1") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("2") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - } - .displayArrow({ isSidebarMiddle: false }, false) - - }.width('100%') - .margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0020.ets deleted file mode 100644 index 510e89ee..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0020.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SwiperModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentScrollSwiperArrowHead0020 { - private swiperController: SwiperController = new SwiperController() - @State modifier: SwiperModifier = new SwiperModifier() - - - build() { - Column({ space: 5 }) { - Swiper(this.swiperController) { - Text("1") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("2") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - } - .displayArrow({ isSidebarMiddle: true }, false) - - }.width('100%') - .margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0030.ets deleted file mode 100644 index c5d18b03..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0030.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SwiperModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentScrollSwiperArrowHead0030 { - private swiperController: SwiperController = new SwiperController() - @State modifier: SwiperModifier = new SwiperModifier() - - - build() { - Column({ space: 5 }) { - Swiper(this.swiperController) { - Text("1") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("2") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - } - .displayArrow({ isSidebarMiddle: false }, true) - - }.width('100%') - .margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0040.ets deleted file mode 100644 index 4eb85784..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0040.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SwiperModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentScrollSwiperArrowHead0040 { - private swiperController: SwiperController = new SwiperController() - @State modifier: SwiperModifier = new SwiperModifier() - - - build() { - Column({ space: 5 }) { - Swiper(this.swiperController) { - Text("1") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("2") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - } - .displayArrow({ isSidebarMiddle: true }, true) - - }.width('100%') - .margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0610.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0610.ets deleted file mode 100644 index 2005f7da..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0610.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SwiperModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentScrollSwiperArrowHead0610 { - private swiperController: SwiperController = new SwiperController() - @State modifier: SwiperModifier = new SwiperModifier() - - build() { - Column({ space: 5 }) { - Swiper(this.swiperController) { - Text("1") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("2") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - } - .displayArrow({ isSidebarMiddle: false }, false) - - }.width('100%') - .margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0620.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0620.ets deleted file mode 100644 index 926ea348..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0620.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SwiperModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentScrollSwiperArrowHead0620 { - private swiperController: SwiperController = new SwiperController() - @State modifier: SwiperModifier = new SwiperModifier() - - - build() { - Column({ space: 5 }) { - Swiper(this.swiperController) { - Text("1") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("2") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - } - .displayArrow({ isSidebarMiddle: true }, false) - - }.width('100%') - .margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0630.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0630.ets deleted file mode 100644 index eda1c7f2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0630.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SwiperModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentScrollSwiperArrowHead0630 { - private swiperController: SwiperController = new SwiperController() - @State modifier: SwiperModifier = new SwiperModifier() - - - build() { - Column({ space: 5 }) { - Swiper(this.swiperController) { - Text("1") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("2") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - } - .displayArrow({ isSidebarMiddle: false }, true) - - }.width('100%') - .margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0640.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0640.ets deleted file mode 100644 index 9f5bcedd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0640.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SwiperModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentScrollSwiperArrowHead0640 { - private swiperController: SwiperController = new SwiperController() - @State modifier: SwiperModifier = new SwiperModifier() - - - build() { - Column({ space: 5 }) { - Swiper(this.swiperController) { - Text("1") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("2") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - } - .displayArrow({ isSidebarMiddle: true }, true) - - }.width('100%') - .margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0650.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0650.ets deleted file mode 100644 index 9ba9fdb8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0650.ets +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SwiperModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentScrollSwiperArrowHead0650 { - private swiperController: SwiperController = new SwiperController() - @State modifier: SwiperModifier = new SwiperModifier() - @State topV: number = 30; - - - build() { - Column({ space: 5 }) { - Swiper(this.swiperController) { - Text("1") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("2") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - } - .displayArrow({ isSidebarMiddle: false }, false) - .indicator(DotIndicator.dot().top(this.topV)) - - Button('移动按钮') - .id('UIComponentScrollSwiperArrowHead0650_001') - .onClick(() => { - this.topV = 0; - }) - - }.width('100%') - .margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0660.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0660.ets deleted file mode 100644 index b5d486e1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0660.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SwiperModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentScrollSwiperArrowHead0660 { - private swiperController: SwiperController = new SwiperController() - @State modifier: SwiperModifier = new SwiperModifier() - @State topV: number = 30; - - build() { - Column({ space: 5 }) { - Swiper(this.swiperController) { - Text("1") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("2") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - } - .displayArrow({ isSidebarMiddle: true }, false) - .indicator(DotIndicator.dot().top(this.topV)) - - Button('移动按钮') - .id('UIComponentScrollSwiperArrowHead0660_001') - .onClick(() => { - this.topV = 0; - }) - - }.width('100%') - .margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0670.ets deleted file mode 100644 index aced9afe..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0670.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SwiperModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentScrollSwiperArrowHead0670 { - private swiperController: SwiperController = new SwiperController() - @State modifier: SwiperModifier = new SwiperModifier() - @State topV: number = 30; - - - build() { - Column({ space: 5 }) { - Swiper(this.swiperController) { - Text("1") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("2") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - } - .displayArrow({ isSidebarMiddle: false }, true) - .indicator(DotIndicator.dot().top(this.topV)) - - Button('移动按钮') - .id('UIComponentScrollSwiperArrowHead0670_001') - .onClick(() => { - setTimeout(()=>{ - this.topV = 0; - },1000) - }) - - }.width('100%') - .margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0680.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0680.ets deleted file mode 100644 index fba2a76e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0680.ets +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SwiperModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentScrollSwiperArrowHead0680 { - private swiperController: SwiperController = new SwiperController() - @State modifier: SwiperModifier = new SwiperModifier() - @State topV: number = 30; - - - build() { - Column({ space: 5 }) { - Swiper(this.swiperController) { - Text("1") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("2") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - } - .displayArrow({ isSidebarMiddle: true }, true) - .indicator(DotIndicator.dot().top(this.topV)) - - Button('移动按钮') - .id('UIComponentScrollSwiperArrowHead0680_001') - .onClick(() => { - this.topV = 0; - }) - - }.width('100%') - .margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0690.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0690.ets deleted file mode 100644 index 542c8c90..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0690.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SwiperModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentScrollSwiperArrowHead0690 { - private swiperController: SwiperController = new SwiperController() - @State modifier: SwiperModifier = new SwiperModifier() - - - build() { - Column({ space: 5 }) { - Swiper(this.swiperController) { - Text("1") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("2") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - }.indicator( // 设置圆点导航点样式 - new DotIndicator() - .itemWidth(50) - .itemHeight(50)) - .size({ width: 50, height: 50 }) - .displayArrow({ isSidebarMiddle: false }, false) - - }.width('100%') - .margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0700.ets deleted file mode 100644 index d6c88f86..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0700.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SwiperModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentScrollSwiperArrowHead0700 { - private swiperController: SwiperController = new SwiperController() - @State modifier: SwiperModifier = new SwiperModifier() - - - build() { - Column({ space: 5 }) { - Swiper(this.swiperController) { - Text("1") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("2") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - }.indicator( // 设置圆点导航点样式 - new DotIndicator() - .itemWidth(50) - .itemHeight(50)) - .size({ width: 50, height: 50 }) - .displayArrow({ isSidebarMiddle: true }, false) - - - }.width('100%') - .margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0710.ets deleted file mode 100644 index a8024e04..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0710.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SwiperModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentScrollSwiperArrowHead0710 { - private swiperController: SwiperController = new SwiperController() - @State modifier: SwiperModifier = new SwiperModifier() - - - build() { - Column({ space: 5 }) { - Swiper(this.swiperController) { - Text("1") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("2") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - }.indicator( // 设置圆点导航点样式 - new DotIndicator() - .itemWidth(50) - .itemHeight(50)) - .size({ width: 50, height: 50 }) - .displayArrow({ isSidebarMiddle: false }, true) - - }.width('100%') - .margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0720.ets deleted file mode 100644 index 91ecf4f5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0720.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SwiperModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentScrollSwiperArrowHead0720 { - private swiperController: SwiperController = new SwiperController() - @State modifier: SwiperModifier = new SwiperModifier() - - - build() { - Column({ space: 5 }) { - Swiper(this.swiperController) { - Text("1") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("2") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - } - .indicator( // 设置圆点导航点样式 - new DotIndicator() - .itemWidth(50) - .itemHeight(50)) - .size({ width: 50, height: 50 }) - .displayArrow({ isSidebarMiddle: true }, true) - - - }.width('100%') - .margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0730.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0730.ets deleted file mode 100644 index 7a2c393d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0730.ets +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SwiperModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentScrollSwiperArrowHead0730 { - private swiperController: SwiperController = new SwiperController() - @State modifier: SwiperModifier = new SwiperModifier() - @State dotSize: number = 10 - - build() { - Column({ space: 5 }) { - Swiper(this.swiperController) { - Text("1") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("2") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - Text("3") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("4") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - Text("5") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("6") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - } - .indicator( // 设置圆点导航点样式 - new DotIndicator() - .itemWidth(this.dotSize) - .itemHeight(this.dotSize)) - .displayArrow({ isSidebarMiddle: false }, false) - - Button('导航点扩大按钮') - .id('UIComponentScrollSwiperArrowHead0730_001') - .onClick(() => { - this.dotSize = 80; - }) - }.width('100%') - .margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0740.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0740.ets deleted file mode 100644 index 6d23adcb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0740.ets +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SwiperModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentScrollSwiperArrowHead0740 { - private swiperController: SwiperController = new SwiperController() - @State modifier: SwiperModifier = new SwiperModifier() - @State dotSize: number = 10 - - - build() { - Column({ space: 5 }) { - Swiper(this.swiperController) { - Text("1") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("2") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - } - .indicator( // 设置圆点导航点样式 - new DotIndicator() - .itemWidth(this.dotSize) - .itemHeight(this.dotSize)) - .displayArrow({ isSidebarMiddle: true }, false) - - Button('导航点扩大按钮') - .id('UIComponentScrollSwiperArrowHead0740_001') - .onClick(() => { - this.dotSize = 80; - }) - - }.width('100%') - .margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0750.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0750.ets deleted file mode 100644 index c6a27a4b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0750.ets +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SwiperModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentScrollSwiperArrowHead0750 { - private swiperController: SwiperController = new SwiperController() - @State modifier: SwiperModifier = new SwiperModifier() - @State dotSize: number = 10 - - - build() { - Column({ space: 5 }) { - Swiper(this.swiperController) { - Text("1") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("2") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - Text("3") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("4") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - Text("5") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("6") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - } - .indicator( // 设置圆点导航点样式 - new DotIndicator() - .itemWidth(this.dotSize) - .itemHeight(this.dotSize)) - .displayArrow({ isSidebarMiddle: false }, true) - - Button('导航点扩大按钮') - .id('UIComponentScrollSwiperArrowHead0750_001') - .onClick(() => { - this.dotSize = 80; - }) - - - }.width('100%') - .margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0760.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0760.ets deleted file mode 100644 index d59153d0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0760.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SwiperModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentScrollSwiperArrowHead0760 { - private swiperController: SwiperController = new SwiperController() - @State modifier: SwiperModifier = new SwiperModifier() - @State dotSize: number = 10 - - build() { - Column({ space: 5 }) { - Swiper(this.swiperController) { - Text("1") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("2") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - } - .indicator( // 设置圆点导航点样式 - new DotIndicator() - .itemWidth(this.dotSize) - .itemHeight(this.dotSize)) - .displayArrow({ isSidebarMiddle: true }, true) - - Button('导航点扩大按钮') - .id('UIComponentScrollSwiperArrowHead0760_001') - .onClick(() => { - this.dotSize = 80; - }) - - }.width('100%') - .margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0770.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0770.ets deleted file mode 100644 index 1908d578..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0770.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SwiperModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentScrollSwiperArrowHead0770 { - private swiperController: SwiperController = new SwiperController() - @State modifier: SwiperModifier = new SwiperModifier() - @State leftV: number = 100 - - build() { - Column({ space: 5 }) { - Swiper(this.swiperController) { - Text("1") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("2") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - Text("3") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("4") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - } - .indicator( // 设置圆点导航点样式 - new DotIndicator() - .top(15) - .bottom(15) - .left(this.leftV) - .right(15)) - .displayArrow({ isSidebarMiddle: false }, false) - - Button('导航指示器左移按钮') - .id('UIComponentScrollSwiperArrowHead0770_001') - .onClick(() => { - this.leftV = 0; - }) - }.width('100%') - .margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0780.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0780.ets deleted file mode 100644 index c34d5aca..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0780.ets +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SwiperModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentScrollSwiperArrowHead0780 { - private swiperController: SwiperController = new SwiperController() - @State modifier: SwiperModifier = new SwiperModifier() - @State leftV: number = 100 - - build() { - Column({ space: 5 }) { - Swiper(this.swiperController) { - Text("1") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("2") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - } - .indicator( // 设置圆点导航点样式 - new DotIndicator() - .top(15) - .bottom(15) - .left(this.leftV) - .right(15)) - .displayArrow({ isSidebarMiddle: true }, false) - - Button('导航指示器左移按钮') - .id('UIComponentScrollSwiperArrowHead0780_001') - .onClick(() => { - this.leftV = 0; - }) - }.width('100%') - .margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0790.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0790.ets deleted file mode 100644 index 2c0cfa7f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0790.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SwiperModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentScrollSwiperArrowHead0790 { - private swiperController: SwiperController = new SwiperController() - @State modifier: SwiperModifier = new SwiperModifier() - @State leftV: number = 100 - - build() { - Column({ space: 5 }) { - Swiper(this.swiperController) { - Text("1") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("2") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - } - .indicator( // 设置圆点导航点样式 - new DotIndicator() - .top(15) - .bottom(15) - .left(this.leftV) - .right(15)) - .displayArrow({ isSidebarMiddle: false }, true) - - Button('导航指示器左移按钮') - .id('UIComponentScrollSwiperArrowHead0790_001') - .onClick(() => { - this.leftV = 0; - }) - - }.width('100%') - .margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0800.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0800.ets deleted file mode 100644 index 0c8ec669..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0800.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { SwiperModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentScrollSwiperArrowHead0800 { - private swiperController: SwiperController = new SwiperController() - @State modifier: SwiperModifier = new SwiperModifier() - @State leftV: number = 100 - - build() { - Column({ space: 5 }) { - Swiper(this.swiperController) { - Text("1") - .width('90%') - .height(160) - .backgroundColor(0xAFEEEE) - .textAlign(TextAlign.Center) - Text("2") - .width('90%') - .height(160) - .backgroundColor(Color.Pink) - .textAlign(TextAlign.Center) - } - .indicator( // 设置圆点导航点样式 - new DotIndicator() - .top(15) - .bottom(15) - .left(this.leftV) - .right(15)) - .displayArrow({ isSidebarMiddle: true }, true) - Button('导航指示器左移按钮') - .id('UIComponentScrollSwiperArrowHead0800_001') - .onClick(() => { - this.leftV = 0; - }) - }.width('100%') - .margin({ top: 5 }) - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperDisplaycount/UIComponentScrollSwiperDisplaycount0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperDisplaycount/UIComponentScrollSwiperDisplaycount0140.ets deleted file mode 100644 index a2f7f529..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperDisplaycount/UIComponentScrollSwiperDisplaycount0140.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentScrollSwiperDisplaycount0140 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .width(300) - .height(300) - Row({space: 8}){ - Button("ShowPrevious").onClick(() => { - this.swiperController.showPrevious() - }) - .id('UIComponentScrollSwiperDisplaycount0140_ShowPrevious') - - Button("ShowNext").onClick(() => { - this.swiperController.showNext() - }) - .id('UIComponentScrollSwiperDisplaycount0130_ShowNext') - } - .margin({ top: 30 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0040.ets deleted file mode 100644 index 1c355b0f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0040.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperInterface0040 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - .width('90%') - .height(300) - }, (item: string) => item) - } - .displayArrow({ arrowColor: 'abcd' }) - }.margin(5) - } -} - diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0820.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0820.ets deleted file mode 100644 index b6453c03..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0820.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource0820 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface0820 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource0820 = new MyDataSource0820([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource0820(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - .indicatorStyle({ - color: '' - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0830.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0830.ets deleted file mode 100644 index ed023a05..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0830.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource0830 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface0830 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource0830 = new MyDataSource0830([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource0830(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - // .width(250) - // .height(250) - .indicatorStyle({ - selectedColor: '' - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0890.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0890.ets deleted file mode 100644 index 0b906418..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0890.ets +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource0890 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface0890 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource0890 = new MyDataSource0890([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource0890(list) - } - - build() { - Column() { - - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .width(300) - .height(300) - .indicator( - DotIndicator.dot() - .bottom(5) - .bottom(10) - .bottom(50) - ) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0960.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0960.ets deleted file mode 100644 index 41785120..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0960.ets +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource0960 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface0960 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource0960 = new MyDataSource0960([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource0960(list) - } - - build() { - Column() { - - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .width(300) - .height(300) - .indicator( - DotIndicator.dot() - .left(5) - .left(10) - .left(50) - ) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0980.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0980.ets deleted file mode 100644 index d5ff8217..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0980.ets +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource0980 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface0980 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource0980 = new MyDataSource0980([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource0980(list) - } - - build() { - Column() { - - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .width(300) - .height(300) - .indicator( - DotIndicator.dot() - .right(5) - .right(10) - .right(50) - ) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0990.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0990.ets deleted file mode 100644 index 70fa20d6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0990.ets +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource0990 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface0990 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource0990 = new MyDataSource0990([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource0990(list) - } - - build() { - Column() { - - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .width(300) - .height(300) - .indicator( - DotIndicator.dot() - .top(5) - .top(10) - .top(50) - ) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1010.ets deleted file mode 100644 index 5f2ae4ac..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1010.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperInterface1010 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1030.ets deleted file mode 100644 index 5d0ffef5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1030.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperInterface1030 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1040.ets deleted file mode 100644 index dc2d2091..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1040.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperInterface1040 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1050.ets deleted file mode 100644 index e295139b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1050.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperInterface1050 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1180.ets deleted file mode 100644 index e4c3428e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1180.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperInterface1180 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - @State size_10vp: number = -100; - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicator( - DotIndicator.dot() - .bottom(this.size_10vp) - ) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1190.ets deleted file mode 100644 index a4f71d4e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1190.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperInterface1190 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - @State size_10vp: number = 0; - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicator( - DotIndicator.dot() - .bottom(this.size_10vp) - ) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1210.ets deleted file mode 100644 index 4808b7f4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1210.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperInterface1210 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - @State size_10vp: Resource = $r('app.string.size_10vp'); - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicator( - DotIndicator.dot() - .bottom(this.size_10vp) - ) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1220.ets deleted file mode 100644 index 0bd493ce..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1220.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperInterface1220 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - @State size_10vp: string = '-100'; - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicator( - DotIndicator.dot() - .bottom(this.size_10vp) - ) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1230.ets deleted file mode 100644 index b69553fa..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1230.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperInterface1230 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - @State size_10vp: string = '0'; - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicator( - DotIndicator.dot() - .bottom(this.size_10vp) - ) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1260.ets deleted file mode 100644 index 369a8b3e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1260.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperInterface1260 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - @State size_10vp: string = '50%'; - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicator( - DotIndicator.dot() - .bottom(this.size_10vp) - ) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1270.ets deleted file mode 100644 index d9b16aa2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1270.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperInterface1270 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - @State size_10vp: string = 'abc'; - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicator( - DotIndicator.dot() - .bottom(this.size_10vp) - ) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1660.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1660.ets deleted file mode 100644 index 82611cd9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1660.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperInterface1660 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicator(new DigitIndicator()) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1670.ets deleted file mode 100644 index 191f392b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1670.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperInterface1670 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicator(new DigitIndicator) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1680.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1680.ets deleted file mode 100644 index 06ede365..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1680.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperInterface1680 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicator(new DigitIndicator()) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1710.ets deleted file mode 100644 index 4fa93472..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1710.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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.arkui.UIContext' - -@Entry -@Component -struct UIComponentScrollSwiperInterface1710 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - @State size_10vp: Resource = $r('app.string.size_10vp') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicator( - new DigitIndicator() - .digitFont({ size: 14, weight: FontWeight.Normal }) - .digitFont({ size: 20, weight: FontWeight.Bold }) - ) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1780.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1780.ets deleted file mode 100644 index 8912cbaf..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1780.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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.arkui.UIContext' - -@Entry -@Component -struct UIComponentScrollSwiperInterface1780 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - @State font_abc: string = 'abc' - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicator( - new DigitIndicator() - .digitFont({ size: 14, family: this.font_abc }) - ) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1860.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1860.ets deleted file mode 100644 index bbcf51f2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1860.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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.arkui.UIContext' - -@Entry -@Component -struct UIComponentScrollSwiperInterface1860 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - @State font_abc: string = 'abc' - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicator( - new DigitIndicator() - .digitFont({ size: 14, weight: this.font_abc }) - ) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1870.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1870.ets deleted file mode 100644 index e77896f1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1870.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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.arkui.UIContext' - -@Entry -@Component -struct UIComponentScrollSwiperInterface1870 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicator( - new DigitIndicator() - .digitFont({ size: 14, weight: FontWeight.Normal }) - ) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1890.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1890.ets deleted file mode 100644 index edc2e20d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1890.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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.arkui.UIContext' - -@Entry -@Component -struct UIComponentScrollSwiperInterface1890 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicator( - new DigitIndicator() - .digitFont({ size: 14, weight: FontWeight.Normal }) - .selectedDigitFont({ weight: FontWeight.Bold }) - ) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1900.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1900.ets deleted file mode 100644 index d8b8bdc4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1900.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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.arkui.UIContext' - -@Entry -@Component -struct UIComponentScrollSwiperInterface1900 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicator( - new DigitIndicator() - .digitFont({ size: 14, weight: FontWeight.Normal }) - .selectedDigitFont({ weight: FontWeight.Bold }) - .selectedDigitFont({ size: 20, weight: FontWeight.Normal }) - ) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1970.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1970.ets deleted file mode 100644 index 23385899..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1970.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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.arkui.UIContext' - -@Entry -@Component -struct UIComponentScrollSwiperInterface1970 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - @State font_abc: string = 'abc' - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicator( - new DigitIndicator() - .selectedDigitFont({ family: this.font_abc }) - ) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2050.ets deleted file mode 100644 index ba178dbe..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2050.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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.arkui.UIContext' - -@Entry -@Component -struct UIComponentScrollSwiperInterface2050 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - @State font_abc: string = 'abc' - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicator( - new DigitIndicator() - .selectedDigitFont({ weight: this.font_abc }) - ) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2060.ets deleted file mode 100644 index 7d036bb8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2060.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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.arkui.UIContext' - -@Entry -@Component -struct UIComponentScrollSwiperInterface2060 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicator( - new DigitIndicator() - .fontColor(Color.Blue) - ) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2110.ets deleted file mode 100644 index 1ba7acdb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2110.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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.arkui.UIContext' - -@Entry -@Component -struct UIComponentScrollSwiperInterface2110 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicator( - new DigitIndicator() - .fontColor(Color.Blue) - .fontColor(Color.Yellow) - ) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2160.ets deleted file mode 100644 index 8de19a38..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2160.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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.arkui.UIContext' - -@Entry -@Component -struct UIComponentScrollSwiperInterface2160 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicator( - new DigitIndicator() - .selectedFontColor(Color.Blue) - .selectedFontColor(Color.Yellow) - ) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2180.ets deleted file mode 100644 index 9a58bb45..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2180.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource2180 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface2180 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource2180 = new MyDataSource2180([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource2180(list) - } - - build() { - Column() { - - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .width(300) - .height(300) - .indicator(DotIndicator.dot().color('')) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2190.ets deleted file mode 100644 index 975b94e9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2190.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource2190 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface2190 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource2190 = new MyDataSource2190([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource2190(list) - } - - build() { - Column() { - - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .width(300) - .height(300) - .indicator(DotIndicator.dot().mask(false)) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2200.ets deleted file mode 100644 index f94360a8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2200.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource2200 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface2200 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource2200 = new MyDataSource2200([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource2200(list) - } - - build() { - Column() { - - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .width(300) - .height(300) - .indicator(DotIndicator.dot().selectedColor('')) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2210.ets deleted file mode 100644 index e9712267..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2210.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource2210 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface2210 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource2210 = new MyDataSource2210([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource2210(list) - } - - build() { - Column() { - - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .width(300) - .height(300) - .indicator(DotIndicator.dot().itemHeight('')) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2230.ets deleted file mode 100644 index 2c7058c5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2230.ets +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource2230 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface2230 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource2230 = new MyDataSource2230([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource2230(list) - } - - build() { - Column() { - - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .width(300) - .height(300) - .indicator( - DotIndicator.dot() - .itemHeight(6) - .itemHeight(20) - .itemHeight(10) - ) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2330.ets deleted file mode 100644 index 88195bc5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2330.ets +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource2330 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface2330 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource2330 = new MyDataSource2330([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource2330(list) - } - - build() { - Column() { - - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .width(300) - .height(300) - .indicator( - DotIndicator.dot() - .itemWidth('') - ) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2340.ets deleted file mode 100644 index d3b880ae..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2340.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource2350 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface2350 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource2350 = new MyDataSource2350([]) - @State size_10vp: Resource = $r('app.string.size_10vp'); - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource2350(list) - } - - build() { - Column() { - - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .width(300) - .height(300) - .indicator( - DotIndicator.dot() - .itemWidth(this.size_10vp) - ) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2350.ets deleted file mode 100644 index 741ccd0b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2350.ets +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource2340 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface2340 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource2340 = new MyDataSource2340([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource2340(list) - } - - build() { - Column() { - - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .width(300) - .height(300) - .indicator( - DotIndicator.dot() - .itemWidth(6) - .itemWidth(10) - .itemWidth(15) - ) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2370.ets deleted file mode 100644 index cb196f80..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2370.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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.arkui.UIContext' - -@Entry -@Component -struct UIComponentScrollSwiperInterface2370 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicator( - new DotIndicator() - .itemWidth(0) - ) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2460.ets deleted file mode 100644 index 36fbedd9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2460.ets +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource2460 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface2460 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource2460 = new MyDataSource2460([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource2460(list) - } - - build() { - Column() { - - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .width(300) - .height(300) - .indicator( - DotIndicator.dot() - .selectedItemHeight(6) - .selectedItemHeight(10) - .selectedItemHeight(15) - ) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2560.ets deleted file mode 100644 index 9ec4b05b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2560.ets +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource2560 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface2560 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource2560 = new MyDataSource2560([]) - @State size_10vp: Resource = $r('app.string.size_10vp'); - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource2560(list) - } - - build() { - Column() { - - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .width(300) - .height(300) - .indicator( - DotIndicator.dot() - .selectedItemHeight(this.size_10vp) - ) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2570.ets deleted file mode 100644 index 69c6e1b9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2570.ets +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource2570 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface2570 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource2570 = new MyDataSource2570([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource2570(list) - } - - build() { - Column() { - - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .width(300) - .height(300) - .indicator( - DotIndicator.dot() - .selectedItemWidth(6) - .selectedItemWidth(10) - .selectedItemWidth(15) - ) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2720.ets deleted file mode 100644 index 67756298..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2720.ets +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource2720 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface2720 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource2720 = new MyDataSource2720([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource2720(list) - } - - build() { - Column() { - - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - // .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .width(300) - .height(300) - .indicator( - DotIndicator.dot() - .color(Color.Transparent) - .color(Color.Pink) - .color(Color.Red) - ) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2790.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2790.ets deleted file mode 100644 index 96bc460e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2790.ets +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource2790 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface2790 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource2790 = new MyDataSource2790([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource2790(list) - } - - build() { - Column() { - - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - // .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .width(300) - .height(300) - .indicator( - DotIndicator.dot() - .selectedColor(Color.Transparent) - .selectedColor(Color.Pink) - .selectedColor(Color.Red) - ) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2910.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2910.ets deleted file mode 100644 index c8d10db9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2910.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperInterface2910 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - @State size_10vp: string = 'abc'; - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicatorStyle({ - selectedColor: '#fc0303' - }) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3030.ets deleted file mode 100644 index 6fc345e0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3030.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperInterface3030 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - @State size_10vp: Resource = $r('app.string.size_10vp') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicatorStyle({ bottom: this.size_10vp }) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3040.ets deleted file mode 100644 index 933a8248..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3040.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperInterface3040 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - @State size_10vp: Resource = $r('app.string.size_10vp') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicatorStyle({ left: this.size_10vp }) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3050.ets deleted file mode 100644 index 6b29616b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3050.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperInterface3050 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - @State size_10vp: Resource = $r('app.string.size_10vp') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicatorStyle({ right: this.size_10vp }) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3060.ets deleted file mode 100644 index fcb7df44..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3060.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperInterface3060 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - @State size_10vp: Resource = $r('app.string.size_10vp') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicatorStyle({ size: this.size_10vp }) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3070.ets deleted file mode 100644 index d1e74d1b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3070.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperInterface3070 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - @State size_10vp: Resource = $r('app.string.size_10vp') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicatorStyle({ top: this.size_10vp }) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3120.ets deleted file mode 100644 index 4a201c96..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3120.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperInterface3120 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - @State size_10vp: Resource = $r('app.string.size_10vp') - @State rightV: string = '10px'; - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicatorStyle({ bottom: this.size_10vp, right: this.rightV }) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3130.ets deleted file mode 100644 index b2392982..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3130.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperInterface3130 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - @State sizeV: number = 10; - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicatorStyle({ size: this.sizeV }) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3140.ets deleted file mode 100644 index 4d1ff039..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3140.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperInterface3140 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - @State sizeV: string = '10%'; - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Text(item.toString()) - .width('80%') - .height(100) - .backgroundColor(Color.Yellow) - .margin('10%') - .textAlign(TextAlign.Center) - } - }, (item: string) => item) - } - .indicatorStyle({ size: this.sizeV }) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3160.ets deleted file mode 100644 index 76f68d42..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3160.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource3160 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface3160 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource3160 = new MyDataSource3160([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource3160(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()).height(80).width(80) - } - }, (item: string) => item) - } - .width(250) - .height(250) - .indicatorStyle({ - size: 'abcd' - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3300.ets deleted file mode 100644 index b1b2fb9a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3300.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource3300 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface3300 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource3300 = new MyDataSource3300([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource3300(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()).height(80).width(80) - } - }, (item: string) => item) - } - .width(250) - .height(250) - .indicatorStyle({ - left: -100 - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3310.ets deleted file mode 100644 index bcdaa70c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3310.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource3310 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface3310 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource3310 = new MyDataSource3310([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource3310(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()).height(80).width(80) - } - }, (item: string) => item) - } - .width(250) - .height(250) - .indicatorStyle({ - left: 0 - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3330.ets deleted file mode 100644 index 3be10976..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3330.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource3330 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface3330 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource3330 = new MyDataSource3330([]) - @State resource: ResourceStr = '50' - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource3330(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()).height(80).width(80) - } - }, (item: string) => item) - } - .width(250) - .height(250) - .indicatorStyle({ - left: this.resource - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3340.ets deleted file mode 100644 index 8cd9cf67..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3340.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource3340 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface3340 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource3340 = new MyDataSource3340([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource3340(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()).height(80).width(80) - } - }, (item: string) => item) - } - .width(250) - .height(250) - .indicatorStyle({ - left: '-100' - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3350.ets deleted file mode 100644 index 538c00b9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3350.ets +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource3350 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface3350 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource3350 = new MyDataSource3350([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource3350(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()).height(80).width(80).backgroundColor(Color.Red) - } - }, (item: string) => item) - } - .width(250) - .height(250) - .indicatorStyle({ - left: '0' - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3380.ets deleted file mode 100644 index 22341710..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3380.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource3380 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface3380 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource3380 = new MyDataSource3380([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource3380(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - .width(100) - .height(100) - .backgroundColor(Color.Red) - .indicatorStyle({ - left: '50%' - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3390.ets deleted file mode 100644 index e4fe1d89..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3390.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource3390 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface3390 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource3390 = new MyDataSource3390([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource3390(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - .width(100) - .height(100) - }, (item: string) => item) - } - .backgroundColor(Color.Red) - .indicatorStyle({ - left: 'abc' - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3430.ets deleted file mode 100644 index dd170251..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3430.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource3430 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface3430 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource3430 = new MyDataSource3430([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource3430(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - .width(250) - .height(150) - .backgroundColor(Color.Red) - .indicatorStyle({ - right: 0 - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3450.ets deleted file mode 100644 index 474cb2b1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3450.ets +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource3450 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface3450 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource3450 = new MyDataSource3450([]) - @State resource: ResourceStr = '50' - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource3450(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - .width(250) - .height(150) - .backgroundColor(Color.Red) - .indicatorStyle({ - right: this.resource - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3460.ets deleted file mode 100644 index f2e938a2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3460.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource3460 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface3460 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource3460 = new MyDataSource3460([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource3460(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - .width(250) - .height(150) - .backgroundColor(Color.Red) - .indicatorStyle({ - right: '-100' - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3500.ets deleted file mode 100644 index 29ab6ff2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3500.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource3500 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface3500 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource3500 = new MyDataSource3500([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource3500(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - .width(100) - .height(150) - .backgroundColor(Color.Red) - .indicatorStyle({ - right: '50%' - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3510.ets deleted file mode 100644 index bceebb02..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3510.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource3510 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface3510 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource3510 = new MyDataSource3510([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource3510(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - .width(100) - .height(100) - }, (item: string) => item) - } - .backgroundColor(Color.Red) - .indicatorStyle({ - right: 'abc' - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3520.ets deleted file mode 100644 index 3f30130d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3520.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource3520 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface3520 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource3520 = new MyDataSource3520([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource3520(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - .width(250) - .height(250) - .backgroundColor(Color.Red) - .indicatorStyle({ - top: -100 - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3530.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3530.ets deleted file mode 100644 index 1549e62d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3530.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource3530 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface3530 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource3530 = new MyDataSource3530([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource3530(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - .width(250) - .height(250) - .backgroundColor(Color.Yellow) - .indicatorStyle({ - top: 0 - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3550.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3550.ets deleted file mode 100644 index 90afe05e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3550.ets +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource3550 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface3550 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource3550 = new MyDataSource3550([]) - @State resource:ResourceStr = '50' - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource3550(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - .width(250) - .height(250) - .backgroundColor(Color.Yellow) - .indicatorStyle({ - top: this.resource - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3560.ets deleted file mode 100644 index b3c8c887..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3560.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource3560 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface3560 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource3560 = new MyDataSource3560([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource3560(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - .width(250) - .height(250) - .backgroundColor(Color.Yellow) - .indicatorStyle({ - top: '-100' - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3570.ets deleted file mode 100644 index bbfa9d91..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3570.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource3570 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface3570 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource3570 = new MyDataSource3570([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource3570(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - .width(250) - .height(250) - .backgroundColor(Color.Yellow) - .indicatorStyle({ - top: '0' - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3600.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3600.ets deleted file mode 100644 index be48ec33..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3600.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource3600 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface3600 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource3600 = new MyDataSource3600([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource3600(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - .width(250) - .height(250) - .backgroundColor(Color.Yellow) - .indicatorStyle({ - top: '50%' - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3610.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3610.ets deleted file mode 100644 index 5810f690..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3610.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource3610 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface3610 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource3610 = new MyDataSource3610([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource3610(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - .width(250) - .height(250) - .backgroundColor(Color.Yellow) - .indicatorStyle({ - top: 'abc' - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3700.ets deleted file mode 100644 index 56142636..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3700.ets +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource3700 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperInterface3700 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource3700 = new MyDataSource3700([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource3700(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - .width(250) - .height(250) - .backgroundColor(Color.Yellow) - .indicator(DotIndicator.dot().top(50)) - .indicatorStyle({ - top: 0 - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3780.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3780.ets deleted file mode 100644 index 11ab8441..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3780.ets +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentScrollSwiperInterface3780 { - private data: number[] = [1, 2, 3] - - - build() { - Column() { - Swiper() { - ForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - .width(250) - .height(250) - .backgroundColor(Color.Yellow) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3790.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3790.ets deleted file mode 100644 index a4eb325b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3790.ets +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentScrollSwiperInterface3790 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - .width(150) - .height(150) - .backgroundColor(Color.Blue) - - Swiper(this.swiperController) { - ForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - .width(150) - .height(150) - .backgroundColor(Color.Red) - .margin({ top: 10 }) - - Swiper(this.swiperController) { - ForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - .width(150) - .height(150) - .backgroundColor(Color.Yellow) - .margin({ top: 10 }) - - Button("ShowNext").onClick(() => { - this.swiperController.showNext() - }) - .id('UIComponentScrollSwiperInterface3790_ShowNext') - .margin({ top: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3810.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3810.ets deleted file mode 100644 index ef3ee197..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3810.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentScrollSwiperInterface3810 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: string) => { - Column() { - Text(item.toString()).fontSize(80) - } - }, (item: string) => item) - } - .width(250) - .height(250) - .backgroundColor(Color.Yellow) - - Button("ShowNext").onClick(() => { - this.swiperController.showNext() - }) - .id('UIComponentScrollSwiperInterface3810_ShowNext') - .margin({ top: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3820.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3820.ets deleted file mode 100644 index c9241c56..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3820.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentScrollSwiperInterface3820 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: string) => { - Column() { - Text(item.toString()).fontSize(80) - } - }, (item: string) => item) - } - .width(250) - .height(250) - .backgroundColor(Color.Yellow) - - Button("ShowPrevious").onClick(() => { - this.swiperController.showPrevious() - }) - .id('UIComponentScrollSwiperInterface3820_Previous') - .margin({ top: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/IDataSource.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/IDataSource.ets deleted file mode 100644 index 792d8169..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/IDataSource.ets +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT 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 class MyDataSource implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0010.ets deleted file mode 100644 index 97b6e352..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0010.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0010 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0020.ets deleted file mode 100644 index 778a9be5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0020.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0020 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - .vertical(true) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0030.ets deleted file mode 100644 index 40204029..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0030.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0030 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0040.ets deleted file mode 100644 index d0576ac4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0040.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0040 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0050.ets deleted file mode 100644 index f6a87dc7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0050.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0050 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - .vertical(true) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0060.ets deleted file mode 100644 index 4b76dd88..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0060.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0060 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0070.ets deleted file mode 100644 index 9ef540e0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0070.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0070 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - .vertical(true) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0080.ets deleted file mode 100644 index d196ab9b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0080.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0080 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0090.ets deleted file mode 100644 index dc6c0ec5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0090.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0090 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 4; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - .nextMargin(10) - .prevMargin(10) - .itemSpace(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0100.ets deleted file mode 100644 index 76743619..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0100.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0100 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0110.ets deleted file mode 100644 index 9d9ff635..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0110.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0110 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .vertical(true) - .displayMode(SwiperDisplayMode.AutoLinear) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0120.ets deleted file mode 100644 index f453f2e3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0120.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0120 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0130.ets deleted file mode 100644 index 6bae85b7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0130.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0130 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0140.ets deleted file mode 100644 index 38bfa5b4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0140.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0140 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0150.ets deleted file mode 100644 index b85421ab..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0150.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0150 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0160.ets deleted file mode 100644 index bf0055a6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0160.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0160 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0170.ets deleted file mode 100644 index 125487bb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0170.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0170 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0180.ets deleted file mode 100644 index 86a31be2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0180.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0180 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0190.ets deleted file mode 100644 index 70541f08..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0190.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0190 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .vertical(true) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0200.ets deleted file mode 100644 index 7654bfd3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0200.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0200 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0210.ets deleted file mode 100644 index 959fcbb0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0210.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0210 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0220.ets deleted file mode 100644 index 968780f4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0220.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0220 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 4; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0230.ets deleted file mode 100644 index 08908522..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0230.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0230 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .border({ width: 10 }) - .vertical(true) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0240.ets deleted file mode 100644 index 6c0ae8cf..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0240.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0240 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0250.ets deleted file mode 100644 index 711ad160..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0250.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0250 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .vertical(true) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0260.ets deleted file mode 100644 index db45b48e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0260.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0260 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0270.ets deleted file mode 100644 index cb7635a0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0270.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0270 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - .vertical(true) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0280.ets deleted file mode 100644 index 9055559b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0280.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0280 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0290.ets deleted file mode 100644 index df847e8f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0290.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0290 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0300.ets deleted file mode 100644 index 1c374469..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0300.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0300 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - .size({ width: 300, height: 300 }) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0310.ets deleted file mode 100644 index bf141053..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0310.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0310 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - .size({ width: 300, height: 300 }) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0320.ets deleted file mode 100644 index f619a9bd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0320.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0320 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - .size({ width: 300, height: 300 }) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0330.ets deleted file mode 100644 index 1a9e09ca..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0330.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0330 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - .size({ width: 300, height: 300 }) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0340.ets deleted file mode 100644 index 2be008d0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0340.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0340 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0350.ets deleted file mode 100644 index 6afbb458..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0350.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0350 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .vertical(true) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0360.ets deleted file mode 100644 index c20ae08b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0360.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0360 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0370.ets deleted file mode 100644 index d8689b4e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0370.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0370 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0380.ets deleted file mode 100644 index a59be042..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0380.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0380 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0390.ets deleted file mode 100644 index 0623a1f3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0390.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0390 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0400.ets deleted file mode 100644 index 6feb0090..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0400.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0400 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0410.ets deleted file mode 100644 index 00a9523f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0410.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0410 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0420.ets deleted file mode 100644 index ccd56467..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0420.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0420 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0430.ets deleted file mode 100644 index ae56a48f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0430.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0430 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .vertical(true) - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0440.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0440.ets deleted file mode 100644 index f4cd61c1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0440.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0440 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0450.ets deleted file mode 100644 index a172cba6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0450.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0450 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0460.ets deleted file mode 100644 index 597af9a4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0460.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0460 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0470.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0470.ets deleted file mode 100644 index 420d5484..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0470.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0470 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0480.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0480.ets deleted file mode 100644 index aac13ff2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0480.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0480 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0490.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0490.ets deleted file mode 100644 index 69411a73..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0490.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0490 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0500.ets deleted file mode 100644 index 345ccb65..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0500.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0500 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - .nextMargin(10) - .prevMargin(10) - .itemSpace(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0510.ets deleted file mode 100644 index 7d41a60e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0510.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0510 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Text(item.toString()) - - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - .size({ width: 300, height: 300 }) - .nextMargin(10) - .prevMargin(10) - .itemSpace(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0520.ets deleted file mode 100644 index a956ec5a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0520.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0520 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0530.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0530.ets deleted file mode 100644 index 07069e36..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0530.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0530 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - .vertical(true) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0540.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0540.ets deleted file mode 100644 index 7d79ca5d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0540.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0540 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0550.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0550.ets deleted file mode 100644 index 4e943bb5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0550.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0550 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0560.ets deleted file mode 100644 index d0add52e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0560.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0560 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0570.ets deleted file mode 100644 index 17f19ba6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0570.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0570 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0580.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0580.ets deleted file mode 100644 index 07c2d582..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0580.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0580 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - .nextMargin(10) - .prevMargin(10) - .itemSpace(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0590.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0590.ets deleted file mode 100644 index 82ee1a45..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0590.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0590 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0600.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0600.ets deleted file mode 100644 index b0436736..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0600.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0600 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .vertical(true) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0610.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0610.ets deleted file mode 100644 index b3eb45af..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0610.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0610 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0620.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0620.ets deleted file mode 100644 index 6316759c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0620.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0620 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0630.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0630.ets deleted file mode 100644 index b6a2e6d8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0630.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0630 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0640.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0640.ets deleted file mode 100644 index e476463f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0640.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0640 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0650.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0650.ets deleted file mode 100644 index d1a2de52..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0650.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0650 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0660.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0660.ets deleted file mode 100644 index f13afeca..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0660.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0660 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0670.ets deleted file mode 100644 index 60d654ed..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0670.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0670 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0680.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0680.ets deleted file mode 100644 index ac12a258..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0680.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0680 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .vertical(true) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0690.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0690.ets deleted file mode 100644 index 24438d8f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0690.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0690 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0700.ets deleted file mode 100644 index f24eff0d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0700.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0700 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0710.ets deleted file mode 100644 index 8286c03f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0710.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0710 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0720.ets deleted file mode 100644 index 3b04efcd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0720.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0720 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .vertical(true) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0730.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0730.ets deleted file mode 100644 index 7b45297a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0730.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0730 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0740.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0740.ets deleted file mode 100644 index c2ac51fa..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0740.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0740 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .padding(10) - .vertical(true) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0750.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0750.ets deleted file mode 100644 index 0a892a7d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0750.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0750 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0760.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0760.ets deleted file mode 100644 index 0eb3f86b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0760.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0760 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - .vertical(true) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0770.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0770.ets deleted file mode 100644 index 1ecb6180..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0770.ets +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource770 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperLayout0770 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource770 = new MyDataSource770([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 6; i++) { - list.push(i); - } - this.data = new MyDataSource770(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .margin(10) - .displayCount(3) - .size({width:200,height:300}) - .loop(false) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0790.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0790.ets deleted file mode 100644 index 5495cdd9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0790.ets +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource790 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperLayout0790 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource790 = new MyDataSource790([]) - private icon: Resource = $r('app.media.icon') - @State showBorder: boolean = true - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 6; i++) { - list.push(i); - } - this.data = new MyDataSource790(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .margin(10) - .displayCount(3) - .size({width:200,height:300}) - .loop(false) - .border({ - width: this.showBorder ? 10 : 0 - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0810.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0810.ets deleted file mode 100644 index 63896e81..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0810.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource2 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperLayout0810 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource2 = new MyDataSource2([]) - private icon: Resource = $r('app.media.icon') - @State showBorder: boolean = true - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 6; i++) { - list.push(i); - } - this.data = new MyDataSource2(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .padding(10) - .displayCount(3) - .size({width:200,height:300}) - .loop(false) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0820.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0820.ets deleted file mode 100644 index b1141993..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0820.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0820 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - .size({ width: 300, height: 300 }) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0830.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0830.ets deleted file mode 100644 index f0b2f16d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0830.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0830 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayCount(3) - .size({ width: 300, height: 300 }) - .nextMargin(10) - .prevMargin(10) - .itemSpace(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0840.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0840.ets deleted file mode 100644 index 671447c0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0840.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0840 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0850.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0850.ets deleted file mode 100644 index 686bbca0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0850.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0850 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - .vertical(true) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0860.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0860.ets deleted file mode 100644 index 0d0bb39d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0860.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0860 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0870.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0870.ets deleted file mode 100644 index 9bfb3419..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0870.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0870 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0880.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0880.ets deleted file mode 100644 index 8426b954..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0880.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0880 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0890.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0890.ets deleted file mode 100644 index ba5ab5bd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0890.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0890 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - .vertical(true) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0900.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0900.ets deleted file mode 100644 index e05b2ea0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0900.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0900 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0910.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0910.ets deleted file mode 100644 index 987ed248..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0910.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0910 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0920.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0920.ets deleted file mode 100644 index 8503dc3e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0920.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0920 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0930.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0930.ets deleted file mode 100644 index a75536ca..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0930.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0930 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0940.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0940.ets deleted file mode 100644 index bd9da3c4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0940.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0940 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0950.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0950.ets deleted file mode 100644 index 1f24984e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0950.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0950 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0960.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0960.ets deleted file mode 100644 index 086537d5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0960.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0960 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - .nextMargin(10) - .prevMargin(10) - .itemSpace(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0970.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0970.ets deleted file mode 100644 index 9adb877e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0970.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0970 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0980.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0980.ets deleted file mode 100644 index 51d24700..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0980.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0980 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - .vertical(true) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0990.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0990.ets deleted file mode 100644 index e6e5aae0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0990.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout0990 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1000.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1000.ets deleted file mode 100644 index c272ce28..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1000.ets +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout1000 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1010.ets deleted file mode 100644 index 5d39267e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1010.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout1010 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - .vertical(true) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1020.ets deleted file mode 100644 index dc87d30d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1020.ets +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource1020 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperLayout1020 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource1020 = new MyDataSource1020([]) - private icon: Resource = $r('app.media.icon') - @State showBorder: boolean = true - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 6; i++) { - list.push(i); - } - this.data = new MyDataSource1020(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .margin(10) - .displayCount(3) - .loop(false) - .border({ - width: this.showBorder ? 10 : 0 - }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1040.ets deleted file mode 100644 index 68445d29..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1040.ets +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource1040 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperLayout1040 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource1040 = new MyDataSource1040([]) - private icon: Resource = $r('app.media.icon') - @State showBorder: boolean = true - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 6; i++) { - list.push(i); - } - this.data = new MyDataSource1040(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .padding(10) - .displayCount(3) - .loop(false) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1050.ets deleted file mode 100644 index ebb3e85b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1050.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource1050 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperLayout1050 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource1050 = new MyDataSource1050([]) - private icon: Resource = $r('app.media.icon') - @State showBorder: boolean = true - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 6; i++) { - list.push(i); - } - this.data = new MyDataSource1050(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .itemSpace(3) - .displayCount(3) - .margin(0) - .prevMargin(3) - .nextMargin(3) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1060.ets deleted file mode 100644 index 4e142618..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1060.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource1060 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperLayout1060 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource1060 = new MyDataSource1060([]) - private icon: Resource = $r('app.media.icon') - @State showBorder: boolean = true - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 6; i++) { - list.push(i); - } - this.data = new MyDataSource1060(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - .displayMode(SwiperDisplayMode.AutoLinear) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1080.ets deleted file mode 100644 index 868f62a1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1080.ets +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1080 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41).height(41) - Image(this.icon).width(41).height(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1090.ets deleted file mode 100644 index ad84d0bf..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1090.ets +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1090 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1100.ets deleted file mode 100644 index 37820fe9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1100.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1100 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1110.ets deleted file mode 100644 index b94e8d69..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1110.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1110 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1120.ets deleted file mode 100644 index 09c7df55..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1120.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1120 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1130.ets deleted file mode 100644 index 7f805de5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1130.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1130 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1140.ets deleted file mode 100644 index 0b4aaaf9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1140.ets +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1140 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1150.ets deleted file mode 100644 index 0972bb17..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1150.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1150 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .vertical(true) - .displayMode(SwiperDisplayMode.Stretch) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1160.ets deleted file mode 100644 index 05522208..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1160.ets +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1160 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1170.ets deleted file mode 100644 index aba40464..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1170.ets +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1170 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1180.ets deleted file mode 100644 index 5ca27a56..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1180.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1180 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1190.ets deleted file mode 100644 index 3e4394f2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1190.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1190 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .vertical(true) - .displayMode(SwiperDisplayMode.Stretch) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1200.ets deleted file mode 100644 index 7dce8359..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1200.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1200 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1210.ets deleted file mode 100644 index 6feabc5a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1210.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1210 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .vertical(true) - .displayMode(SwiperDisplayMode.Stretch) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1220.ets deleted file mode 100644 index a3ed3631..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1220.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1220 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1230.ets deleted file mode 100644 index a844c84a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1230.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1230 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .vertical(true) - .displayCount(3) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1240.ets deleted file mode 100644 index f95113f7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1240.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1240 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1250.ets deleted file mode 100644 index 5b494443..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1250.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1250 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1260.ets deleted file mode 100644 index f9b78c0e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1260.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1260 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - .size({ width: 300, height: 300 }) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1270.ets deleted file mode 100644 index f2ca50f0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1270.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1270 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - .size({ width: 300, height: 300 }) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1280.ets deleted file mode 100644 index 946ac928..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1280.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1280 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - .size({ width: 300, height: 300 }) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1290.ets deleted file mode 100644 index ce6f9a58..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1290.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1290 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - .size({ width: 300, height: 300 }) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1300.ets deleted file mode 100644 index 7ad07d03..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1300.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1300 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - .size({ width: 300, height: 300 }) - .itemSpace(10) - .nextMargin(10) - .prevMargin(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1310.ets deleted file mode 100644 index 1ff841ac..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1310.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1310 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1320.ets deleted file mode 100644 index 37b418f2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1320.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1320 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1330.ets deleted file mode 100644 index fde46f4d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1330.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1330 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1340.ets deleted file mode 100644 index 7427f1af..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1340.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1340 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1350.ets deleted file mode 100644 index d60dd151..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1350.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1350 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1360.ets deleted file mode 100644 index febf6127..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1360.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1360 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .vertical(true) - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1370.ets deleted file mode 100644 index fea094ab..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1370.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1370 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1380.ets deleted file mode 100644 index 4b933b9f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1380.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1380 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1390.ets deleted file mode 100644 index 66c42849..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1390.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1390 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1400.ets deleted file mode 100644 index 5fc95011..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1400.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1400 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1410.ets deleted file mode 100644 index 605838af..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1410.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1410 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1420.ets deleted file mode 100644 index 944adba9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1420.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1420 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1430.ets deleted file mode 100644 index 022817fc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1430.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1430 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1440.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1440.ets deleted file mode 100644 index 0de18638..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1440.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1440 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .vertical(true) - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1450.ets deleted file mode 100644 index ce060de1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1450.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1450 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1460.ets deleted file mode 100644 index 54750b61..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1460.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1460 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1470.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1470.ets deleted file mode 100644 index 44a75c50..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1470.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1470 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1480.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1480.ets deleted file mode 100644 index fcb736c4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1480.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1480 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1490.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1490.ets deleted file mode 100644 index dfd6a988..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1490.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1490 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1500.ets deleted file mode 100644 index 24ce6429..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1500.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1500 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1510.ets deleted file mode 100644 index a38e75b8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1510.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1510 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - .nextMargin(10) - .prevMargin(10) - .itemSpace(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1520.ets deleted file mode 100644 index e05c1bf6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1520.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1520 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1530.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1530.ets deleted file mode 100644 index 897d545e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1530.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1530 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - .vertical(true) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1540.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1540.ets deleted file mode 100644 index 23e2fefd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1540.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1540 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1550.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1550.ets deleted file mode 100644 index a108c2ea..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1550.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1550 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1560.ets deleted file mode 100644 index f669de44..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1560.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1560 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - .vertical(true) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1570.ets deleted file mode 100644 index a05f919e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1570.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1570 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1580.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1580.ets deleted file mode 100644 index 167ee1fd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1580.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1580 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - .vertical(true) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1590.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1590.ets deleted file mode 100644 index 914021cc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1590.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1590 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1600.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1600.ets deleted file mode 100644 index 22efc213..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1600.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1600 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1610.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1610.ets deleted file mode 100644 index c9eb6dcc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1610.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1610 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .vertical(true) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1620.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1620.ets deleted file mode 100644 index 88a3bef8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1620.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1620 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1630.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1630.ets deleted file mode 100644 index f0b96a52..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1630.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1630 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1640.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1640.ets deleted file mode 100644 index 4f849934..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1640.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1640 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1650.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1650.ets deleted file mode 100644 index aa0bf4ea..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1650.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1650 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1660.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1660.ets deleted file mode 100644 index ee15fe55..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1660.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1660 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1670.ets deleted file mode 100644 index 41db450d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1670.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1670 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1680.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1680.ets deleted file mode 100644 index 4a542520..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1680.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1680 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1690.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1690.ets deleted file mode 100644 index e311dace..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1690.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1690 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .vertical(true) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1700.ets deleted file mode 100644 index ac6980b3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1700.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1700 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1710.ets deleted file mode 100644 index 8649d34d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1710.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1710 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1720.ets deleted file mode 100644 index 60b42875..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1720.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1720 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1730.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1730.ets deleted file mode 100644 index a8a76d1b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1730.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1730 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.STRETCH) - .border({ width: 10 }) - .vertical(true) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1740.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1740.ets deleted file mode 100644 index c18aacfd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1740.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1740 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1750.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1750.ets deleted file mode 100644 index 3d53c2ab..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1750.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1750 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .padding(10) - .vertical(true) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1760.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1760.ets deleted file mode 100644 index 2b749d2e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1760.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1760 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1770.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1770.ets deleted file mode 100644 index de5e9571..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1770.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1770 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - .size({ width: 300, height: 300 }) - .vertical(true) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1780.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1780.ets deleted file mode 100644 index 0d5a5757..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1780.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1780 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1790.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1790.ets deleted file mode 100644 index c120bc9d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1790.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1790 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1800.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1800.ets deleted file mode 100644 index 46607cc3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1800.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource1800 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperLayout1800 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource1800 = new MyDataSource1800([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource1800(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - Image(this.icon).width(40) - Text(item.toString()) - } - }, (item: string) => item) - } - .border({ width: 10 }) - .width('100%') - .displayCount(3) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1810.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1810.ets deleted file mode 100644 index 5e4a1055..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1810.ets +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource1810 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperLayout1810 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource1810 = new MyDataSource1810([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource1810(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - Image(this.icon).width(40) - } - }, (item: string) => item) - } - .vertical(true) - .border({ width: 10 }) - .height(250) - .width('100%') - .displayCount(3) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1820.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1820.ets deleted file mode 100644 index c1b31381..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1820.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout1820 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - Image(this.icon).width(40) - Text(item.toString()) - } - }, (item: string) => item) - } - .padding(10) - .width('100%') - .displayCount(3) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1830.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1830.ets deleted file mode 100644 index 2b21f4d2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1830.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout1830 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - Image(this.icon).width(40) - } - }, (item: string) => item) - } - .vertical(true) - .padding(10) - .width('100%') - .height(250) - .displayCount(3) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1840.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1840.ets deleted file mode 100644 index 3b380827..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1840.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout1840 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - Image(this.icon).width(40) - } - }, (item: string) => item) - } - .prevMargin(10) - .nextMargin(10) - .itemSpace(10) - .width(250) - .height(250) - .displayCount(3) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1850.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1850.ets deleted file mode 100644 index c5e076de..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1850.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout1850 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - private icon: Resource = $r('app.media.icon') - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - - Image(this.icon).width(40) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .width(250) - .height(250) - .displayCount(3) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1860.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1860.ets deleted file mode 100644 index acf3b5c7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1860.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1860 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - .vertical(true) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1870.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1870.ets deleted file mode 100644 index f94f25ba..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1870.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1870 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1880.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1880.ets deleted file mode 100644 index d1639488..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1880.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1880 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1890.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1890.ets deleted file mode 100644 index d3541f45..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1890.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1890 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1900.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1900.ets deleted file mode 100644 index ce867675..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1900.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1900 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1910.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1910.ets deleted file mode 100644 index cd2b2069..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1910.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1910 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1920.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1920.ets deleted file mode 100644 index 37ee4270..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1920.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1920 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - .size({ width: 300, height: 300 }) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1930.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1930.ets deleted file mode 100644 index 332d1cd8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1930.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1930 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1940.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1940.ets deleted file mode 100644 index 4dccb401..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1940.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1940 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - .vertical(true) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1950.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1950.ets deleted file mode 100644 index b1d7133e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1950.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1950 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1960.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1960.ets deleted file mode 100644 index 84fede2e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1960.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1960 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1970.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1970.ets deleted file mode 100644 index cb08b037..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1970.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1970 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1980.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1980.ets deleted file mode 100644 index 3eb40723..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1980.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1980 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - .border({ width: 10 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1990.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1990.ets deleted file mode 100644 index 87852608..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1990.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout1990 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2000.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2000.ets deleted file mode 100644 index 59d33035..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2000.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout2000 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - .padding(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2010.ets deleted file mode 100644 index 123f5e9b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2010.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout2010 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Row() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - .size({ width: 300, height: 300 }) - .nextMargin(10) - .prevMargin(10) - .itemSpace(10) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2020.ets deleted file mode 100644 index b5274eb6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2020.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout2020 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(1) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2030.ets deleted file mode 100644 index 92c9eae9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2030.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout2030 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(1) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2040.ets deleted file mode 100644 index 8b36efba..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2040.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout2040 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2050.ets deleted file mode 100644 index 5d4ee135..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2050.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentScrollSwiperLayout2050 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - private icon: Resource = $r('app.media.icon') - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: number) => { - Column() { - Image(this.icon).width(41) - Text(item.toString()) - Image(this.icon).width(41) - } - }, (item: string) => item) - } - .displayCount(3) - .size({ width: 300, height: 300 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2060.ets deleted file mode 100644 index 712d4595..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2060.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout2060 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2070.ets deleted file mode 100644 index bfbc49fb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2070.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout2070 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - .width(250) - .height(250) - .displayMode(SwiperDisplayMode.AutoLinear) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2080.ets deleted file mode 100644 index 950112e3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2080.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout2080 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.Stretch) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2090.ets deleted file mode 100644 index 5148d67f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2090.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout2090 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - .width(250) - .height(250) - .displayMode(SwiperDisplayMode.Stretch) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2100.ets deleted file mode 100644 index 015f4c7b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2100.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout2100 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - .indicator(Indicator.digit()) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2110.ets deleted file mode 100644 index 89c4c993..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2110.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { MyDataSource } from './IDataSource' - -@Entry -@Component -struct UIComponentScrollSwiperLayout2110 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource = new MyDataSource([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 3; i++) { - list.push(i); - } - this.data = new MyDataSource(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - }, (item: string) => item) - } - .indicator(Indicator.dot()) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0070.ets deleted file mode 100644 index 7570aa33..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0070.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentScrollSwiperTeace0070 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .width(300) - .height(300) - Row({space: 8}){ - Button("ShowNext").onClick(() => { - this.swiperController.showNext() - }) - .id('UIComponentScrollSwiperTeace0070_ShowNext') - } - .margin({ top: 30 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0080.ets deleted file mode 100644 index 2b401f6e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0080.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct UIComponentScrollSwiperTeace0080 { - private swiperController: SwiperController = new SwiperController() - private data: number[] = [1, 2, 3] - - build() { - Column() { - Swiper(this.swiperController) { - ForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .width(300) - .height(300) - Row(){ - Button("ShowPrevious").onClick(() => { - this.swiperController.showPrevious() - }) - .id('UIComponentScrollSwiperTeace0080_ShowPrevious') - } - .margin({ top: 30 }) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0010.ets deleted file mode 100644 index 4b8aaee4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0010.ets +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource0010 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperUx0010 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource0010 = new MyDataSource0010([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 10; i++) { - list.push(i); - } - this.data = new MyDataSource0010(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - // Text('pic').width(80).height(80).backgroundColor(Color.Red) - } - .border({ - width: 1 - }) - .width(300) - .height(300) - .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .displayMode(SwiperDisplayMode.AutoLinear) - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0020.ets deleted file mode 100644 index 7881799e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0020.ets +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource0020 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperUx0020 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource0020 = new MyDataSource0020([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 10; i++) { - list.push(i); - } - this.data = new MyDataSource0020(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - Text(item.toString()) - } - .border({ - width: 1 - }) - .backgroundColor(Color.Yellow) - }, (item: string) => item) - } - .width(300) - .height(300) - .displayMode(SwiperDisplayMode.Stretch) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0520.ets deleted file mode 100644 index 99aa52e2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0520.ets +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 MyDataSource0520 implements IDataSource { - private list: number[] = [] - - constructor(list: number[]) { - this.list = list - } - - totalCount(): number { - return this.list.length - } - - getData(index: number): number { - return this.list[index] - } - - registerDataChangeListener(listener: DataChangeListener): void { - } - - unregisterDataChangeListener() { - } -} - -@Entry -@Component -struct UIComponentScrollSwiperUx0520 { - private swiperController: SwiperController = new SwiperController() - private data: MyDataSource0520 = new MyDataSource0520([]) - - aboutToAppear(): void { - let list: number[] = [] - for (let i = 1; i <= 10; i++) { - list.push(i); - } - this.data = new MyDataSource0520(list) - } - - build() { - Column() { - Swiper(this.swiperController) { - LazyForEach(this.data, (item: string) => { - Column() { - // Text(item.toString()) - // Text('pic').width(80).height(80).backgroundColor(Color.Red) - } - .visibility(Visibility.Hidden) - }, (item: string) => item) - } - .width(600) - .height(600) - .autoPlay(false) - .loop(true) - .indicator(Indicator.dot()) - .backgroundColor(Color.Red) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent010.ets deleted file mode 100644 index 9b56d120..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent010.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent010 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - arrowOffset: getContext().resourceManager.getStringSync($r("app.string.popup_arrow_offset")) - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0100') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent013.ets deleted file mode 100644 index 985e09d3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent013.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent013 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - mask: true - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0130') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent014.ets deleted file mode 100644 index 6b926c55..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent014.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent014 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - mask: { - color: '#ee4508de' - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0140') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent015.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent015.ets deleted file mode 100644 index 95897a61..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent015.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent015 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0150') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - mask: { - color: getContext().resourceManager.getColorSync($r("app.color.gray_color")) - } - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent017.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent017.ets deleted file mode 100644 index c2c8468c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent017.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent017 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - messageOptions: { - textColor: 0x008000 - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0170') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent018.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent018.ets deleted file mode 100644 index 9b0c5852..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent018.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent018 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - messageOptions: { - textColor: getContext().resourceManager.getColorSync($r("app.color.gray_color")) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0180') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent019.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent019.ets deleted file mode 100644 index 6024f184..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent019.ets +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent019 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - messageOptions: { - textColor: '#ee4508de' - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .margin(0) - .padding(0) - .id('UIComponentSpecialComponentsFormComponentTransparent0190') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent022.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent022.ets deleted file mode 100644 index fab04bf9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent022.ets +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent022 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - messageOptions: { - font: { - weight: FontWeight.Lighter - } - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0220') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent023.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent023.ets deleted file mode 100644 index 6e8dde7d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent023.ets +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent023 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - messageOptions: { - font: { - weight: FontWeight.Normal - } - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0230') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent024.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent024.ets deleted file mode 100644 index 62812e82..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent024.ets +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent024 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - messageOptions: { - font: { - weight: FontWeight.Regular - } - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0240') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent025.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent025.ets deleted file mode 100644 index 44f85b18..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent025.ets +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent025 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - messageOptions: { - font: { - weight: FontWeight.Medium - } - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0250') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent026.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent026.ets deleted file mode 100644 index 1f05cc5c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent026.ets +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent026 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - messageOptions: { - font: { - weight: FontWeight.Bold - } - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0260') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent027.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent027.ets deleted file mode 100644 index b44cb707..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent027.ets +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent027 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - messageOptions: { - font: { - weight: FontWeight.Bolder - } - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0270') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent029.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent029.ets deleted file mode 100644 index 0b749230..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent029.ets +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent029 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - messageOptions: { - font: { - weight: 400 - } - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0290') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent030.ets deleted file mode 100644 index 644c69fe..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent030.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent030 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - messageOptions: { - font: { - weight: '30px' - } - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0300') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent032.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent032.ets deleted file mode 100644 index e92fa2a9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent032.ets +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent032 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - messageOptions: { - font: { - family: 'HarmonyOS Sans' - } - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0320') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent034.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent034.ets deleted file mode 100644 index 72eddd7a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent034.ets +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent034 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - messageOptions: { - font: { - family: getContext().resourceManager.getStringSync($r("app.string.popup_font_family")) - } - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0340') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent035.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent035.ets deleted file mode 100644 index 16a78a30..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent035.ets +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent035 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - messageOptions: { - font: { - style: FontStyle.Normal - } - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0350') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent036.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent036.ets deleted file mode 100644 index d37d9f3b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent036.ets +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent036 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - messageOptions: { - font: { - style: FontStyle.Italic - } - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0360') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent038.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent038.ets deleted file mode 100644 index 20303e41..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent038.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent038 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - targetSpace: '15%' - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .margin(0) - .padding(0) - .id('UIComponentSpecialComponentsFormComponentTransparent0380') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent039.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent039.ets deleted file mode 100644 index f5cb031e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent039.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent039 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - targetSpace: getContext().resourceManager.getStringSync($r("app.string.popup_target_space")) - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0390') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent040.ets deleted file mode 100644 index 323d7844..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent040.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent040 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - targetSpace: '15%' - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0400') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent053.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent053.ets deleted file mode 100644 index 310ebfaa..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent053.ets +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent053 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - radius: '100vp', - shadow: { - radius: getContext().resourceManager.getNumber($r("app.integer.100")) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0530') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent054.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent054.ets deleted file mode 100644 index 4e6ae25a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent054.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent054 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - radius: (getContext().resourceManager.getNumber($r("app.integer.negative30")) + 'px') as PX - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0540') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent056.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent056.ets deleted file mode 100644 index 49b849d9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent056.ets +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent056 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - shadow: { - radius: 2, - type: ShadowType.COLOR, - color: Color.Gray - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0560') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent057.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent057.ets deleted file mode 100644 index 4c23713d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent057.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent057 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - shadow: { - radius: 2, - type: ShadowType.BLUR, - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0570') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent059.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent059.ets deleted file mode 100644 index 766c5efe..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent059.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent059 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - shadow: { - radius: 2, - color: '#ee4508de' - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0590') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent060.ets deleted file mode 100644 index 8780ee44..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent060.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent060 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - shadow: { - radius: 2, - color: getContext().resourceManager.getColorSync($r("app.color.gray_color")) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0600') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent061.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent061.ets deleted file mode 100644 index a7ff9520..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent061.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent061 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - shadow: { - radius: 2, - color: ColoringStrategy.INVERT - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0610') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent062.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent062.ets deleted file mode 100644 index 339049bf..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent062.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent062 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - shadow: { - radius: 2, - color: ColoringStrategy.AVERAGE - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0620') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent063.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent063.ets deleted file mode 100644 index 3e5eb716..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent063.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent063 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - shadow: { - radius: 2, - color: ColoringStrategy.PRIMARY - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0630') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent065.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent065.ets deleted file mode 100644 index abc29ca3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent065.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent065 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - shadow: { - radius: 2, - offsetX: getContext().resourceManager.getNumber($r("app.integer.30")) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .margin(0) - .padding(0) - .id('UIComponentSpecialComponentsFormComponentTransparent0650') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent067.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent067.ets deleted file mode 100644 index 4a1cd711..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent067.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent067 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - shadow: { - radius: 2, - offsetY: getContext().resourceManager.getNumber($r("app.integer.30")) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .margin(0) - .padding(0) - .id('UIComponentSpecialComponentsFormComponentTransparent0670') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent071.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent071.ets deleted file mode 100644 index d27743d4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent071.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent071 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.Thin - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0710') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent072.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent072.ets deleted file mode 100644 index 2f98edff..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent072.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent072 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.Regular - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0720') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent073.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent073.ets deleted file mode 100644 index 6756a896..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent073.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent073 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.Thick - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0730') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent074.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent074.ets deleted file mode 100644 index b21d4383..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent074.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent074 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.BACKGROUND_THIN - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .margin(0) - .padding(0) - .id('UIComponentSpecialComponentsFormComponentTransparent0740') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent076.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent076.ets deleted file mode 100644 index 04c6da2c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent076.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent076 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.BACKGROUND_THICK - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .margin(0) - .padding(0) - .id('UIComponentSpecialComponentsFormComponentTransparent0760') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent077.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent077.ets deleted file mode 100644 index f6f0c321..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent077.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent077 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.BACKGROUND_ULTRA_THICK - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0770') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent078.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent078.ets deleted file mode 100644 index 5def558d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent078.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent078 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.NONE - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0780') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent079.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent079.ets deleted file mode 100644 index a0d3ee26..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent079.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent079 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.COMPONENT_ULTRA_THIN - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0790') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent080.ets deleted file mode 100644 index 99d28080..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent080.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent080 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.COMPONENT_THIN - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0800') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent081.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent081.ets deleted file mode 100644 index 193d57e2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent081.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent081 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.COMPONENT_REGULAR - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0810') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent082.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent082.ets deleted file mode 100644 index e28e7840..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent082.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent082 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.COMPONENT_THICK - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0820') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent083.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent083.ets deleted file mode 100644 index f87cf84a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent083.ets +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent083 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.COMPONENT_ULTRA_THICK - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0830') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent092.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent092.ets deleted file mode 100644 index 916b0de0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent092.ets +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent092 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup') - .fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0920') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - autoCancel: false - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent094.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent094.ets deleted file mode 100644 index d46e0e98..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent094.ets +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import prompt from '@system.prompt' - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent094 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0940') - .onClick(() => { - - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - onStateChange: (event) => { - if (event.isVisible) { - prompt.showToast({ - message: '成功改变弹窗的显示状态', - duration: 1000 - }) - } - } - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent096.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent096.ets deleted file mode 100644 index 922093fd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent096.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent096 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0960') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: true, - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent098.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent098.ets deleted file mode 100644 index e9271fdd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent098.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent098 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0980') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - mask: true - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent099.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent099.ets deleted file mode 100644 index c5e566ef..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent099.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent099 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent0990') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - mask: { - color: '#ee4508de' - } - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent100.ets deleted file mode 100644 index a73986ed..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent100.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent100 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1000') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - mask: { - color: getContext().resourceManager.getColorSync($r("app.color.gray_color")) - } - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent102.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent102.ets deleted file mode 100644 index 923157ab..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent102.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent102 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1020') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - targetSpace: '30px' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent103.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent103.ets deleted file mode 100644 index 495b2325..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent103.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent103 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1030') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - targetSpace: '15%' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent104.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent104.ets deleted file mode 100644 index 82fcf905..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent104.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent104 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1040') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - targetSpace: getContext().resourceManager.getStringSync($r("app.string.popup_target_space")) - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent105.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent105.ets deleted file mode 100644 index dbc1cb35..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent105.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent105 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1050') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - targetSpace: getContext().resourceManager.getStringSync($r("app.string.popup_arrow_offset")) - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent108.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent108.ets deleted file mode 100644 index 64eaf9ff..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent108.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent108 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1080') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - width: '30px' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent109.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent109.ets deleted file mode 100644 index 7c168c3f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent109.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent109 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1090') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - width: '30vp' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent110.ets deleted file mode 100644 index 2c294002..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent110.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent110 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1100') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - width: '30fp' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent111.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent111.ets deleted file mode 100644 index c8f1bdab..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent111.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent111 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1110') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - width: '30lpx' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent112.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent112.ets deleted file mode 100644 index 1e72927c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent112.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent112 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1120') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - width: '10%' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent113.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent113.ets deleted file mode 100644 index ecd9b4a0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent113.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent113 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1130') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - width: (getContext().resourceManager.getNumber($r("app.integer.30")) + 'px') as PX - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent115.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent115.ets deleted file mode 100644 index 271479e8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent115.ets +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent115 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1150') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - placement: Placement.Bottom, - arrowPointPosition: ArrowPointPosition.START - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent116.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent116.ets deleted file mode 100644 index 3e9dbdc7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent116.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent116 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - .height('100px') - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1160') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - placement: Placement.Right, - arrowPointPosition: ArrowPointPosition.START - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent117.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent117.ets deleted file mode 100644 index 6deff2a6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent117.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent117 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1170') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - arrowPointPosition: ArrowPointPosition.CENTER - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent118.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent118.ets deleted file mode 100644 index 1835737e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent118.ets +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent118 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1180') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - placement: Placement.Top, - arrowPointPosition: ArrowPointPosition.END - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent119.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent119.ets deleted file mode 100644 index 4f89ccf0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent119.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent119 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - .height('100px') - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1190') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - placement: Placement.Left, - arrowPointPosition: ArrowPointPosition.END, - }) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent121.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent121.ets deleted file mode 100644 index 5dd8398b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent121.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent121 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1210') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - arrowWidth: '30px' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent122.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent122.ets deleted file mode 100644 index 74808b8b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent122.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent122 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1220') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - arrowWidth: '30vp' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent123.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent123.ets deleted file mode 100644 index 9cb865d6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent123.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent123 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1230') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - arrowWidth: '30fp' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent124.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent124.ets deleted file mode 100644 index 6d27dbb5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent124.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent124 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1240') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - arrowWidth: '30lpx' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent125.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent125.ets deleted file mode 100644 index f5ca30b4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent125.ets +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent125 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1250') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - width: '100px', - arrowWidth: '10%' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent126.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent126.ets deleted file mode 100644 index f2bd11af..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent126.ets +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent126 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1260') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - arrowPointPosition: ArrowPointPosition.CENTER, - arrowWidth: (getContext().resourceManager.getNumber($r("app.integer.30")) + 'px') as PX - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent128.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent128.ets deleted file mode 100644 index 929792bf..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent128.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent128 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1280') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - arrowHeight: '30px' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent129.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent129.ets deleted file mode 100644 index 67808e59..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent129.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent129 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1290') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - arrowHeight: '30vp' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent130.ets deleted file mode 100644 index 21bbb970..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent130.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent130 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1300') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - arrowHeight: '30fp' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent131.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent131.ets deleted file mode 100644 index 2a1a2f90..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent131.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent131 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1310') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - arrowHeight: '30lpx' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent132.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent132.ets deleted file mode 100644 index dcd65d32..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent132.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent132 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1320') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - arrowHeight: '90%' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent133.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent133.ets deleted file mode 100644 index c8603dbc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent133.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent133 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1330') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - arrowHeight: (getContext().resourceManager.getNumber($r("app.integer.30")) + 'px') as PX - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent135.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent135.ets deleted file mode 100644 index 4f789976..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent135.ets +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent135 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1350') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - radius: '30px', - width: '100px' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent136.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent136.ets deleted file mode 100644 index cd226d88..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent136.ets +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent136 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1360') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - radius: '30vp', - width: '100px' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent137.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent137.ets deleted file mode 100644 index c829af37..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent137.ets +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent137 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1370') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - width: '100px', - radius: '30fp' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent138.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent138.ets deleted file mode 100644 index fbb4a5d5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent138.ets +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent138 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1380') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - radius: '30lpx', - width: '100px' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent139.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent139.ets deleted file mode 100644 index c6326886..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent139.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent139 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - popupOptions: PopupOptions = { - message: 'This is a popup', - placementOnTop: true, - showInSubWindow: false, - width: '100px', - radius: '10%' - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1390') - .onClick(() => { - this.handlePopup = !this.handlePopup; - }) - .bindPopup(this.handlePopup, this.popupOptions) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent140.ets deleted file mode 100644 index 8c230920..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent140.ets +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent140 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - resourceRadius: Resource = $r("app.string.popup_width"); - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1400') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - radius: (getContext().resourceManager.getNumber($r("app.integer.30")) + 'px') as PX - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent142.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent142.ets deleted file mode 100644 index 7b20eedc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent142.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent142 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1420') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - shadow: { - radius: getContext().resourceManager.getNumber($r("app.integer.30")), - }, - width: '100px' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent143.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent143.ets deleted file mode 100644 index ef84fe8b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent143.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent143 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - resourceRadius: Resource = $r("app.string.popup_radius"); - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1430') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - radius: (getContext().resourceManager.getNumber($r("app.integer.100")) + 'vp') as VP, - width: '100px' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent144.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent144.ets deleted file mode 100644 index 2394bc91..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent144.ets +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent144 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1440') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - radius: (getContext().resourceManager.getNumber($r("app.integer.30")) + 'px') as PX, - width: '100px' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent146.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent146.ets deleted file mode 100644 index 68a058a1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent146.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent146 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1460') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - shadow: { - radius: 2, - type: ShadowType.COLOR, - color: Color.Gray - }, - width: '100vp' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent147.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent147.ets deleted file mode 100644 index ac69b897..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent147.ets +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent147 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1470') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - shadow: { - radius: 2, - type: ShadowType.BLUR, - }, - width: '100vp' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent149.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent149.ets deleted file mode 100644 index c8483c8d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent149.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent149 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1490') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - shadow: { - radius: 2, - type: ShadowType.COLOR, - color: Color.Pink - }, - width: '100vp' - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent150.ets deleted file mode 100644 index e9b52040..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent150.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent150 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1500') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - shadow: { - radius: 2, - color: '#ee4508de' - }, - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent151.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent151.ets deleted file mode 100644 index 03e6511f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent151.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent151 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1510') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - shadow: { - radius: 2, - color: getContext().resourceManager.getColorSync($r("app.color.gray_color")) - } - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent152.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent152.ets deleted file mode 100644 index 6b8f78a6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent152.ets +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent152 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1520') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - shadow: { - radius: 2, - type: ShadowType.COLOR, - color: ColoringStrategy.INVERT - }, - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent153.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent153.ets deleted file mode 100644 index fa0db13c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent153.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent153 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1530') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - shadow: { - radius: 2, - color: ColoringStrategy.AVERAGE - }, - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent154.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent154.ets deleted file mode 100644 index 0213f1cf..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent154.ets +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent154 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1540') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - shadow: { - radius: 2, - type: ShadowType.COLOR, - color: ColoringStrategy.PRIMARY - }, - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent156.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent156.ets deleted file mode 100644 index 88d8a0d6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent156.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent156 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1560') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - shadow: { - radius: 2, - offsetX: 30 - } - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent157.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent157.ets deleted file mode 100644 index 62fe9eab..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent157.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent157 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1570') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - shadow: { - radius: 2, - offsetX: getContext().resourceManager.getNumber($r("app.integer.30")) - }, - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent159.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent159.ets deleted file mode 100644 index 6679c60e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent159.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent159 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1590') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - shadow: { - radius: 2, - offsetY: 30 - } - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent160.ets deleted file mode 100644 index d8c263ec..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent160.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent160 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1600') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - shadow: { - radius: 2, - offsetY: getContext().resourceManager.getNumber($r("app.integer.30")) - } - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent162.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent162.ets deleted file mode 100644 index 8278ad7f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent162.ets +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent162 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1620') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - shadow: { - radius: 2, - fill: true - } - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent164.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent164.ets deleted file mode 100644 index 31aa333d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent164.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent164 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1640') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - shadow: ShadowStyle.OUTER_DEFAULT_XS - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent165.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent165.ets deleted file mode 100644 index 0b5dec17..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent165.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent165 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1650') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - shadow: ShadowStyle.OUTER_DEFAULT_SM - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent166.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent166.ets deleted file mode 100644 index d299a1e8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent166.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent166 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1660') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - shadow: ShadowStyle.OUTER_DEFAULT_MD - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent167.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent167.ets deleted file mode 100644 index d9021373..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent167.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent167 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1670') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - shadow: ShadowStyle.OUTER_DEFAULT_LG - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent168.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent168.ets deleted file mode 100644 index f04852a1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent168.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent168 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1680') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - shadow: ShadowStyle.OUTER_FLOATING_SM - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent169.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent169.ets deleted file mode 100644 index 56c00452..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent169.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent169 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1690') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - shadow: ShadowStyle.OUTER_FLOATING_MD - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent171.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent171.ets deleted file mode 100644 index 0db8d74f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent171.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent171 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1710') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.Thin - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent172.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent172.ets deleted file mode 100644 index fb04b95b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent172.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent172 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1720') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.Regular - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent173.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent173.ets deleted file mode 100644 index 17e99bb2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent173.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent173 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1730') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.Thick - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent174.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent174.ets deleted file mode 100644 index c01218af..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent174.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent174 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1740') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.BACKGROUND_THIN - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent175.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent175.ets deleted file mode 100644 index 78dab80c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent175.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent175 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1750') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.BACKGROUND_REGULAR - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent176.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent176.ets deleted file mode 100644 index 18e68e90..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent176.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent176 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1760') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.BACKGROUND_THICK - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent177.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent177.ets deleted file mode 100644 index 81559d1d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent177.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent177 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1770') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.BACKGROUND_ULTRA_THICK - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent178.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent178.ets deleted file mode 100644 index 15ec6471..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent178.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent178 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1780') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.NONE - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent179.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent179.ets deleted file mode 100644 index c0199abf..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent179.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent179 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1790') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.COMPONENT_ULTRA_THIN - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent180.ets deleted file mode 100644 index cc95a42f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent180.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent180 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1800') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.COMPONENT_THIN - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent181.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent181.ets deleted file mode 100644 index 48cc8f35..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent181.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent181 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1810') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.COMPONENT_REGULAR - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent182.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent182.ets deleted file mode 100644 index b880339a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent182.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent182 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1820') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.COMPONENT_THICK - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent183.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent183.ets deleted file mode 100644 index 26b21711..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent183.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent183 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1830') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - backgroundBlurStyle: BlurStyle.COMPONENT_ULTRA_THICK - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent184.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent184.ets deleted file mode 100644 index 009f8fbd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent184.ets +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsFormComponentTransparent184 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - @State textTip: string = ''; - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - .focusable(true) - .onFocus(() => { - this.textTip = '获取焦点'; - }) - .onBlur(() => { - this.textTip = '失去焦点'; - }) - } - - build() { - Row() { - Column() { - Text('popup组件状态: ' + this.textTip) - Button(this.message) - .fontSize(20) - .fontColor(Color.Blue) - .id('UIComponentSpecialComponentsFormComponentTransparent1840') - .onClick(() => { - this.customPopup = !this.customPopup; - }) - .bindPopup(this.customPopup, { - builder: this.popupBuilder, - enableArrow: true, - showInSubWindow: false, - focusable: true - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange001.ets deleted file mode 100644 index 436c2f50..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange001.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsUIExtensionComponentPopupChange001 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - @State text: string = 'This is a text tip, please input text!'; - @State index: number = 0; - controller: TextInputController = new TextInputController(); - - build() { - Row() { - Column() { - TextInput({ text: $$this.text, controller: this.controller }) - .placeholderFont({ size: 16, weight: 400 }) - .showUnderline(true) - .showCounter(true, { thresholdPercentage: 50, highlightBorder: true }) - .id('UIComponentSpecialComponentsUIExtensionComponentPopupChange0010') - .onClick(() => { - if (!this.handlePopup) { - this.handlePopup = true; - } - }) - .bindPopup(this.handlePopup, { - message: this.text, - placementOnTop: true, - showInSubWindow: false, - autoCancel: false - }) - .width(300) - .height(60) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Top) - .justifyContent(FlexAlign.Start) - } -} - diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange002.ets deleted file mode 100644 index 08183ae3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange002.ets +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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"; - -@Entry -@Component -struct UIComponentSpecialComponentsUIExtensionComponentPopupChange002 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - @State text: string = 'This is a text tip'; - @State index: number = 0; - controller: TextInputController = new TextInputController(); - - private changeOrientation() { - try { - window.getLastWindow(getContext(this), (err, data) => { - if (err.code) { - return; - } - let windowClass = data; - let orientation = window.Orientation.LANDSCAPE; - try { - windowClass.setPreferredOrientation(orientation, (err) => { - if (err.code) { - return; - } - }); - } catch (exception) { - } - ; - }); - } catch (exception) { - } - } - - build() { - Row() { - Column() { - TextInput({ text: $$this.text, controller: this.controller }) - .placeholderFont({ size: 16, weight: 400 }) - .showUnderline(true) - .showCounter(true, { thresholdPercentage: 50, highlightBorder: true }) - .id('UIComponentSpecialComponentsUIExtensionComponentPopupChange0020') - .onClick(() => { - if (!this.handlePopup) { - this.handlePopup = true; - } - }) - .onChange(() => { - this.index++; - if (this.index === 3) { - this.changeOrientation(); - } - }) - .bindPopup(this.handlePopup, { - message: this.text, - placementOnTop: true, - showInSubWindow: false, - autoCancel: false - }) - .width(300) - .height(60) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Top) - .justifyContent(FlexAlign.Start) - } -} - diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange003.ets deleted file mode 100644 index 18bc52a3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange003.ets +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsUIExtensionComponentPopupChange003 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - @State text: string = - 'This is a UIComponentSpecialComponentsUIExtensionComponentPopupChange003 tip, please input text!'; - @State index: number = 0; - controller: TextInputController = new TextInputController(); - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - TextInput({ text: $$this.text, controller: this.controller }) - .placeholderFont({ size: 16, weight: 400 }) - .showUnderline(true) - .showCounter(true, { thresholdPercentage: 50, highlightBorder: true }) - .id('UIComponentSpecialComponentsUIExtensionComponentPopupChange0030') - .onClick(() => { - if (!this.customPopup) { - this.customPopup = true; - } - }) - .bindPopup(this.customPopup, { - message: this.text, - builder: this.popupBuilder, - placement: Placement.RightTop, - enableArrow: true, - showInSubWindow: false, - autoCancel: false, - }) - .width('100%') - .height(60) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Top) - .justifyContent(FlexAlign.End) - } -} - diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange004.ets deleted file mode 100644 index e127534a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange004.ets +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsUIExtensionComponentPopupChange004 { - @State message: string = 'Hello'; - @State customPopup: boolean = false; - @State text: string = - 'This is a UIComponentSpecialComponentsUIExtensionComponentPopupChange004 tip, please input text!'; - @State index: number = 0; - controller: TextInputController = new TextInputController(); - - @Builder - popupBuilder() { - Row({ space: 2 }) { - Text('This is a custom popup').fontSize(10) - } - } - - build() { - Row() { - Column() { - TextInput({ text: $$this.text, controller: this.controller }) - .placeholderFont({ size: 16, weight: 400 }) - .showUnderline(true) - .showCounter(true, { thresholdPercentage: 50, highlightBorder: true }) - .id('UIComponentSpecialComponentsUIExtensionComponentPopupChange0040') - .onClick(() => { - if (!this.customPopup) { - this.customPopup = true; - } - }) - .bindPopup(this.customPopup, { - message: this.text, - builder: this.popupBuilder, - placement: Placement.RightTop, - enableArrow: true, - showInSubWindow: false, - autoCancel: false, - }) - .width('100%') - .height(60) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Top) - .justifyContent(FlexAlign.End) - } -} - diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange005.ets deleted file mode 100644 index 44bd8552..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange005.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsUIExtensionComponentPopupChange005 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - @State text: string = 'This is a text tip'; - controller: TextInputController = new TextInputController(); - - build() { - Row() { - Column() { - TextInput({ text: $$this.text, controller: this.controller }) - .placeholderFont({ size: 16, weight: 400 }) - .showUnderline(true) - .showCounter(true, { thresholdPercentage: 50, highlightBorder: true }) - .id('UIComponentSpecialComponentsUIExtensionComponentPopupChange0051') - .onClick(() => { - if (!this.handlePopup) { - this.handlePopup = true; - } - }) - .bindPopup(this.handlePopup, { - message: this.text, - placementOnTop: true, - showInSubWindow: false, - autoCancel: false - }) - .width(300) - .height(60) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Top) - .justifyContent(FlexAlign.Start) - } -} - diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange006.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange006.ets deleted file mode 100644 index 17f1c8b6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange006.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentSpecialComponentsUIExtensionComponentPopupChange006 { - @State message: string = 'Hello'; - @State handlePopup: boolean = false; - @State text: string = 'This is a text tip'; - @State index: number = 0; - controller: TextInputController = new TextInputController(); - - build() { - Row() { - Column() { - TextInput({ text: this.text, controller: this.controller }) - .placeholderFont({ size: 16, weight: 400 }) - .showUnderline(true) - .showCounter(true, { thresholdPercentage: 50, highlightBorder: true }) - .id('UIComponentSpecialComponentsUIExtensionComponentPopupChange0060') - .onClick(() => { - if (!this.handlePopup) { - this.handlePopup = true; - } - }) - .bindPopup(this.handlePopup, { - message: this.text, - placementOnTop: true, - showInSubWindow: false, - autoCancel: false - }) - .width(300) - .height(60) - } - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Top) - .justifyContent(FlexAlign.Start) - } -} - diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0010.ets deleted file mode 100644 index 89c89a75..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0010.ets +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI' - -@Entry -@Component -struct UIComponentTabTabBarSymbol0010 { - @State symbolModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_wifi')).fontColor([Color.Red]) - .renderingStrategy(SymbolRenderingStrategy.SINGLE); - - build() { - Column({ space: 5 }) { - Text("底部页签样式") - Column() { - Tabs({ barPosition: BarPosition.End }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle({ - normal: (this.symbolModifier1), - }, 'Pink')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Orange) - }.tabBar(new BottomTabBarStyle({ - normal: (this.symbolModifier1), - }, 'Orange')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle({ - normal: (this.symbolModifier1), - }, 'Blue')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle({ - normal: (this.symbolModifier1), - }, 'Green')); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0020.ets deleted file mode 100644 index 704f5cce..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0020.ets +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI' - -@Entry -@Component -struct UIComponentTabTabBarSymbol0020 { - @State symbolModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.media.ohos_app_icon')).fontColor([Color.Red]) - .renderingStrategy(SymbolRenderingStrategy.SINGLE); - - build() { - Column({ space: 5 }) { - Text("底部页签样式") - Column() { - Tabs({ barPosition: BarPosition.End }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle({ - normal: (this.symbolModifier1), - }, 'Pink')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Orange) - }.tabBar(new BottomTabBarStyle({ - normal: (this.symbolModifier1), - }, 'Orange')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle({ - normal: (this.symbolModifier1), - }, 'Blue')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle({ - normal: (this.symbolModifier1), - }, 'Green')); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0030.ets deleted file mode 100644 index e780d6fe..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0030.ets +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI' - -@Entry -@Component -struct UIComponentTabTabBarSymbol0030 { - @State symbolModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('app.media.magnifier')).fontColor([Color.Red]) - .renderingStrategy(SymbolRenderingStrategy.SINGLE); - - build() { - Column({ space: 5 }) { - Text("底部页签样式") - Column() { - Tabs({ barPosition: BarPosition.End }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle({ - normal: (this.symbolModifier1), - }, 'Pink')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Orange) - }.tabBar(new BottomTabBarStyle({ - normal: (this.symbolModifier1), - }, 'Orange')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle({ - normal: (this.symbolModifier1), - }, 'Blue')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle({ - normal: (this.symbolModifier1), - }, 'Green')); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0040.ets deleted file mode 100644 index 9c53f6d1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0040.ets +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI' - -@Entry -@Component -struct UIComponentTabTabBarSymbol0040 { - @State symbolModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_wifi')); - @State symbolModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ellipsis_bubble')); - @State symbolModifier3: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.dot_video')); - @State symbolModifier4: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.exposure')); - @State normalIcocn: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.media.ohos_app_icon')); - - build() { - Column({ space: 5 }) { - Text("底部页签样式") - Column() { - Tabs({ barPosition: BarPosition.End }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle({ - normal: this.normalIcocn, - selected: this.symbolModifier1 - }, 'Pink').id('Pink')) - .onWillShow(() => { - console.info("Pink will show") - }) - .onWillHide(() => { - console.info("Pink will hide") - }) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Orange) - }.tabBar(new BottomTabBarStyle({ - normal: this.normalIcocn, - selected: this.symbolModifier2 - }, 'Orange').id('Orange')) - .onWillShow(() => { - console.info("Orange will show") - }) - .onWillHide(() => { - console.info("Orange will hide") - }) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle({ - normal: this.normalIcocn, - selected: this.symbolModifier3 - }, 'Blue').id('Blue')) - .onWillShow(() => { - console.info("Blue will show") - }) - .onWillHide(() => { - console.info("Blue will hide") - }) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle({ - normal: this.normalIcocn, - selected: this.symbolModifier4 - }, 'Green').id('Green')) - .onWillShow(() => { - console.info("Green will show") - }) - .onWillHide(() => { - console.info("Green will hide") - }) - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5) - }.width('100%').height(200) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0060.ets deleted file mode 100644 index 3c50776d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0060.ets +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI' - -@Entry -@Component -struct UIComponentTabTabBarSymbol0060 { - @State symbolModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_wifi')).fontColor([Color.Red]) - .renderingStrategy(SymbolRenderingStrategy.SINGLE); - @State symbolModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ellipsis_bubble')).fontColor([Color.Pink]) - .renderingStrategy(SymbolRenderingStrategy.SINGLE); - @State symbolModifier3: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.dot_video')).fontColor([Color.Yellow]) - .renderingStrategy(SymbolRenderingStrategy.SINGLE); - @State symbolModifier4: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.exposure')).fontColor([Color.Green]) - .renderingStrategy(SymbolRenderingStrategy.SINGLE); - - build() { - Column({ space: 5 }) { - Text("底部页签样式") - Column() { - Tabs({ barPosition: BarPosition.End }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier1, - }, 'Pink')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Orange) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier2, - }, 'Orange')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier3, - }, 'Blue')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier4, - }, 'Green')) - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5) - }.width('100%').height(200) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0070.ets deleted file mode 100644 index ebba5702..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0070.ets +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI' - -@Entry -@Component -struct UIComponentTabTabBarSymbol0070 { - @State symbolModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_wifi')).fontColor([Color.Red]) - .renderingStrategy(SymbolRenderingStrategy.MULTIPLE_COLOR); - @State symbolModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ellipsis_bubble')).fontColor([Color.Pink]) - .renderingStrategy(SymbolRenderingStrategy.MULTIPLE_COLOR); - @State symbolModifier3: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.dot_video')).fontColor([Color.Yellow]) - .renderingStrategy(SymbolRenderingStrategy.MULTIPLE_COLOR); - @State symbolModifier4: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.exposure')).fontColor([Color.Green]) - .renderingStrategy(SymbolRenderingStrategy.MULTIPLE_COLOR); - - build() { - Column({ space: 5 }) { - Text("底部页签样式") - Column() { - Tabs({ barPosition: BarPosition.End }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier1, - }, 'Pink')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Orange) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier2, - }, 'Orange')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier3, - }, 'Blue')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier4, - }, 'Green')) - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5) - }.width('100%').height(200) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0080.ets deleted file mode 100644 index acb4ca1e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0080.ets +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI' - -@Entry -@Component -struct UIComponentTabTabBarSymbol0080 { - @State symbolModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_wifi')).fontColor([Color.Red]) - .renderingStrategy(SymbolRenderingStrategy.MULTIPLE_OPACITY); - @State symbolModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ellipsis_bubble')).fontColor([Color.Pink]) - .renderingStrategy(SymbolRenderingStrategy.MULTIPLE_OPACITY); - @State symbolModifier3: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.dot_video')).fontColor([Color.Yellow]) - .renderingStrategy(SymbolRenderingStrategy.MULTIPLE_OPACITY); - @State symbolModifier4: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.exposure')).fontColor([Color.Green]) - .renderingStrategy(SymbolRenderingStrategy.MULTIPLE_OPACITY); - - build() { - Column({ space: 5 }) { - Text("底部页签样式") - Column() { - Tabs({ barPosition: BarPosition.End }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier1, - }, 'Pink')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Orange) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier2, - }, 'Orange')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier3, - }, 'Blue')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier4, - }, 'Green')) - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5) - }.width('100%').height(200) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0090.ets deleted file mode 100644 index ce9e706b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0090.ets +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI' - -@Entry -@Component -struct UIComponentTabTabBarSymbol0090 { - @State symbolModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_wifi')).fontSize(160); - build() { - Column({space: 5}) { - Text("底部页签样式") - Column(){ - Tabs({barPosition: BarPosition.End}) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier1, - }, 'Pink').id('Pink')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Orange) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier1, - }, 'Orange').id('Orange')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier1, - }, 'Blue').id('Blue')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier1, - }, 'Green').id('Green')) - } - .vertical(false) - .scrollable(true) - .barHeight(150) - .barMode(BarMode.Fixed) - .onChange((index:number)=>{ - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5) - }.width('100%').height(500) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0110.ets deleted file mode 100644 index 47087927..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0110.ets +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI' - -@Entry -@Component -struct UIComponentTabTabBarSymbol0110 { - build() { - Column({space: 5}) { - Text("底部页签样式") - Column(){ - Tabs({barPosition: BarPosition.End}) { - TabContent() { - Column().width(70).height(70).backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle({ - normal: undefined, - }, 'Pink')) - - TabContent() { - Column().width(80).height(80).backgroundColor(Color.Orange) - }.tabBar(new BottomTabBarStyle({ - normal: undefined, - }, 'Orange')) - - TabContent() { - Column().width(90).height(90).backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle({ - normal: undefined, - }, 'Blue')) - - TabContent() { - Column().width(100).height(100).backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle({ - normal: undefined, - }, 'Green')) - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index:number)=>{ - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5) - }.width('100%').height(300) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0120.ets deleted file mode 100644 index 4c180d42..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0120.ets +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI' - -@Entry -@Component -struct UIComponentTabTabBarSymbol0120 { - build() { - Column({space: 5}) { - Text("底部页签样式") - Column(){ - Tabs({barPosition: BarPosition.End}) { - TabContent() { - Column().width(70).height(70).backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle({ - normal: null, - }, 'Pink')) - - TabContent() { - Column().width(80).height(80).backgroundColor(Color.Orange) - }.tabBar(new BottomTabBarStyle({ - normal: null, - }, 'Orange')) - - TabContent() { - Column().width(90).height(90).backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle({ - normal: null, - }, 'Blue')) - - TabContent() { - Column().width(100).height(100).backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle({ - normal: null, - }, 'Green')) - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index:number)=>{ - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5) - }.width('100%').height(300) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0130.ets deleted file mode 100644 index dd586880..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0130.ets +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI' - -@Entry -@Component -struct UIComponentTabTabBarSymbol0130 { - @State symbolModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_wifi')).fontColor([Color.Red]) - .renderingStrategy(SymbolRenderingStrategy.SINGLE); - @State symbolModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ellipsis_bubble')).fontColor([Color.Pink]) - .renderingStrategy(SymbolRenderingStrategy.SINGLE); - @State flag: boolean = true; - - build() { - Column({ space: 5 }) { - Text("底部页签样式") - Column() { - Tabs({ barPosition: BarPosition.End }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle({ - normal: (this.flag ? this.symbolModifier1 : this.symbolModifier2), - }, 'Pink')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Orange) - }.tabBar(new BottomTabBarStyle({ - normal: (this.flag ? this.symbolModifier1 : this.symbolModifier2), - }, 'Orange')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle({ - normal: (this.flag ? this.symbolModifier1 : this.symbolModifier2), - }, 'Blue')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle({ - normal: (this.flag ? this.symbolModifier1 : this.symbolModifier2), - }, 'Green')); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - - - Button('样式切换').width('50%') - .onClick(() => { - this.flag = !this.flag - }).id('UIComponentTabTabBarSymbol0130_001'); - }.width('100%').height(200) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0140.ets deleted file mode 100644 index 9f0655de..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0140.ets +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI' - -@Entry -@Component -struct UIComponentTabTabBarSymbol0140 { - @State symbolModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_wifi')).fontColor([Color.Red]) - .renderingStrategy(SymbolRenderingStrategy.SINGLE); - @State symbolModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ellipsis_bubble')).fontColor([Color.Pink]) - .renderingStrategy(SymbolRenderingStrategy.SINGLE); - @State symbolModifier3: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.dot_video')).fontColor([Color.Yellow]) - .renderingStrategy(SymbolRenderingStrategy.SINGLE); - @State symbolModifier4: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.exposure')).fontColor([Color.Green]) - .renderingStrategy(SymbolRenderingStrategy.SINGLE); - @State flag: boolean = true; - - build() { - Column({ space: 5 }) { - Text("底部页签样式") - Column() { - Tabs({ barPosition: BarPosition.End }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle({ - normal: (this.flag ? this.symbolModifier1 : undefined), - }, 'Pink')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Orange) - }.tabBar(new BottomTabBarStyle({ - normal: (this.flag ? this.symbolModifier2 : undefined), - }, 'Orange')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle({ - normal: (this.flag ? this.symbolModifier3 : undefined), - }, 'Blue')) - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle({ - normal: (this.flag ? this.symbolModifier4 : undefined), - }, 'Green')) - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5) - - - Button('样式切换').width('50%') - .onClick(() => { - this.flag = !this.flag - }).id('UIComponentTabTabBarSymbol0140_001') - }.width('100%').height(200) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0150.ets deleted file mode 100644 index 5057fc0c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0150.ets +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI' - -@Entry -@Component -struct UIComponentTabTabBarSymbol0150 { - @State symbolModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_wifi')).fontColor([Color.Red]) - .renderingStrategy(SymbolRenderingStrategy.SINGLE); - @State flag: boolean = false; - - build() { - Column({ space: 5 }) { - Text("底部页签样式") - Column() { - Tabs({ barPosition: BarPosition.End }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor('#66000000') - }.tabBar(new BottomTabBarStyle(this.flag ? $r("app.media.magnifier"):{ - normal: (this.symbolModifier1), - }, 'Pink')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor('#66000000') - }.tabBar(new BottomTabBarStyle(this.flag ? $r("app.media.magnifier"):{ - normal: (this.symbolModifier1), - }, 'Orange')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor('#66000000') - }.tabBar(new BottomTabBarStyle(this.flag ? $r("app.media.magnifier"):{ - normal: (this.symbolModifier1), - }, 'Blue')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor('#66000000') - }.tabBar(new BottomTabBarStyle(this.flag ? $r("app.media.magnifier"):{ - normal: (this.symbolModifier1), - }, 'Green')); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - - }.width('100%').height(200) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0160.ets deleted file mode 100644 index da3faed1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0160.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI' - -@Entry -@Component -struct UIComponentTabTabBarSymbol0160 { - @State symbolModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_wifi')).fontColor([Color.Red]) - .renderingStrategy(SymbolRenderingStrategy.SINGLE); - - build() { - Column({ space: 5 }) { - Text("底部页签样式") - Column() { - Tabs({ barPosition: BarPosition.End }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier1, - selected: null - }, 'Pink')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Orange) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier1, - selected: null - }, 'Orange')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier1, - selected: null - }, 'Blue')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier1, - selected: null - }, 'Green')); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - - }.width('100%').height(200) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0170.ets deleted file mode 100644 index 877fe9c7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0170.ets +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI' - -@Entry -@Component -struct UIComponentTabTabBarSymbol0170 { - @State symbolModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_wifi')).fontColor([Color.Red]) - .renderingStrategy(SymbolRenderingStrategy.SINGLE); - - build() { - Column({ space: 5 }) { - Text("底部页签样式") - Column() { - Tabs({ barPosition: BarPosition.End }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier1, - selected: undefined - }, 'Pink')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Orange) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier1, - selected: undefined - }, 'Orange')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier1, - selected: undefined - }, 'Blue')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier1, - selected: undefined - }, 'Green')); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - - }.width('100%').height(200) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0180.ets deleted file mode 100644 index b3218bd6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0180.ets +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI' - -@Entry -@Component -struct UIComponentTabTabBarSymbol0180 { - @State symbolModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_wifi')).fontColor([Color.Red]) - .renderingStrategy(SymbolRenderingStrategy.SINGLE); - build() { - Column({ space: 5 }) { - Text("底部页签样式") - Column() { - Tabs({ barPosition: BarPosition.End }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier1, - }, 'Pink')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Orange) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier1, - }, 'Orange')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier1, - }, 'Blue')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier1, - }, 'Green')); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - - }.width('100%').height(200) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0190.ets deleted file mode 100644 index d4656f89..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0190.ets +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI' - -@Entry -@Component -struct UIComponentTabTabBarSymbol0190 { - @State symbolModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_wifi')).fontColor([Color.Red]) - .renderingStrategy(SymbolRenderingStrategy.SINGLE); - @State symbolModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ellipsis_bubble')).fontColor([Color.Pink]) - .renderingStrategy(SymbolRenderingStrategy.SINGLE); - @State flag: boolean = false; - - build() { - Column({ space: 5 }) { - Text("底部页签样式") - Column() { - Tabs({ barPosition: BarPosition.End }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle({ - //normal: (this.flag ? this.symbolModifier1 : undefined), - normal: this.symbolModifier1, - selected: (this.flag ? this.symbolModifier2 : undefined), - }, 'Pink')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Orange) - }.tabBar(new BottomTabBarStyle({ - //normal: (this.flag ? this.symbolModifier1 : undefined), - normal: this.symbolModifier1, - selected: (this.flag ? this.symbolModifier2 : undefined), - }, 'Orange')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle({ - //normal: (this.flag ? this.symbolModifier1 : undefined), - normal: this.symbolModifier1, - selected: (this.flag ? this.symbolModifier2 : undefined), - }, 'Blue')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle({ - //normal: (this.flag ? this.symbolModifier1 : undefined), - normal: this.symbolModifier1, - selected: (this.flag ? this.symbolModifier2 : undefined), - }, 'Green')); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - - Button('样式切换').width('50%') - .onClick(() => { - this.flag = !this.flag - }).id('UIComponentTabTabBarSymbol0190_001'); - }.width('100%').height(200) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0230.ets deleted file mode 100644 index f0b4156d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0230.ets +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI' - -@Entry -@Component -struct UIComponentTabTabBarSymbol0230 { - @State symbolModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_wifi')).fontColor([Color.Red]) - .renderingStrategy(SymbolRenderingStrategy.SINGLE); - - build() { - Column({ space: 5 }) { - Text("底部页签样式") - Column() { - Tabs({ barPosition: BarPosition.End }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle({ - normal: (this.symbolModifier1), - }, 'Pink')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Orange) - }.tabBar(new BottomTabBarStyle({ - normal: (this.symbolModifier1), - }, 'Orange')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle({ - normal: (this.symbolModifier1), - }, 'Blue')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle({ - normal: (this.symbolModifier1), - }, 'Green')); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - }.width('100%').height(200) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0260.ets deleted file mode 100644 index fa8235c7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0260.ets +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@kit.ArkUI' - -@Entry -@Component -struct UIComponentTabTabBarSymbol0260 { - @State symbolModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_wifi')).fontColor([Color.Red]) - .renderingStrategy(SymbolRenderingStrategy.SINGLE); - @State flag: boolean = true; - - build() { - Column({ space: 5 }) { - Text("底部页签样式") - Column() { - Tabs({ barPosition: BarPosition.End }) { - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Pink) - }.tabBar(new BottomTabBarStyle(this.flag ? $r("app.media.magnifier"):{ - normal: (this.symbolModifier1), - }, 'Pink')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Orange) - }.tabBar(new BottomTabBarStyle(this.flag ? $r("app.media.magnifier"):{ - normal: (this.symbolModifier1), - }, 'Orange')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Blue) - }.tabBar(new BottomTabBarStyle(this.flag ? $r("app.media.magnifier"):{ - normal: (this.symbolModifier1), - }, 'Blue')); - - TabContent() { - Column().width('100%').height('100%').backgroundColor(Color.Green) - }.tabBar(new BottomTabBarStyle(this.flag ? $r("app.media.magnifier"):{ - normal: (this.symbolModifier1), - }, 'Green')); - } - .vertical(false) - .scrollable(true) - .barMode(BarMode.Fixed) - .onChange((index: number) => { - console.info(index.toString()) - }) - .width('100%') - .backgroundColor(0xF1F3F5); - - Button('样式切换').width('50%') - .onClick(() => { - this.flag = !this.flag - }).id('UIComponentTabTabBarSymbol0260_001'); - }.width('100%').height(200) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabbarTabbarsymbol0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabbarTabbarsymbol0050.ets deleted file mode 100644 index afd3436b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabbarTabbarsymbol0050.ets +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentTabTabbarTabbarsymbol0050 { - @State isModifier: boolean = true; - @State currentIndex: number = 0; - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK; - @State symbolModifier: SymbolGlyphModifier = new SymbolGlyphModifier($r('app.media.openeye')); - @State symbolModifiers: SymbolGlyphModifier = new SymbolGlyphModifier($r('app.media.icon')); - @State symbolModifierSelect: SymbolGlyphModifier = new SymbolGlyphModifier($r('app.media.closeeye')); - private controller: TabsController = new TabsController(); - - build() { - Column() { - Button('isModifier') - .id('UIComponentTabTabbarTabbarsymbol0050_001') - .onClick(() => { - this.isModifier = !this.isModifier; - }) - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle({ - normal: this.isModifier ? this.symbolModifier : this.symbolModifiers, - selected: this.symbolModifierSelect - }, 'Black') - .iconStyle({ unselectedColor: this.isModifier ? Color.Red : Color.Pink, selectedColor: Color.Green })) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle({ - normal: this.isModifier ? this.symbolModifier : this.symbolModifiers, - selected: this.symbolModifierSelect - }, 'Pink')) - - } - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .barOverlap(true) - .barGridAlign( - { - lg: 10 - } - ) - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabbarTabbarsymbol0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabbarTabbarsymbol0240.ets deleted file mode 100644 index 7ead2fcc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabbarTabbarsymbol0240.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentTabTabbarTabbarsymbol0240 { - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - private controller: TabsController = new TabsController() - @State symbolModifier: SymbolGlyphModifier = new SymbolGlyphModifier($r('app.media.icon')) - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier - }, 'Black')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier - }, 'Pink')) - - } - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .barOverlap(true) - .barGridAlign( - { - lg:10 - } - ) - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabbarTabbarsymbol0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabbarTabbarsymbol0250.ets deleted file mode 100644 index 8bb31d68..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabbarTabbarsymbol0250.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { SymbolGlyphModifier } from '@ohos.arkui.modifier' - -@Entry -@Component -struct UIComponentTabTabbarTabbarsymbol0250 { - @State currentIndex: number = 0 - @State blurStyle: BlurStyle = BlurStyle.BACKGROUND_THICK - @State symbolModifier: SymbolGlyphModifier = new SymbolGlyphModifier($r('app.media.openeye')) - @State symbolModifierSelect: SymbolGlyphModifier = new SymbolGlyphModifier($r('app.media.closeeye')) - private controller: TabsController = new TabsController() - - build() { - Column() { - Tabs({ barPosition: BarPosition.Start, index: this.currentIndex, controller: this.controller }) { - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Black) - } - .tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier, - selected: this.symbolModifierSelect - }, 'Black')) - - TabContent() { - Column().width(500).height('100%').backgroundColor(Color.Pink) - } - .tabBar(new BottomTabBarStyle({ - normal: this.symbolModifier, - selected: this.symbolModifierSelect - }, 'Black')) - - } - .barBackgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) - .barOverlap(true) - .barGridAlign( - { - lg: 10 - } - ) - .height(296) - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater001.ets index e96f7f21..d2b4a7bd 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater001.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater001.ets @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import { AttributeUpdater } from '@kit.ArkUI' class MyTextModifier extends AttributeUpdater { diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater002.ets index a8451ab7..186c938e 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater002.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater002.ets @@ -1,3 +1,17 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import { AttributeUpdater } from '@kit.ArkUI' class MyTextModifier extends AttributeUpdater { diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater003.ets index a2b864ad..ac4c9eb1 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater003.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater003.ets @@ -1,3 +1,17 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import { AttributeUpdater } from '@kit.ArkUI' class MyTextModifier extends AttributeUpdater { diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater004.ets index f881eecb..6328a549 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater004.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater004.ets @@ -1,3 +1,17 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import { AttributeUpdater } from '@kit.ArkUI' class MyTextModifier extends AttributeUpdater { diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater005.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater005.ets index 399ea786..60d07c7d 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater005.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater005.ets @@ -1,3 +1,17 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import { AttributeUpdater } from '@kit.ArkUI'; class MyTextModifier extends AttributeUpdater { diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor092.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor092.ets deleted file mode 100644 index 8b7ca931..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor092.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentUISupportColor092 { - @State rating: number = 3.5; - - build() { - WithTheme({ colorMode: ThemeColorMode.SYSTEM }) { - Column() { - Radio({ value: 'Radio', group: 'radioGroup' }) - .height(50) - .width(50) - .checked(false) - .id('UIComponentUISupportColor0920') - }.width('100%').height('100%').backgroundColor($r('sys.color.background_primary')) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor093.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor093.ets deleted file mode 100644 index 64d725c4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor093.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentUISupportColor093 { - @State rating: number = 3.5; - - build() { - WithTheme({ colorMode: ThemeColorMode.SYSTEM }) { - Column() { - Radio({ value: 'Radio', group: 'radioGroup' }) - .height(50) - .width(50) - .checked(false) - .id('UIComponentUISupportColor0930') - }.width('100%').height('100%').backgroundColor($r('sys.color.background_primary')) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor094.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor094.ets deleted file mode 100644 index aeba0c2b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor094.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentUISupportColor094 { - @State rating: number = 3.5; - - build() { - WithTheme({ colorMode: ThemeColorMode.SYSTEM }) { - Column() { - Radio({ value: 'Radio', group: 'radioGroup' }) - .height(50) - .width(50) - .checked(false) - .id('UIComponentUISupportColor0940') - }.width('100%').height('100%').backgroundColor($r('sys.color.background_primary')) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor095.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor095.ets deleted file mode 100644 index 1e2cb5c9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor095.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentUISupportColor095 { - @State rating: number = 3.5; - - build() { - WithTheme({ colorMode: ThemeColorMode.SYSTEM }) { - Column() { - Radio({ value: 'Radio', group: 'radioGroup' }) - .height(50) - .width(50) - .checked(false) - .id('UIComponentUISupportColor0950') - }.width('100%').height('100%').backgroundColor($r('sys.color.background_primary')) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor096.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor096.ets deleted file mode 100644 index ec1aea79..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor096.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentUISupportColor096 { - @State rating: number = 3.5; - - build() { - WithTheme({ colorMode: ThemeColorMode.LIGHT }) { - Column() { - Radio({ value: 'Radio', group: 'radioGroup' }) - .height(50) - .width(50) - .checked(false) - .id('UIComponentUISupportColor0960') - }.width('100%').height('100%').backgroundColor($r('sys.color.background_primary')) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor097.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor097.ets deleted file mode 100644 index d3093894..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor097.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentUISupportColor097 { - @State rating: number = 3.5; - - build() { - WithTheme({ colorMode: ThemeColorMode.DARK }) { - Column() { - Radio({ value: 'Radio', group: 'radioGroup' }) - .height(50) - .width(50) - .checked(false) - .id('UIComponentUISupportColor0970') - }.width('100%').height('100%').backgroundColor($r('sys.color.background_primary')) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor098.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor098.ets deleted file mode 100644 index b987e92d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor098.ets +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentUISupportColor098 { - @State rating: number = 3.5; - - build() { - Flex({ direction: FlexDirection.Row, justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { - Column() { - Row() { - Radio({ value: 'Radio1', group: 'radioGroup' }) - .checked(false) - .width(300) - .height(100) - .id('UIComponentUISupportColor0980') - } - } - } - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor099.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor099.ets deleted file mode 100644 index d3cd7976..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor099.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import uiAppearance from '@ohos.uiAppearance' - -@Entry -@Component -struct UIComponentUISupportColor099 { - @State rating: number = 3.5; - - build() { - Column() { - Rating({ rating: this.rating, indicator: false }) - .stars(5) - .stepSize(0.5) - .margin({ top: 24 }) - .id('UIComponentUISupportColor0990') - .onChange((value: number) => { - this.rating = value - }) - Button('切换模式') - .fontSize(20) - .fontColor(Color.Blue) - .width('200px') - .id('UIComponentUISupportColor0991') - .onClick(() => { - if (uiAppearance.getDarkMode() === uiAppearance.DarkMode.ALWAYS_LIGHT) { - uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT); - } - }) - }.width('100%').height('100%').backgroundColor($r('sys.color.background_primary')) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor100.ets deleted file mode 100644 index dc20d446..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor100.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import uiAppearance from '@ohos.uiAppearance' - -@Entry -@Component -struct UIComponentUISupportColor100 { - @State rating: number = 3.5; - - build() { - Column() { - Rating({ rating: this.rating, indicator: false }) - .stars(5) - .stepSize(0.5) - .margin({ top: 24 }) - .id('UIComponentUISupportColor1000') - .onChange((value: number) => { - this.rating = value - }) - Button('切换模式') - .fontSize(20) - .fontColor(Color.Blue) - .width('200px') - .id('UIComponentUISupportColor1001') - .onClick(() => { - if (uiAppearance.getDarkMode() === uiAppearance.DarkMode.ALWAYS_DARK) { - uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT); - } else { - uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK); - } - }) - }.width('100%').height('100%').backgroundColor($r('sys.color.background_primary')) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor101.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor101.ets deleted file mode 100644 index 9bbb7979..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor101.ets +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentUISupportColor101 { - @State rating: number = 3.5; - - build() { - Column() { - Rating({ rating: this.rating, indicator: false }) - .stars(5) - .stepSize(0.5) - .margin({ top: 24 }) - Button('切换模式') - .fontSize(20) - .fontColor(Color.Blue) - .width('200px') - .id('UIComponentUISupportColor1011') - }.width('100%').height('100%') - .backgroundColor($r('sys.color.background_primary')) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor102.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor102.ets deleted file mode 100644 index d9f966d4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor102.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import uiAppearance from '@ohos.uiAppearance' - -@Entry -@Component -struct UIComponentUISupportColor102 { - @State rating: number = 3.5; - - build() { - Column() { - Rating({ rating: this.rating, indicator: false }) - .stars(5) - .stepSize(0.5) - .margin({ top: 24 }) - .id('UIComponentUISupportColor1020') - .onChange((value: number) => { - this.rating = value - }) - Button('切换模式') - .fontSize(20) - .fontColor(Color.Blue) - .width('200px') - .id('UIComponentUISupportColor1021') - .onClick(() => { - if (uiAppearance.getDarkMode() === uiAppearance.DarkMode.ALWAYS_DARK) { - uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK); - } - }) - }.width('100%').height('100%').backgroundColor($r('sys.color.background_primary')) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor103.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor103.ets deleted file mode 100644 index 63d2eb94..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor103.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentUISupportColor103 { - @State rating: number = 3.5; - - build() { - WithTheme({ colorMode: ThemeColorMode.LIGHT }) { - Column() { - Rating({ rating: this.rating, indicator: false }) - .stars(5) - .stepSize(0.5) - .margin({ top: 24 }) - .id('UIComponentUISupportColor1030') - .onChange((value: number) => { - this.rating = value - }) - Button('切换模式') - .fontSize(20) - .fontColor(Color.Blue) - .width('200px') - .id('UIComponentUISupportColor1031') - }.width('100%').height('100%').backgroundColor($r('sys.color.background_primary')) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor104.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor104.ets deleted file mode 100644 index f7aa9be2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor104.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentUISupportColor104 { - @State rating: number = 3.5; - - build() { - WithTheme({ colorMode: ThemeColorMode.DARK }) { - Column() { - Rating({ rating: this.rating, indicator: false }) - .stars(5) - .stepSize(0.5) - .margin({ top: 24 }) - .id('UIComponentUISupportColor1040') - .onChange((value: number) => { - this.rating = value - }) - Button('切换模式') - .fontSize(20) - .fontColor(Color.Blue) - .width('200px') - .id('UIComponentUISupportColor1041') - }.width('100%').height('100%').backgroundColor($r('sys.color.background_primary')) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor105.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor105.ets deleted file mode 100644 index cee5efd6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor105.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UIComponentUISupportColor105 { - @State rating: number = 3.5; - - build() { - WithTheme({ colorMode: ThemeColorMode.SYSTEM }) { - Column() { - Rating({ rating: this.rating, indicator: false }) - .stars(5) - .stepSize(0.5) - .margin({ top: 24 }) - .id('UIComponentUISupportColor1050') - .onChange((value: number) => { - this.rating = value - }) - Button('切换模式') - .fontSize(20) - .fontColor(Color.Blue) - .width('200px') - .id('UIComponentUISupportColor1051') - }.width('100%').height('100%').backgroundColor($r('sys.color.background_primary')) - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UITestCase/UITestCase001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UITestCase/UITestCase001.ets deleted file mode 100644 index 6a9ba5b7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UITestCase/UITestCase001.ets +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UITestCase001 { - @State rating: number = 3.5; - @State handlePopup: boolean = false; - - @Builder - indicatorBuilder() { - Text('on') - .bindPopup(this.handlePopup, this.popupOptions) - } - - popupOptions: PopupOptions = { - message: 'this is a popup', - enableArrow: true, - showInSubWindow: true, - placement: Placement.Top, - autoCancel: true, - onWillDismiss: true, - width: '200px', - primaryButton: { - value: 'Cancel', - action: () => { - this.handlePopup = !this.handlePopup; - } - } - }; - - build() { - Row() { - Column() { - Radio( - { - value: 'Radio', - group: 'radioGroup', - indicatorType: RadioIndicatorType.CUSTOM, - indicatorBuilder: () => this.indicatorBuilder() - }) - .height(50) - .width(50) - .checked(false) - .id('UITestCase0010') - .onChange(() => { - this.handlePopup = !this.handlePopup; - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UITestCase/UITestCase002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UITestCase/UITestCase002.ets deleted file mode 100644 index 501982f1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UITestCase/UITestCase002.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UITestCase002 { - @State rating: number = 3.5; - @State handlePopup: boolean = false; - - @Builder - indicatorBuilder() { - Image('cat.jpg') - .width('20vp') - .height('20vp') - } - - build() { - Row() { - Column() { - Text('Radio设置宽高为50,image设置宽高为20') - Radio( - { - value: 'Radio', - group: 'radioGroup', - indicatorType: RadioIndicatorType.CUSTOM, - indicatorBuilder: () => this.indicatorBuilder() - }) - .height('50vp') - .width('50vp') - .checked(false) - .id('UITestCase0020') - .onChange(() => { - this.handlePopup = !this.handlePopup; - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UITestCase/UITestCase003.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UITestCase/UITestCase003.ets deleted file mode 100644 index 56d9e72d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UITestCase/UITestCase003.ets +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UITestCase003 { - @State rating: number = 3.5; - @State handlePopup: boolean = false; - - @Builder - indicatorBuilder() { - Image('cat.jpg') - .width('100vp') - .height('100vp') - } - - build() { - Row() { - Column() { - Text('Radio设置宽高为50,image设置宽高为100') - Radio( - { - value: 'Radio', - group: 'radioGroup', - indicatorType: RadioIndicatorType.CUSTOM, - indicatorBuilder: () => this.indicatorBuilder() - }) - .height(50) - .width(50) - .checked(false) - .id('UITestCase0030') - .onChange(() => { - this.handlePopup = !this.handlePopup; - }) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UITestCase/UITestCase004.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UITestCase/UITestCase004.ets deleted file mode 100644 index 8bf806f2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UITestCase/UITestCase004.ets +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UITestCase004 { - - @Builder - indicatorBuilder() { - Checkbox() - .id('UITestCase0041') - .width(60) - .height(60) - } - - build() { - Row() { - Column() { - Radio( - { - value: 'Radio', - group: 'radioGroup', - indicatorType: RadioIndicatorType.CUSTOM, - indicatorBuilder: () => this.indicatorBuilder() - }) - .height(80) - .width(80) - .checked(true) - } - .width('200px') - .height('80px') - } - .width('100%') - .height('100%') - .alignItems(VerticalAlign.Center) - .justifyContent(FlexAlign.Center) - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0010.ets deleted file mode 100644 index daf382ba..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0010.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0010 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionWidth(OptionWidthMode.FIT_CONTENT) - .id("UiComponentButtonSelectAlign0010_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0020.ets deleted file mode 100644 index 142f9e4e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0020.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0020 { - text: string = "TTTTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionWidth(OptionWidthMode.FIT_TRIGGER) - .id("UiComponentButtonSelectAlign0020_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0030.ets deleted file mode 100644 index d40c7c41..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0030.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0030 { - text: string = "TTTTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionWidth('50px') - .id("UiComponentButtonSelectAlign0030_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0040.ets deleted file mode 100644 index b033602d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0040.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0040 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionWidth('0px') - .id("UiComponentButtonSelectAlign0040_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0050.ets deleted file mode 100644 index 39fce8dc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0050.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0050 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionWidth('-50px') - .id("UiComponentButtonSelectAlign0050_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0060.ets deleted file mode 100644 index 00b0222d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0060.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0060 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionWidth('50vp') - .id("UiComponentButtonSelectAlign0060_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0070.ets deleted file mode 100644 index 17eceae9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0070.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0070 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionWidth('0vp') - .id("UiComponentButtonSelectAlign0070_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0080.ets deleted file mode 100644 index 059679f7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0080.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0080 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionWidth('-50vp') - .id("UiComponentButtonSelectAlign0080_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0090.ets deleted file mode 100644 index f3f77a80..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0090.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0090 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionWidth('50fp') - .id("UiComponentButtonSelectAlign0090_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0100.ets deleted file mode 100644 index 29ec775c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0100.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0100 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionWidth('0fp') - .id("UiComponentButtonSelectAlign0100_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0110.ets deleted file mode 100644 index 2a2fe7af..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0110.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0110 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionWidth('0fp') - .id("UiComponentButtonSelectAlign0110_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0120.ets deleted file mode 100644 index 5e73f6cb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0120.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0120 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionWidth('50lpx') - .id("UiComponentButtonSelectAlign0120_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0130.ets deleted file mode 100644 index e395742b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0130.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0130 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionWidth('0lpx') - .id("UiComponentButtonSelectAlign0130_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0140.ets deleted file mode 100644 index d080a2cb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0140.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0140 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionWidth('-50lpx') - .id("UiComponentButtonSelectAlign0140_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0150.ets deleted file mode 100644 index 5c9cb662..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0150.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0150 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionHeight('80%') - .id("UiComponentButtonSelectAlign0150_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0160.ets deleted file mode 100644 index 6d9d834f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0160.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0160 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionWidth(0) - .id("UiComponentButtonSelectAlign0160_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0170.ets deleted file mode 100644 index 284c9ef1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0170.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0170 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionWidth('-50%') - .id("UiComponentButtonSelectAlign0170_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0180.ets deleted file mode 100644 index 1c510f90..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0180.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0180 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionWidth(getContext().resourceManager.getNumber($r('app.integer.integer100')) + 'vp' as VP) - .id("UiComponentButtonSelectAlign0180_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0190.ets deleted file mode 100644 index 0d0d6583..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0190.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0190 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionWidth('50000vp') - .id("UiComponentButtonSelectAlign0190_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0200.ets deleted file mode 100644 index 5b828c4c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0200.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0200 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionHeight('50px') - .id("UiComponentButtonSelectAlign0200_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0210.ets deleted file mode 100644 index 5700c568..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0210.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0210 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionHeight('0px') - .id("UiComponentButtonSelectAlign0210_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0220.ets deleted file mode 100644 index d1c45767..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0220.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0220 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionWidth('-50fp') - .id("UiComponentButtonSelectAlign0220_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0230.ets deleted file mode 100644 index 52279eeb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0230.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0230 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionHeight('50vp') - .id("UiComponentButtonSelectAlign0230_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0240.ets deleted file mode 100644 index 2db06138..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0240.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0240 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionHeight('0vp') - .id("UiComponentButtonSelectAlign0240_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0250.ets deleted file mode 100644 index 81d68b68..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0250.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0250 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionHeight('-50vp') - .id("UiComponentButtonSelectAlign0250_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0260.ets deleted file mode 100644 index ad9feaf2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0260.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0260 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionHeight('50fp') - .id("UiComponentButtonSelectAlign0260_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0270.ets deleted file mode 100644 index 7a530fd4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0270.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0270 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionHeight('0fp') - .id("UiComponentButtonSelectAlign0270_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0280.ets deleted file mode 100644 index b8f74e33..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0280.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0280 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionHeight('-50fp') - .id("UiComponentButtonSelectAlign0280_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0290.ets deleted file mode 100644 index 9eaf45ac..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0290.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0290 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .optionHeight('50lpx') - .value(this.text) - .id("UiComponentButtonSelectAlign0290_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0300.ets deleted file mode 100644 index 0698e918..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0300.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0300 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionHeight('0lpx') - .id("UiComponentButtonSelectAlign0300_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0310.ets deleted file mode 100644 index d5cf18c3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0310.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0310 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionHeight('-50lpx') - .id("UiComponentButtonSelectAlign0310_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0320.ets deleted file mode 100644 index 1e3531bb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0320.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0320 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionHeight('80%') - .id("UiComponentButtonSelectAlign0320_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0330.ets deleted file mode 100644 index 6aaaf7b3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0330.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0330 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionHeight(0) - .id("UiComponentButtonSelectAlign0330_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0340.ets deleted file mode 100644 index ce8949ca..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0340.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0340 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionHeight('-50%') - .id("UiComponentButtonSelectAlign0340_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0350.ets deleted file mode 100644 index d7b7af15..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0350.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0350 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionHeight(getContext().resourceManager.getStringSync($r('app.string.size_30')) as VP) - .id("UiComponentButtonSelectAlign0350_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0360.ets deleted file mode 100644 index 29fbf068..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0360.ets +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0360 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select(this.getOptions()) - .value(this.text) - .optionHeight('-50000vp') - .id("UiComponentButtonSelectAlign0360_001") - } - .width('100%') - .height('100%') - } - } - - getOptions(): Array { - const options: Array = []; - options.push({ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }); - for (let i = 4; i <= 30; i++) { - options.push({ value: `item${i}` }); - } - return options; - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0370.ets deleted file mode 100644 index 5a39c5e8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0370.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0370 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionFont({ size: '8vp' }) - .optionHeight('50vp') - .id("UiComponentButtonSelectAlign0370_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0380.ets deleted file mode 100644 index 20823ff1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0380.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0380 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionFont({ size: '50vp' }) - .optionHeight('20vp') - .id("UiComponentButtonSelectAlign0380_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0390.ets deleted file mode 100644 index 203ab709..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0390.ets +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0390 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionWidth('10vp') - .menuItemContentModifier(new MenuItemContentModifierAlign0390()) - .id("UiComponentButtonSelectAlign0390_001") - } - .width('100%') - .height('100%') - } - } -} - -class MenuItemContentModifierAlign0390 implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(MenuItemBuilderAlign0390); - } -} - -@Builder -function MenuItemBuilderAlign0390(configuration: MenuItemConfiguration) { - Row() { - Text(configuration.value) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - } - .width('100%') - .height('10%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()); - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0400.ets deleted file mode 100644 index e932def5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0400.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0400 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .optionFont({ size: '50vp' }) - .optionHeight('20vp') - .optionWidth('20vp') - .id("UiComponentButtonSelectAlign0400_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0410.ets deleted file mode 100644 index 987e573d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0410.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0410 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - .backgroundColor(Color.Red) - .id("UiComponentButtonSelectAlign0410_001") - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0420.ets deleted file mode 100644 index 1e424cb2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0420.ets +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectAlign0420 { - text: string = "a" - build() { - Row() { - Column() { - Select([{ - value: '早上好中午好晚上好', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安', - }, { - value: '你好我的朋友上午好早上好中午好晚上好晚安上午好早上好中午好晚上好晚安', - }]) - .value(this.text) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0030.ets deleted file mode 100644 index 21dd43a7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0030.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectEnhancement0030 { - - build() { - Row() { - Column() { - Select([{ value: ''}]) - .width('20%') - .height('100%') - .linearGradient({ - direction: GradientDirection.Bottom, - colors: [[Color.Red, 0], [Color.Yellow, 0.3], [Color.Blue, 0.6]] - }) - .onSelect(() => { - - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0040.ets deleted file mode 100644 index aa895faf..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0040.ets +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectEnhancement0040 { - text: string = "TTTTT" - - build() { - Row() { - Column() { - Select([{ value: ''}]) - .value(this.text) - .padding('150px') - .onSelect(() => { - - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0050.ets deleted file mode 100644 index 1b752fc2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0050.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectEnhancement0050 { - text: string = "test" - - build() { - Row() { - Column() { - Select([{ value: ''}]) - .value(this.text) - .width('1000vp') - .space('800vp') - .font({ size: '300vp' }) - .onSelect(() => { - - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0060.ets deleted file mode 100644 index d0969ee1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0060.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectEnhancement0060 { - text: string = "测试长度受限文本" - - build() { - Row() { - Column() { - Select([{ value: ''}]) - .value(this.text) - .width('300vp') - .space('180vp') - .font({ size: '10vp' }) - .onSelect(() => { - - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0070.ets deleted file mode 100644 index 05975805..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0070.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { common } from '@kit.AbilityKit' -import { window } from '@kit.ArkUI' - -@Entry -@Component -struct UiComponentButtonSelectEnhancement0070 { - text: string = "测试长度受限文本测试长度受限文本测试长度受限文本" - @State isChange: boolean = false - - build() { - Row() { - Column() { - Select([{ value: ''}]) - .value(this.text) - .width('3000vp') - .space('1100vp') - .font({ size: '100vp' }) - .onSelect(() => { - - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0080.ets deleted file mode 100644 index 11b618ad..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0080.ets +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectEnhancement0080 { - text: string = "test" - - build() { - Row() { - Column() { - Select([{ value: ''}]) - .value(this.text) - .width('500vp') - .space('300vp') - .font({ size: '100vp' }) - .onSelect(() => { - - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0090.ets deleted file mode 100644 index 1300b85f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0090.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectEnhancement0090 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '111', - }, { - value: '222', - }, { - value: '333', - }, { - value: '444', - }, { - value: '555', - }]) - .value(this.text) - .width(0) - .height(0) - .onSelect(() => { - - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0100.ets deleted file mode 100644 index b1525730..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0100.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectEnhancement0100 { - - build() { - Row() { - Column() { - Select([{ - value: '111', - }, { - value: '222', - }, { - value: '333', - }, { - value: '444', - }, { - value: '555', - }]) - .width('100%') - .height('100%') - .onSelect(() => { - - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0110.ets deleted file mode 100644 index 5fc95e92..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0110.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectEnhancement0110 { - - build() { - Row() { - Column() { - Select([{ - value: '111', - }, { - value: '222', - }, { - value: '333', - }, { - value: '444', - }, { - value: '555', - }]) - .width('60%') - .height('60%') - .onSelect(() => { - - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0120.ets deleted file mode 100644 index 2f37b78f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0120.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectEnhancement0120 { - - build() { - Row() { - Column() { - Select([{ - value: '111', - }, { - value: '222', - }, { - value: '333', - }, { - value: '444', - }, { - value: '555', - }]) - .width('80%') - .height('80%') - .onSelect(() => { - - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0130.ets deleted file mode 100644 index cef8e41d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0130.ets +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectEnhancement0130 { - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ - value: '111', - }, { - value: '222', - }, { - value: '333', - }, { - value: '444', - }, { - value: '555', - }]) - .value(this.text) - .width(-1) - .height(-1) - .onSelect(() => { - - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0140.ets deleted file mode 100644 index dae8cef3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0140.ets +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectEnhancement0140 { - text: string = "测试较长文本早餐午餐晚餐" - build() { - Row() { - Column() { - Select([{ value: '较短文本' }]) - .value(this.text) - .menuItemContentModifier(new MyMenuItemContentModifierEnhancement0140()) - .id('UiComponentButtonSelectEnhancement0140_001') - .borderImage({ - source: { - direction: GradientDirection.RightBottom, - colors: [[Color.Green, 0.0], [Color.Pink, 0.3], [Color.Orange, 1.0]] - }, - slice: { top: 10, bottom: 10, left: 10, right: 10 }, - width: { top: "10px", bottom: "10px", left: "10px", right: "10px" }, - repeat: RepeatMode.Stretch, - fill: false - }) - .onSelect(() => { - - }) - } - .width('100%') - .height('100%') - } - } -} - -class MyMenuItemContentModifierEnhancement0140 implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(MyMenuItemBuilderEnhancement0140); - } -} - -@Builder -function MyMenuItemBuilderEnhancement0140(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - .id(`UiComponentButtonSelectEnhancement0140_${configuration.index}`) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()); - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0150.ets deleted file mode 100644 index ea4d2336..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0150.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectEnhancement0150 { - build() { - Row() { - Column() { - Select([{ value: '' }]) - .value(getContext().resourceManager.getNumber($r('app.float.boardSize_10')) + '') - .onSelect(() => { - - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0160.ets deleted file mode 100644 index 56195c86..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0160.ets +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectEnhancement0160 { - text: string = "TTTTT" - - build() { - Row() { - Column() { - Select([{ value: ''}]) - .value(this.text) - .padding(20) - .onSelect(() => { - - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0170.ets deleted file mode 100644 index c4a471de..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0170.ets +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectEnhancement0170 { - - build() { - Row() { - Column() { - Select([{ value: ''}]) - .backgroundImage($r('app.media.icon')) - .backgroundImageSize(ImageSize.Cover) - .onSelect(() => { - - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0180.ets deleted file mode 100644 index 0163cf71..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0180.ets +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectEnhancement0180 { - - build() { - Row() { - Column() { - Select([{ value: ''}]) - .width('90%') - .height('90%') - .onSelect(() => { - - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0190.ets deleted file mode 100644 index 8550fcc0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0190.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentButtonSelectEnhancement0190 { - - text: string = "TTTTT" - build() { - Row() { - Column() { - Select([{ value: ''}]) - .width('50%') - .height('50%') - .value(this.text) - .linearGradient({ - direction: GradientDirection.RightBottom, - repeating: false, - colors: [[0xff0000, 0.0], [0x0000ff, 0.3], [0xffff00, 0.5]] - }) - .onSelect(() => { - - }) - } - .width('100%') - .height('100%') - } - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0220.ets deleted file mode 100644 index 1543f415..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0220.ets +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 UiComponentButtonSelectEnhancement0220 { - @State optionWidth: Dimension = '50vp' - @State isChange: boolean = false - - build() { - Row() { - Column() { - Select([{ - value: '200vp', - }, { - value: '250vp', - }, { - value: '300vp', - }, { - value: '350vp', - }, { - value: '400vp', - }]) - .value('切换菜单项宽度') - .optionWidth(this.optionWidth) - .keyboardShortcut(FunctionKey.F1, []) - .menuItemContentModifier(new MenuItemContentModifier0220()) - .onSelect((index: number, text?: string)=>{ - this.optionWidth = text as VP - }) - } - .width('50%') - Column() { - Button("横竖切换") - .onClick(() => { - this.changeOrientation() - }) - .keyboardShortcut(FunctionKey.F2, []) - } - .width('50%') - } - } - - changeOrientation() { - let context = getContext(this) as common.UIAbilityContext; - window.getLastWindow(context) - .then((lastWindow) => { - this.isChange = !this.isChange - lastWindow.setPreferredOrientation(this.isChange ? window.Orientation.LANDSCAPE : window.Orientation.PORTRAIT) - }) - } -} - -class MenuItemContentModifier0220 implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(MyMenuItemBuilder0220); - } -} - -@Builder -function MyMenuItemBuilder0220(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()); - }) - .tabIndex(1) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0230.ets deleted file mode 100644 index 6204482a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0230.ets +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES 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 UiComponentButtonSelectEnhancement0230 { - @State optionWidth: Dimension = '60vp' - - build() { - Row() { - Column() { - Select([{ - value: '200vp', - }, { - value: '250vp', - }, { - value: '300vp', - }, { - value: '350vp', - }, { - value: '400vp', - }]) - .value('切换菜单项宽度') - .optionWidth(this.optionWidth) - .keyboardShortcut(FunctionKey.DPAD_UP, []) - .menuItemContentModifier(new MenuItemContentModifier0230()) - .onSelect((index: number, text?: string)=>{ - this.optionWidth = text as VP - }) - } - .width('100%') - .height('100%') - } - } -} - -class MenuItemContentModifier0230 implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(MyMenuItemBuilder0230); - } -} - -@Builder -function MyMenuItemBuilder0230(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - } - .keyboardShortcut(FunctionKey.F1, []) - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()); - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectInterface/UiComponentButtonSelectInterface0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectInterface/UiComponentButtonSelectInterface0240.ets deleted file mode 100644 index 6709f359..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentButtonSelectInterface/UiComponentButtonSelectInterface0240.ets +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentButtonSelectInterface0240 { - @State text: string = "" - @State index: number = 2 - - build() { - Row() { - Column() { - Select([{ - value: '111', - }, { - value: '222', - }, { - value: '333', - }, { - value: '444', - }, { - value: '555', - }]) - .width('100%') - .selected(this.index) - .menuItemContentModifier(new InterfaceMenuItemContentModifier()) - .onSelect((index:number, text?: string | undefined)=>{ - console.info('Select:' + index) - this.index = index; - if(text){ - this.text = text; - } - }) - .id("UiComponentButtonSelectInterface0240_001") - Row() { - Text('Index: ' + this.index) - Text('Value: ' + this.text) - } - } - .width('100%') - .height('100%') - } - } -} - -class InterfaceMenuItemContentModifier implements ContentModifier { - applyContent(): WrappedBuilder<[MenuItemConfiguration]> { - return wrapBuilder(InterfaceMenuItemBuilder); - } -} - -@Builder -function InterfaceMenuItemBuilder(configuration: MenuItemConfiguration) { - Row() { - Image(configuration.icon).size({ width: 40, height: 40 }) - Text(configuration.value) - .fontColor(configuration.selected ? Color.Blue : Color.Black) - .id(`UiComponentButtonSelectInterface0240_${configuration.value}`) - } - .width('100%') - .backgroundColor(configuration.selected ? '#CBE6FD' : Color.White) - .onClick(() => { - configuration.triggerSelect(configuration.index, configuration.value.valueOf().toString()); - }) -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0010.ets deleted file mode 100644 index b38f3d1c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0010.ets +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0010 { - selectedDate: Date = new Date("1970-1-1") - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - start: new Date("1888-1-1"), - selected: this.selectedDate, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0010_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0020.ets deleted file mode 100644 index d0ec5740..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0020.ets +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0020 { - selectedDate: Date = new Date("1970-1-1") - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - start: new Date("-1970-1-1"), - selected: this.selectedDate, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0020_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0030.ets deleted file mode 100644 index b05199c7..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0030.ets +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0030 { - selectedDate: Date = new Date("1970-1-1") - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - start: new Date("1970-13-1"), - selected: this.selectedDate, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0030_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0040.ets deleted file mode 100644 index bf19e703..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0040.ets +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0040 { - selectedDate: Date = new Date("1970-1-1") - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - start: new Date("1970-1-32"), - selected: this.selectedDate, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0040_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0050.ets deleted file mode 100644 index 374c40db..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0050.ets +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0050 { - selectedDate: Date = new Date("1970-1-1") - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - start: new Date("1970-1-1"), - selected: this.selectedDate, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0050_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0060.ets deleted file mode 100644 index 326e999c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0060.ets +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0060 { - selectedDate: Date = new Date("2023-5-16") - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - start: new Date("2023-5-16"), - selected: this.selectedDate, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0060_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0070.ets deleted file mode 100644 index a0669323..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0070.ets +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0070 { - selectedDate: Date = new Date("2100-12-31") - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - end: new Date("2111-1-1"), - selected: this.selectedDate, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0070_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0080.ets deleted file mode 100644 index 8827c3d9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0080.ets +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0080 { - selectedDate: Date = new Date("2100-12-31") - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - end: new Date("-2100-1-1"), - selected: this.selectedDate, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0080_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0090.ets deleted file mode 100644 index 97882ce8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0090.ets +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0090 { - selectedDate: Date = new Date("2100-12-31") - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - end: new Date("2100-13-1"), - selected: this.selectedDate, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0090_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0100.ets deleted file mode 100644 index 664e59f9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0100.ets +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0100 { - selectedDate: Date = new Date("2100-12-31") - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - end: new Date("2100-1-32"), - selected: this.selectedDate, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0100_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0110.ets deleted file mode 100644 index 2488127c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0110.ets +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0110 { - selectedDate: Date = new Date("2100-12-31") - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - end: new Date("2100-12-31"), - selected: this.selectedDate, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0110_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0120.ets deleted file mode 100644 index 1d16512d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0120.ets +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0120 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - start: new Date("2100-12-31"), - end: new Date("1970-1-1"), - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0120_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0130.ets deleted file mode 100644 index 87473aa8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0130.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0130 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - selected: new Date("2023-5-18"), - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0130_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0140.ets deleted file mode 100644 index d534067f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0140.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0140 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - selected: new Date("9999-99-99"), - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0140_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0150.ets deleted file mode 100644 index e747b9fd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0150.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0150 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - lunar: true - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0150_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0160.ets deleted file mode 100644 index dab45977..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0160.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0160 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - lunar: false - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0160_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0170.ets deleted file mode 100644 index 1619099a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0170.ets +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0170 { - selectedDate: Date = new Date('2024-11-04T09:05:00') - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - selected: this.selectedDate, - showTime: true - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0170_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0180.ets deleted file mode 100644 index 811c6a2c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0180.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0180 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - showTime: false - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0180_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0190.ets deleted file mode 100644 index c78c1bb5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0190.ets +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0190 { - selectTime: Date = new Date('2020-12-25T15:30:00') - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - selected: this.selectTime, - useMilitaryTime: true, - showTime: true, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0190_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0200.ets deleted file mode 100644 index 5574dc48..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0200.ets +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0200 { - selectTime: Date = new Date('2020-12-25T08:30:00') - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - selected: this.selectTime, - useMilitaryTime: false, - showTime: true, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0200_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0210.ets deleted file mode 100644 index 6794a35c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0210.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0210 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - disappearTextStyle: {color: Color.Blue}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0210_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0220.ets deleted file mode 100644 index d56d43ec..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0220.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0220 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - disappearTextStyle: {color: 0x0000ff}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0220_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0230.ets deleted file mode 100644 index 4ca92ed5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0230.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0230 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - disappearTextStyle: {color: "rgb(255,0,0)"}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0230_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0240.ets deleted file mode 100644 index f0ad1c30..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0240.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0240 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - disappearTextStyle: {color: getContext().resourceManager.getColorSync($r("app.color.blue"))}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0240_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0250.ets deleted file mode 100644 index b98cecb6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0250.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0250 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - disappearTextStyle: {font: {size: "10px"}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0250_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0260.ets deleted file mode 100644 index 6b2f0031..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0260.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0260 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - disappearTextStyle: {font: {size: 10}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0260_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0270.ets deleted file mode 100644 index 05baa13c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0270.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0270 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - disappearTextStyle: {font: {size: getContext().resourceManager.getNumber($r("app.integer.integer100"))}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0270_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0280.ets deleted file mode 100644 index 5d353732..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0280.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0280 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - disappearTextStyle: {font: {weight: FontWeight.Lighter}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0280_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0290.ets deleted file mode 100644 index 8cae7306..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0290.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0290 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - disappearTextStyle: {font: {weight: FontWeight.Normal}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0290_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0300.ets deleted file mode 100644 index ad00cb00..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0300.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0300 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - disappearTextStyle: {font: {weight: FontWeight.Regular}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0300_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0310.ets deleted file mode 100644 index 42e41a99..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0310.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0310 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - disappearTextStyle: {font: {weight: FontWeight.Medium}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0310_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0320.ets deleted file mode 100644 index 4289d143..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0320.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0320 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - disappearTextStyle: {font: {weight: FontWeight.Bold}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0320_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0330.ets deleted file mode 100644 index b65c1eb4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0330.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0330 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - disappearTextStyle: {font: {weight: FontWeight.Bolder}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0330_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0340.ets deleted file mode 100644 index 28426308..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0340.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0340 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - disappearTextStyle: {font: {weight: 400}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0340_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0350.ets deleted file mode 100644 index 174bc9a2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0350.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0350 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - disappearTextStyle: {font: {weight: 500}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0350_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0360.ets deleted file mode 100644 index 93d7cdba..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0360.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0360 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - disappearTextStyle: {font: {weight: "500"}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0360_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0370.ets deleted file mode 100644 index 478d4236..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0370.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0370 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - disappearTextStyle: {font: {family: "HarmonyOS Sans"}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0370_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0380.ets deleted file mode 100644 index 5ef2f68e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0380.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0380 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - disappearTextStyle: {font: {family: getContext().resourceManager.getStringSync($r("app.string.popup_font_family"))}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0380_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0390.ets deleted file mode 100644 index d19f938b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0390.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0390 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - disappearTextStyle: {font: {style: FontStyle.Normal}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0390_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0400.ets deleted file mode 100644 index c0596be6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0400.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0400 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - disappearTextStyle: {font: {style: FontStyle.Italic}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0400_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0410.ets deleted file mode 100644 index e69f55bb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0410.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0410 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - textStyle: {color: Color.Blue}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0410_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0420.ets deleted file mode 100644 index 9fa5dcdf..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0420.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0420 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - textStyle: {color: 0x0000ff}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0420_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0430.ets deleted file mode 100644 index 9fe9bb45..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0430.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0430 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - textStyle: {color: "rgb(255,0,0)"}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0430_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0440.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0440.ets deleted file mode 100644 index c8de1226..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0440.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0440 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - textStyle: {color: getContext().resourceManager.getColorSync($r("app.color.blue"))}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0440_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0450.ets deleted file mode 100644 index a78639f3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0450.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0450 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - textStyle: {font: {size: "10px"}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0450_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0460.ets deleted file mode 100644 index 49183cc4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0460.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0460 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - textStyle: {font: {size: 10}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0460_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0470.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0470.ets deleted file mode 100644 index 1ccec1e2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0470.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0470 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - textStyle: {font: {size: getContext().resourceManager.getNumber($r("app.integer.integer100"))}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0470_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0480.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0480.ets deleted file mode 100644 index 6fd37afb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0480.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0480 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - textStyle: {font: {weight: FontWeight.Lighter}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0480_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0490.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0490.ets deleted file mode 100644 index 81e1992e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0490.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0490 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - textStyle: {font: {weight: FontWeight.Normal}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0490_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0500.ets deleted file mode 100644 index a874c1d3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0500.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0500 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - textStyle: {font: {weight: FontWeight.Regular}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0500_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0510.ets deleted file mode 100644 index 7ae1e2e0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0510.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0510 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - textStyle: {font: {weight: FontWeight.Medium}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0510_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0520.ets deleted file mode 100644 index 23480fcf..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0520.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0520 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - textStyle: {font: {weight: FontWeight.Bold}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0520_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0530.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0530.ets deleted file mode 100644 index 28130646..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0530.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0530 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - textStyle: {font: {weight: FontWeight.Bolder}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0530_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0540.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0540.ets deleted file mode 100644 index 4b9a42fc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0540.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0540 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - textStyle: {font: {weight: 400}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0540_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0550.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0550.ets deleted file mode 100644 index 2e5d2b4e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0550.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0550 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - textStyle: {font: {weight: 500}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0550_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0560.ets deleted file mode 100644 index 865eaa2b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0560.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0560 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - textStyle: {font: {weight: "500"}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0560_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0570.ets deleted file mode 100644 index 9e4fd108..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0570.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0570 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - textStyle: {font: {family: "HarmonyOS Sans"}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0570_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0580.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0580.ets deleted file mode 100644 index 335bf454..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0580.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0580 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - textStyle: {font: {family: getContext().resourceManager.getStringSync($r("app.string.popup_font_family"))}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0580_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0590.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0590.ets deleted file mode 100644 index fd7d4775..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0590.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0590 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - textStyle: {font: {style: FontStyle.Normal}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0590_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0600.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0600.ets deleted file mode 100644 index b21a4a6b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0600.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0600 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - textStyle: {font: {style: FontStyle.Italic}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0600_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0610.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0610.ets deleted file mode 100644 index 7800edc5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0610.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0610 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - selectedTextStyle: {font: {size: "10px"}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0610_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0620.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0620.ets deleted file mode 100644 index 352e4e01..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0620.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0620 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - selectedTextStyle: {font: {size: 10}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0620_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0630.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0630.ets deleted file mode 100644 index b9995943..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0630.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0630 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - selectedTextStyle: {font: {size: getContext().resourceManager.getNumber($r("app.integer.integer100"))}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0630_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0640.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0640.ets deleted file mode 100644 index 470d6afd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0640.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0640 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - selectedTextStyle: {font: {weight: FontWeight.Lighter}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0640_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0650.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0650.ets deleted file mode 100644 index 2ef15810..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0650.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0650 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - selectedTextStyle: {font: {weight: FontWeight.Normal}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0650_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0660.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0660.ets deleted file mode 100644 index e691bd30..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0660.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0660 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - selectedTextStyle: {font: {weight: FontWeight.Regular}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0660_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0670.ets deleted file mode 100644 index 294398da..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0670.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0670 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - selectedTextStyle: {font: {weight: FontWeight.Medium}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0670_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0680.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0680.ets deleted file mode 100644 index db8ac6ee..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0680.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0680 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - selectedTextStyle: {font: {weight: FontWeight.Bold}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0680_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0690.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0690.ets deleted file mode 100644 index b09ede2e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0690.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0690 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - selectedTextStyle: {font: {weight: FontWeight.Bolder}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0690_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0700.ets deleted file mode 100644 index 486b4d76..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0700.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0700 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - selectedTextStyle: {font: {weight: 400}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0700_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0710.ets deleted file mode 100644 index 8290fcfb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0710.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0710 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - selectedTextStyle: {font: {weight: 500}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0710_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0720.ets deleted file mode 100644 index efddc5a9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0720.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0720 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - selectedTextStyle: {font: {weight: "500"}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0720_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0730.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0730.ets deleted file mode 100644 index 29233449..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0730.ets +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0730 { - - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - selectedTextStyle: {font: {family: "HarmonyOS Sans"}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0730_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0740.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0740.ets deleted file mode 100644 index 2431304f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0740.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0740 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - selectedTextStyle: {font: {family: getContext().resourceManager.getStringSync($r("app.string.popup_font_family"))}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0740_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0750.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0750.ets deleted file mode 100644 index cf791c82..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0750.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0750 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - selectedTextStyle: {font: {style: FontStyle.Normal}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0750_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0760.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0760.ets deleted file mode 100644 index 06963335..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0760.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0760 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - selectedTextStyle: {font: {style: FontStyle.Italic}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0760_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0770.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0770.ets deleted file mode 100644 index 8c30a8a9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0770.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0770 { - @State text: string = "" - build() { - Column() { - Text(this.text) - .margin(20) - Button("showDatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - acceptButtonStyle: { primary: true }, - onAccept: (value: DatePickerResult) => { - this.text = `onAccept(year: ${value.year}年, month: ${value.month}月, day: ${value.day}日)`; - } - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0770_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0780.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0780.ets deleted file mode 100644 index e6f0af4c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0780.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0780 { - private selectedDate: Date = new Date('2018-11-04T09:05:00') - @State text: string = "" - build() { - Column() { - Text(this.text) - .margin(20) - Button("showDatePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showDatePickerDialog({ - cancelButtonStyle: { primary: true }, - onCancel: () => { - const year = this.selectedDate.getFullYear(); - this.text = `onCancel(year: ${year}年)`; - } - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0780_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0790.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0790.ets deleted file mode 100644 index b58c012c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0790.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0790 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - let uiContext = this.getUIContext() - uiContext.showDatePickerDialog({ - selectedTextStyle: {color: Color.Red}, - }) - uiContext.showDatePickerDialog({ - selectedTextStyle: {color: Color.Blue}, - }) - uiContext.showDatePickerDialog({ - selectedTextStyle: {color: Color.Yellow}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0790_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0830.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0830.ets deleted file mode 100644 index de7d3f58..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0830.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0830 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - disappearTextStyle: {font: {size: "10px" }}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0830_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0840.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0840.ets deleted file mode 100644 index c6b940bc..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0840.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0840 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - disappearTextStyle: {font: {size: 10 }}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0840_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0850.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0850.ets deleted file mode 100644 index 4bcfb254..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0850.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0850 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - disappearTextStyle: {font: {size: getContext().resourceManager.getNumber($r("app.integer.50"))}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0850_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0880.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0880.ets deleted file mode 100644 index adf0919a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0880.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0880 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - textStyle: {font: {size: '10px'}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0880_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0890.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0890.ets deleted file mode 100644 index 46d4499f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0890.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0890 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - textStyle: {font: {size: 10}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0890_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0900.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0900.ets deleted file mode 100644 index 5e2bccf6..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0900.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0900 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - textStyle: {font: {size: getContext().resourceManager.getNumber($r("app.integer.20"))}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0900_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0910.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0910.ets deleted file mode 100644 index 6aa96528..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0910.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0910 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - textStyle: {font: {weight: FontWeight.Lighter}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0910_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0920.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0920.ets deleted file mode 100644 index 96292df1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0920.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0920 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - textStyle: {font: {weight: FontWeight.Normal}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0920_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0930.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0930.ets deleted file mode 100644 index 8b1aa5d5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0930.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0930 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - textStyle: {font: {weight: FontWeight.Regular}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0930_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0940.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0940.ets deleted file mode 100644 index 983c0d14..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0940.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0940 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - textStyle: {font: {weight: FontWeight.Medium}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0940_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0950.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0950.ets deleted file mode 100644 index e918e44a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0950.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0950 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - textStyle: {font: {weight: FontWeight.Bold}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0950_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0960.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0960.ets deleted file mode 100644 index 452f0e2a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0960.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface0960 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - textStyle: {font: {weight: FontWeight.Bolder}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface0960_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1000.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1000.ets deleted file mode 100644 index be86c0f0..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1000.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface1000 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - textStyle: {font: {family: 'HarmonyOS Sans'}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface1000_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1010.ets deleted file mode 100644 index df31d8b2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1010.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface1010 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - textStyle: {font: {family: getContext().resourceManager.getStringSync($r("app.string.popup_font_family"))}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface1010_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1020.ets deleted file mode 100644 index bef3f133..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1020.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface1020 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - textStyle: {font: {style: FontStyle.Normal}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface1020_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1030.ets deleted file mode 100644 index c161aa7c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1030.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface1030 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - textStyle: {font: {style: FontStyle.Italic}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface1030_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1070.ets deleted file mode 100644 index e7a99ad9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1070.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface1070 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - selectedTextStyle: {font: {size: "10px"}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface1070_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1080.ets deleted file mode 100644 index 821ba556..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1080.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface1080 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - selectedTextStyle: {font: {size: 10}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface1080_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1090.ets deleted file mode 100644 index 01ba972a..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1090.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface1090 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - selectedTextStyle: {font: {size: getContext().resourceManager.getNumber($r("app.integer.30"))}}, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface1090_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1170.ets deleted file mode 100644 index 1cc9f21c..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1170.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface1170 { - @State text: string = "" - build() { - Column() { - Text(this.text) - .margin(20) - Button("showDatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - acceptButtonStyle: { primary: true }, - onAccept: (value: DatePickerResult) => { - this.text = `onAccept(year: ${value.year}年, month: ${value.month}月, day: ${value.day}日)`; - }, - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface1170_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1180.ets deleted file mode 100644 index 3f11cafa..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1180.ets +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface1180 { - @State text: string = "" - build() { - Column() { - Text(this.text) - .margin(20) - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - cancelButtonStyle: { primary: true }, - onCancel: () => { - this.text = "DatePickerDialog:onCancel()" - } - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface1180_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1450.ets deleted file mode 100644 index 0587377f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1450.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface1450 { - @State text: string = "" - build() { - Column() { - Text(this.text) - .margin(20) - Button("showDatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - start: new Date("1970-1-1"), - end: new Date("2100-12-31"), - acceptButtonStyle: { primary: true }, - onAccept: (value: DatePickerResult) => { - this.text = `onAccept(year: ${value.year}年, month: ${value.month}月, day: ${value.day}日)`; - } - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface1450_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1460.ets deleted file mode 100644 index 4b31fb3f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1460.ets +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface1460 { - private selectedDate: Date = new Date('2024-11-04T09:05:00') - @State text: string = "" - build() { - Column() { - Text(this.text) - .margin(20) - Button("showDatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - start: new Date("1970-1-1"), - end: new Date("2100-12-31"), - cancelButtonStyle: { primary: true }, - onCancel: () => { - const year = this.selectedDate.getFullYear(); - const month = this.selectedDate.getMonth(); - const day = this.selectedDate.getDate(); - this.text = `onCancel(year: ${year}年, month: ${month}月, day: ${day}日)`; - } - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface1460_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1470.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1470.ets deleted file mode 100644 index 9edd6d47..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1470.ets +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogInterface1470 { - @State text: string = "" - build() { - Column() { - Text(this.text) - .margin(20) - Button("showDatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - start: new Date("2000-1-1"), - end: new Date("2003-12-31"), - onChange: (value: DatePickerResult) => { - this.text = `onChange(year: ${value.year}年, month: ${value.month}月, day: ${value.day}日)`; - } - }) - }) - .id("UiComponentPopupboxDatePickerDialogInterface1470_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0010.ets deleted file mode 100644 index 99fad85f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0010.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogScenarios0010 { - private selectTime: Date = new Date('2020-12-25T08:30:00') - private selectTime1: Date = new Date('2099-12-25T08:30:00') - build() { - Column() { - Button("TimePickerDialog") - .margin(20) - .onClick(() => { - this.getUIContext().showTimePickerDialog({ - selected: this.selectTime, - alignment: DialogAlignment.Top - }) - TimePickerDialog.show({ - selected: this.selectTime1, - alignment: DialogAlignment.Bottom, - maskRect: { x: 0, y: 400, width: "100%", height: "50%" } - }) - }) - .id("UiComponentPopupboxDatePickerDialogScenarios0010_001") - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0020.ets deleted file mode 100644 index 86192b91..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0020.ets +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogScenarios0020 { - private selectTime: Date = new Date('2050-12-25T08:30:00') - private selectTime1: Date = new Date('2060-12-25T08:30:00') - build() { - Column() { - Button("TimePickerDialog") - .margin(20) - .onClick(() => { - TimePickerDialog.show({ - selected: this.selectTime1, - alignment: DialogAlignment.Top - }) - this.getUIContext().showTimePickerDialog({ - selected: this.selectTime, - alignment: DialogAlignment.Bottom, - maskRect: { x: 0, y: 400, width: "100%", height: "50%" } - }) - }) - .id("UiComponentPopupboxDatePickerDialogScenarios0020_001") - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0090.ets deleted file mode 100644 index 0d07ed3b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0090.ets +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogScenarios0090 { - build() { - Column() { - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - acceptButtonStyle: { primary: true }, - }) - }) - .id("UiComponentPopupboxDatePickerDialogScenarios0090_001") - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0110.ets deleted file mode 100644 index f37bfb95..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0110.ets +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { router } from '@kit.ArkUI' - -function onJumpClick(): void { - router.pushUrl({ - url: "testability/pages/UiComponentPopupboxDatePickerDialogScenarios/" + - "UiComponentPopupboxDatePickerDialogScenarios0110Page", - }, router.RouterMode.Standard, (err) => { - if (err) { - console.error(`Invoke pushUrl failed, code is ${err.code}, message is ${err.message}`); - return; - } - console.info('Invoke pushUrl succeeded.'); - }); -} - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogScenarios0110 { - @State isDisable: boolean = false; - build() { - Column() { - Button("日期滑动选择器弹窗") - .margin(20) - .onClick(() => { - this.isDisable = !this.isDisable - }) - .id("UiComponentPopupboxDatePickerDialogScenarios0110_001") - if (this.isDisable) { - Button("IndexPage") - .margin(20) - .onClick(() => { - onJumpClick() - }) - .id("UiComponentPopupboxDatePickerDialogScenarios0110_002") - } - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0110Page.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0110Page.ets deleted file mode 100644 index e4bd67e3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0110Page.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Entry -@Component -struct UiComponentPopupboxDatePickerDialogScenarios0110Page { - @State uiContext: UIContext | null = null - private selectTime: Date = new Date('2024-12-31T08:30:00') - build() { - Column() { - Text("通过getUIContext()获取UIContext对象,调用showDatePickerDialog()") - .margin(20) - .onClick(() => { - this.uiContext = this.getUIContext(); - }) - .id("UiComponentPopupboxDatePickerDialogScenarios0110Page_001") - Button("DatePickerDialog") - .margin(20) - .onClick(() => { - if (this.uiContext) { - this.uiContext.showDatePickerDialog({ - selected: this.selectTime, - }) - } - }) - .id("UiComponentPopupboxDatePickerDialogScenarios0110Page_002") - }.width('100%') - } -} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0010.ets deleted file mode 100644 index 7dc349f2..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0010.ets +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxZero0010 { - private selectTime: Date = new Date('2024-11-04T09:05:00') - build() { - Column() { - Button("TimePickerDialog 12小时制") - .margin(20) - .onClick(() => { - TimePickerDialog.show({ - selected: this.selectTime, - useMilitaryTime: false, - dateTimeOptions: {hour: "2-digit", minute: "numeric"} - }) - }) - .id("UiComponentPopupboxZero0010_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0030.ets deleted file mode 100644 index a8ab1437..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0030.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxZero0030 { - private selectTime: Date = new Date('2024-11-04T09:05:00') - @State timeOptions: DateTimeOptions = {} - build() { - Column() { - Button("null") - .onClick(() => { - this.timeOptions = {hour: "", minute: ""} - }) - .id("UiComponentPopupboxZero0030_001") - Button("TimePickerDialog 12小时制") - .margin(20) - .onClick(() => { - TimePickerDialog.show({ - selected: this.selectTime, - useMilitaryTime: false, - dateTimeOptions: this.timeOptions - }) - }) - .id("UiComponentPopupboxZero0030_002") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0040.ets deleted file mode 100644 index 0a8174f9..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0040.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxZero0040 { - private selectTime: Date = new Date('2024-11-04T09:05:00') - @State timeOptions: DateTimeOptions = {} - build() { - Column() { - Button("参数设置undefined") - .onClick(() => { - this.timeOptions = {hour: undefined, minute: undefined} - }) - .id("UiComponentPopupboxZero0040_001") - Button("TimePickerDialog 12小时制") - .margin(20) - .onClick(() => { - TimePickerDialog.show({ - selected: this.selectTime, - useMilitaryTime: false, - dateTimeOptions: this.timeOptions - }) - }) - .id("UiComponentPopupboxZero0040_002") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0050.ets deleted file mode 100644 index ee2cd0f4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0050.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxZero0050 { - private selectTime: Date = new Date('2024-11-04T09:05:00') - @State timeOptions: DateTimeOptions = {} - build() { - Column() { - Button("minute前置0") - .onClick(() => { - this.timeOptions = {hour: "numeric", minute: "2-digit"} - }) - .id("UiComponentPopupboxZero0050_001") - Button("TimePickerDialog 12小时制") - .margin(20) - .onClick(() => { - TimePickerDialog.show({ - selected: this.selectTime, - useMilitaryTime: false, - dateTimeOptions: this.timeOptions - }) - }) - .id("UiComponentPopupboxZero0050_002") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0060.ets deleted file mode 100644 index cc544566..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0060.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxZero0060 { - private selectTime: Date = new Date('2024-11-04T09:05:00') - @State timeOptions: DateTimeOptions = {} - build() { - Column() { - Button("异常值") - .onClick(() => { - this.timeOptions = {hour: "hour", minute: "minute"} - }) - .id("UiComponentPopupboxZero0060_001") - Button("TimePickerDialog 12小时制") - .margin(20) - .onClick(() => { - TimePickerDialog.show({ - selected: this.selectTime, - useMilitaryTime: false, - dateTimeOptions: this.timeOptions - }) - }) - .id("UiComponentPopupboxZero0060_002") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0070.ets deleted file mode 100644 index 42f5a8c5..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0070.ets +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxZero0070 { - private selectedDate: Date = new Date('2024-11-04T09:05:00') - build() { - Column() { - Button("DatePickerDialog 12小时制") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - selected: this.selectedDate, - showTime:true, - useMilitaryTime: false, - dateTimeOptions: {hour: "2-digit", minute: "numeric"} - }) - }) - .id("UiComponentPopupboxZero0070_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0090.ets deleted file mode 100644 index 8c0fd571..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0090.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxZero0090 { - private selectedDate: Date = new Date('2024-11-04T09:05:00') - @State timeOptions: DateTimeOptions = {} - build() { - Column() { - Button("null") - .onClick(() => { - this.timeOptions = {hour: "", minute: ""} - }) - .id("UiComponentPopupboxZero0090_001") - Button("DatePickerDialog 12小时制") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - selected: this.selectedDate, - showTime:true, - useMilitaryTime: false, - dateTimeOptions: this.timeOptions - }) - }) - .id("UiComponentPopupboxZero0090_002") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0100.ets deleted file mode 100644 index faf8beff..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0100.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxZero0100 { - private selectedDate: Date = new Date('2024-11-04T09:05:00') - @State timeOptions: DateTimeOptions = {} - build() { - Column() { - Button("参数设置undefined") - .onClick(() => { - this.timeOptions = {hour: undefined, minute: undefined} - }) - .id("UiComponentPopupboxZero0100_001") - Button("DatePickerDialog 12小时制") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - selected: this.selectedDate, - showTime:true, - useMilitaryTime: false, - dateTimeOptions: this.timeOptions - }) - }) - .id("UiComponentPopupboxZero0100_002") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0110.ets deleted file mode 100644 index 189dd47e..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0110.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxZero0110 { - private selectedDate: Date = new Date('2024-11-04T09:05:00') - @State timeOptions: DateTimeOptions = {} - build() { - Column() { - Button("minute前置0") - .onClick(() => { - this.timeOptions = {hour: "numeric", minute: "2-digit"} - }) - .id("UiComponentPopupboxZero0110_001") - Button("DatePickerDialog 12小时制") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - selected: this.selectedDate, - showTime:true, - useMilitaryTime: false, - dateTimeOptions: this.timeOptions - }) - }) - .id("UiComponentPopupboxZero0110_002") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0120.ets deleted file mode 100644 index 16d7ade8..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0120.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxZero0120 { - private selectedDate: Date = new Date('2024-11-04T09:05:00') - @State timeOptions: DateTimeOptions = {} - build() { - Column() { - Button("异常值") - .onClick(() => { - this.timeOptions = {hour: "hour", minute: "minute"} - }) - .id("UiComponentPopupboxZero0120_001") - Button("DatePickerDialog 12小时制") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - selected: this.selectedDate, - showTime:true, - useMilitaryTime: false, - dateTimeOptions: this.timeOptions - }) - }) - .id("UiComponentPopupboxZero0120_002") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0130.ets deleted file mode 100644 index 6f1f88ed..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0130.ets +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxZero0130 { - private selectTime: Date = new Date('2024-11-04T09:05:00') - build() { - Column() { - Button("TimePickerDialog 24小时制") - .margin(20) - .onClick(() => { - TimePickerDialog.show({ - selected: this.selectTime, - useMilitaryTime: true, - dateTimeOptions: {hour: "2-digit", minute: "numeric"} - }) - }) - .id("UiComponentPopupboxZero0130_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0150.ets deleted file mode 100644 index a11c0c14..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0150.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxZero0150 { - private selectTime: Date = new Date('2024-11-04T09:05:00') - @State timeOptions: DateTimeOptions = {} - build() { - Column() { - Button("null") - .onClick(() => { - this.timeOptions = {hour: "", minute: ""} - }) - .id("UiComponentPopupboxZero0150_001") - Button("TimePickerDialog 24小时制") - .margin(20) - .onClick(() => { - TimePickerDialog.show({ - selected: this.selectTime, - useMilitaryTime: true, - dateTimeOptions: this.timeOptions - }) - }) - .id("UiComponentPopupboxZero0150_002") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0160.ets deleted file mode 100644 index e0190688..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0160.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxZero0160 { - private selectTime: Date = new Date('2024-11-04T09:05:00') - @State timeOptions: DateTimeOptions = {} - build() { - Column() { - Button("参数设置undefined") - .onClick(() => { - this.timeOptions = {hour: undefined, minute: undefined} - }) - .id("UiComponentPopupboxZero0160_001") - Button("TimePickerDialog 24小时制") - .margin(20) - .onClick(() => { - TimePickerDialog.show({ - selected: this.selectTime, - useMilitaryTime: true, - dateTimeOptions: this.timeOptions - }) - }) - .id("UiComponentPopupboxZero0160_002") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0170.ets deleted file mode 100644 index 2619b7dd..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0170.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxZero0170 { - private selectTime: Date = new Date('2024-11-04T09:05:00') - @State timeOptions: DateTimeOptions = {} - build() { - Column() { - Button("minute前置0") - .onClick(() => { - this.timeOptions = {hour: "numeric", minute: "2-digit"} - }) - .id("UiComponentPopupboxZero0170_001") - Button("TimePickerDialog 24小时制") - .margin(20) - .onClick(() => { - TimePickerDialog.show({ - selected: this.selectTime, - useMilitaryTime: true, - dateTimeOptions: this.timeOptions - }) - }) - .id("UiComponentPopupboxZero0170_002") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0180.ets deleted file mode 100644 index 30dde856..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0180.ets +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxZero0180 { - private selectTime: Date = new Date('2024-11-04T09:05:00') - @State timeOptions: DateTimeOptions = {} - build() { - Column() { - Button("异常值") - .onClick(() => { - this.timeOptions = {hour: "hour", minute: "minute"} - }) - .id("UiComponentPopupboxZero0180_001") - Button("TimePickerDialog 24小时制") - .margin(20) - .onClick(() => { - TimePickerDialog.show({ - selected: this.selectTime, - useMilitaryTime: true, - dateTimeOptions: this.timeOptions - }) - }) - .id("UiComponentPopupboxZero0180_002") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0190.ets deleted file mode 100644 index 7a6e669f..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0190.ets +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxZero0190 { - private selectedDate: Date = new Date('2024-11-04T09:05:00') - build() { - Column() { - Button("DatePickerDialog 24小时制") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - selected: this.selectedDate, - showTime:true, - useMilitaryTime: true, - dateTimeOptions: {hour: "2-digit", minute: "numeric"} - }) - }) - .id("UiComponentPopupboxZero0190_001") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0210.ets deleted file mode 100644 index a927464d..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0210.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxZero0210 { - private selectedDate: Date = new Date('2024-11-04T09:05:00') - @State timeOptions: DateTimeOptions = {} - build() { - Column() { - Button("null") - .onClick(() => { - this.timeOptions = {hour: "", minute: ""} - }) - .id("UiComponentPopupboxZero0210_001") - Button("DatePickerDialog 24小时制") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - selected: this.selectedDate, - showTime:true, - useMilitaryTime: true, - dateTimeOptions: this.timeOptions - }) - }) - .id("UiComponentPopupboxZero0210_002") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0220.ets deleted file mode 100644 index 5e350880..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0220.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxZero0220 { - private selectedDate: Date = new Date('2024-11-04T09:05:00') - @State timeOptions: DateTimeOptions = {} - build() { - Column() { - Button("参数设置undefined") - .onClick(() => { - this.timeOptions = {hour: undefined, minute: undefined} - }) - .id("UiComponentPopupboxZero0220_001") - Button("DatePickerDialog 24小时制") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - selected: this.selectedDate, - showTime:true, - useMilitaryTime: true, - dateTimeOptions: this.timeOptions - }) - }) - .id("UiComponentPopupboxZero0220_002") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0230.ets deleted file mode 100644 index 1394b520..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0230.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxZero0230 { - private selectedDate: Date = new Date('2024-11-04T09:05:00') - @State timeOptions: DateTimeOptions = {} - build() { - Column() { - Button("minute前置0") - .onClick(() => { - this.timeOptions = {hour: "numeric", minute: "2-digit"} - }) - .id("UiComponentPopupboxZero0230_001") - Button("DatePickerDialog 24小时制") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - selected: this.selectedDate, - showTime:true, - useMilitaryTime: true, - dateTimeOptions: this.timeOptions - }) - }) - .id("UiComponentPopupboxZero0230_002") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0240.ets deleted file mode 100644 index d318d2c4..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0240.ets +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxZero0240 { - private selectedDate: Date = new Date('2024-11-04T09:05:00') - @State timeOptions: DateTimeOptions = {} - build() { - Column() { - Button("异常值") - .onClick(() => { - this.timeOptions = {hour: "hour", minute: "minute"} - }) - .id("UiComponentPopupboxZero0240_001") - Button("DatePickerDialog 24小时制") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - selected: this.selectedDate, - showTime:true, - useMilitaryTime: true, - dateTimeOptions: this.timeOptions - }) - }) - .id("UiComponentPopupboxZero0240_002") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0250.ets deleted file mode 100644 index cf5e7131..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0250.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxZero0250 { - private selectedDate: Date = new Date('2024-11-04T09:05:00') - @State timeOptions: DateTimeOptions = {} - build() { - Column() { - Button("minute前置0") - .onClick(() => { - this.timeOptions = {hour: "numeric", minute: "2-digit"} - }) - .id("UiComponentPopupboxZero0250_001") - Button("DatePickerDialog 24小时制,选中显示农历") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - selected: this.selectedDate, - lunar: true, - showTime:true, - useMilitaryTime: true, - dateTimeOptions: this.timeOptions - }) - }) - .id("UiComponentPopupboxZero0250_002") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0260.ets deleted file mode 100644 index 5337ab38..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0260.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxZero0260 { - private selectedDate: Date = new Date('2024-11-04T09:05:00') - @State timeOptions: DateTimeOptions = {} - build() { - Column() { - Button("minute前置0") - .onClick(() => { - this.timeOptions = {hour: "numeric", minute: "2-digit"} - }) - .id("UiComponentPopupboxZero0260_001") - Button("DatePickerDialog 12小时制,选中显示农历") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - selected: this.selectedDate, - lunar: true, - showTime:true, - useMilitaryTime: false, - dateTimeOptions: this.timeOptions - }) - }) - .id("UiComponentPopupboxZero0260_002") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0280.ets deleted file mode 100644 index 3093746b..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0280.ets +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxZero0280 { - private selectedDate: Date = new Date('2024-11-04T09:05:00') - @State hour: string = "" - @State minute: string = "" - @State hourCycle: string = "" - @State timeStyle: string = "" - build() { - Column() { - Button("minute前置0") - .margin(20) - .onClick(() => { - this.hour = "numeric" - this.minute = "2-digit" - }) - .id("UiComponentPopupboxZero0280_001") - Button("hourCycle为24/timeStyle设置full") - .margin(20) - .onClick(() => { - this.hourCycle = "h24" - this.timeStyle = "full" - }) - .id("UiComponentPopupboxZero0280_002") - Button("DatePickerDialog 24小时制") - .margin(20) - .onClick(() => { - DatePickerDialog.show({ - selected: this.selectedDate, - showTime:true, - useMilitaryTime: true, - dateTimeOptions: {hour: this.hour, minute: this.minute, hourCycle: this.hourCycle, timeStyle: this.timeStyle} - }) - }) - .id("UiComponentPopupboxZero0280_003") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0290.ets deleted file mode 100644 index 249ffbfb..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0290.ets +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License') - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -@Entry -@Component -struct UiComponentPopupboxZero0290 { - private selectTime: Date = new Date('2024-11-04T09:05:00') - @State hour: string = "" - @State minute: string = "" - @State hourCycle: string = "" - @State timeStyle: string = "" - build() { - Column() { - Button("minute前置0") - .margin(20) - .onClick(() => { - this.hour = "numeric" - this.minute = "2-digit" - }) - .id("UiComponentPopupboxZero0290_001") - Button("hourCycle为24/timeStyle设置full") - .margin(20) - .onClick(() => { - this.hourCycle = "h24" - this.timeStyle = "full" - }) - .id("UiComponentPopupboxZero0290_002") - Button("TimePickerDialog 24小时制") - .margin(20) - .onClick(() => { - TimePickerDialog.show({ - selected: this.selectTime, - useMilitaryTime: true, - dateTimeOptions: {hour: this.hour, minute: this.minute, hourCycle: this.hourCycle, timeStyle: this.timeStyle} - }) - }) - .id("UiComponentPopupboxZero0290_003") - }.width('100%') - } -} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/color.json b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/color.json index cebaca0e..34ef4a9e 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/color.json +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/color.json @@ -47,22 +47,6 @@ { "name": "color_gray", "value": "#9effffff" - }, - { - "name": "Code_color", - "value": "#121212" - }, - { - "name": "tab_text_activated", - "value": "#00FFFF" - }, - { - "name": "category_background", - "value": "#ffc0cb" - }, - { - "name": "search_placeholder", - "value": "#FFCFA613" } ] } \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/float.json b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/float.json index 4038f619..989acc49 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/float.json +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/float.json @@ -3,14 +3,6 @@ { "name": "boardSize_10", "value": "10" - }, - { - "name": "strokewidth_10", - "value": "10" - }, - { - "name": "bbb", - "value": "5" } ] } \ No newline at end of file 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 3548142b..97e43d83 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,28 +11,22 @@ { "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 }, diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/string.json b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/string.json index fd4e900b..54b17e8e 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/string.json +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/string.json @@ -52,10 +52,6 @@ "name": "abc", "value": "abc" }, - { - "name": "font_20", - "value": "20" - }, { "name": "attributeUpdater", "value": "resource font" @@ -152,14 +148,6 @@ "name": "50_percent", "value": "50%" }, - { - "name": "60_negative_percent", - "value": "-60%" - }, - { - "name": "60_percent", - "value": "60%" - }, { "name": "24_percent", "value": "24%" @@ -180,26 +168,6 @@ "name": "time_picker_10fp", "value": "10fp" }, - { - "name": "mixRefreshText", - "value": "中英文abc" - }, - { - "name": "specifalRefreshText", - "value": "+-*<>!@#$" - }, - { - "name": "width_20", - "value": "20" - }, - { - "name": "height_20", - "value": "20" - }, - { - "name": "size_10vp", - "value": "10vp" - }, { "name": "ok", "value": "ok" @@ -220,30 +188,6 @@ "name": "confirm", "value": "confirm" }, - { - "name": "message", - "value": "message" - }, - { - "name": "toast_message_1", - "value": "王子变青蛙,哇哈哈哈啊" - }, - { - "name": "toast_message_2", - "value": "showActionMenu" - }, - { - "name": "toast_message_3", - "value": "我们说过不分离要一直一直一直在一起" - }, - { - "name": "button_font_sans", - "value": "#0000ff" - }, - { - "name": "20string", - "value": "20" - }, { "name": "10vp", "value": "10vp" diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/test.json b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/test.json index 659398ec..c2cb5c93 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/test.json +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/test.json @@ -2,7 +2,7 @@ "string": [ { "name": "testFontSize", - "value": "100px" + "value": "-100px" } ] } \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/magnifier.svg b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/magnifier.svg deleted file mode 100644 index a8e61ed1..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/magnifier.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - Public/ic_public_search_filled - - - - - - - - - - \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/tick.svg b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/tick.svg deleted file mode 100644 index 74490ce3..00000000 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/tick.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - Public/ic_public_select all - - - - - - - - - - \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/waterFlowTest.jpg b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/waterFlowTest.jpg deleted file mode 100644 index e7134f381c8218491244fb6c34fcc608d4dd65e9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 149417 zcmbTdbx>SS6ecO{(A47+g)|5ZuhP8-LBhx&evZ*FFkJo@D*hhWC2J>NC1N6&|7Op<00MNR-dCE)NN)kJ2#}Boke&wtbN~R->lbhTbNGK7(kowe&G?3QPJOGVpG$;r)Okl{m3pXDlRE4E3c?*Xl!b3fwZ=@_YVvX4UdeDjnB@_ z|5;dET3&%}@9ggFAN)N$f?r%-UEkay?*9FU3kiVyzhM0zWd9Fb1TVN=y^H}0+JCr^ zUU|P%WCE1eZ@5tjCDqVOU5VcEgrXBmr4-cnVKDHj!${2Beq)j{@ap1slLPNua|;Gf~O%P7rZ zH}=tPG9Q0KkhuQm*c)5^8iFxH{u~#ZkmYWg)`3!Y2z9uzu@6X8Y1OK!T_aU^$3)V! z3Gnf$2ZU#LXT1{@4GzG74@JjZfj7|TSKFTf6Q7JQ1-Imn=XwD1^8;UM!Mg9<$13${ zeeWF+Woq4z$y}!iPkC+&?YU}e90J>K=(*bxzMlziS-_JO&{AR_wgqZX%Tt-@B%~l> zbWrdwy4C2x4Jt&*z4!#!mZw@UQ?O1U*lw=e-&Ya;OBu?;;KP>rA{w~2U2|7@kR>v< zq25i}i)1*pxu~v){U{02P5tn8uG93M8zKE=Za-SJtpkpEcncqmX^@irqdu_D6!ifO z7By26=*ryNfx|AN%&eK>g)%XX;KZyVbC%UW$Qf#t^%N_P?D2!OnP#Rg) ze;_SXBW} zgw8~@hm}~;s@L!YQ&s$ET`O&~(V_>vcx*OTh|UdXeQO8|2&phXNRAzk?$@6^2t#vL z(Nf0`)arfmiRAd$-^%4)J2;8`VSi7$ew6)KA3xa0dp9?|0QF9%X3^XV^xyA7(}7{y zJ_B%1JrDQooliv%8F8nM%klt*UF?5*GDX{Jq*r^Cv49+*`Kas1*|{<1 z&NubQk=9zs!X~K51fZ@)!bqEGF#8QB!U zsl^@m=%XWgaQDeT-STqwg0?m%w?9XxkwkPDrJOFoPY|V*u_u@wTRhc=k>J@xf^J>D1 zgln~Tny)+cn$y>Zb76Xpx{LnOgx zjNnp#pJWrogiGv99kw!0E)?jN8$J|jlW+OaDu(wFXBx4saQ*O zvAt0quVq|ADhCDJb9cg5&l^rG4HzQYNS^_|5aA2KlW1G9e3F`4{Zl%t7N#+6k; zynG!xqajfoL(%kjT6EFPevlB3xt+||qTg5RnEQ^eW|h9(+9tt5kP1#j;@XC-Hkwl9oY)#_x=q1MjU?7hXUD;*CzJU0fJjqJ)}MZ%5bLiu1P)3 zhuWy~@sZ{6wEO;_JD9TD7|2wOp;MF~Ff<=K0H@(M7gO78r?$O6L&%MgFM~rqmu}J& z1XaMWGhiAWYX74R5xyPh41Fw%=;U>G2eh~P=Tw-kKjjcbq6#oX8aOlG_hq@Uqg%!Z zviTX^I@iZjIZduSmIpDt9{^L>I6K?kjP%6lt&i7UOTG(~aM(4EH`#JQ6&HR0`j~eVn)&L5V{oP2EL6nz)l+@@2#zpMo{6bt%z>QB@x*C8g1cGLhZe? z@LItDa!a|$ON7dz2EOl?KyS(H|93)JCF^ujoNaHfV0rOpX>|V!c>@dJ)Id=ENC31c zoHYI6rYw43WJ6UQ6n|%~fN**S;5_l$-AYi;p7Z0Njo$O`h%o1qZd2;M{o*3qk1G-) zxwWVXj~kRAK-llxBbp{U^30Y0>|Q(#z5hY8kRw2h%wd5WPHo=7r6SZ1^ByU1V}$iY zH{B^W6)JdE($G8=xYAGm)5B*n+a|jiRHKLe)9>W+1awdO8lGbo1@0X9EFf^ zRwT-`@cJdCe*OyQGXTn%5C9b8UfEos?~XFuUnl>mzN$mb6B1++91&}L z>((zh;ZHMzg~52@7ya#;f}d0BSYwU}l8tppz|fi~-5R2qSA5_~u@x4`J{yD|AV1G% z^EAX?Kev4`E*C+o+*~@ZRg;BJ1WXzv z<F8@tl1faqCI$^=9k^pq#BTNw_W@ie%Qv`Oy7tYr#yW!*Wo-&mDG# z0)$UyFp=lN+$q0O7C%YE`q;h!GT!$PRuo~Z2nu0}9WhGdZ?u5f;>FG`*`t|{E!@5X zCx{MwDxvAbtyRLtFYnIRQ zvEF;o=xYkLRMBUgE}!W*uvxena_5E>6Ww}2lP{<7Org%-QuGnYK7Jd0oJHyB&P=c5 z&&&*K|0Lt!&=A%eOtvSa;UB4LiQ!|t(#FP>t2nV= z>!utD^xq-B77ZjkvKLq4o^h#ccrEpjhwB&S#c?ifWcz-%s_58Z`G(>_WPD#~TaqL^ zKcrI>&Y&d{*f`=}ew0(=R0x?5>VFf!QsA@jFRoT32t*^+sFLtOoP zeFTXo)v-2`#rnk{cNqSG7)Vx}-5aVM*<>6=OB^mwdK0{yk+$b##Bh_vq!u!}D{w(v z`=L)>EFL5lKOxYkQCOm$qiMW;B>YEf{_+_>@eJsbc6<B1>d6di@*c44o!H?`-|c zShtf9Op`F1g`I z7wb4YF@5!rmOOfd4v(M6rQPFp#lT$_LJAALNy&IzIQG^>(1q0ix^V%_c z8<+@!3cG&>8*jqwiLA@QE@O1e_}Fk&sc}E<*Z!sCZ-pB;TU#FR&vWOv)>ShUSy1Ep z2YJ@R(x9Z(D-s>{{_d5M#Rh9RRB`Cq7K?-osF>b(-&u!MctmKMkKBFUZuTZ0>d7qp z@IK&E^F6;wIL4NY6LPCc-tqn*sEH znnIGygY92Yy&dZ~<)}PyTfWnOBfIes3wK87ck>~nw_jGJPtMJ2pI;A6{?6RMnEB$B z0%4vDUDKWuc?N`DIpYT~#SPY}zD8s)d9+$zij6Rfew-Hf*`ZD6hs{l}%k~KJq^*+) zH}j5lBLxJ&f#05pN-|13tt$>CNLul+M8Bh2B!u*84SOYy&4nl1ALoZX1E`!IkYF`6 zSE8zT&wwG>sJSm0_sWSU#bsF*+9uSm6r^x9oQ&}F5NLgwFa+7Q=UKjAiDOxo;_t}u zZrqR0fRTj2q^ZePVeqJ*StW+Qc^xHH&t z;yeYXJl=T;Ose^Fa%2Ow7V+#Y8rTj~i<9UwqZk9mW4GR8Qsagv$vZe z(2wi@QJCvq)KBJo$ET(hW&^TaIfonJ!{i3u$2?IXLIW}~ZWcib1Vfj7*a@_=qdz@> ztmeOvQeBM(w()Qe^9d!$Mwp{d_y)>tZ->upPfg#+e3|-=W<&49qKf=lPE0#GQ%d&~ z&fE3#I_`YeTrvIHIyq=I80$fEn=a9BWH3jWaN}Y|Dw|4KMoKW##}v@WX5r*Q5K1#( z&ipE^Z&4(p4VF3ZuX>SSpwvz2BZrjdw7Geg$Zgj%Cimo0Vy6t+)Fxr(>fG zprxp0gE6`76WgDrzt!_=HG5aws@O6HEttv3r(-C&gzkq1vNf>%LG&|mNm?_~T}Cyrw=)tgW7#QI{Y zJPw@!p~Snb+#g(}@x-z&7<-yo0pUGj;hLT1TT@if%}9=GC3CAJH*9*36C+`dFoWdsVfW5fK$C}B6k-v-!qFCY+r)H2m_FWX~Giy zMETQj5Idp|8gq4zM`W)JTUk@^TNL~v)e`mfqMOREQGh}7PVn_=tM$(#aLB-Hp3t8` zJ!b0iGVy7-n>++7bSCB*fHsm8@Lnj;jCGdcrsDC?NiIuBw9bv3*8iXOl%GV8Z>gP{ zo}H42oISTQn`AyKJUsN5g?Zid#`V>w9%Rp?h$q%(K!n%9u$#mDJFSk!2su)7$?pTF z0YvfGWsJL9$a=wa&j7PW>)}n@>rHA~zk!JYA73SD)S9=d!ECSB2E`OBHLQ`@mv)4~ ze|)@oioyy`>iOFWH``}^7Vw|U;}I>2$yskt_*3Bsnzn1dr{$(42I!=^d;l=Rzy&~a zVASl&aSK`d&mV7^(O=}X)u(Z>>{TfEf2dI ze~lgBFvKz-uGUkRn*s88Ay;NE8ifd^4SFV6pvg^e`%0gF~Dm<|Wwxb_{dUmAwCOBiw7TZXDu#;toHFpPWOx>Hl1&G-U(=odC({Nz48^RW!TmZ6O)6gq93j#ObxZx!7)2l zu@oLgmx;qDhyBHr{JyVcH(Z7Rzw-pt2JuNCV%;L z9=U*JvJn{t%2hAONfbYMU6LVM05| z;Aendr~jZa>3h#dyLXo+37%Nyd~Qlq9Ez^F_(>axnqguECz3B!k0825hpO<)$gO zQIg_MKg6`S;tK5`WQ(j!r^#uP!Aw>tO05^bh%jCdVysrt_vG*FEhrRQY3Z++Fg#~C zJ2)H~>fDU_i!UdXk!_J8j8ztIZQAd)_k5IO$u=MMrH3FuWS&gD1u|EAX8xlu|KRlm z^{eq(WK)%2I@HJuZ4(O3!AOXA14;`XIXGs+2U;y%DGpF9e{0B_!Y`<9-X>AVOk^AF z;FZK@fFdHLhAR|Ghl5Dn{H!3bI^bS-(%zJ^6#XsTcmtqYmoVPq)A!YYgqKOvUuWLf zSA{4DzHcP>*d6e7J2+!9$xEzgm-u7z}SQMuxX4D?W+l|}Oz7BgAb+*B9$bIlB^wM)CyHVtReyF~YXAf96r zdyZgdo4gaFA((Z&9_fiFQLaE@C;KKTVI}T}u5l!iPpFCUw`1SELaOb8Ml159E`{qj z;aVNQVh2pJ7mWEtzo80O8OFHsIoC1Zc}yS4&{Uur2rJ$}E}P5#*K?Brw+`#{yeAD1 ztDoiMczC~UNT;5PFD=r-Gy)eevwVD8O3va4ppb^+PHh9|5 z{<1c;F+x*x4la8;t?i()EMGU6mqC#FaXTfrNo|5 zr^?Sb6$i8Zi+jR2xRX8U7-$Xb5LK!NFGt_38EIl56 zKuB^!x@T@;zb3&MKnGhq0mF>t1ML-HPi-t+Zay}LMS z)g~^&x^3I%{^>V!{ax8M)v0@*SKZ+=V5L#1tRIRkCG`xjv=lbV`R<-}0UGoKODzW5 z8JZ90V>$+~i+43Q&lO9aWz6#1en&+Y1Qb`?Dd41~qkz~O5GhdQxBobebeg&_JaYc( zI_`xtoy0z_1uUa@^lepKlR!Z{aE=PQc9nc!W|`i^L0;dN3I^U3)HchF3(isC0&H#{-$E~)Be9BIjv61l-Kiud=eB$(@Fw0;a^8S(UPP|ss3#X1^N7Sh|41&oIaV((6o5|_) zs%w;sVlbME|I<<_+O`>L5U4K&rY7C!Fhe>x?(tdfk|yt8rLVY%+>X$cg-HtIj ziEYrxi-HWm#uwhTE<)Vz9CukmZ*Q!^z0KX6YxFL)JCVmzxZ=23XbotJPaP|Dr7hx< zx%WhZ6Z4_WgUG12^B(p(+dn*xllL_0UNhd_|GZ+zxT$#$@L97@S(B|-dY?U8#WBuE z!0G_Q%mp9`i?6rSN+wVh9XCn5yA+ZYl@?O;hj@pvc zseIBQ^1Y(C+F+7MxSVnmY$n2*vTG#M+1_-oK6`2G=BJh_bNB?&J~nL@O;tTy`6P%6 zmeE$eu5YAlYhDsqxx7pP`H=qM$nE2OuWNFFet0(goB%QFyb=txYIAqpT`{!fh$HE0 z=wXRTp7dQGH9froX!l#<*I0Vn$SgPJBo9932feqGAcgZNS#zG=M7|i0RhS zM7aoZ5^;@p&pwtw8}e98#&F(&G=WYXqY6X=lB-(!rzI|F{Q&MWM)qR?tVMP~#698n zT&tGj!&vEt!|18W&PHurHo`z%tKxctWFTI$%T8?bb0n`CBOh8{BISTaw zjW5`n|6lWIVcX2NKQ?|dL;2W-(pBQM9W_fw*(K!yEs$eiuF7P>=)@(@>5Ak54LW&k zBQ&o&Z;J(mGOEYD1oDk@V@32^C^zbBYA3p3+|6zw3aVI`{XjRKE)CgmizCC*n5zS0 z3bd7jv6Tvw&(bT^;8sgq@-Wm`;|N6f+hdgmO}(=v<^jQlUFUnE!I~kR9QSrqc9)#R zji=JJ7l=0ar9@^pXW<})&9U1kT6kMEA^RX|x}xOJ8}Bixs@L(%vhib-bOz=DAaCg7 zYZ#Uzb3H>k>>vT$`F`tOZl1Zlz42ZlR-b=(H{KZyC%2;SFPbnjh2DB6g0mK(Kf-QV zwq#^a>IX_8t?_&tA*faTn?leW8NIxtm&t{gI>c48lXp9&#;GR2wFgjhc#avxc)^`5lbq1 zAlLoCuk&{NDR!zn@d%L4Mc&O1f;3#DHz6iSqx=_m!|UcxM9##U5(%}(?U|7^n`13x zv)rU7hEcMrKf?dY%6=5X4cdn-@HuZTjorQGa#><~C@$##DD zGl0nHT4~)|bN*@q@u$XeuIM6ccv8VJ$E$rSQ69x(M(u^gglncemAak{u5%0ua^iT!;p|nbYwB5rs?A;xI9~pUl-FLXg69BjzXm%$ zW{ZhC!sm7d!;NHnemR~pb@}Tq$8&5|Y|@Wv4U6E*(Khe+k)7!L3m)nVy!jg)#V@|7 zbsGvJ6nLFRf0?^Q_YnhZhXC@?VTd`JLDWWE&Ao|+4c5rNOreee%#f%Q>rFetAq>gv z;bKJ?ic5G2;K7@p3BVQLOEeh~y{&|YBT1~}F=pz>vl?lg#HR8~*2}`h1#K)P*TPNY z{G@^`iF0$Xoo1O(zTzo~!@ps?vKpCC*FZo;;mi-o*k(0oJb2aULpDk`L_sB;a|%@A z6+ZeS?59^8%DLM9JDv0~4w1#7e57Z9O-FEKK3ae(^wjPN@3e;2KFe{3?Q=bY@WkoC zWQ@01&i6Ek&sOCEpIiJfUWBGmlC-solKH_5(a{1ahz2CCIK;)pxuj<#>1oHf_5*;F z()Nw<8PJ4rXpkS`xQCE~8-J|J(MSz`b?hA?)gV7b%rQRBdxqt*L~$_N;Ty!P=L6YJ z->9qC6ED`rwoK$gIi?@J#u@Ef>m|sgDPzdq4dOKH3x@u^iet2?Zhi}aRo9hg% zHuHQ_L&5$e{KMOB^rj^Bx$0((*pn%0u2!G1&phlduV6ywxi?^{+4EgQ94!B9T}NAM zz5(ni>Ivuc_P2Wn#nG~t1cKymK2m_IDQPsx&{VR$|3wNZ_GdFFX2vLY>xx>8n3qKQ zsn*0EHD;NhH&JD=Z(&mLGr;P86V)ekm{eeckbQK*=~Z&h94a zscT-4iAn5V;8f>J+}K;44BfvBm`|zetl|oCZ~*|~WBk4o+Ty z?d)p`0t*}gT@8Sbm}ppeB@J$}!aTW#9K?6bI21FA;6|^ME7jrmOP8NurBNp6t+`x~PNkT}QEB0*FM?KW*2nNPg)&07;_cL%|A zE7CG4KgevwKceGli3VXIChkAm(Xw@QwTGFQ+1s2tA-8%peaVWy%Nlm`2CT+r?8Q{R zXvctC<$ec!%Z_Tn4LJ&PpPm8cO)l=_J~zI;R%RrslU2W{Lyc{f_)ESOZxt0R)TdWC4&G3C0UPuU>kGQp0;;Vc07deHJs7sQsyv0IOe3@5c#$9i0N>}?NH z=BtI0oEZY8Eyu>;Duqjd#9OF!)ccyIt66?5svO6!%KAS_$=K9R<&AS$?u)#L@li$m zDX)N0Pt>YNLDLe9aD&XcJZ)WtYLC{JPthsMlpMmNkX%1Qz4cFfn*IJGB5wF)!7h_1 zBbc}JZ1zWJ#7Im_d~6^b#714yxsU>P*#;=Ut@5C+qZMYGQ5UB=Oy+FOWz-%Ct(LP#xH~+JT|v*z;lR zh)3~2Xm^*ukSy#;P|wB~x#p_se&SJ3yRj!pIduc0%$xQ879dcvHSh1 z?Lec|{(s`Rl&E=SdWSdFi!EQcJu!PgPqIdN{HT0 zzRNHSjS;no39G=Wj3XD`Ym0!-2Z3X~zWDLkRF1LJrul;HjGI0*%)Pn0I`#oB zOuAV^;<5RnD_*e}H5l?PhpROP9B z&Znu(21rb|xX-~oQ9mT3&JL!p;DNI{yzzcLQT76TS`l2TpUQ5%?HqS~j`r~N58n)p zUX$Nce7<#;zAb^7)n@(7PZr}&v;J>j z{u9Ouo&N7m8S{!m*wKnwq7KJtZP7;IwkEn_eV^8saTVUYPw81xU$plmk5DA z1Bj(fDnaiUSYJbBD7FlGuKuQEvg)pS!YMZikJeSWriE)Ck(uMzN4N->%<@~+e`@e#_~E> z{7u@RLK2cQ*1O=&j!dBDbz$o!g5LYowft!T5AGJIKIF*d5yKaLA+N|Y3W)_6U=!?K zxVeLT(U<~<^`$d$P;TqzWY=Ox5tlDQJ$wBcQkEv*>lOW{#~NsN-V*S8CHk0^=0=BM z^u)s_FaB+#cW{S)d=1NDb&jDHRz4Wc;xjKhh(g!BM>2laBhP^4g?rU(PN4LHCyl#8 z)S-qQuR(n*1EHf$od)Ruwh1c=ZkPMMAc(G`>reF+Rk0dZTCqf^Z^C%+l1;6pEZKf#_XhMP=N3{wc@rh`of|2{aGAbh2N{%S@7~`- z&h@}-#vJXhYSUvsR{~+DhR$pRzzmVJsI9@Z>`icRh#1!U{w_uT{8N8bvcH8kOwAqN zPBan)wC~INlCl6)IiVnN2@}|DB3Dz+O1#mVa4bI}b?}G*ODg%OleFsk z+}DZ}9Grs#61}ZD=t6psnGhA;d^o;0#%#Z+?w9A~e~-HFz1{K8J0W%vT3@nAN-In0 z=PzLuNZF*!t*;N>0S?Bo!%@?=eRjT|XO0OhV*V2Opw=^vbCIcOq=K;ojM(q=)PAiWOz)R@?6Tk;>I2~{~^c) z-)F#=!xmx?XP>%y29W62mN-m4seeX)Cm)Bu%xq2bZD!9{H^XvnpnpDRzF$4fy4;7o ze}f#Mw(V291==Sk0qz_Yk-2l7;DJyLJ1fN5n-F>LqIV8ulbGXbt{*X1zk>E>bvP(j zp7u&FdM9588GyWA)W;$N2w;i+p%EG654N9E4f~p^NK~sYLpIAFX=z5=>1};Cn%;Q# z*u5ZnJ1-FB{MD)K3X${8-)s}pA83<2ZTrJDT^79A; zn6F`+^^8+my_qMMEGz6J8jtN*G3G@=2k=~vitSKT^_#yz^F9|Po@-vdB6}dRpM-%& z7H2)*vn?tt)NIUsP2Aq zqIpJ?Qvwh1a{5@$XQg`2{082iQ(YrxmJ9-C8sXTCV9d_061yN$7a zr_wpk3dQmgD>oYTxoW$ddRd8Y3j_+p^udxs`_h%}P)jVs&EatAi}C0HRyJE%+XYbKV1p`E8zIFqX#xC2C2-BPkCZENX{ zUB{H%@3bIb`SdD^A_l9MBkddd+lOyxyoR3y$ed8_3_?D`*yu9LL)(gtfsGGA%pHpuNFG} zXUCQvl$(-h|GSw6tG}nQx}8tNFaaFH-)iP-ok7l+5)J~0CS~N{NfilA+ly)T}1>BC)>}cf~FerQc zHG2j9#Ig2wL=v%D>7UOom?R7p({g%;0fLnhMHZQ){(Fs~TBPY8S5rHpbYPvds*HXM z)6w_ueORq#YnmQqx83)UDx*6vs2W0hP3Q8~Sj5@W;Hm@nNufc^PfHEiN^KRd;C%T0Q77G6SXdZ2{@eyZuU~Yq^Apoc3Ko|evJm4X=Tlh`$U+~ zN{aW${a8go(U2ZnqZTvw3cO@)Nt|-*WjSb-xDVuI`AO*QB~0=Q@pa^%a|FM0vyskN zg&22T;v23ZZ7Xs&7e8#!Yx6Oe{X5;Tsh-L@XzLCA+?6t_F(smz?@?lUnmw*eW*PYZ8N%Jr=gP+k?xW>Uq=YmtK*?|p$+9X$o11DEEuuD<)Zm>lqLQdDjt8i zu>AfhrVJw;Em@ou+VkNVqn7OmC!*$~f}hyO`?fLto2U z-}(`(hPVt3Aln!@$M3|CyB;X+Q6pW5e5gjdaUa$Te`Y)OawtIHV&T`6C9=S(cYiXK zKT&fop{$BDt{nO0X2KKqLQelb)d8Ht?J6JaxxcqP%PC3~4ptn=Kccoqt91h6sRiI5 z+(6`;L_~B6Lg|J9wilIKFFv{8=L7O*@7fpE;!M4R^OE9Hx2$jcpmsN=1GT4BD17nm zOqn1z!Wq3g*M>88Gr=_@hnig9mAEoBr%y$&ee!l7=h}DN-h* zMo7m0ny%+;?yrhmp%}1sBFS>PYs{dh-lA=VsRAU$+JCBY%^R)Amoi(>7tp88^qBck zFP0#BwxgpxmER9Ea;_cwma6olT*OK4?&;%JO$YnPGc=_9%AVkh8yu5WTc!_=pd>ZZK`o>d4gzYFRK01TOc}Za8MMa<& zrU4aYD*8P0qYM4yN@<-=uctlQD3BNtt|HJ#oMM?M!y~JUE0ys#yim}%YfP9-ZzQqF z_**_KQ-?v%_Ex>Qm`6v3ImMPB4zXKHhouZms|n0&Cb8di+2!+ANr za=+oj7N~Uk!8p3-86Ynkri)IGzn1({lzNB3%iF|#434)nGnj&KEO2y_xulxZjcFs4 zW8`e&ULPeN4Nhl@x3sinb+63JxborhlYV4^a)3OO^L!Aw4zgDxMi3X^Vy& z#KMdTZCA?r?el`p&Zpv}ve#=lcUQ0^g&F)q1k(pjnIzd$KMEZmNszD#T{?fIt)_3{@X9AAjth;hBK(|#?o{zQ}naR&%@HgzRVYs?q<`zuYPuTY95 zYc%Y*%3`{M+-HQqIepMdlcS6B4YJ0zvDh%LeKGeTT9&yU+nKObLp#;tbwtK6T64y~ zaaXeMMOk~vAJhwyCZ@T=6M7d1vo&Bo+JhHz6@AvO)ZRD*vZ2hnNYJ`X=>hk6_#FTB zZFDy}UbtRj6>3qnY8j6DiVsptu)v1)eXKt7{))~+=Pj7K{xS4HX*&+D>2DlqS;gVP zzAi^Pqpnlh)bfE81{DmQNtPRg1YU077(k1N-)w3!S`_)9`JGD5TD;^zZ+W2a+!)J5EHka^h`Z9oYE*kk;oM`q&LAQrHjf7yErwH&S81;ij}l ziXy|z&TzVcNgMQqXC(AWux|$OPAhs#6=OqgM|53D?N9EIM2>s$ssdl~av=t`4dw?~ zE5~Yq3$j{V`@Mz7qHDYe5dUHT)eFnwXzTCIyt2E%z)e8u#7e}1Hi7L{`}1MB&w*{L z*P5K#>us=_w##Otc)s0st$$D4lfcujAQl8csmpmc(Mkp=-~wnJxxLHIgMGb-LmD2R|gE z6d2mb4OurEXy9IGNtLE}!Ku_DkJHk?(PSB~e!R|bAWWMA%>P1&57VIseCnE4NvGLc z$QK!BYRz6XAD#UC2AaHA$l07@Llt^JP07BGm^6B;<10JPE?pP}Tv1BT%{;Y+EsOCJ z`ozg*yvXmHv3?YG{XU()dqYHDPvsIh`b2%U3Hl)8+Y%0Y5d_mwH(md(Zqoj9(3B__ zt1lY)ZB@R50^(BklG#neMB=rpg64swSLd+;`1Kr-Fy0&kt!TbVBA9>b9tj$8%;~GAeQ8lRiG=$87TbnU3Dgtp0^HvwYv+c&4n)PG z(TgH*XP-Ql8+~GKn&+djEOQi4CNh{Sd%KNYkBx?1DtPyO2U+-lnV!-(LW1vUFx#JE z@1FBJ?}*>eyjGV!eHtEdxfZ;VKz(@CjZ;11831obAV_BhyII1uvlW_RJnn6s$>k^$ zV5zb|uQLqSrDWGoBW5`7mP!E>81u62bpwWqo(c|rnW4?8&@J9lEk`wZlfbZo*}Z{r z;Eu2J%Kr4?;WM`eCqMXW3#f8LbUQd6gDl1(TKU_I$z(&ZQ}4Gm!pTwpSF$IG2h7Z< z?N~`k5-fi_#>|wegx~%U1M?iAX85$UIxeq#WNIBf0<356KgeyVA|xf4k0t0p{kPHr z?h06XcBFS*1_HlQ0jT6Vbtk_61I$1(zr|a+)RR%rVu>uKw~1}zjI%D~W?jLLR^a^I zPf^p3I@SvhYuHnyx|#%P7ZFBZ#TvZO$W^Wa+shPb#yS9042*aCqn@P8qWE*cwj(!9 z9-!{TFPU=jNciXECkoA+wEBk8l8@*)DJ-ES~t-CA54&l3N9IBjimQo2`hZVz8wK`g8k;zlsFW7if!{f$k zwmNKgp_WLOO>5~S*zXw;zVWexBkgc7LED4DHLKyT514gXE$(zk;)dGVSVg?=C(7nC z<;n7eCt)SFHgnIVTkyw$d_6aYuk~FL>Pu_rE?J|u)Ko z9yYUR{6T%;?PJQ;)-+JlEHOqRl~;evGq|xM=i1Cllh1*8^Hgd486}*PT3s%oaSBH= zY0#l#7-x|@)%l{v@sOhoMW3v5WaG+30ATZ;6lXqT5A6ZsZD&xI!oC^3{{V^Ylg(={iLIvDFt(aN z9ws0Rv15(Wo&h+(ugCa%fF%sdty+%M`WPx4&hKNe_%W{NzZpJ1c+j+l9HNqlh6oF0o_ zd+`4Nz$f5tjc;?Hd75^qDtTM3ZINS`7=kk7yQ%1R9&%44SJM9g0T$cEULwBJ?=1(1 z?dP+W##Ot-yDk{U%u#>_EzCED=s@enYqvMXM-z-#T3SbIo_$v5SCTp&W2F2H@Slo4 zDQNdvv5rkYP`XhpytHgGS&^K4tDIwTBbMWmDwWNzf_@WPzNXrRx7jZB8Ez~sAu=`H zvK35+8&nUvtCeHOB-gY4&^kq?hw%=>z_t@=Ru>0yZZaPNEtZ!kym zN`+CJ0lq`uh!LSlZQh5UhAmE&J#}2MT8aOA1#8h%m zsp#mUqR#KfKN7CAEmC_uDQs-~FRi41Y?!F??jdiwQO^t41wrgdQh4I1)MBoA$B7)c1)cF50z-=Cp9E0Fk+qNV40+$=jeFuJnXkI%jm^MPvJS;mZA&zr-wZE?wI7O3lE)-h zM@cd8qC`~}fGZLAun75&C!S3e`~FLt#;yjPMb#fug}bE|d=GQ`bLpNM_*~uq@b=(d+v^s$n`gJXj_tD%^7jlORv~}@j&_bX0=`kwHD9x8Y}qarLILf7bH_NZ zt3DEWY#3MTjykCn_?p>?ao6D=eK@q=^xl*;#b1Ig+B>l z)_g^I1;4}{D)ijL1=E2Q{j*?$y9ba#&jGpPjOXO(d{aHw!y%wPO_XddSxMZe?1_?7 zILX>G$MA~Y(|k*(d^Y%L4DD@YbwBo8(4g{Ah~2!z8^${FSP|Q8WsZgB>C5@L5o@!` z{x5uUx%jvHK=_-*SC=n5I3WtR^l3I5m_%`KJ&&~f z8~ZwIUkblt9}oDZ`@_wpMXl`?x`Vmhb>=Z;+&Tp-gUa)dO7S0wUJ!=U$2v8%^DMUl z195TY$_z7wlP|C?Hm=n?3>+`1udMt*`%3u3;wOf!`~_=s1^hB;wl>K%wfc)iwT3;r zSxS7e4l)J_=N^^vx9!j1i|+(@{s=D~25+%OQdr@V9oS-6ZG01qugnGxcqYF!%A*R| zjOkw7_bxEBv^{6yx9t<~x5S!Wook}&?zh%uC$YT#&6$%+F=K2vWAh`EfOh3^&U2BA z@RR-$S^g*L-XYP@X}7o9boP*3-8wTu3Wsl#Cx}&v_S3H6@hGWcp2$lPw>;?1V0fCmx;Bn5iBOd zCQE5INiw3w%Brr5f(}Cv$}r$^GHcp=bMWg$gTq=Mi##^awxOv`vBNl;NN0ievbqRK z46%?hHju12-JBZuoE#;B#PVV_^L-A9K4am1D^1j{waq4959<0<-X^t}gtXN{+u~y6 zDIRKw&UnblKFExQFxmANR5=gxv(&8nn{=dWEcbGY- z^ESegjyB4(B8R$6lawUsYa=qaI{UOgrdf>h^bEVUPDl2=65kq=ao!bB?&^G5p81 zbd%^e+CGT$%^{j4aG@2Mm03y7><)4BX9vG**JJTl;{O1Kb!|UE7Zd4Mj^AszRtp(0 z5H_q#cM`FIys8nLws#UvIS+?^B+)dTbuKUEOSmSDjl3fPQ1QcKKPk`Gj;6etobspd zM8(r-9an}mWz@VZcf$>g3KY*cQNAvmDC?7-=UhjRyi0g&Vv9{O{`KUE#E|WkkTQXi z4UL9z?l4`O_cCsGA#gGX2h{!;tq%uiHrBcd+`Cy!EmfQB*FjLQZb<xR?*K4_BadP&zWE;Tr`$bc62e`t|p85m9oDxd-h zMhE7|BBb$$?MvYV*Wv!lx4)N3wtpx^97_bP5ON9gJ$CRiJ9?68F?bA4BjApOsJU!? z8}MUK)qG{ILNwhD_}WDBPxf$sa_FRn*v-#I0~za1t6V6C*!IY900PsQNV7Qk3^I6O0Fp}^*}zi5jit$xp!n#j9pyv*#?s!({^Eo0$y`d5~jGAyP=C+>w|$og%^ zOnlsPUr|db#3{nHWvXV-j;E7b#f!7S3lZ8uIjuN`>xFJV!k~iNYfeTmtT;Vb9+h&; zlXS6Q3>+Mewf50|>Djt9E#VDwymHEi0R1bw_(P;Mv_2`4D?hY6kVj^Z+ux z6$3u_?_6D@h1B9ZzD#`le-HV^dq=<>M@`csyttO)YfHJNGFyc!h9hn=2q5#@AEkLY zz9LYebSbu?+3J6@pNG69sc9DX{wiHU{?}0jOzCmu`7vgaAjK*%^X?2F+j zyaVv_QoghC2C%T^-SqowYmYY4<}%VGk;>nBW(yo=8%X1J+y~ZV86E4D z@mK80;>(*IQo&?5x&?}x$YX@=OPGcUaKV0Jq1^N&6m`L1MS3;w_Fsv-8>DG>+U@=F zX{ZDXE|%L+L|KF}s%Id1qz7zn1oB0D7l8f<_@7zOE;MU-wQVkabp@uIV>ISTGcH-B z*|}90Xa(Ky3W6~0g+C=%I(TNOOSnbzXne7+{42TeUx=lhu0MTgrA0KKXPXNq=v<*C zhc3WlJ4Oj2ydT5zL0;p<-?aMM_?G_wMbWKpapFr4v0mHWNwP%yt{*BsQ^?K%I1EAL z*NXngJ~Y#9JV*9fFILuBEgwE<5uL2KC1v1}Lml0)-h#3IBKWsd(S9jC-h(T{C8LFk zStT1>VR9KV!^7-o{J^rg0u?B^6!fW0HV1-M{aP;Hi64{PvOj-HL2o7g-XkoytI7qm*8l9V@E% zTk$gU!X72kCAMW34RY?*(^|8T><)aglCJIf+l9dZ&N0z&LF%OU!L6Sad}3LARUL+rB(HF?Bo@+Hw6M6iA~j8&SZt6Ixaa0P z^skr1;koe_aXDoZ=--QWIzR0N;cYWt((N?(HAIDe-5EQX9ZqDA1cYe@RONsqbsoEa z0I&4so?A;ho2#2)7TN7?@RFl4ZNcDxH=Y3FjANSe8>>xP4HD}|x3JW;N#-$2J@Q*L zQY465F2{B^bnA?OD@R@Ui1yanIk~X9veopcA(mNYO@jCaB^jI^9YIiWoROTI*T?3# zT9}B+3SCb-7fYHaPvWoHv&0q_^T^Ox_^Qg{;e5p{Ah@%OHz@!wb}d^ z)GoXs;|Q$e)FQKgAzIGHSWR0RZQA9Uv(Of>v^Rf?mO7(Zwd&n?a>MObw&Y~0mquN&f;*5p zdRONbt??4h%fJmbtpu~`k=&P>X(hz+f>iS5NzUaxbH{#b^smH!4Yhw7cp0oTTb~oy zYEhw*)(CYkvpBojHZJ9oFyOc&IV5#GEA#&V_MrWi{B3D*rD~olu)Ut+S-hGHtNV3J zsL+kO3p8IYMo!{6Bpi%`U!r({6q0ZpWfmwL9dY$ujqE6SDKi2dN} zmN+>CrV9=RIN?48d=k|E0A?AqZACRrKUucFHxRQxHhq#`x(gNooeE`uAo8omYtg9x{o-?yNgNE;`JN(i#@huet8R4Q=r~QYTTb`| z@Xy0u6l?3fAv{HUaSAlhKvlek35Q@?kn56p9;AKHYd66k27Eu@4O(p`2yRRlhwXM6 zw5=OhT>`7Ywv`)mA;J$Vrdw~!c+RE2!JTVg_;+tTt(Dq%k5ss6*3e3@FOeDf%aU;W zzEgppygP*7d|F^R>s#r(sjF=r-MzNOKn0`R)|b3rEvQTCJq{7 zf$Nc;SN7Nap!9DRd>#!Rnc@p?8oai;n`=77i$0^~rVp5Ia>zn}6C|;Vew<KBlS36U9qhdX6oy7|b+0kUv**VNy%XTS>|j2OY>H5X4xngEUwP@nJ zw!4`@mRpHqMTcnH5^jIK#OEh9@%(@Bjwx}b>(N`?_+!MHe3zD9a(Sxd-I3u8q=?Sw z*_F1Er00T2ud2Uc?~7g)_$T4}-wb%FWUp|$5hVN?yk=v@V=8D>~ZleJR9Qu4&FUS?Z(qkg8AMP67PwG-{|sfd?{=J zA?Qa;0qT+bPEA9^y1kZ#q3TnVScMh?mPpr*#Xg9-ksxt#>Rb&|Q!?xT5%ATNg z99Ko~r{dnL6`lT{rCWGs!*_Nw$8Gb)CB*W4q#e(Jk&Gev0T>xI@>wQ*i_769CCsnf z^Ke*+QT`^UzJA)@@J{%?4gSoN-e^~vR<_z@7n@RI4CCb`ls zqPmXa($aLgTl*V!AmGUwfh=egeeJj$l6s2yYxeHYW$+J&w0I%Aww5mwm{?iZp(@iu z8!I^40%Oc}J&9&wK*`V8;CRN4Hm|bf;>N0$V@pF7rNfLh;9avp zoC2l2cq#>Uz6D6UEumWdg4O=nIb{1pb9v7>`Gfg`kCn1}XVCFof5I=>J@lUsSZY2i zhRLiXEiLu3&nMb3GB}DxW|`mI95%sf?pUU5)gd`K*mTse}()dtV`e| z)9p0FW2t*8GL)U~=EXVw#1A8C99@&5q)CmJojiQ+vveK6iz{i+Q@ z@b5?ofPu7?AxR&151vMFYtMc-{5bIEgY_mJ9+qqNKqi`Yk(r+Glmj3d?{vS39vASpfG=&Y ztmD!(HoOwaEZGIr4TVSmd0SL&%N|RE+~e-6yl!EYM+*h-cRegNAyxg~Q-$!1H+o;h z8MS-6DW%b$_a0*p-KjYXjP*PWV=_R(GVYIzsTk*jj+NYe zUz*e6E|uU-BjMJIEsR=@mvGj4)b`;G*k#!&jNq^sIdTsQSZ>BgX=(8HR`@&PFAc)F zeAlcZ6H9bL%l25KKqQxF8IXgL6e&M9wS4X~!_0K?R23K7nCw_5Ee}Ee0D>#qwVt){ zUeF&p2wO^M=i0~|pSFe=Je)F~d*|AU`WyBw(5?Rfw0uXa+FR(6+v=8Da*1pK{{ToR zZi!|j42(!Hf8L_MrSfct>i8;jUbaWOhNR(5ME+`geW_XN;WZ5g=TfD>y?sfFXu71~YVw#V3R7t3hU@dm~NA%Hv%PZ;2EYrrh- zwoc@>=5jzIq2Lla9zm~b@x*g@JnFhHj5Nq0xxKTR>K#hga>X==NDUh%?=cBh0N`@N zu&)Z!Z$!7Jb03!li8<@v`F>UQ{4-9RX-UIlNI?28_FIz5?%Pp=Rn#D}f?FA;S=}9( zNsGx=qK z+s1N${J>*@jAps1;1sd)sP?%wcRc-WgAus^;HdRtG0uO_TJQb__;Gw)@gKvQZ1O$5 zt@Zp-O)l*0LUK<%fEB~d2!<#CDp9w(k4&8Z09xz51^9w(8^*9*qIr#{tICVFJm9bO zHS}4hG%%B1M^85@KBoAG;Cs&i{CU-M{{RW=Rx_r6#_H1Y8-%rnXw`SCDPw~u1Pl(X z&>Hf8+LOf>zB$&cCA^VmxLXiD)LV1hDRyAQo=NMRlZ-C|jQ2hr{?tub_0`gr?%L`X zkIK2*DnybUg_&@6@P1Oj9Du{1uQd4WqC=y2iWqJ0W50PUk=f#AD;POtLKqA(sTud@ zCnCQ(;ks1iir3;sblu&~Kf@E|2w@E&XPro2ytvP&di4j^e%U>xj1lg&j^&6@Gm>$g z*vUPB8SjeouZP-aovOo!D&R0zT>Pz!jAOrV#=e-9&L-i1AYl>-x9n@Yo&N+N7MCDaboxK$s|o~ zEMW{vO2#<@u6G5*gMlExLlg20^aiy25BoTHo5kAJpqCoIhJG07`W?z{mqUU}i7n@lqDG#6RFFdFXv%}f z@e^HN$4`aUJ`?ahq2TKuiat5j^*<8K)9Vn=0{J&cuFDeb*fAq01LQb6K>q+}X@$wD z*2AgGbY~h?K5hMgK04|D01Rw3{R-T*KSq|rP10kA1s1L*j^bY}7DA^VD={sRg1}=Turc%RjQ$dMkM?iz^hog95={>jB-gl_OELF zsP*|jY9AizJ|WUR)1!EH%H{3+DG-J8unyHc3eJX0JwsdHaVuhF!;u#6 zDDrmjPB4AD*P#3d_}e$^z45EV9y8It!+&+6%OfN+NAgR#8697~8zk}TT{6bbUgtH8 zU3=_ed`b8P;5|1^7usfxe`yR*g`Kai*hcb#%EBH-@EJ%TXJG@l#dx->p~G!1>uB8- zl!c9(WW-^{_IMR+O7wV@*iK(7bPT;j8>wX5D2Bjg`*a{opyP z2J2Cge8!dw!NQl{fPF&(I)VVsdsU4SMv~g z1mW&)(zEder0gKJhWryyX7PI~bzGldHKSwlSRl0F6)KiD!pbT`Khd0A}97KbI(x z@X@e1IRNDJJq>ySTGXVlNWa#^vE_lzKJggOUe)x5i~j%wZ$2XUZKHUy8?}o=*Jpb> zIj?m{<1$K$`|tt`f2(f&cJausW%xnx*THu_0Be0>2G@11HfS$jP}AHr5s8`@#7h%x zGfbeezD^ZDBP8H@uftD)9v1KqiUqfdZ|Zu^eLqa84QLin2NrvA#>rk!&v3#jTI zAhVVTAq4!9#d4dyvAst)I3|n+d5o)8?)Yw^o-hG_o)dP}lAT$}kO~Y$$F2rSzJYzNS*Mq()-f3FAbGD~EIFXu37w2Xz!C*Rbv}9LN4g4D2 zte!@t8vVLu-@eXB{E?h)I8rbH=N#uBTJf>GGl!h-R-Me8XAMuF{CWF)d`S4Yrw~^kd&3r$vX!lxs`Dx+=apYXvljO*X3V`vx2y%9u zu6WKttXnyMwtggQx>t&=BDTKOtl?X0i=q{+W{C`If;igP0G>1QXBgww%CMAh^xYb8 z@XV5g5EbTRau-jTnU0ldBGi?Lp0Gx&x`F%joQ&EVf@9h+I zFsltrPXqjFxA2^st{_RIkQMT_FnF5)60OhzRdT1H&N|noX!iO}t>H1MU0F$KJn@NS z*bkL~)vyk7ILR-ucpc@t|Wz5Wx&qXXU8icJo*rN@l$v= z#~<2%47ANG`L^F>cVfmy^A%iU1bx!Gka3)i)#YPwig8tG@6_}8C35ZWh$6D^)Ryzu z+v)Zf@y9bevwf~(_m!f~cQNBRAE!0T_%ibjISTGUcptKRCCu^6^Y-fBqM<d^_|oFvQJ!nt8Kl$x z&;F?tGRD#1{omr?_w}x|7{ZsjwPTu$W2!y3;rGQoD%SH*v(YtU7}Oigc_x-pAr1Gw zX2HqtfH@iGx4&us01a$>Tj3pc8Lq8owu;~FdlKXsVc=|%Gs)Y%N|1B%jB$`_9uR43<1``HJW~3-Pk=;a9|1Zd>j8h_YECF9fa~Ktij5 z#s&aVx#?dAn&h*sKWRbQNbzf7=kX)eyfyJNRq$<AJp|@e9IZRMD>P z^&3boVjg=kA%-tBsS>Dd`+j!AZ2@`Y@8i)&!xYs#R5aPmqS$FEHqFcf%Qy);x$G8y6z7k_7Mkm72{p9)A$Lf@DV_@!$z9ptv0h0hy?7_Z zc{NWCc#lxmd^xIK{{Ug?bAvU!m+2Hr>`vJ{y`Vn~J^JK#H1r=3U;fY5+OCQkF$4jue0jo_QRVtDXz^g|B#*#Xsow+FqroUaPE;`KfOefk1v>qBOV_5p(zOAhm%qHTvymcZMF4IJ0)|k_ z*bY5<*UEaw#B0xuKeRJy4G)ujuHAV_3`YtX(4(GD$~iwk4SI*hUk+;8ozYJYR`!oD#e*}CKlK%i+yiG=ZJ5+5g zM7OB(+r&{?K055)2;4X%4tfgp?~lI-th`n5k4)AL*O7Chs$De4Z|@!0Z~p*j4aB}d zJqhk{h45?OHjD6+;b(|^7p-cR7v3Seds~adY_OS-fFZ%lWp@yr`6m_7{BDcEHva$w zuCzTCWxtXiE=laI!dy=h6Oh|q3>a?&sLK(-UZTDSFs%vZUe^tOi&xU!&c~~{!+bf? z?6f=Py45vXTT2xN;#-d>$dQ7;AR&%2F~A3%#Cm7H(*6s0qxP23r~b{+t=mSoGR+39 zu8$(x@p1?dMYJ)(h6FhZFnJll^1T~W_<7>H?+-<+X}4M|))ul}YctOox3*M(Z4tzT zhWVsq$tpNkJpI-ClE+-|Hiz)rPqNbWO(uN;eLP(xghed3ju;UD&p$B1EZ=*e9PVFQ zI28%3MN`qsaIl=N+45}R$Y~qCc+og?gsq-)`f-|rX zN#vea_F?#7K0kOm=i#QMb8liBv%9<1{3&a^N1^IALBF!*Ic5>b@<^bwI0pcXoE}Yi=fppR_Z}EJJ=wFDPQST? z-MyW`V;V*_oxr#!ZcaI3d-N6b$H6}y_-FQc~MDryX9!H^Oep)UNN^B0CEOvgEiv3P6ne` zs%`T1?s-$F+xL%;{tW2;F4w#wve`}H>m4fYXS7-Eq*n4|T#%~A<~_mO2*KcY4b%J( znsxH(GTae&VJVMNwGw%&EABj~c6RPEIUEKGafY5gnABpbot$ZhMe?Fmga$T+FfsyT^Wo{*K6lb#?fll6@yvM>n zf%=WV#YVjNnWAfY{{V$_SenO9eJGj6k|Zqh60u>)*g)vODBI{)15N#+{6V4J?zOnM z($Gi-qbsnQ=H@WlNR~n}LEOh4r#a1f-@-rI3fE5X7sO|_)aA4m-cF-wdl}g}ptz0} z+MBlzl5b9N*A?sK-&(^}a-@?_@I5RYpqps(pB=%W4Sw3|!8dS8q3Lt9lC00>8P3#1 zMvoY6r5U--3!JYU=(p_yE|;eLzeI_L_MF6CLo~lSumpmjD9H*y&VS%M)sKvRIq+Y^ z`Ay4MJRTvmxC)nX9Ngc5lDUutZ2W{1lZ=cGa=v#bhHms_TkC0WroWaz*D=d>BrHHG z0O^jn#&Mi+p1svD)Nwa;Rit^0k$zd zTX#QB1$$P5u4?xl3bvZW{{Ux_?<>T1-Py>vEEk0=P_{l$*%%<2`BT8&5AmIirJkjK zZ+J9oi?~x8e9|M6te90jIO9G2jy|l>emVF{MQu03c9%D^YT9}rSllW;Pdf?Z2Ho=G zKY50IzcAt&GsCp-kW$y77;Fus`Hz&oJ$P4F(Y#PKyaA9*~=AunK&eF2ZiRn z*Y<(&4}|sK2kE-zp<^@IS!xh1?X2>4Z@>QKjf5B6TJm+s$W^Ji zu$2T5O83oueO&T|3jDmuOVsrKw4$^>ME?NbjTfg+)4n8VKW}@8^eejrx3;*MX1le9 zNTqST)k2jo=4~BD*2o8nE0zBMf*bfRQ}E5_#jDwF9{&JB)n?OMOTHn3UF>V&BPQ-h z$zE^)IUsXIew~$LB|Ic1`lH#y&zhQ%`IGS%!xsMl6uduU;ja-%YoNua>N3hTON5Hl zwYZOSGTg8Mh-Bn$%XPsgCo{nxv?qnW9r$YZRc&luYFF_|rddPb`=f6@BMyj7xmGTO zDz@^VoScR@HRs<6VDS&fj~aMyPw~F8bzLec=AIoITZN9$6@V~SevHk4ryyrI`u)-H z2HWAU?C+spJ*@r)(lt0_o?Cl)A&lJHA#%7!*@ip~%AlUzNU!Id@~X?JDmaxYlhZ|_ z`_7J3+4;fZy-wHSmZz?^vHiAg^xH{fwz2yS!^s(war0E;Y-kSDBPzbt^R<+K+<?qKt4JD0SpLfzf=FoCV*fLq0$G`F?3p4uykBsTv5=@TR?-LhHmpnRC* zj-tIDB9|rxS2vV>)9Vj{ehRtprmH)7AKMy!nIlbeaPEl{ARF2s$123_QlULhBEEV3 zv^-&J;;)O3sA$?j(Jc%R#vuDULdOVx@}2?Y=Nxw#$z$yeVL!qTi1#`j=Cv-{D|EV= zTUeo(hzf=!Cf-!27{CDX2(JMBskMvUXW}=XEa^ONZ5e}P!bO5TzbfZ(=rB8U>0g=f zof?tMIo_#}O(U83XQ+LbSVxhHY+b;w3>fi|p7rjY8u*i{c&lF1FLm4fXxdrE(8F&9 z&+jd*j@EFSfj(pZ01+b{2SJ12-T{F%U3SjiP`|#J5xK`!{{Z!Lucy8hcry3l$HbFj znr)7|Xs6A2E^Ua8-L{R&Sz9D^=Wrtf>0e);*QE(VpW-e{L+vlwQ{%3O<2@c7D@wYa zD}4`5RJE|xq(LnA@fSX14V|I3fC9Rdq7P>+!#byiwx|eQ#8~(R6#;SbU_?G=(>ENeLjUy0WsXCe{N7 zq2s1c%-0?u@i&e1T}SPAAK6|Wyiq9TZfxayoYp>B%8zUa-@Uh9N>J1AdmY0cqHQ$UMX@cff2 z={N9LFrEc>R+r3u%5tRa3xIxNNy4Zlrvg z(Lkj3J?G*dzzc7NUkUyb_^-l#dM}7H*OOVax|m%EZtdNcQ?L!nm>m5$J?qfFXrC1P z3i1B{?DGCDi$l|_{7lx7+1Th-(@iYee4uT2%xSa(m37?1mEE3p*T|P25PU_Yyq2px zugb&aNhx&sPF->j9T?*tz#P>rPvUk_i|MzK+#v_#e>OJBAYkAg{cwLu#x?8nUPWD_ z%YG#5m%caF=bO*eZe{byTdB!uH#a0m$2mC9IT^sV;P1o@2G>c{EWAx;sX=jZQs(L%rH9S*Qxk};m*0^PYk?171p8g4xcEFaUGq)s~}v28x-#OOArP)IN)Nv z7vP`lU8ekexVzKuFSN~8-7l@}qB>>R8jO44c_etE!lS5Ivdy~$kU%6?kp9y@vQEAG zDST46PX=rAYgYDQZoK$cX@};@?qwxQe81ituOl_{^`%a=YbVJsO$F~GjJ(q|PYdet zKBYH^Bh?YNY`MLVu#gOAo=F%ScdWl3+%$e4(#56pT7~4yV_S6IS|S_e-iPluCj@$$ zg8TN2)HV5HwAZYqOWC9)t{WrF-+)|`&QCcY^Tl&I{{WA4-BD0!t1{j~8K!06CwC({T1UR@!2By>Eadwh zG5J(*Xt3$hF>8ydq)duj5+~#Wt}mz=<|T86tL7%BusMXV-#h+HQ*Xq8R+w zw_h!vAyEJ;ka;6LKU#`U3m9#h86%G2ZWQ@@q(w0i z>64B}J!=VK<5BY5mfYQ#$zqymnprOGnpo5ZWmQ=u2LmLIy}8b6&by%9c#lbn=k8rA zuvr7Q-Xxxfw_jermn&Y~c?PmI8k%8MGZ=Paz_w=5Sq+8YA2JRv-O5%F%Bb#)Z_ zpwp%f(UQ&-E=V0P`St13p4I2REYz+gx&G6ZJBxdeerCZ6{X37sy1xzlTa#AsWZG1g z)_3mZWQJK7#dl`I`;55^J(+TIT~%z6WgA&(^|DD%LppS>IdVrl%ZHC5uj%TQaTye1;@} z-v_;Ro)EUvV6zfl!uCZjN<3@|G>iZYsKe#X(mE5tU&F`a@r1hGyb{_twmUS*Bw%hp zLCPMW@^Q_22ZeqlMXq>ttftYD`tYcV6>{4qa1}mWbdf;olhATHSB;9n&wH3x*s0@N zJ9|4j`|Ep+(dq0W-teC?R~g9!3@8~L`6L`yQ}9>AU+}s-)`wQpEp=;qZ0(j$FYSlF zJu|mCCl%$MGqktW{2y+XU)m*=noF?qi~tyr00+|qG@&kaWj&9&{=Veje&+Rc8(2t-@^~sWqvI9SI@ZBS_{!?Wu2mJ zu||#aM)HP2OA(W|9-QYj;9{!N!oO>dc27;aoSd?~nD5#j;y%4~qUpNNg`&4>O>W#5 zxcfpDi;VII1MhVi^938pfaalhS z&6j|@1$p6nJxWWPs4m_cnbiub1ZGfGHy#OG=daD!R|W9P!CIHaZxq{U$umgvOblT@ zVhA09AeO?{qk+q4M-JLcm%Wcu4?#sr!>q+ z!=pxHDn5&lf8a-+Yl9bs!}}RZ3jSTrijazW9-rc^E5`mG@ty9ot6$rQwK?8hTTfj@ ze$yP05?{?!D~-+x1E<~RiuDhMKeUFM;lBsH#DC}>b=;B}g@JTZRX~iG$Zi`a45T0L zVz9mt>leD$?Q0K+A&Li!Sqit-qljgWMfsG1Na_b%^IhM?J8R#Ao;kMAydi0(U)Xqx zLnfhQ?ql5)ZN1}H94RP7eF@v!BEAn7Uk_HaaPx}0SM0PnYrAZD9=Gvc%i=eSuCK1H zW{Mp~MuQC`@%d3BA1x9z!tH(R{O~uCz|DI%hJHNgnvJ}Abn@x?Mg6t9zMncnvI}6N zaYbS_g228v2Eidi06F8VJ{f;yXgAX9c4l2Z>U5dx?X0}Z+nHSP9#mi|f!L^M)wR?PM*?W2*?|7x#I-%^v-zc^8f=u{JvN1IjvfFdq>p#F|1rN>Y7Z2q5bmQ z6exD8Zy5yb&UyYGzjnNX;NjG~W#S7fbiJ7bL=}~CJdSb-jP>c;9<}LH;fi>SI>pp> zJvh^xm$Z}A_b-Y+4j1C)wSBDU^Js<~{D^DrO)268ij z@H^v2i#`|pUem4qBTI9jn4}iVs_rJqn38hm2V;|yyM^bXoafm-7Y`PE7Wkc^_+~cI zCD8Tvd#|_MT8EWRKYV2&mwRvs0~~Eo1_fx`_)Ehd6n-x2-wr0$XKSrK(V&Jqt0a=z z@<7Ud&|dmKcgEJbew}4Ba=aVPp{hb&2;?B( zg>Uw-I0rku25aN*h!%c4{g1UBVSE{`=S;hXXqp+~a&*9-y>T0FZL9mgySRcBfsQNJ zKWFdwDXbbDyjTAK65{bfTx$A!0>)_Uvm&~@h(`_?o&Y$ZQ;~*7mVEs1{oL9?V z5PlLb!5{cYEiSHbxDZa3_${N zMD`bx5rW8$^Lc*gG7_-(eqV+nH0tnY2noaF64bg;lAOvqB)My^wMz~?HYjOB1RIL%u4Vexe}y?aED#1~h0R$6AG0|YY22E~;N zl}wC~ic}xGK^$hiT**qkDZDebmO1%(qP5eO~29nE5(`{o50xP_GaFNHB+ki2S z{B{aGdHLt#XPx37iCS){p~E$s>hnT|6nvDKRRLf?A9(UO&nLZo1>-v%H{*ttsOuUw z`Bqz>v*J`J@qEgoDtQB(f53jVZ{hy{z`yuJ{vcW2&uEiCgLH8}&*aFlu?{`+$KWgT zth+I#m(sO$@9TT@DK?L5@OOuAbzg&*dVK!?W|sEV9ufAk#yzSx5Pl2z zl4qTa#WelHy3zGWwVe^{Zf-3vrWdhKZF4piW5DH1Ob;!`A&=cXDqkE~$)@;f>gqc= z^-yy+lBy(MHDmcoB7?UDR~Q-ZUTJgj!%Fgh(C%&7HAWx2o!U3FX22O>Tby8g#2=J$ zYrpV!#e01=!ELT2SrX_N?86^1E?*&80}O>Z_0L1iUNWX+s>c&6%H0k%iKyMvKBxZx zf-U@9o8n)?-xpfnD_dXaa#`EWYHi*nx6j%X1t)^1VIf!U^Xo-z{{X==($Z~5$G7%z zMH^ll0W+oxNJrY6<~>RI&tF7433(rrU$WoCD6Bkf z;k^sR@I&HH3~0K2{2yeB&N~SOyEJiu=VUy@0(*uV_nZ=IrTD4fZ-xH=2ee&J#eM;8 zPU_20xF+vIxcPp-nC3X{#_ixXKKXERdT?tW!u}%FJVC2z&}yCvv%b||!!xzb_2QubhhTh(GX!gsLSqV{q z_{qZ#oe9l+7IU7jV7{`|`kmhMJQq*+uc_!7ZQ4t!rGSf1np-$T%^ORY*;x~A6tFD) zP!ck7YvEX~KG$@2bC=xN{yd&f;f|I1vHM2;%{m{&tqWGZ&~!`G@-+97=1miI^I0@e zpDCn`GVLGAH}El>lh;3#2>w;mA#MA42dEzS=yTf`{A=xeHpEh|Ms=XAbD?OpKHmQT zf`9l6!(S8s0B4^c*y}bQ+B(IuTeXNbW#kC|04oc5RdTXrR1jPZqd3T~hkhhV*B&?2 z#jatB3y0Xf2~bZ2c0BV^hf5MhVBT{cGR9WnYB0KN@w$vbxo5^q;i(jlOm(h9e_s$jbxJcj?}|PX7Q& zPY-zJ^G{TkWr^B293HFA2^i;$SJl4;KWFi+crtr?0Ebewva!_Txu4|<(#G6ZFMoOT-CgeGP4nPn^<7cIPJ87Jkz7#ZDPDO~urG2&ff?#kYKOKoQD<_fYM z(MH9H0hpG~8oHPc% zr17EEi`RY zP}1-2wb=gv(N!WIcATlpqdsuQ86$!TPyqtICjS6}navl&XSMR0@_AB7?x#_3R8KDQ zOSu3RlpeSv1YnLi`uD?rGuHkt_)|}VLpr6!&ZNI+l1Yi0D=ECSB@5wMR}RCRoZ}~@ zetmzzQQutAej!PuYR_YQbof@*FSALwh6g0M&r(>PpN)LBdyz*Oij7FZ$mnxwIv*zZ zyT_mKlHOe0T}JUub0c|g6ok6A0a6%{>+JW4os~;=Z!@h5rBrIPh12{{UevJHY-I z(ySZDI^Ke|di~Se7{n5>B1UF$nc1It`HKJ_w<>-e@jjNcl5`lXLw)2wpOk7 z%|N=_u^?;!lCnGFmT`QzILQ%KGJSbBflb8VNLxX<462{9O1e@T1@l z#XUDfe-%OEn_GKm&Gpg@$26@QFbx<4B8FuI5*UDZu7kiowKv0`9DI84?x*9O8^f{q zUqP{GuQcBe*_%jj!iQAehidOE%1BP5--`LqP4MoEdvdYrz9Z3WBaYm8Wkb%Jj?g^C z86(w?EyZa3Ke6ymwc@#S>+M`x*-ZqbUrZ$XAS%0;aa1x6Ko|-}Naq5)NIqMu8CdmS z8EKvo@qdiu(fk?Vi|5ti*RP{nJE_be?G$c}S)70!b~@*-I%mI<=${fVJUI6)AaZfoXWqTn;TOh_hW`Kzyf@bn zOIViFNiDd#fCZ9x2q}$)6?sxRfzs;h&1&l7!8*y7)_dPEF&T@@k~^z@cHkbl10#@l996wH z;vI&pBA((M@UV~Pn7eEs4hienb6Lq}CP(2{duZvjBp-gLNO_QXM`!t3Y50wXn>H+&5mvzJ&CMEVn(Rf<4_k zcH+A40C>VnYir#l=d-Ya;&{{VE4Y}eTz4*VaX z>7NNTeXnMa!+UGxe1%%ntT!7;D~z4&qaYFU4#y+I{yF$^-%$8>Hl&kB1TB5$hLM$D z%^-#fgQiN7Pq^z}1%}SPv51uvw$StBta1zEtN#E6+B~;1K_qYh3(VMz;Xvd2#N+fe z#7E-GUmWUETC{Hrt;|LhJ0lpzGuIq`m6PIFXYp;!5l1JH5^)q#IUo+l+=2Y-uF}2) z-}o*CxYS^1Cjdy%mBfyWGn1b|o}JX!xj0awxupH#FJxq2-p)~M*2=~R;41FWqi%N@ z3fVml3F%j2)h|pj&pTW?N_>wo*pfPNmglEx?fxJ5&d=eNrzCG|z(jXr_l{MtHXJh(wDcXi*3OpS*mf;pCW@p?ujV0B^O6@EyXAia&s=7* zshZ9o2{ElDxyLW;$7LphH5*?R%V};I;B>i!N_UKWm;@CkKKRBBXI}ozo-xq8H>Y1( zUujo1dc3V1E`h#AP{p?fKnFuzABr@8vgm6KqO6yfQv|n6H}0~Wk}`cgcsT7_z76r! z{Q4x&YWC7!*e{h7?s=Bkg0RYR0KhH5>Q7!NJkt=N&venhwN^Y~t@TY6mMPL3dEz-) zqx+KMsq`HCR<4EOtC{>yZSqGQ$v?exJ0o}N<_vT=>+6o3*R6bL_y=V^oo}q^I>XPP zUQFo>uWsAoaS(MzJb-bYGyER4;<~Ptai#{I*`?iYhF6SXh*8{r0=ntfjv^Y`?BuBg z(c9{N6}a%`u&}+riqlfUiAW(%>^9t-WZ?Q&N38rKO&`P;(nEV`9i5!0u}so0&g23D z^UpjSde;F3K(9dfaq(c!p<7wpq%p0V zF}RNEG?Fq1D$l!v$t#hL4l!PSGKE@k_j+z{)q{zLpxTW;;;qfSzM&QM!pLr6cDKZL z5`qgyf;-@XanO6$(q9BWZol|ezYjhk+xVYp*YBW;>cj5@kf~%ak~^=O8@JtVd9RSZ zBK0REQIoZc@swY37=2%-nsjq7(CLrydH75W0G;k?!SqriOFc=sYO;-*v>G! zJMAmtU8U}~B>J3kTt#~9wZriV(`Y>nX`}> z@wb58`x@pv0r2fSR?uc-NiSa`du&C-i|658E4g=R?H zkY#YCg1mtMA?Plr#^ZtbsaH0y&jLN#C&qyTh$5yGnd-{H<{$u-@7Q;z;? z`-vXZN<66H+((tUaK%?V0tPaFylX$fJ|w!e@duXTY0dU+-{{V@<7#GJL4$@}4 z)TjRdgoo{OLv;v~7#sH%D!c)_fCoQzyqiw(hl%`I;$sG-b8z~8mW^a>WK+3>K(dX! z3v~g9&4KS$tb8@8=z6t+-&s8GuI_l`jl9WXRbW}w6z<+L#zr|lmGf^TqfTy9w>IXq z(!Jz;pW$!XQ%~{F!kcX>=SYe@dqIv9Z>w6YMr*VK=2=kTq+mwy>RSZkfmePj{A%$h z#BDRe^1bEejj3suCP<(Y3rKYaT*O@@VYe!wx!~oGAoE`>c-AY=4M%UPcyi&dg`g8& z2;*Y*q%g^0o)?uI_pea1Uk~e_46XcOtk?+kXd;qF*(*dYBpKcg2;GzVkTNr0Es4r0 zMsTmo*SF|nQqEkfW5qvdEh|yEllw;He|4$cPhkh|#DqLR84pw4hEILUa&l`!;n#vL z{u}%* z@K9YE{{Y};{2|{Ew7YFx^hH=~WoQxp)Hf6fBAgxB#u#yq;D8Ub-~1@nd@FeI?bP10@*~V z7ZJG%M(vq-ql!NxR)4V;bY1(Ipto10gYipx4mRAU4lXy~2&M*)b`IMXk zk}v_Unawb72aEdFUa!rpli1E%oS()20EBvniaZyjc*j_~i$~QwR)W_5084`I;T$Pd zK5B90GPeH!xtu8j`^L3&&)K6^)ci51YPPzdp3}kpRsFDQe9A&?St5=w`vBX9$^v%) z2*F}7emQ>BTGhY9pX}XZ!tZCMBvDDHUCkQ)_CzHZ#z)HOk^pg&^6b*Ly7Oi(yummXG-ACT--^RQj@iF{E9sZ+haBX!jJ;tM@Sx7BqxI+H`x|GDnVG69H zzHy&j-IVZnp4~4mZ#65;TEJu#0;@1^lR zo8fN@_+LxB(>0AVQjQtow1D}maVpNt7F^_oIphJ(2qv!hk5urV!~JgOT)VN2ZS?Of zSlbl{n}NcRxasnf->LSmHTaYJV*dbY_@_yI9>>c9+zDLEoG$W77#u%b9+)6t{Mqzr zLE{pqhl6ozulb#HvXq{u>EHYj=fz*}n-7T6h$Oa(IV?6uD!-TkYqOGHmdL@}IOhQI zMR9-dK(CDxd|=eRFvE2jj(s7taUl?SV3`g1#_jEsg$EpCaP5p0`>zV+vZa*KrsHcb z)t_IN;iC*ZVc7V);pc*8@RD1t-lwVm0BN=1dx@@@Z!F|lR%~R(%&x_V!n<;M@GIXZ zy6~pIr&?+nRGL1a_F}(nl3UT`?)%KG8f^rF^D!CDM_%6xFTsx%{>(lXn&ZS)_x73| zw{nIbv)tm+B{FSgA(4n-kVfJ_Qh4q?Ti}DHuVZ(oYF;1k?y;uFY`QHdq}-t*HVcPA&H9*2tkWB9qF__s*?ojgf= zkDy*bC4`|Y?a~{7kcduq5KAj;Ry>|Iiu|X%_?LI$4NdK5acQTlhsuC9b{w9k86b0y zt$vf?H0#sB)P*LcW@h6p&sX?I@vmF>G5b9D<4n?%%hY^lYaW)t2XCVFI$2?b}c#Gm|_%}|oODXO)UMY@7;~M}R0ko6J z9qU)Xe;)7UbkdqvYhX6{D-dCDr-lS5$2sc8zgNS~t{KX@hsC%?tJ#$o!jSmi;y#D= zJBV6sXf3zzgKdGsZ7je7e(M9kJq|Npp`Ws6?CqfGo*0VmHq?An+HSc503IQ4EUl83SBgfh$_K9n0rC&#L7oK2P2*_cu0~+QsJAi&}_4)zupT=56 zu9@PUP0aG?`UmfBrH1U-TUrByCQvwHep~_0f4k}V-yP=Inu?O6v)vm;N?V+N{1hie z(f%8JQM}Zwd@HDUZpKJNm)6%M0?RCsf~=(*?qdORPIeQ4yA}E4sNKb2ZR30GCT%lGw({)!J8Kr^6I?r?GfdKMFY@CHkN_u& z`2PT2pE5{$vFF?9KR?dCuYz#z*-CXjE~MJ$)1UB4FB-Roe`^l|!xC6Xf3@K&CDgu9 zg?ZnH$I5Y>Wc9DTyc_ZQ^T$86--xcSuQfXjHp}hPTUb5EpKWTxZ_1I7RF9C6j=0Fj zO8m?HfbVqcAKFL3@@jT}+7=P&5y^LMVKWIL2QQQyumdEIKu>D>$KciPhxLEkYs9bN zYg_*S_(v`#xR*_RDNrmSdEJAMVhl61Wd0S07SpFEWn|Y=ctuBZ>U}riOuw`p)vl#` zuIe{Yt}NwGv$}{kxREm10DPr$frcBhc@@_9FTz%zv&W6D7Q*-YO2LaY?X+>>t*$Vt z85eUGM^Z=18v|~79ooMIwVgi0;oqNiXMdq0#J4|bxFidf1c=m;f){26PCn?ZPlRyl zdj0LK)Yje}y3r!Kkqyjot6f|;IA5AFNjpIRwmGk=;jASn;h|bi?U3(%39Niqp?=Li z8S$O!+d&+5lda*7C;1&_VCbp%mml`e9)iCj{{U_ui!1Rf$JhGR&V1SAE=Nt|^PK)) zm41i+0Kr6jb2OJv;lz&8((6>yO!CB7@gyQwi*u{{Z5u)va`03dRF-sohDx%thQr$o8qr z9D~#x1I=&$0Kq}N82C5gO|OL;z>{80X{|*)?1t$#FObA}D!Z3CT)LMzE>!b{=fK5d z;;{~dQOQ-LtbEabufuyMm1%Ba8%H@mHhJUnr}%o}N$v%VDJ1h=e36D?Id0j{9Subs zS1$|#Nl}Y1RbkhVcE63f0Qf#VL%+M3;&3vsS2h^>9x z1MsJd{72!tLwMGfdX&zWbI#ma?O}z=g4x^9Uq1#{smi+vgkr?k+#S8o;XoqaXTlSin=NABYC zQ!KIu07tY1C5Igie6?&vM^QM-LT-q>Y5OyHUJu!STi0$pC2^v7lHbPnI$RPh-10{q zv~lfd5H?ioZZgEV>T;}j3Ps5iZ>|v`ez{a&&ozC z-@JSKS@>IB{foRm;2S$VXls^Q#rCJDk-Alx<#2q%xR%|5agq)@oz>-c-?g8Q>^={t z!|O>dZ1e_ZmTPF^MH7P~Nrx(N!xDNAdg`xN zJY?4;;6H}bU4Lg?&$iAho0GocRXac~#hJLt^gr(Ay$|7@jj!t7ESFjPBqH0yR>s&~ zBxlRFh)c2ER~Y4xuOmINkz9EE!m_5+C$T=#L_ZHFvG{d&c68km)+xT!Zf$0gKPhC1 zcWhnXcn}XjanO)@*S>rS{isFt-R_6uy(H__+Wd;rTm(^j6zV**3SE^D9_Q=z8Qw7P zwV%XEV6*TIw7Ryna}d*>!V6;*VX)q7c}{ljcPD5}e;!B8imUrG{BG0!6Zr1l4~X6x z@ch=-QMI+KvPkwvOmf-tcgOc!HvFrM1C9nO%+bwv@)&Dl+cx3OAoxnO67dOjyXT<=cuoQd}pi;Lt3=EQ0mbYMlQ$aJKeL- zKg35T{A=z10NO|6yk0!Ed;le_1G96n=HZXm?{siYJaXnXsG_fD3izy59_Z zb(c!`XRl}x>9EQDqp2H(xtj%T8!LuY?%yslf4y8d$T>pD%AxDlKeQkA2f{mjKJDIl zWo*Z97B?{R)k$XVpaKV{>s~|RuM%qC6nsLkAh@16CkX@zlG3-`7#)2EG26atBS6wF zWR0gAq>@9nB2k^BDh~W-&}TX6o-5hB0pX2P;Wm#xyKie@ajDx}h-8XrRhrG!vZr=> zoQ}mvBp!z!Gg6)(19_ymnZ;7ebI*KFrVob5`fjgjbz!OLuNa*qUQwAzRv7J)GoO0( zuLEA`-x2g3ChJnx1UB~Zt6Yhf5$jrfO83@t zN;cjgI8vmaoNgz9&~eZT^V{jC(Y3pMCh4wW(){l-=FTZhNzO|L&ABXm_ zYZF*PZtXQlS)!d~1mkD`s307Y*&l!dwtU~N)8=vPb4m|$1N(1Rw6z{Vc7iqX;~_?4 zz{YWpe2<~}R0-po-8u&HrII^|LoAA8$sNHQXFPy@g12MvZSRNlNG6KxB;kpkImZ|n z+7q$Q9ChR#hMnU3ts6Y>9;e=1o3V=q+x<~r`{ZMoMW1B<*6${T+5NRRnV^> z@fEzP_gn7aQ!0ZS<$32g9^$$!8~Yc)FCu-u3-rFWGEZmb2tabIRGrG*J8(vEUSl7K znxLCsB_z^gmG2v6dpfA*A(n${s7nX`V- zfsRH=$^6DB$3mVOmo-=NHgxQhI4_Hz9q+tnVR7O8Hs1a%K51gOk53Y`yQfIRYba1L zzh><1z&SiuHQ^mQ#G1?((8s0U{h?!G(MJOYjfO|exbA*msjqzT4}z^N{7fwdo2y&N z6l!5u5xm5cE3u?G`4^}>=DN=W_+lS}-VU(wWY-C;U0xs>jks?jYeOq;j1Ane1r+de z^L52x{j)}%9V$@NG-&w>!@}Mm@I)6LeTC(#Oc`d2V{TO$>N|3KQY%=FC;opS6@RXzhZ7m)|nkHSdTkVr!J5MBT&m+*DhP?`Tq-PlWXxYfdNi)W^=WE$< zZr1l`zbj1=Z46ItY7ya8z0+OJ(?wjCXK#|pyg<*_!+HsD!Ij%fLU53Te<(B6i zd>g47pF@0Z(=C1^{6<|T!#X^Sun@NMTNT9XAYF}}tBiEu9AxJeejnI@yeZ->GAVymjPP(O zSbZTB?=Lf+gj#&E=y~_WyOA95I z;?ircHFXsWAugR+TZLdSqnu*A_TR-G6tmPk9j!K?Uhc~FFSgr4`=+*%CsM((Kv2gR zCnK*0xM);{B9FAACnwbGzhLn6T9?6pANZK-w(v(N7dE#`6nTSiJnhamDH$Yg1p0%6 zTo=N9TVC<|YxA^{f5Ja$Hs~RcA1!2dDe`2Vfbo)X!O1E!?;o@-wPA1ZcEaz(*FV}; z5yZE#Slh)P+3s2QV7!|ToI`CqjlV81GhDZaKWIpGp9;R0rrFu)u+MWPvPbrHNKrUA zd>jrr7$1dpQ^dE0bLG6HZ;+!4>LJcKWQmp`1X;_ z;mauOB7^K!(n7KcH0C{I4quSY$9I@p1EJt8dkFZgAH!X9R*ze>o(ruqU*6j!*@|0s zlqm8+#`O`f>N(rmxH0m^VWz54ih6!#7?{c?2gCgUXnp`1CaC&^(3X2 zv^#lfs$93sI^)zD=sqa?T+==T{7lrLweba%aq3!H#|(O9vdU6P6&-|afwKiv9!@r# zee4_G6Mh|Qo+bEYai{3-cNUOtS5UTq#(vJ|$(D3-Km;xZ-14WV$(r&D4}~5T_@(6)@7f`u*=^`5RxaD!@YT}hq?)QE|p%mTbV0fS6)z652 z3+Yqe&1{ltI?bKCd9%96spl&h06=h{BNlb!WkwEb*S;BQvEBId#NHW~S+l&g*JJ+K z)8sSxg{4=(!i~dw65V;=oN-nl{hR(DYF+@dkZQW6w2<2kLgEWq4D#x-M*jf1B(gMc zoN^<_p};t;tN#GlTGvIw*>Tm3Z`=9EH`<<=#91GS2>$bEUXd?#h`KfvB0@V2+Brn`BkldIWY z#LELs~CYpyvk14&~V#P_b)qg z3X_`oJ{WF1A$@gyVX9nPPior`#VIA^T%!V2v$N&E#yS(vO8N;kn|t4YngG3fM%Hd+ zEX@01c8!=TCrzXyeA~BoVnuT1*ebN)8%pVltt}5l_^;qy4_|E~#Xc9m7mRfXt=r0v zU;vK0h8Xr6Ks|ZJD^tXO7j+*BYCqWb&#h4$nc;V~*cdo;7Q|CI-4oRJWIQS=vB+wo=&*^X}nKOara^UTT^(uZAuzup^QhxVu4s3C4rPaO(HuUD;-3kxi|)Kb zs#&Cl&k`geSB)A>1|_yII9|a{N$NN??0*YgM^ zu0&DB@_9ltoN{x)8OBCCb6-)2;hJ@D-0AJp{sC^2rhReyT6k9GU)g30>#H~o-kgmv zXaOtp%Np;;Kft3r@!P4dk^TgDCsX*7twtkX-WkFyg-*!8#%L{ChS*1l`gaDis zAZOID#{)k%!#TxBVe87Z3@=h{UQGVf-n3#(|#COd_dE*^&y#b$)|D#>Dc|O z2V>lveK;7Rt$)EEE^c*=L*i}Z>m+-m)8R$va#r=s-U<2YUSXviP0<00^gvE_^{W zT7As-3?I#&KQM3SZVQd$w;3Sq83w!W0Dr+pb$<(7`4^VP>!2pKzWd6^B%?+9bacXyOvmN84W#{u;;Oe}sP#=PNa&w>llvR+e(dwV4bI zaf8SiE0gc`zUy4gB$vy?c+&zV7iq{1paoh<*|A9*;U+S=j5Y zV+acV;x&)Uju_hqfDb%!JMmu^YWhXKy{kF4u$J}P=9*lxc|(EE&9twl8LzAG$128U z6zWsO?;_=hNf7Ix|<3W+i>TpB-iXP z_Ei;|CNoU*pN87vE|YOB&C9_cb&?BgZsF3fZXHZuD2Kz`Og5#sR|hI}7jHA`(u zSiIS$7U)tnI8di)!5v8H+uFWx@dTK?a5%v^8Lw}HXt-e7GhHR(!+51=Pci#`~ZtWwU_GW_G&M>n_ z4(+PF2m3iW8TPM}f8d^eCA#oW$E`11wvrT=Pu^6?>Q$GF{eLXi*nhGQhZ@87i`8!L zCA`w@HHhVFON(amVU|XoHrQXHfHE?AV!kVmaZZjYtJ~c+s_c>XFYNtsV|SrJH;N>S zM7z)|)+yq+c+0aw<~M1fZo+8&baUEtbD|tW6nhT4pme(Zn|}c#D@C)69`RaKwNC z3&niH`*8l$zwn0qH`P8KcwXE~f8%c|{{URMjz?9ria8yXHxQ%-U~;ECA>{5ge{i?FExp-3yU1GvT5kyRv6obR%H3vj_mGH zfsNJiKgB%?!Y>d&`c9}dJttCcGTKHvZkO(Z43Yl;3x*|l;PZn^;6D!QJ|gi;+D8*# z+|2}=ZJ=Y8AqyOn>)kI;xU*l~rN!J)T+YcGxQaO2 zEuDz@BoHu1QVo8G8uYN$9baqA-$Pl{P**a%AK{-6{64md$3TkqJx5Tri&2@a0e6Bn z{opJYB#paRj@Zr)FmHdsK~3B`)`4fPc#A~VFZ3NI-o^&gqwu@ zXmA^lN6JC<z2P4L!SN%)@h+PzaJ&(Vkrc5AlHu7oRV%&qzq>yoSnIk z3)gly#&CGExwyqfFU*f;p~rkv_(!IAN5Ps}>3W@xqkFEjQb`&S=G);j<&tdNQ+QCP8;B=3U^1treF^b<;$MaIf7#nZ&^0dz>Q@x=-)G`>}@oYHj@^YYSxiLa5rSREz=o3WBkAl4m;+& z#_s#XI>w!L*4Bw_6XrPsK&$Z46gv=Uq9IPdOw8Lm?A!5XKBAWMYR?hJ6u z5X-nZ&Pc%pa!)-yGhHp43v2mc)Nek~s9CP>I$MND)G)|V#t*JC4CJBuirH-=5e5sp z1hF|Fdgi{chTFq_CGeM*qhH;ou`CW{jZq9 zr6Wsh9%vRKcZM>RB|*UCa1?$X_4T|rh*HGfO2=juT6a9fZi8vd0NOBjeCHUg%^8H& zAsLs~EZ;9`r+MI&vD9U>o@~sj8)`1>U=}0m#dQ{XCZFM5K1N_JE=XJn6XjBK+wlEs z?r{}TjgjA4rz+4(D>>}!_*G&KPTn}}*Xvg_{{V#-6ZsR|P2{fa?2Ox2B;)2F@!~d@UO(yUOv`t?S;quBc@A0 zfQFN5ZQ~nI9ozxe)84#uSob&2WT-Im8--FZqeeqLRTsQ**CSB6Yu`M<=EzBSOpmt!IXrLL4su9i&3fg(z|R->tHpL2 zCFBxVU*A|Y)w@W;%ejSqW+==2SuOjrK^Opzc=_DQZd%lL?qcN6F!7I!uiN5W5XE4g zY_fSWw5)C(<@!q@W6wN+$I7|Jb6xL%HAdI%yg_d*#J75Gn*y>UC?J)&Swkw7Bmm5E zz4O!zV~p|47oP@xBPFf!m(?sKlteAy<0m-5W0UgWf!KX&-l&jk2w(kGjs7KR{Pt5C zuvW?2oO)x}(Ill#E(kB7!+d4%pNBOc8tK}fhi-LiYsa{n>r;=+^BT~HPcO?Pa1MXG zcpb1a*?dFsF1cawkHdZ+pIn;y@5B&&s{a5@$J!nQAG{JIjh79$WzZ0CKi(CA;?D%= zNquTGTgkVyjt8FzjTA4;P&vVGzu%k#SlaE5so>8R$En44aQBAYe2bK6p=+4-Y;;xy zTWQ=wHb!z!diT{@b)gj{svy(&t?&)>?+xg_F7U*1jSo`)07Q6NK46kHRF^COP+9WZ zP7Vs^s5QiRPr!FJUMA4=y~phu#r#Pf%a4*B!~>C$&|`u}HR|3C_@k*y`#N~j!z#CL z99FXGh+$SK6p^UlmAu~>ibQJ)5B9w+gRkK+FT3h40ZHr^t)nWM3VMq*faF5SV# z;&Yw{Q;M(gELnVd__rms?ztcKUYd+_RE9^q)8QE|Awwbg72Ehm+!y1FS0(#JSgpr} z79As6xYabhH}^)=-`vRsv#wOgi6;t30hk71%XB8Rz|L2ur0p)KgWA7i-B#*dGr{ue z9)7VNm26hV&53mqxsZ@Czz9n@$NclgdsdIfoljBtAMwXnfi+ot>jeuU+ntazI(dMS z4hb9j9+>Ho$IpMWkL@w6{4eo0hb^?|;+9<|{y==vrDa!Ej0}<&8)T4R{{VdRz^|sf zRiEJ6#N{}CxckKYwbV}?7LXDfg+XM z(hxrI<$8a8ee2FOUyA-5UxmIJ(=DT%>&?AxjFaR?B1#obe)68A58*3bc3Vyk)$mEE zx2iCjN$5Mo8colLd_CchwO#J=YH4 z&}}QvL&5wrT(zHxFUN>&ouCU0a`_R$@*gg2?kr9@0FVv_dRMgk9G=I;I#-A_k#TaC zT6yxLw1!q5TS=8Ckz(sogydAo+9~;9m*bX}TTU4Q=+VPWn?6*9){P zaf5)wo-jv$sqJ33fAH!?pTl~miLB!nR`H~9O80n35tVv41UMOAQNgYg!`>~o(lo6* zUbecqI)0gSBYm<+8c6a(WCp=J^dlcPrF9>+SH~M|Q^&dwhOBRnp`+_o(OvzWWH^D$ zqm96h9~de)U7P`5GQGYcv!i#Z%Q|wCyC`^{;G34jDGEpa)c0Yc^El42D-bCj9>7!bqh}e#`by@f=I(u z)?-3r0w>&A4^4v{F(mRUpA(Vd)S{@##w&j_2|`Hs4;6TNUjU1neG^dg{7ZJl;?vPn z$c`fGh|dL!oZ$;F1GzOv;fIgBMezRs#TJ?~>9*Q+^`W1 zkgSl~EM58my~)TYC-ARN*Yx-CkAd&kP>yXrPYc9zBqWr&iBzk6tMYt_ZgF+$-zBMeNIg!ij29oJz75V(4~Lky+gse)X6={ zJOW*^nSO7yzkjM%sC^G*5At6pd9OtOu9Dg5tWViT};Eg9w)Gh8`UD5K88H%r!7IGsPJmJe8 zdhyexe97@QUDW(jBHqDoacgg4#rF-}0R?$E0QSc{4;AWv0krwPDkh=kv%m$X+M4F% z?0DHo-U$HnoOA=NaMsBv)5EHZb-j%2qIEt2_=T-$y7>OfLv4G#Uf%8)j{AL$l0nB& z&rW&)>0XihQ-00*ufvZUX|{4{GHHT1(rd{YZ!i}s8RTLB=t=eGoZ`F#Oz{IQwsg56 zge|P*6p|NU;|K2s&tCmF_OH1-MdRqdYp?i1?lpwIO-|vb(=H9X>Yi+VNZBse1Z0xR zc=>j&IAe~fdkPessys11z`9aCZ%br z3EfiWML^O4u{8ia|KWvTIg)ecVN%kxhl%*op@k+)J@LRY)8& z9An&y`Rn1wjdbq~X$h<~%+|LWmBZRv#pNB&LWcQUk%Cxt1Dx@WYv`Mgi{38r=fdqf z!G1-?pKY)2b+{Ax(87tg&M@GBtHIs7oue5&zcbEgW8+>jr1@eTs>8f%@Q2|XU$RZk zsio>#gr5<#<^^nSCxRO(V*osx0UtOEouoE;91(+G8u-u0V&2v`qn6?*kcN#BfM1w$ zMhCZlTKE3|jy@^3hvD9p;rTUbHEVqi(Z0*NAqSAI?Cgl!3i97JdNSk=c|Rq1r%`*G z(`$1RlNJsfV4==_Ut$RL=rLbe!?`b@!?sIA|{P8!;haH<(!z_5gIpdg?wE-wz7t z@!U->?{Dr+sM>SopujABI6XZ@eY>R^RQ5YnDldUPsL!P?S z%JGfWwzuM4Jla68{{W(@$cwvZlP5R?pHK6e;JixyPPHg+murx7UYYR-jYHy{=k|0F z#?7&j7Yc!yLv$Qt3{M{Q<-R)1I;F<)44!MFlEY|V*e5@q-Q8qr{qIWFgj z&k)>=v=h-X*aL9xJ*)Er_IcEsM)6g?pwi6*I&`aY&kqdBgfoP0n~DbLb6;C%KNM%z zqSYbL?X?YaO&(nLQIhEy1%hq}Ic8R4jtJ}RUzhlamdd?#C9_sCt1G<^t$r$ax5geB z@a~}`o+^V-(PXn{vUMo4HJCX?*hk$s?gwIeSIoWz{go}XUlQqe9}_%FZQ;N8OW>bV zwn^lMIHisv8Boc*1>6~SsPyZ>&!7Bt_`_@aEL>{Z1>Cx&&y95Jh+j&#mKdee)*aZ{ zI3;9O*zy9X2qlJkSIyrLekb_P_PO|@WY^Bxj;An+!phbN7AS3_P_ZbD1`$UCJPfb| z^ITjt!gz>Ma+LXE`t|u5(@mdP-G13V2Jm&RrKNm2@T}Tpo%Os>on|;ZokMojR)>D} zI~}(cIU#|@+UGtk_|D5k_=xME+RYx9V>g;4Nl3Z{lo z-A+W`6K?siOC8J5VCNn1{2saU8`F3q`(?=HA`Ec>lEjcQc+X?&*1cEuulV-=02w|o z_=Ck)Hr85Q#<_`OwYP~xNUAn2-;{Rm^{+0l*JRf=Q-oor%L@d zD~#3|Nyl?Iqt}0D4+UucE%ANS`qjjCT3wa1+}yENW-L@HB86ojv0?l}jMsbc3*sMy zJ{b7g>RndfTun0O*uo>V+LKO<$tXLDuv|K+IP@Hxn)4qG=-Q2@oot2WAAA|RrkBRN0*0rfEB7(-+djzi);3nn07Ef3k&ZG+&I2jI!5uqSHRFGUnueTA$#HFYZ4!m^lHsLO zj-7eW4Z$6&22Zrw*;%p{Sfv&8p9yo$=s&dS&-t+XJ*w(!T5737`^)VwoeIl1 z{CrPwA(dnd-#X(1i~*lvR&O-Pbl(oadussA+Y3}iF5=)G1B{%HQGxy1#?-XCyERj& z$kD|a3j_|_7tYhv_sIv`f!?ZEu5WhZyJ+t|DEvaT_=DhmDkQVCu!}}5Z)z;jA(n9L zSgeXN3CboL0GyrKCbFma(|@T)4x4GA>5Js2*~?CcF1RNph#$mB;fG$B;OE2eyHx(b zi&wd@Q>SY36h~+aZz?j|U#3O@IO$wRh{eZ+wGXsdq_T@9Qm*l?^lX4h>&IX5tZ8yp zc8spf+|tnXJwxGz+*h#01lBk5w2{aHEQtgyfOaD}8@L1!#~mw^5r)L5xuV)9uABW&8>u-#H z0fWI>B+VwDsy+03U2i5pf;P)$H6WFg5LYMoc);eo7vj&2C$&vFNaD7VWrgCJ?a*XH zj09ZtDqD7zG&4>Hzdn&(}-y^;u{dA9)zbF{GNd-ugZ#9H*4 zjis_o7)ut|`Nk9|z{mdpUZ`vSAd^$pLWX}OLhUd2j~L5)(rb4qd#Kv1OSOWc$PaQm z{x$bJx776dCeFi8nr%x;wzsoc9_^bFVK`yxNyk2w^{4DFcc*w);TMig#nt7esUS;R zJ9sVQo$eXeG6Nw}WBCW(Qa0?)cs243z5VW=q|0p;$&5bMVh2AiIxysPtxpO3aMb(_ z;hU=~Tf3jPT^6=6O2wd-CRHT5HdXP|9Aq3~yd2jmo+_KBv_~(q*68{d;%|#IxipI% z770JK(paOpyOoY7x3^**IGRA^OO@IV6cL_tURQ5<4xOucFC$E%KQbt!$vc53Zy7tX zd-kqBNY!RfD(7sC4D)Z1Gyb;+A#wT+pN(|4o)*2f@kqG8w3kcsW%Cj#l&gft%Evu& zr?0oYc`?C8hwkLgDKB`l7mnxDFPl=a-KSngNaF7aNYZ(uC1bsL|svdt7zN#`UE#IE3^6;Yl$ zb?utxyaS>5cf;QjKFO@y*H#x()#C(z|UB;s=MUd@U?;xt9FMWpcoXpkS(DVU`@^x#NrxRD4~m=-N-gnA&!G z-BZNkcDTI`RHKPoXy+}^VDXH7YsNL73EzFOo*R#~S|C%sNx>U<{VU|DP*u~FM{67s zI}1H_D_v^x-s<`v^r*teIyP0962XWd;PKe?$2ICtt7_xG`en|I<1=$5qNT;mFLs`N zt=A(Xp(@Boz#}}9=zes9&+T)86M-B`a?&9AK;-aF0RDB-X}U{m7c$4XSd5XY#Ib<8 zl}QXweh5F86{aHuoOCgIquV@Z`99 zc^NqwK6BzdHVqM>H%PXU$1#M$r+jMQwn*;4bJTDN6^-EiIt$Mdh@Rr;hb*fsXj5#8 zILOaJbLm|_juss+L$#jT;pUMHvdptVy<{w`GKBvCyiZ!<_G+BtNtxZE*TcUDS@_pj zk#DRG)ugu&ER7O{W%-yhBWH|&Ml9cOsAn zLVjPH{j82iAaHhGF}e7E8IIal5h94DA;@Xfk1Pl9@aK_?16Orl7-~K((+pP09-E?E zGK-KAgf|SMcHC#D%bvrLfHBWpFx4Yhp8oBM+f%ssbFHS8s_GgRs9;SGU9|qsx-vpg zIAA0NNgJ1(XO5X239J7A4?Y{+c>dwO6kXojTxzzYHiLBc7>HY71#$d5U@PE*g*~%g zZKHUN;Parmw37BHTx zXMv242h2b`iqbUOn}c@0=4~44);Z+x>^}`WL8)jrm$TbyFuU2_rp@LFRf@9i!3XY~ zV8J6AAAr|J597HMwwe`PX6+n!KU1AY_^Fmc9yVk&}`PHU?09hQ~hvbNWnGt2g_;|J6{H>BTawiD=9Hq4OfsIjzreBGs3asf@d zf{b+)5ADCDL+_9b6X354> z6O8sX>A$n*iS(xZpXR)Z)&{xo+>HhH_Yth%IC*(Ng!#7SmhxUE=FQ@B%Y&yJeJ)Wx+cd)?u zMT$*?ZERpR3CRTDfIV|wj4`-sxH(nCKXmP?qZp=+@8E`$bMagL5*D+b+AS1WOLr&``a=fu5E()+@LT(ya!zK#Uae$N;T3k}i-9+|<Y!vlfz)iDtN) zJ7Obn2X@jkhCE}qt{eoZzxJA62@#FY?}7iMQJ*-sg7`1Bf9`t zlI(f)WE}-$&7t_OLHIp?r`tgn`UT=?*H>u?GnkvqeT|-(2V^XA3wT~|SoBlH1=^hw@1hKaJMXjOxJcD6bBzyqH zUp%)XCxCg!0=;YC&&5kW8T=dZtZv$Uw~F)&vvI0gw4h?pg)1t3-OCxsZZZhts*3U7 zfwul1@PQIs{MWM?A~B3++Xrco=Z@F|q2AfX26(@W_Ffe5{;zc$_v1-xO~GAJUyCkRbyD;rq?yBk6QSp@jd)i@QPS;+v`anYnY;# zB!t{a9vqn47;T_|yP?4yYr^!+JiFf9O=ShjSs={d<)ImFdh`Xc?a9E^Stj2Ujk(H^ghf3|6W<<{=wBVY2N%K*0A1-Cg^s0dt803l#8xdJ8)u3H2we1i ztmT4|IT$_jUY;8WuoZr*PiAyehqK)9yZ-P zynf7DFNZ!Lw!NfZJ-ogp)pY3-PP@MORw+wH%&UM7;-W>zxyY{!(tI5kf;=szYWH4k z_1>e0R4cRvR>LlH^zHmO=uK=v@k&eI8D48EAK0X}+}eB=pDMz`lnil`(QW#FTt+ke{HNXXhw=fDq%o;vu;6`zLf?r$Zx z-}b5AG5|+YxX9TU-b(ZLOMJN_9Qv2T`%P0yxfU9w?bfvjklWrtdRZK@$i&VM&5@Ew zJwW3aua3v&F9|M6ZuZ?X!^LAI30V2F!rlzkHJiz`JDWLet*+*hOL_bJ>~|;!(2z0E z*S!ABJ|WgLkJ>8V!wg}LBJXVv+8824$h*NOleqofIXj1?Q}KPJ*MdArI0LpPB6r0*FU?a{6>#bzt;3m5b4(N+v@4EOTw+emNGW*269Fik8f({ z$6}T?gN10?=svg29Z#zN0BGL?>0c78?jnNkO@qX;K?HX8=53cU%1CdOR2KP{CwCuo zgOxZwb*cOp@X7Fooo}i<%dY_c0BQ3sjAR(yqARyJ+8Q(4zvV;0-wO4cJu=r(iu&sF z#F~xNakaG5;VpqomuzmxToH^M9xF>y_$hCD9-*r0tcfz}2ToSYt{sAGO`&m?X+S3f z=D`6$Z2XL=@?n)K6L*g1E2y_V`2PTcH+(g-_-Wz)02(Elh{g1JY_Aw?+X(wteDl=N zT7U3J&k;l7Uk`Y*?8O}|ZM2w6r$-_w$s>&S@9#x^y}}f+U)c0H+r6LW&$r7Z7lnoU zAI{kLPjBMygVEVUB#XqFZQPOB9Bo+?vYh0fn4EfNpRIZyheVnW!2LT;)GrCvgL$80 zUE9=#V19j}LX|k$r=D_saZQYNZ$6teF#|HT8fet4FN5<2;N*R478SVgS@Ul0%SCYD zNiqH8ZWo{{)Q@k*y6aY!DxWLwf04=UNc>CUtv68AY;JW}Z!Roi32QpS;yDOc0q{sX zg(n?>3VT|NC)QPzIyQMtgi=v?V3%;{UGp1stV;H zK?VAGM|oT@1a&yi^A-1yijvgzZKcn3_*Jai={Lx_q8P1p8%Br;AFGmB9{X@mb@i`R zmib1M%loS&5xjBB96{Ue=WgzwH!JEn&MW1w3rT(AEptz?h$24WzE=&hE!gF;&N6H1 zQ+FP{;GHVg;`TdjLdph(-W38jU^1s^ILZDaoRUcu`S%myse5%&F5X8DC0OP@8u)I~ z_r`Y-U0e@31Gq)E{chY00zm))o}F=8J|OUZm-gxR+QiVr8G&ekMk6CC%mFy*?~&Iv zQ%}5$PJz-HBYDuddy|jeu{i)|pakF%S^A*V;=PotZDlZU#&X#euW}a3osrN`&#&Mme0AO_lcXsz)ANXnET}Maot-ShO<>5%K?-|Rq z%AjEgIVW=#`40e**QIf~jFuXlSkx8q);`z-u2yw<;He-B^Zg`0RhO!?xX{6{6W`(CVj%X=r=r>__nP#a!TNeo$~uMSU;v7vjSH&L0K*N8>GW#!F2u9JH3v-)<>& zBZ8LM3Ijd~7#SEj?O%;Q9{xJ(KePwMZC}N@bkh_nR5O1M|T8ahmDA8F))j@gAf0D@bOMq?Lbm zsxrqo13zC*;2zbIZPFG9PI}~$I3c@WaB-37-x$6lUVL8E@Ac0T zKb3!b3Kd9Hvb>44dHJ#kQOk46_RW4*kBr-dWz%zpT9q^(7TQnYyZCLI8w-npGskl| zUB*3xh(O0JkanE*HN{VEbiEc&A+BVbf154~6=9xoxatX9cI5ikY(5W5;=L2VHXa?* zuBFyB()Twqxp{5h_vR?of`UQeN%wKbH8<_2@Jq#?viYCG{wMIN>3XNy4bR%3x?^c~ zX(=8`MW4L6f>WFWkVZOF!qVoKBp=8Y8Ou|8?$Qk#!8$$cazz%l_K@F+A!bjq`Ju|M zat6jw7!IsEV>A37@S9xtlTNvg(q`6liEi&1bra`9Hi+C zxfcb=$#M}?Z954BmfM5RsPXaq)THU(NBA217h^y6&HbV@ZC^<6wwK`xY4q(YPl79? zh`P<>J+bhL42->s2#=_<};#TrDY%FFh zF`eHpb*!CFz}DIf*7JC&bzL_NnS|y54qv{Uu z+e|=$Nn1NIqo8702@C-^t*Ft2Fv^`5uJ=6ZuxXxa;+-M17$Ey7GCcA!O>G*6jx^x( z&&~IVAdC!q*1y7>czP+cri#|_?x9wSwejsRr?k+c#HPX@PR@CKOo_c~(V z%W;1bvYCr{TNsgyF5|`zKHU#BT=*W}!&?5C747U{9yHrL7-fz^r(%M5z-(vOkbBpv z@lkZ0C%MnDx2}9x)VvGetyfFeHKe}MWf{|8kycoK(S?oj56+|`9&`KyuNe88;{;M` zI_t|UK-v`>qAUWb$tn;oe(K}%Ij?p2h47jSuLI5E8;xI2T*%QZD0f_qn{XLO&IxXy z@&~nXU$q~?omb&6inO~s#!S&xPD^+9>a{Cl5T`>4)UC1mtRd@6Ih z8?Uy;%sFCK9(Dtgz@4W*onhN)M^M$_Lax%5RcPY}YH%^0dSjgX3ebZ`xwr8PF^!*U z1Ouo9M41szlwUv}c2A+C81-jb(jWbu$B$6~hCb$sD#4iMLtS|4TnYQqp2wF(Wr|Ae!7OD@06kjlgo)CnZlj zb^2Cu$KmHD?Rc5m`~V~BubPJ^Dk22ZXlqqc!G ztre})_nuUyLvJFJ8}J7sfzeJeoO4{$_dV%ua?~|-UxONVi2NM-hMTMXit%C&miIp@ z+yI%#$Sb&Grv!n;ao-GdJwo>75Bwz-+GUOI=8+of=8cFTw#7yzbJ=;vur<_pSK>^1 zj;l40us>vt7D*t5N_k8$P75ED=eVrT8+bayT+`nF071RAdzb?Wti*+-QP7nu)22%M zdJ~GmSE&@~)kiX{)3Y?ZG4PA~2H(T2cdcns4RcXwMCR<3(_`G3k<XmtzcvAB(%7*NS7u?yuOVYg}9$@#JA#(LJDf!_ZBR=xiKgh?UNuQglI8wux9 z(;y%P2-)K&0|(Zt{7SNKhdPDzxwG3ND0`yJeCOKaXF20JVFDbm>)oCj4b>YsJz{qRP?PCCrk=wKg~` zcVwSlap*RWQ&?kJvG|SRn5-}4O)AxGz=g2#EOLd&?g#{o_pF)kYf~vMZO?c3Tl+z37aC2}5>Iz^Eyb)>)0b4+G$R;Ks+?f; z9G=ywq4=iz;?ze&)UG6k(iSTaiLj}bUzcy7!8!M8@SB}MydUBb4AE>hj?wIwa*0Zl zhU4D54+MOB)CY|dQ)Scar1@cQA~FfaK5!V3oa4Csjt|e{a(gLNqO~)#g3$Xj;rG~d z?}i$UoH}-;qDOTKU0Fi+1(5728!E(MPEmjvJoO_O>bz(0&rrMY=7X-=Uf9oLX#(3` z7^D(O9Edj+MVrn`sYYht*kEBd;EnOT&8no;QqMt?Ni^iMg66M)+iQJtRSZ!#xP; ziu8M{{{Ri@mYCO`<4~}IDCTRYP?K57fXvGv8QKXPfN_(N+Pq(D8gv#Gyl(uu8!YPU z+0ANsAIIHW{t~~6dUIaHQ^RviS=J(UKER-sAHu`9`d6KNQt@riha}Z(t*tHXtRlIQ zL~x9w0N6gqh3n{R*M2tK_;bQO2iEUxyi0B3T|ZE={n+yt?Xhpil+s}R)htxE&~ehZ zPYU=V!{SfCyGbXSIPWyT66#45frrZ>CmB2f3C=!VYw2)by2HiJEk!#X#uF7LuOwpp zVAE}+@t1?OeJ(Sn*lXGc+C&cJ;(M4w0=@E1HuUP;S5>BK@_bj)taU4`KkXWRoith{ zzN5X2(=^GuVdv%w6!Jm){{TwH)O=ZIeS4<(VjzuWr)YOJamcXln=+XsE8p+2Rpa?f_A%0Q>kA8?hquw6?Mpk6sLv6I6}OTAxEr&Q$8pH)7pcw{Y}Xj5VLiHq+Wd>0 z7FUE(lyyH^eemDuO=I$g}k?O!tYXf4UnaQ9JfqYnf~0L1vLF9!WVbZ zOLKdz+1+m!DLL}(;~2^W$4$qKd*{}^!TqSb6{kt0k*MBS+q@!6$XZfEAc;(j*&S6; zNhdfM>yd---^LG(dgqQjU~g{Wc~-Sj@qOsjE+xFZ zwz*4~o=FHB@_y?dD%Ze17uM1UVtad6yVPAH0U1Qa zes=W=2_V;oc<0Buzx*U#Ak@4&B(Z6UsZAxl%fwhrj95hx{v45<0(&qy!Nt!S_{&xJ zDe&`9@ZFZ3Z5^%6x1ayTOZeEth5lyMbtbyedhrO!T8l}%ZLsQh^Nfuw1gYU-D8Nv9bklHMzr zV7ONKgEJ45kfoVO!Nx(wb)EtJpfwxq2UM0R&E5RyjTf2#L~z6g0G+%52HbOzT+i(v zZ9j;-J9(+wrMxIEZT`n@&VqYbRSTbx07PeYdgCXc&2#?%1+T3P(p+5HG`40ie$VCZ z4(AF^cmN#r&NE+Tuvl97PI*NmDv(K7`qSXw$LsG9>9NP+c;+u|<($S59Yd*ha5L9; z{0FCF&!jG|ZR3vvHif6}n^o}!x|)nLNpt)ANF!MBCIbwW*vBKMrxo*s--GAU?Q{)2 z?{3DUetydnnKo{R8-~-7$cv|3^v3|#Q{Zc_6MQ6+!EYtGx{^sV3$HgxZb3MZWF4m` zz7JlcSH$D;+7xO!v|X2DhDYqT{1V|Jw(vf@h|xI$(7U9242}EnSn-t5+L1$@~ZowA^sVKvY6*(9xaq5bIx)kiwW=F(3sGGv@3vgB+w0x@LkT#r-E0fdbGGC(uwR4W3e?RlhbY3@d zJUWY>5=A5q+&KRL*=qw#W-&xb4YpCi!;g` zBW$eEKqHBzWKc#+HzxzPsN%Z6h+he=z8TzjgliVi=@DtN%F&ycPHtGa*%~q9By;o? ziTfbl*>q|9oe+j{ewc0$>!tWo9to)f$+R|YG^5Id#fOyBN9(vb3 zcH3oJX$+|%WbHrR0GtlP>7Hrc9{Wr)%XB1o&=8(vYrLa%;Qn8oaGL)Bie-{(kg{AE zW0-}Lra;LV?VRVmd)QpMRcf@3IMQ;^=~Gm)Yeu^+iXe@y7%2VVE6*LfRtfl&JWa2| za@Ii0s7gy9lRZyTefs)VFM;)FrPB2)SvNCWTFDaO4goxY{Og*IXVMe5`Bx!()|wa;m|(6p}*UaB7~O%js+S?EFAgO79lYwfRqelU;rcm0?3eRsmP zSGwPbygy+kqkRkMpe#zko6PfilneYIox>pGHSzE4H}H1z;_c^%?$$=%qgk|~F(U4e zv;513BR?+Vk(0*&*U@hNA=3WGxI={{50+5QP-RRY}~8Hu6XCo<)9p z#FXjF5eyui<8^dp7;;L-$-lHG?SJFn+EVdT#eN{ZzqPl0&{>A^t>EA&D;nVx;A1%S z=DfB@acT(Y&(sf;W41dEe;m}8Ddo>50)e|EFHF__Kf(Hjxn&bW69|DXlE7ql`j67T zQNdyG*g6q~G@}!`5m8qKfhi`F8Te<7i!sqz{zzEE|vR0Wo^e~5aO+>_~&!Xleb4Fh>6iJUVb7dk2>dmme$M{@ z3pF1Q>EhE)7Wxgs+!-zn%-4oAB~*|AP#JJ`^%>26e0&-3ME?L9ekEDy{$!)=_i-e$ zsAlp59C?SFcPHEfUKUN5QpC!(B2o8g_4GBNOPT6@!T$gRyZ8}*;y-};wyUY>o14U! zix!`KGbC3w@x{wc1ANYZc#OYvg(xsVCpv%dQE9b}Z~hVKyj`qoI@XUKlXY)xdljU2 zvPfZa3rMG9GH!G`n4TOEK4L5EKZQOB(0&$tD$^`HKWQ7;>2}ars<}fX#Zw+&L-Ou( zmg+i^ahmx<{t7#y9VftE7V);71=O03yL8q~rL4a)ys7@NPTcZgAg(ry3;~i`@+_~3 zYvXu^R??iCvFOyMlr%nW_*dYD__=N2-4fc$$~V46xV4hZ;#G)97D&r3Onh$OdKJLU zcK-krei+UBE7(EeIB(^a{%OQ!G=^byWD-q<(eNWBm4g7yj2__DSHe9ye-8L=Ehj>- zztSeQxQ_kx25e68nLc2kkVI>}_+C#PGHcYoY@54{Tj7k_P0CzL;(raDt8)lO7dDcr zOBuo_{{WtDcjKwS`@j#b#^WU{d}%@64|H-#q^x}PuKZNg@8=pGuVA*9QO)PabA2Nb zYRSkVGTU+#HZ%9Q?g6ZC0{kwx__?B9y|%9)y0p~dNO!;4;1RT(v+clKGXucmJmbG9 zWi8i?d{Gvsc_-Q>o>WzuRlvE&1UnOr*c(AO_v&l3_))BBdVaCHLDa7;Xk8)> zBP_d)!^w2X`=+z;OC$|46%xsdi8!ulI_b&5|XWBucjT|mjsdXs=x@ba%3xYhh=Bi=-}f(T<*SracBpYFF& zjGk-mIDZ2OR8pJ0lYe=~N=hzaYHZwNRl!xysW{F*8rty^Sd06UYj%0jtSyEr*lERFuK0fuZIoVQPU_m6=;4wJ>& zKAjz{ly|~grdyRl6__e6LpE>+4bQ(E*O%CM9_I2ZYk0tEbGyn1=f(lg9G;(zeLedq zcx>pN6MNaF)4Z!`W@8GlhUN(vq4U0PmQ_*++rtC*Nw1#I^DE(6i`M4!>vP4XO$Wj) zOT=2Hsc92hUEIMM-IiGjBP@t8>N=iDCmywX_HEQH{3G!nS(jPaZFy&=%V_MkO}uX^ zy*qGw_03+h_^mI3uU}BHvW!o4ak-mm{{UB#8(<86UYQ@n2VV8Zd?USYi8eQ0BDd2c zA8*vIl-sNYt(8gnnVEs}06djnyMS^#d?hH;*!Ro#cB|Rman%gL0;J(!)BF)bZaMd>D(t z^Gm2Ni7YRynm^nu7dV(KeeEokcF~au0Xukf_h!u%e(m^MZ8;2v*ebb!sm>8=b54!PP z{nT1(S>N2->9R8>$X(+H1(=8+ct&n6Tx3aK4H=^ImhQd>qsCwz+#di!fR^m@{4P`I`e9OEEHM z3+Y(4UmLt(cXK1Xjn|!N8bcIO*|>)4FbGE3*AA!$Qz}oW^$o)b8&n-yiXRCvzqeNJfdbXZjULr z2KkqtU*+Dt3NH=8qhGF{aMIq+mPvaXGjl4E7h?4rPh6ivoM2~%(L7hEcss?=>GmII z7PsuO+FDFJ=|b(vVa7ghn}9oK*1A19QyR1v(!AQd=1WOlc?@Z1ZV(Y1U=SOIY@Bh; zJVh$Jx1QY&Nnx8gi*E+%Hxfmv8)?=!gx2Jp!|fXwE*Za!<&L96)*lD_+2a{n%;dn3yCK3CtjvNfVK{KZJkH= zKDCqLFOTwgs?IwYEN!eby=h)8L8DP9nlCXVMGLno!Ix-YbMsYDm3hl=bn~$k9A1YT zs_2vIT8I23+7-?0I;NW-Vlq7BKX?@?LC7TIryIKiT_ybfBlz8GZLM9Uh41!u*cupi z`L7ZH&cR0qXe75`pJQETfP4*Q;@vjt!&5<{o5CZtx)?<>f=G#*zfLpL=Kl3?ULm!M z;ohZtrD~yJdxAg(nFpP?fw%w;(!3mX9W#pTrHNH4dnC16dKl4s&y}8S<6Rcfyh{w4 zcISnP%a;m-0l>%^9PK}ut=&)I9;u-{mBA59Z>Yp)iML~O90pwVKQ<4iHDd3>xB7;t z%ctp?_QDP{{V$I z-V)O8wJRHi{>PnE%B?E=+rqfQ@<O9|x}Gu4?hSrRjiCxTyQ@>-T@RG0Wr*fy$i5ze!&r-4lIkXc8By+{ zWeixz3J@3pjerI!8;mhI=DUxA{yVwwe~k)XIg3bHL{k3uM-qEdLjK~)lLe05b<|FSMk`$5Cpc(q6hQ1T=t4pWbGU>Nra)oy= zD&Rg_2QE1z;~lZZa@MC#bY)Mvv4u#s&cFT&TjE=f7I=?Dzp}jz4z;HQg<+WCVs`n?PJJ#tTT_bjWQ}=cBVyR96;vfaBPiIw{uVtlOFVn3 z_$52@PelO?oK#zdfzh~^{_85@;O&^K~8zyMl580__LgStMW96#Dun%9<^ zxS1naH2(l8imu6#)^eu>zIa zxp+$Lc-jckNgD$w2qy~M-%Pq`VxBZg>sHq?#x%u= ztmd|dK1#j-R|n-I1Po-1^%%{2iPNP?DZR>VY*YULgmx(HZEPCy8?X?{(1Pb~(gKl{ zT%0!qH+uC?gdY_x^cDWkwAHRs)<|ZIdGi+XXLz=&s35Qk6o3n7AaPzX;ZKZ9b0x-= zti>I^p*(Y2B<+-0M2U^LIph!sJx+V|IlmFKTVDr!S1{OW?|Y?P1(G|xqkAs_w|!4e zojuKPVzT9kP8AlLqZ+H39*^RWidVl8HBTpAx;m6LJ-k0Y2xGYaSG0zo^ z;oWBEK{DI4sP-DnpJ$IZ2<}oBRc9R-1M_k~1dccrbK)+C5dOuov->i(sS&tevmrYP z1M&OAA5z}9u4~2qAk)4a-$fP7o_+TKEkV-0oVNE-WBpVkY2D8`JdE&qn#L4d>H8=n zB?gbEK0N$9@GATe)%AF8ZR{_#OIYnK(q`N9E=L*pfh9g|ye6fn;m7G4Hekb7pJ_}{4bd*W`L;Ar&!01+(C$ccMu&_CIP!IX4QHHScW z9fmkH^IT7t&KQ1rPgtHlD-PkQ`n&%C1aR;t{41Rc$962&Wbd$H=P)C0`bfyf86+Iw zp43-Q{{RHLy|la2d|WNwHlNGW-e9YYWL#k5ws6LZ`u+>V)s{<#l()0|+4dPsf7v1E zei!@)@h+JE0J8p*rs~%+*vV(9T|KMYY0C3nDJVeS_l6%ofvm3xcmi8L7~9=9_NAts zc<`mcRc2eVviXI{86k)Vw+Gmo?Ee5{ui1Z8_?O{G!p4s#k$G`$ZDo-{$jU)tr2MQ# zdv)W|wLU-E$Kh{}J|D2Ui&Z*pyik|~^AijQ_|yepxMF~XJdEcD7(NX1DE)S&8ZTFN z&Zyn)a5tVJli_#7{{R)Xh2luGzYlodO}Vs|+I4n{ed>kPb}Masw&i?qK^y>U=KVv$ zaq13$L-sqUS@uU9r!1h3fc_`*ucQ9}ZSRK{dZn%QwRJom9lf=UB!bopa}+n~z&7;q z%PR2aDn3$jKp4e*yP;j&X2t^-KBRJCZ^a>yiB1diUnq2j)g*FGWX zG5A`0PZ8Q|md@wPnc{DjZ1Iva#y(-icvr+YG;3cOOf)u>X=($jNJNScaI87+(AU}J zII6Qw6_?B@x2k8T{>}IE-}v&(Y4EMY{{UwNmQnk%%D{tw4;}gR741K?2gKXI7JLT& z&bjdBl3K@5^5fO5qQhHfdl*UDGD*vI?0qZ8zhgfh=|2y?E`7IDnWDBDUD}r%1!swZ z9F9gC9D|z8@dw9?j~r=pXs|^LT4YyEc4Z1ydzT=On+F9)J9CmZ9(gtM*^XCIzGv+@ zbX`oRMY-J6zxao3;2(yvS)DS{=I>XZbT_W&3;%iphWVOxF`w3+n#@`SII5tFFr z8?pM4UiJGK{>mB;#s2^jJ>QLN_3cL4W8H71>42@p>DobJ`$zy_AAD9>rf)+5OWIX- zNUD>vE`Py4z8q?oi*YTiwpQ|9DzU!0npomYV61JleeMbR175rFD(A-9FT>A>wxwpxRR+$zJ;E}?NgN*P`y>%M@0Ee_Mg)o-zNVn5sw~1qh*v+}}Mi{vR22Wmb zTn~tDd_k=I8S!3&4EK^9c2$$?>hI;sP=`5Q{W!12>*pU|%zm@9ZjLGH?tEkYo*w!w z{{VI54ZFTG{zZBZ!~5alU2fk@Yf|>``Hwfv)feXAU|@0U=~x=Cg7r@g+^Xt&b?u7r zyU&G_J;x+>_V%v-0O2o#r2fG1ZTdt}6H9qPWMk#2QKBU+nWWoKBgb(fyDaUH3aM0X6=MhZd-Ln%{{S354o#tc)v{k*UGyGR)@b~s}(i>9LwB0@{nWag5`CoAo z%YefK;3z`b#yA-uH$FS@TjH;Wd?))yc)MM;(hcsh97_6AUhlbz^`zTw>PnxvIqDvuy4J}=o*YcfuW@~E!+!$440u~j z*Ce{S)NTy7XGwS(4eKUEU~D14lW=3a;{)Wau~|)g9$73Vywx|incD~`M?>#xFN#`y zrHuNVP{K6bI?~|)y~MCwqOROBkTSU=cG9B&ahzk#ziIty&&Qq%{@&7U?jZjFgkHjX z-`$o7WO2-bGmcOe$4nL=91eImtaR@i_*cpCPuML*wwTj|w3=&4C6K0GEbbwG@*KBN zhpFPea`?5VYd#wITjE&X#J5+Pevu;EY0LK3Sgymeq`N@@od{JRG3cE;*X5ZP3#W>` zIkhOgij?lGb{BuNwTFj%H-0o<4MB5t;!7kFFt!rMYTE+J$Dxg~BqJF=H(K-0A4THL zcTjr=(B*r%>=u8tBt&^}#ErRj><20rJGmrhr%LtT*(bpec=p3awvz8d)9kM_@3cho zLS8A1a^&8hjT<7q5BDX8hXPLmausS$WCW|CsB5E4W4Mp$qN zkmu^Y)n4!5-L9?UZC6>IdmBwtOSX#o7{$8HWpKq++BwcZ8OdHdo`$}?_^JCg{3iH` zrs(!pS9V%giD9-&NG&w&S`Fpcotu$><8vNZf%ic?SI*uX(@(>ni~cO|o}kNjr&>uG zUCl97l0=2nELq$YO9B*}^!keX9J@YMu>ADXO)YQK^X$~DcfYfT?G*9LYvI??Z9m~9 zX=i}wdW148M7e1oXhuHoJ9e=-$m0!~<9TZM}-e8g4}n z=M0;IyKGVb^y0lcK=^lPzZziIG#wLD)%AObp*nV4G@3Q4BAFEq(Y{iu_$7aK8+Xjj znz!*A#7TSc9__qCZq^z#n1L>B&8}`mw9&}I2>xude(8=ooyQg9M-hg2&uNB*?zQst zJLf4ne5m<{;)RZ#CWWQgXiK{8^qZuO-FCpoddP<-KY21cV2<_W{wMfvsQ7QjhCNQo z-dQhJ5b{RY+7Bm;0gr!iUa#>5BlvgYDWlZ1opEhucQ(&;8{5ka1>a$HAnhmS1Q2na zaZZE5_n#I|n`$kdO&>@R%8|a`Fa|hu+l3$~1h@B?3j3TcHh5?$P3dFEs|Ov=2!}(s zhsD3yR&vJ#ZzP5bg&~G`P)YR2?^*scy0`ErjQsgD^q%TTL6sa8RUm>w70%|{&D!L;)y&#<1Zu5hFC0#NZV@fAx6Ln z0CZ5j`&ZOuc!^@p1>vN0gCu{>iPM^DDMIFBw+!#5Rn&Z?ML$5@?*?IYp6 zGvPnNKM-qoH}*DHx_&hK4K`Ut)Uvw=8QOSUGBG`Paf8KqpZpS~wVwuf-uJ~nWVoM8 zxsGijeX=N#{J;#m3mk4$8P6R^-CkGwQ~0*`<2S^}Y_#~Zi7*m&ETI$Krp8dIjFTmlt1WnoT^bY5sNjB^*S|56a_^a9okMjw{+e0eI8F z{yQ(DY1(`%tKFBidt4&@nLylSjF4M!Wil_zxD^C#AQ9sx(#OS!HEUf%R=%4;ySH}} zn8P}j+sGN|AyJhX!Rhkmy;H_tvn{`cZ*6t`3tNXx@e#K-HwHE_eYx>0uB=pmt@3SF zAKoDD>t7X(rA5+>3XR3|>~unQ*z>O$=ogohM*jfWxBBJ%tj})xiokAd?UFVxzF7I$ zApm7D$Tl1@nku^Bvei{sh+ zd*t3le>a8vLuE6DmMKv_(dC?t*gQ7p1hE@HL7sruP2o9jJ`#BCPO;*MrSRUU1QzmM zO(MK*V=o%Wv5myCZc*~}aoFa%ojgP-C{bxiF5CJI!uqpESN{NlbXojEu%7WXZ?ozx zX3@buOB+{FmHB>CoGRpG=WhU#YsEE-UlV@Lw(?u}yGzubT~6&*+Wj4V%P3aCEwtb; z8Tm=i&(oUv)4~2Hy79H6+d~!A)ufFVk`g%}DGtzDM05NsFiN>O!N${B-?VpywNDZa zKfv~SZPQ8i=)sdv$gsP&lO@jQE4yQL+ky@-Na@FvaXu~>hlR#U@!!znn&oyp4&K@? z9$9Gmo`ZV&Z-_JpU?9751+Bnc&m>{EAs!^%$;obb1lDE8iL{@H`c{c#d?<8h@dG?f zc+sSS_E?-2k8c}Qe|Qf$#^a2EpKSPF@TT+jd)3oN)mZ(TSk#u<&1Q{nppp{uDIopq z;er$c_=h6{A3lEGUk%T~Z-~AdpGS7G)AbwQwxzwatrQT;xlyNB!ZtOqMEX43$*fD6bLblVE4jBe^oM80& zd8fnMU2I)y-VA7L?sZ)X*=F3(5hRwtp)#v3a01P^o-m5!frDPD@b_HSd^zErR^}XQ zHpbw@ZLW(-f*6#jB#=kSSdF+C%Z_p?KZw7xSBh>tGvQB)S~<3~o5RtjpMJKVxq0kJ z^1R|nA&aZBw@xv~Bv(xw&I!COCVTDbV6N_YFT{_78sCPkKEvV|MZN9vwAL*e0Jq^w zs;I(ck5ls;fwzuxUVDAuEl0u7%MA9$)u%wwDxRv?WH}sxj32;*+*i44pS5p=ekgcn zOS6*H+R3CxBuN~znF%1s$IC`PChgpfqd$NnlE2g&R?}gU4I$X;H_}L-CSy`$Y%byg z=bWAysZ3Mmv5` zyo3vYJ#*T-{21=2h$D0veR8o|Z zM+3smJDv{LU)dfl)U=Ur5wW~>NQoj$0u{FsaDM5@#cX(0v>y#a{gbaeH&17Lff=pH zmL*vicGhk{!8OzP`@**V2G@0cahgemwc4Xu$8^@vncgknpc`8R0gw+yUTe-Tw7KCw z+B&2&`LkTK(~wD1xSy1Tse+ zgk(iIOt!#;06;za_vfWx_$$Ej>Nj>8U>7!!>US|T%N(z^SV<}wxH#MMk6aU4VX@GK zHx|tAVxPl1yG=UIXr92!Bxu(VVZxZoWR)k}ZvOxxyPX%t4S%5A={CVGY%gP5X$-OM z+W>vwpeKS4BD3^Q1;sCjyhozWi)l5hGet8Wl^1vg8;+kaB>E|?x53{H?lr9|Wtgy+ z>|#lzlHKwpj1UG119se=oN#@s$jmFp;ymiQU7dE1;0P} z@WCF~V+62d12`Gn$B$O$wS2rV630qU5gRo0ea|MA6WdA2qtNvkKjCFdb$D!Iiu%@1 zJezh38>ZoaGU~vW$R}yY1LmvN{{REqPx0=Nai_ximxi?#2_~SxqT9&X+>UX8q%z|m zfsd_ucZNPS>VFRtVoCP6ZSIxh4fA=6@~JzHO6R{n#B0&MAb!ykL8$)#XW98sN2-O~ z7599u3vg5ew=DCHM;gs&Q50dBs<#0$lv5uoBf_kf; zjuu*%!#S<4tnJ{sNaKpqCy5^2=2AxE@|~mtNCW`bQrR1n(a?S$E}!9MpG}r6S+6XS zo;W0D192<0hUUgHLG&R=?_9N|IyA3WbCz? zva%2eD}mKV8I0iYGtm4__$lG*PXcK7+BKSKckq|D6G-5^$B;~e7=M@!r+|9rHNkk_ z!1~66s#l)zH$0CQn1aymJy>Y8IL`#!uQcYjGvR0>Kdp+`;)_ zleZs3k6No?sA@hM@b`$K(6wj|m8l^T*-OBX?rdz%Pu(L9NWuMgJYS*xrqbU2c<(gF zxwuvnqUJ~0w`k4);YQ$dgY$P4z3`vmZjmmy*WM%7A~87@s~~}-@{F7pz&%hL@%`X> zX1>C%HkCRG?)E)7)Ji0YkgMV%9U;#9$pB}&~uPBjB}iTYODMryVU*} zUTZo_vs-CbFAdAW&fZ8?C2~mMva0jI`Ey@Gd_(=8VDZ0-W6|w(2<-m=vBZ){^1{&; zGLJPz(ViJqa7TT^(4Qmti*>Jj8_?mfmG5kHjY{9_Y=DTPeTOW}xIJ@#-FW;AVDnhl zYMgfzXLNBM67jaVrKPB}nk%WK^5IFRi0`&jfLC$O2MR~wSici|F@L6bwY1ylT1ljd zqAZ-I;7IvfCnKTHx%IE6z5)CS{{V%l`#)<}Hu77xxnKnL>2yIay8-s_#J5}m00e?D zj2P~|8(HdK2?vO;?`*Wc6!#07EbwlY_KpBj(8Nz-F}GB2h_R zB6G8`@@3_Yq2UcC+yncqL7c{a=d!6FoxO0(4+L|LI5qWG?0x?L1r+g@?A_qaLr6)b z)HGdM&8_3GxWv%eNcmNfRFD-wk;h-;E5^TQ&xW=-Z;pIF7L9)T#ih=l5sr4|Ic6)p zqlk0zN1P6M!ReayO;`4Mi%Yfe#rpVu=GrK(A-BDbRRR`yk%(jm1gUj6To5t=Jc{*k znVmXxl9ufoI?gcA_1zk4UkZFx(6zgmhNE?FZpn2uz2iu_!eLFjk_kdo;O!@(=YqA@ zcmv@bjG3w<$V#z1_Vygms$wmIq2iv7!kuv3OlhmM~Q>V4i>%k@}#ABUf? z?yq&Md^FSTq@Lc&#Wfj|?QIIIftzXhWH>qJjGs?xZ|x=GZC6bAv!f%){iA#3<^EsY z&yI}Aj#+Y~o`(XsKiPZWmx(?q{35?dE+LOb&}EY8fq|u#X^uFJ6RF2?LXOxydE1{A zc!DpC9uv0JW(y=9ddE3zI^={Z`TAsMJR1Dgd371)HEPq6Z6~M5l}e;t?t3n$s^04# z3p`f7Bffd3xYK0Y6I(3q6fRR~X4;tKoueRrHSl+fY|WOscM{S0oGD|R9Ao@{8vEPg z2gF(R?}d8xqG|Tu=(e&uv{5LYHDoKfkEhMh4)yS-#5nx#63mJ}<+|;``=o*G?fTc# z@ErNM)Z=Ay*1%qL+kFatHc2l299)?`W@3apjGW^n=hTvGfYXPP%fIDQ9szHg^8BmR zym4Uh{2TK^5&n}LWFD`TuPxKO#tNQi@q_^X00<}i{#E+b6s_)>&Yhjn)LO>2J|4RN z09H-MnH!()0IEhkI-ky$z%cpGBAjP>rblk06*q@cJx5BrwR5<{z~l}wh6f(!3sQIr z3{M&bAL{}6yZ-?7>S{Z?q(er}#>+_V^*s?~E~{^5r*EO&)y(R{{U_((bSE7LBl*{H z@pDdXPhAErgvW0J1qbFCOrO-(6{yYR>ak0myI45hHvn=-$oz3h*xRL!*Wh-P_x>ZE z&KqB}%QS5WjmAT^P6iKr;=aT9VR!Kk)5E%Z+u4h3MA6zZq;bruq=UC4Gm+2T=dLr& ze6R37%(C%?-SpP&c=AeH%M28=oR!);VBq9)n)n)$@{7Z4czmL zao;(t{d>n6eA<-SMAp}kYSu1Pl$B4*xA>QCN%sf&)~CfgHt^n=HN}K8UFnG-YfFoO zWuAOz<<9TAdF`H+^XJ6*F1$^3JEENYk}Tn_JsGNwoEnPwdO4+dazc8S?iGa61loHJ#vV$#j3&=f?M%gm)3$ z-C4t>K%ZwL1+Gz?9&$1_0g=~t9V^5~jCGi0g_$Rg^44FTP#8=A<%4sP&U)9m#pA1w z9()qIveqU0JGImeI}T-M5-AQl3pl@+Ntp3+22s zmtp0PnZJZ5B=eJjTb>p1&y9RRqv^VTg%&#-NE$n6?u@ArcgE0i!~(;N_Zb-HiqHL{ zeiPk%Cx=YCzSW|?)jU%h+_s@3y~Oeu$c@3?cgA;n1HjKp@bY>-&oXnIlD|&BGGTk1 zuflH+Y91i*jjgVrEo|qSV?2gCaMD_UbGh-1anOFX_BNmY00jN<9-HW2amAn^wKL+5Mu=1Q4afzFJ8fkNd#qAcbMU z+t0Up{R{X_`%ABaHFIkn+*Xzr0!EU}SelIu2uM2oiEiyZ3^||ii zxRxmpL}G$4`$=L*!?8I4kGYaM0rDh24XiZZ3Twack;uMO5U9J7!O_YfakW<~*BeJ3 zhnn#+MT3>`ae6nPpt_%3{>B=Pjp5$`{1jKzXAi4r7eMSqVPeqE@3@Q-7cQ)LZk6gV z>Kf*~;qMYAsU_X+o2yMUHqtK3Lv`gw+lnD_$&HLYWXapOSH?dLd_i&G4+MNZ)I2?J zcDB~{m)3Ud^KLsP#^#Wp-K!{npexONJ>Z+2N5r24ukSop;t7bdmF^>&8?=@y*<7)b z6bh~L?rfG!s5$Ayd>(z2Q2NWn%U0f>dDRM*Rz701{hmBI;$Pa6!1mS`x`V;0+pM2s z)IeLCg>xZ_WjnUN%ZBKHgkHHMYVwEWJ z+|ckPjmEX{3q-nxYi}+)ke4FT60xvds?C7LKb#YgKJPv~K2D5!| zmWpAUM3>AEy|FI|SLbY*oz6kVFfq+?-v@jRaq&m(x{jke>l&q{xtB|{NBb;o3PhV5 z|PNw%>1xPd+J-0Lq^?%He+Q2*C8@gZmy)mn`QkjYsavOXcc0P*PWs_6O|^bEf!j zz;pP9U2DRZv%?Y2g>x~2=X`JpM#0zSjYBJrH#(18er)Ns(fFd`?s%8%=`4)OfSg7% z(>-|4<6RHO4~x3@$6bF?@fNu{&8gp#?qX1p$GDau7X&EW%y76LF~A)wBf=1UgTqo! zyzSZsPdFJL%jsXB@a9APn}y_*uOeZGj5a%O1xe>>k-!5c+#xZf&xL$pb1)I&Prghb$fdV%u0g@TAH)132Q_)6K5A~=1vKn*8h?YeZvc4G*56Ks zJAG2#OazxN9C5pD`Pok(gPZ}#QgCrzt*rjh+Q-FxROo&!O%4yTT&Fj16-gCv0;@L| zzy(fMf<|keljF9DZKrrv>sIh=Qbl1CK`L5b%L?izFP5JJnFdtwPFJogW5@ph7d$EB z>0z+bG%LFsHI^A7hW2RZj?{TzIF4LrX5e=28NufnuZqP=RT_06dv!U~x*V3Z;7k7i z5BRS1MI&43*U#oawl1MrM4QHOoxC2ToF2x#_eS^=t$6V?X}lw|B*Wka3 zQtMWmRkiyy-Mzt7Dlm&GtZMk|L0kec+m7P6FA)4O@sEyvCCjgCnpM@cjBL?bTfLc+ zeY!r+k$S5}Km_AIhH>rQ9{s1TbsrC3+Ju7RT)5IKHAZ{LlHxLBK@ki#Ht#cgZd0CB z4i8aB!`~IP{{R*Ib6ZH{u)grLgKf5%r9_snTPlp4EQ&_om@eG(_5&Q)Y*sT3MsBQ9 zX@6EaCmUGxui2YdZw_k~@FaIL&bJ~vH@RSANXMEGlHiarwQ+!cTzz+bGkD7O_SVWv zO&eH?`$BUP$+|WREAQNh03dKZj!$lDgYo3;@Vm#b3ws;8Ei&O^SuN#%I0oL}?n98Q z%%rKuSuzL)y59|W=Grxm{^HA1y?dBq2^5HA`y7~G-l<%ll#p^p;xmG9MSgK#4bO=B z(^pL8td0%*Z?0+{HPYY2;9guoFdAjw*~qxDn|mrg0R#Y19fJ@FVZk-Y{?_`2lkpqE zULn=ImbjMNK|yCF+<)ujj&!-Xk}yEn-c*ri7#w5fuTJqxcwa!)G>!0G+n?1DK9=7rPh>)Ma&*-@J}&FgPfICIocd$uvZ}D z3=Gz1i@qxOhf4THJUIrTY`TAmZf*4Uw>JL(zp(;c(&9d)wxbR)+Z^Jrc(2CVgxWN= zo*t5DE!IfwZXs`+N)?U+lk*nHQ;o#&jN^53zZ2zwD!dQ_DP_qZU>}_O3i9s~{?0n*g}f;>-Tk!omezXV0k#99v=4*)+ z;SIJ3wy`G)+jj7$1HM76%ir3r4-|M1S`V@4axU+)MfP2?%8t#rnRgal+p=&->wq(w z@}GyEB#vDvPP=D#bokkflG`$$Bq#%U1CYOWoMV&CYELhQJV+VR%H~V7{rVeO@Mnku zpfDqzG05YuJXdxj1wy3UoK1PIZD^2M9}`|ht6$s*Cx$16O^I>lNDzpCM> zzj-&=(%`gG$-zr@V;`2xateZSGme1fzH>CfIN@BA_pW(3s5r*x+VO{rZN43RLa@JE zHn{sXp>=0_w5qkh3$p|f!TC=o)84bSpNs9U=z4k5q-!giTZyqUo-Co0%fhfcwp1}- z2<5m2xv!17Ub4O*@l>~g+TdS{#`4DKLvx8cGW?x>UQfMnx<`rP*Q3)G=2uuPCTUzU z?|ECIz2yT(2rJ{|ZoaIwb_xv`mMhD?v$soU~~&H>!43Xgj8U4K;j7Te{v zf>5sG&t=L+Tx}b-3}>PD>U|C`i~cCU6;g764OY~G>e1^FXxS# zea9;p1Oy#;>A>tU*13Bx0c-yN4XpI7Z~H#h?$c0=s0`audVS}Y6HG?`0I}zvEDlao;dc&rth&qzY}W zU=kK3`-b3PmE??(#ZdSf8%Q^rJ?+cdS?c(j%5_lXT|;mC-Or~^GoCAe@t2RJy!h#? zX&RO8t!orf#cyw!+16!Uqx=xKPon@xHf2h=U@ zWw4q^Rt0e?x}D9p*}2C|enP!_;D^J3@e{%m#vy=RYB3nmSOOd%oA6T`1{5?Lk1tis#< z6qb@xfJk0?NePHaIfKdN(=hL2Rk*UoiYZ*ZfEEC&ibxR=XXpW_TJXfGv_p zOg1{QkT^fio=JzVQxO`q^h;B-2Pr)ntNSW^a+|^4Aa4%pi6k@XEG-MWY(?5btAaYS z0>dEV2b_$9(tgyx3-qlEU9r@x1a@8(ztY?H%Wz~f%oH~vj(7QhZeBCAT$XUxQv9kK$&jWo7ogw`Vb1ZjqSF zx9+INA)B!ys2Rn50pTAJYJVR7CwM!b4c+g!d8yz zc`c>9Foc;IKXEVwslX%V45vLo!OnZ<{8#bawxZT>TA|*M#+Mg~)s=Erk%CBNB=j8! z#~}E1_yZY_tsN~JBh0OXbsf*Pzu=M@th&Cl@hP06Iwk1Z+1(JWi3R}_$BYh z;o!du__M>%K9^^zYVU6(I)w4OlR|?kb^-JUBL|;KZ@50yj@>pN3)DJUH zYaf&xzU<^S03hIHx%aO({hTMd(DmEf!*zdQ4E7PCOK)%IN?AzAn16Z&hp&-vna6H1(6_Uy;$+?ZNHydVMR`;9O*D zMr|u^1V_Y%nyf_E_+csS3$(ATSK zc3*1vYjB|ao_e58!I(1x_-+1G<+mzKGES=CWecet6oH(6Ij`1ePVuq|s?68;Xz^U? zuWcgC(_F^M7|#sAjD9#Kw)`<>V7s^ACgK}u;Nal@0QIW}!cYB~u4%U+T{cQW9QEMj z{-3RPIxVbsy6&EK0a!00=y?swpn!@tS|saIX=Aq03a*uzYTxELRU)oMX7j8TkwyDyhxD5Z8W(qY~v4N ztRxIi%5vG-K^5`ui0(FPm|^#Z-;@BLV~#p{{#EnYRIznxRQkkhucw)4^*@2Ok}k96 z=24kZQIiHh!3Hs$fH)^U)$~t^J`-KX@V?{3QCwYI&Gv|(f)MNt(Pr8)frHQvzlC_O z?7iW^;;$EJ)=zy7nHAmDvdMQT{oSgNRLI}#jEvXRf3=tF&*Goihr)B}53lL^uZQ&C zvPo|xoX*im^Y8M=P6l^Jp1I^#!Esf1{{U!0lsA1lnBt=CsSm?{+0(|8>Hh$^v(zEf zEM^wh7WYswj@o9)^7l3Y`2la2J*&(pSXVQfrE`%Erk@{7YUjxD4

@MF%W*o~Zy&opTL1!`g)k1_Re2zcSH?dTuRQ%; z%TjBDE~9+~%-3YM&%E47ptpSORj((9X*&4ok#9)5SjwFSwPjC+zZ|?#p=vi4Uud_I zE8H}KL=1oi%W`?kbKkvtKDlpcLC&*DXR7sD++ zORp3rV^g$bvneAP^!Bfy?=%@SZvxA7^V>7(_wmOV4004XamP-J`HKAy8-#>t%6(Eb z|S#^oqM%xtPg4t=G~0v83MiUOP@ly z(j&LI`!Li6%3JP%RsR5Z9Ih0F0P&u2$o1{bd>Qy%FND8mpA1EPZ8e?6zMQ&?`LYy* zMJZ;8p4mHr0Fj(lw}`xD;r{>zd^@~tQ$>-N?O@9?+)d_N79Sy5cJbJ4{{Ud)IjuO4 z8u6IO2&k2bEX@bB9b;*O=`{{V@W32i;(x-OQ2&dwBtVrSTPF>@FjvP0(}ed_DH z6R6s0AF@BhE%vQ-;tfK{t;&dt`A{b;!EkvDbDqEfUKM}hYxwm&VtH+@EN#~7&4op~ znS8O3tH{a7!6&{m-n}E?FUE_H6=_~6(C+N#o(pXX?pWlOFky=*9fL3#2lE`7`g*y2 zd_E4GX~kMCT(z~1M(0pnAK)&H4caxqj#+cKuEb{xk`$;a*dX;hNo5X8r%rS*)aH^mJ0q1^C%sTQz@X-PQMtSzV1R&aq{I6~wQNF!-Nr=B_Xuc|*{{{RJ8 zd~*2d@snB9?(LdsEa8$uvMjz^E0rP6dlbRjfI&XB<)83Ndo4f5{{Xe}B#=iux^9qd zHLe$Mh8Kf-?#d=}R9-Ac;x-u7`An^1;1OlfZyBq)A< zQUhf|G zfC*Dz6WsxBcp2r1R^$Vc3C(zX4Mten)o|F=tBtSo*v_0%+{XU^f}r_Y-|b28H^bK! z6InnnFwmAG_j2CE0R@4;;k)z|@Spq?Yr+=(0{yanBWd={4A%C#^wC?%5y~`uRE`I1 zSK2@DQQcx68GhTp2VL%Dl@m_1d8C*Ke6uC&%mLkwfOCLG2Nm%b?Y*Z-AMID;$YdKO zhr~CLvTjx?RoHFHfH?Yh9PwY#JU@Vr7m}2EBY8&q9z}6(?WW0x$IH^S>?{qJ!}(pa zBCLpnb|A1Meq4Svmwh+cwBj2%9DcRi=+<`n&w>r1aGR$=^LHdS@*r2(&Awd>;~s?n z01B<7*RQnbgn18l=Qk%OBxHXo_YZ`A3yZ}5G1P6Y4ca}*m5yN($^#c-7iw}&7lJZA zwd5ZTH1_cQ%mic4wv<8@hf}$fpVGbC;RlFrd?k5tJ-xN8qBKSQ{@g~*xx@3r5udw} zl6u$6=hBze+NZed(^03f+i5y2hM(g5^}N$GsP1%T*t&hif^IRgD?FHNwiOf&#PD4J z0Cn(Bi~8S$^vyY~^joW2%|dy+%V^gOsS6GPlY!;}06!?}*Vol-d_VsH37^C}t$yE1 zOPg|qZX)wWV34-Y-fjvCw(xWEj1RzLd^P=_ycglG8|nJSp$zxR=jXCy42vq~a8_n0 zPVO_v!!H@+e3k;e3Q}{gC+K)_PnhC9AN)4F_?u|Ak8&;Hh65Cad4|%N86Ks8W$DlB zUXAb@_BMyazBh-%R$8oytl!=FaFJ1N1OPO+xypR*5#o-8cfD zinJX`z7Fawty)>!T&%6A+udwzqDYLg1G@xg5;oAFk1vhGBy9XU@kNJ$J|Ai4K)1Hi z&a0DxP!(j$AKZyJWt{s1$;Lo@mgxPYUyEZFP!%6`?4b> zux)`tj(g+`gIqVpF97S7I&`vI>+4}=Z(dtlC9_g(<8WLllPc0}V&G?hqZPvVJHnnK z(czYDIt$%fNz5fueX)E4GhK@YH@Jw>Ng` z#z~?pGnXo@yLSuJs*jtYuW9)E4x{1!03CQ(>z1}rUE1ja5gd>g^BlZ@1RIxdZQPK5 zy~h>v*Ti3d)*d|5Z}lxuT;AP(Xx&L~Z4zcVUFVYt<+E|arULWV>s)yRF!cFnIcRfA z{SQX)KgBNy&*MA03wiZL(tMd`bdV%+Md+Ro}cW0K=;?eUA%(@Nv{y1Q zoO+&n;LAIY4|o$p@dl9tX?K@Ra}~r7GPF|RhS?K#Kq|l!wDJh_HR%@r02e$>@e{${ zWxc=CG^t}tgmJSbV#=Tf!wstH&4xGtEA+@CPFd%N!LeAwq+7L}%S$Gi1O?tDc?4vf zwgDIo>$LXjYmV`qo#mdhreDJo>6acIwpc_fFP)h_^O)ZUmN_MMk%Dk|uF2L_t9wTj zn(A=LtDHx}PlI;X{xf|-Uk_Yj2S|mpZZS_8LH7wc8BoA>!2D_d0JQhO?Hl2zigf*J z!?#yje0r>HZ+Mo{q6jXCQ6V@7YLlJFNa``%SF-p!#TK?2r}oB?r%f`&Y%i}`>DSK= zc__{6&m8n%Jw090l@m8PlZb&Q|RJYe7u$I!< zWSB;!{JC}#F@=-OD#YXf6y#v@?7s%1(>@@0dKm8Kn#Wv#3n`N7HkRMZQdRblt-I%G zPEQyhf=I=5=DGeS2~XNbrsJzFMRVbQj5_|K;hU>n2VJ(bYm0J;J>9*_CCsZHK2vAKKOSf)_Z<|RRv@|{4zZi5_SVZk7p z@DCVxVCjA@y1Q#AG<&16Ww!H#i6n|JaKK=OV0vHzeZ_h=#NUjQX^Ep-$)@SHQ$-#w z<$$xL$DuokJF-}uA4>DhUh^IzI;F4|J3%)QNK3~oeFz--bja*0w=1JkmEzTt71CBi zyi>2h{{RkOY)%B%DI-E;EgVcZDn|#?t#0VQ5B~tSwCyugw2$ppu_<}s`J2msy|uIW zao^XP^WPil*7qJFbdb66mnpZoIg>Wy#kA?{jpJ%3A&1JlcTiFW8(RpJh z9l$vQ1YNmU7a)UP!QtNvLGe?X(6u?34FVYH?o+Z$dR8oAoj)-);_kk z5%_9rjsF0@j`B^}9Zwi_&m$m_#}ylRQ~MXhSGE_@v{2bBkQZpOOY(M+*|{svaarCm zj_L^3*hpl60Fei6p#eE3J+eUS)0+3GLN3W2YAS0((R?xDsMFxRmGer^abbAcbkZ}D zZ3M{59G_0O_aeGa4O&m)tsrW+AKQK!NgxD78|`qC3T_92a$Awe+6b;U;r5Sprde9s zc{Zt*mpdp)|_Dffy_~YT_=YenZ9ZN%w(&9h2OC0w0au!q@iI3&Z zKq^mPL*BfcYlLLsPe%U$s~#;z<0gpw2VrsJtxj1kp^>cSSDE8Q-m7q=7d~0wGw?8b z4EC;T;{O1O?=*iMI>WNc4I(v`XpO_LDZQA0LBR|d;P7#b9Ch{o022*19}{T_Y4$Py z00|U9ZsSwswY|cqCCXs@#2n;zVk^u40B8vG?+JJ(TAtx~}k_K~F z;J*!O`kUEW=%Q13Bu>P6a>h2Cka^$Nj^}}j?>;SfX(!ZePMv)u_VHUZ@!5b1F5{0h z?PHQo2xICo$m6P5nh~k&X~$c?PeZp4IHub^Tk$T9u4`WvOj`B8is$`TmJtJ_VHMW^ zgPenr-yq})>GZ#c(`lY0((WXY#8!l1U9zee9A#Mipyh@zIK_JB!|#E%_j={k)}>{6 zdEzZT>eUsdRZCS>2qcNX<+vx1K43#YD3xX|wIv{7{f+bWp!{{S??V~`WI zcXv^|KPUJUcdndY6JcpeG$i?5jsCk%_Bp!`3fp*_!5$s7@Z2_ucXEjh#1}3UBXGu5 zX2w|UUOnrh@yCd-{0HKBEG4sdwE!7G=Dw0J(MLG@s8o%>1CG18`VU&>z8Cxj@h#Lx zS)N#~E$uI5ff)$g?5+vgpyO#Q4tgEj9xK|uEc`gqwQUxCTU3k0u*+tcj!0x%i*!6< zJ*D!X6UYM{52bmzFBM_wW^tp7eDQi5wDED3PF8t5o-ftqmf1?mmbOu(s{}=n5NsbY z$;l)f{Yk5y9P#w}o{uPbgl@BiG8Q|Eusj@+56#B|y>$ujYh3YfgrvB&^6eF3F_pP? z^Exr|_bL+q0B{WZXZVG3x8DtA@D95a7p5X*xAPTYC5A(shR7a-`q%Vk8x@9}Ek)>h z{EL+RJpTZK5cr4tb4mD-0}#_%CXwb9Tw`+G@%kDo1O5&0m44Cjg*OIuZ69+lOlMHq z2hb1Jitmplk6#ZT-J|j2_F(Z{*NA>F+Qq0V-%qaicHzNx2&pHSL!6uk!Xsc3a$DZE zJUym8zwM*pt6Q7PeKqa0cW7sIR7D{sWmg+<%MzrK(;YFI)BS_~5LkZ>|j74^vReyNL&fwA8h^ zxVMI8HqUn=f?NUtA1e$g`=F6uGkAlIcJIqSc2>Y6w*&fDyTN&L!r6)F&{h!YH(maLSJ$U^173)6=G&n6aEjDtkb!eNUAc6|#RY_DEfF8tUn<1BYB-!V!u566|SNy|%|HZpB49`^m2vF1qa&!!Jg z=UF}@K_;xDpve4dQ^U5#Eky3>z!Ar(BC7bB#7C@bY>l5Uzp1WQ?%qh+DEdeK3G-)T zs{Cv4bQi+TOKXi%*52hV_J|rYC>VXft`AN@`d84Owe8k{qpbcD(fnj(@b0&$rNz#i zcC;1}N0365KsKv8Z3=P7X19XNPy0Qlo~RK@u5*%pQgfR8cZg^@nbafAYpn^) zAlgrNwlvlz!KCd;st&O=h&g&eOnt+vqmn*eo$;n(X=rPEz%1?~aM;DKE zYiQt((k(TOs6+$|tFb&Ea^Ilf3jH4c0D^J&b4T%i?1v|dyhA^V@3k#5YsjRE(*0wO zdsK)rpc{b!3CYJ{UzobS&2z-s^zo+QE%dW)k%KoZdY-xV&usUvGsEmPT6v}_H6?p9 zIo{Vdz7gru-|8YYAT*D+a7>U7{{UYV?4CH&{{XVIZw^`sGbP5LK+K;inAd5>M?Zad zBL=u%fSwi?)0rgPr)fim#?nX`{eN2ZKZ;%ub@+qu>rY1oZv(`zxA2cOV+7}~LGE_; z>tCp5)!_^*+`BSjnfA;4OYs(m@Sg7PO&0OZ;Mm0XPF$>O9ALW<8l8+^V;r^*&TI1G zeHzck9whr=lKfn1cLm-zUoAIJvbkpKLzwnQ{o54uMX($Bbe&?wXM88B1^sCKLbchz-_U`g4 z%YhV28=T6ecnS#42?LB^^Pf@fek}NRru;Yf7pOEEg1b+qPZi8!+``D^0`~jE?*ozY zjPX~$WUtx2+v3)fsp|Jr>X1X>r3+&Xq#!-ihvs4=#{ov{epTu}w7RR@t&W5E}SueZyL7w&mHoksKFdp>%YYN&kG*`YFC!poxR12*vKSkT=|O`jHnHP zw~hy6h{i`X_|foJ!6~YIH}TH9G_i@iGpF0lZmik!7~aB;HiLumGxa#jbmG5c>_2BM zChy?ImHz;c*7^>yYZUTBeF{%A?~O^@B9%LG1_394aai$|LsJv%tI|m*wR1}&^UwYX zBJtV&(B3P#nrnDtZ6@kC?j(@JRlL}6RPJ0J59?l)`x{x`kB^@mZsCGRbo-4}h?&%X zrx7%xbZkaOa&qI2<2A>B!6y6{aWBL_7{_SPvc(Ctl1EIBnq!0C1ndW|PAj?p0D^8o zf8*QVj2e@?vs+o~4AByPOK@IBVYCe691Qp5SE(8;bJV95dn>c0H)M}M`2FyA#W%kJ z^v!nOd$zgMFD7}dVm@H<#&!~1{{R>yV+3``^!ZOpZ?XQ@n(mi>ZFuI_L$6 zl(hMPQb`#scJ093?Z@bM#a|vl@aOh-w6JL7c^*j-V`SPI)G_OxjAxEPiUEMGSGk+nE>!+xK!uwR~3wW0gF@wK>M?qeitMYgplb zXx|9yY0nkG<8Rt4 z#u}ZZtu3wov3E2Q7SEW5Lxw%i%0>w%j+N>k@K7%n>r;Nv`ktpVHJ$YF!WkEDnQR1V zOnednJoBD;&3y3gWV)7STswkWo(UwA$NBchO8$n+VR*)(>V+Gv%>8CBw7>@(Fx`Xv zIT)^=!TNNzR&Yqq{)@P~`-T4i>(@VEsUm#i?;K-2d9K66h;(lNX}@_MSY(rE>$H#u z^A+pQLe)FFoo9fqV(|{5lQRDRuefGVfStJ|hx0Y;{{RfE9Vf!uoIo14Sdo)@tkK6Q*vkCQ7n8PfP z@X>{LAYc;1YUH1k9DKR1uf*R2H9rbm={Fj#kq7oI%I&hBPdnLF6=smMWaJe2a>E^K zcj14-m!HEI(%b6IaWrs?yNh;&!ms;lC1S)^-mpw-&c@J*1nNk)ub=UkG@q0wm z?&Z6*o_$qpMZ+c|c-ff<%ATc4`f&Nr75W_Wd^JoWrC&zT)TubLTjTGIZoGT&7Hvu2 zH;oV2?qgVZl_QU8Ng*Q}j^oJn!Rf^x+4}Aoz7Audcs0BU@D;Spmfl6KnL>*@R?M9vgDlY?_C~*=&c((zxK`3wDItdz^2;X&o}a3%PqoN zh^4s$VlGa44srE0xBmbH=xqkW;h&BzbvsnJTdVtcS$wsSv|BkFPI5EJQZR5nhmHNL z{BS%;;g1FRqh;(Cmp4~25=Pk`Ozmuez}hzBj!k-}{1W#607SR=ZQ`G`Ew%OK_Na^G zGiB9P7ij|+`^l$=s-seix{J^)6!y6=X1xC!#6whFwg~!d< z90mI0{tCnJr~4aO@SX0L9lf(%rPCD?{PD7sAROc69WW0d;=F_QjJ~n7n#$bT!!7sr zWKo%;wi0 z_<;S2>RF|U((}s*&E^BcWDrOvsNiL55ww`T9C(2=yNgA>i&B-2pM84%T=vCVciH3& z+^`>Tf;R(!gI%?StX~ZLHx9k#rm~k09o$zJw?b9Z&;>^W1I*9e+`Vu*V>!b3qvM|s z_~zeNw0$DR()JXQ7T(r>EoCa@#Gn!hz*RXQcFsu2+W!E&bYU0E-?8PrQP=!c(0;_e z9lg*ryYI2s#sr}x+?NbS0_@$G#}BxU0cIY{Z(sONd8I76=aeLd%}nf@S*|CD0lRK8 zrImLOez?vn1L1GQ8}EkS4|K~95KA5XmHg^$^@!hWO2B=|8Ghud!G?I=3D3W{{6f_< zKZ`yan$~-x<}IvfEu-5M*Agz$ryM9G2JTPi&&Xr(n7k!r32O`Pk0zpVmD%&Qui^VU z{Xz{=)JB>{r#vt%sB8)3z(NxqjF@I(KEHVK18;*g|>fqXK~xLS8(G8CyMm(b=EHm+?A{<>zX%5&@*dS0t+2uTD`Ts z(=>zj>j_LTy~LK%3@S)+7=_7RRBg!Yaa?D|pM(=$==K*;>RL_m>n$vBHN=R}?IgOg zo!@wjkH7#1YWIn}8?D?~+0AEprhSIu&LnTNA1}^8jN4syk&)$*^5Er{rVV+=igh0l zd`9?dKAmT4aBb{mKiStJVj2lzK_MGlovEGRW4Plu#eDW#LZhsw2`$bF7jiy)_=WJ^ z{{TqwR2poTEhUpMA(dGW9ldf!e~5rjY##N^YT9d9_>=oG)H25~WC0E`H*g6(PBC9a zd?>R20EMC9p$@3_P{{JY;`UpQ-09~lxRu5+joIh;f7z-(5WWrCcwbyn*KkZl>sx)M z0<4n7mJ2TKpEgOs#|vMg(#;(ya#iSb`!~7rrS$NrAsP1;W%AgJp7|ZI#Xi@?lj!!j zv%8f|#9mye8*0j=au3%P>i+<=_w3^j!~F)+ShJc9x|<@$0s^v@5g~Tkc>uQHGwYu9 z=0n1gU3gL{RyJ0)U>i8c1CmJhBmVlYsl(!M_30{+)fvh?&i?@5H;i=MJ?x;piJhgL zL@KURd}QI%AcK;-hg$WWSH!m#UKY_ceG>L)9?Q>~;!8-3Qrn~iV-Jo`-`lx~&U5eJ z9v9FO_e(d7z#Dl(L<3-<1Y~ju!Rz=}&=;N<(fm2^KIv@l2iq=SNv9U~gsk@L%Ekv> zzjJmnKtDD(?mmAtjUQ_nNncZs5gt~WJQBmlI)<=kx0g|hSv9Fm%kk#4lRIuxxPk+4 zGvBXDx8VN(6<$fL+S_X)-Rv(^h~8)v922->j!tpUrfQtJ1&!y$DeW}3OEGl}ZwL}# ztfwC-W8Ii`D+eBd7hsFYJMw<*^)V8xQND9RoY_Ujua8o)3-dD_3wf@)}`>j!~$(G z4x2TzO1ARlPT*u9DBz8|h&-{+QC%193-Is5UOn;aT-bQaPrHX$j!C12RGt^N5F$74 zTVO_KZTJcs<^wqDH@+bJPq5WISq1v&%WbWdQ}(MCjijDTHeN*p2Vzco9PS`yyf5O1 z!~Ji=pAdB$OG(%5jcmH5*|-59juN5wt40RVwSdB|K^PkR_@iCdbp2k^#?D(Lw}GLbP>J^?(h$L(XcS;= zK;c8MU{zQJ#t)8bela#ntmqG}j}Tg4NN2T{?lp?#<_{P^?(E9DLN-FSIs3<{`6{?t zSn9G>R;#g6!$wfL-1R+wk1QYciLikGWOkWH~JbFyFuN#%SGJ>!cQg%9rB&%a10ggLokzOu!mnUjmJxIrV8tofjfL++?mNQ&iYL}{zEEdvkhT#A^WWhN& z0l{uaILI9%aCKAHsqIk2 zx#-Whf8c>PHdj{v02Tht2#$UFOH9K*K1JYD$v%zVinad$1R~MbNFNmfXKDV(0h^LW zFGw8$;5VmwEBY@DHt9v5O^36lkH#%6`z6 z^GN~-mSv3)0#_N&@eoPpuR&jlLoQg1-`UA(;cu1CT|)XEPvZ|9-F#2@y87(u?KY`@ z=e9@6ie$BA!)Xm-Knc?TcPx}92OUl6fx zn0cgvex|T&kJ`qsr$*9`m`MYw`DG;C-w7Tu*jEGKaGGuR+KA>cAIxw`c646@luOkvVAdSuxlDvMZ-=%P}M=zTb zef` z=F#&#C*TyH+18mz{&sl~kjIR~2IMczIj@GzWeH}KX}IgIrD7oDlP>%c@tw!RkN72Szo|v6>Nb8$ z-A1<2%si>)lgdQlmAV$s%e3)~jFVpq_&O%ImB2=9oPWEVWS`Ic^*-zIN8(g^Z|o1@ zZwo_x7`oK8>xt*K%Wv|d3U@afak#3C9>%;=;k~P0%{*UmieX%zxr}pup%x}V$ER{sEmgZ8rc zbqrTROIWnKSZ#=pY;nfdQh=Znk^mU|4`W_O6k_Uob%l=3EZ&4K6Tbfdg2sN(nibdV z;o+YQXu6H{&F-zLo0*d65j1ea5K*|W56O^m{=wwe$KSC|pECZ@e-8F3X-9}`jA4|7 z$(b-u(AT4X!E2{YGxo@XMH_+A^gCfTA0ec2@|MSJh9BhDg4%pxz5Sae@L!7bpRxY{ z!bc?Uf2OEkF^82YRcBMd`IPa~ipPbxaYH3|Na*S(_>EdGnEe(10D|TGb~;CcJS*__ zAuJdAq(@l486Px1Fo_7ycMsozAJV=Y_z&>*@5bIL)AWr#GjVl!B3oO6e~I`EN$fHS z`WjCa{9Ez2?XTi%?})xJo;%G>D3U4G7mCXCwp#eLs0#wnM|TGHeIcVZQB`I9=VJL3{)FPo#Jg!*)If z(z7wsZ$8A+X9nvqyz@@Or_9a3JpslmbM~hA4W(RPMb=9z7+GQi*F`PmE#>aF8&^2s z<#UeJ@|WyQ;RsjuA^54R%POK>Lv^RW$gECmCUs@VCp(pS$9nq{z#kR-8R3ukCN7D8 zt@wjW)2D9-wT--U+^Lc7MY%vwD`lLOV* zEwM#uB!9bE5=3rQM?xfj;XSM32=rSo41d8|ej-TbOM4w7!B2BG+=3Q6D092eVRCWU zbj~a7kB*-cYiiDaI63K!YC%Wj$ZzUk@P>0g&0@KV2y6ZmuX@A#D7 zAGw+&@kWtrqDwNV4IFO`xtkbnH*DBP`)yx4kmNLIW92+D_hgQD*`F-@PSoyxE&NOI zHoqjEWEYnc+@^o!ni6*8`T>E*^sgJ$$^t@oEDK|G!-=&uy`Mn4Vw7Stt;)=QZo zP0X!~DSTrG+?x5y>6x!i;m68}^y~f=`rQPh6%#ky(bH|hT5OSdBrZLVTJ3%_$+pKt zg%fKuE07LHC;tGfKPu)lXoT06>YyQJ9CZhp-T2L^Jo?>~01w^67|1yH6|C1#_Lhn2 zpR=rA*%p#*KfPOj;a$gh#y_dAYS(n@8|%#uTS?m5@+);uB@<|8FT9e#WSy=%^aq~D z%)e(nJR9qVl~q&iLN76#VME28`Z0y5G6@lBk zAxRx^UnQR5(`n-nKNHlNT*)5@(sPe`cx{}BP>8Alab$&dG+HzYbkXt z3-*%uVLkQr>iM&&g5u&Jj{>yltav{#KK(ha%j0|yT4|P0Lmsbjtk`O>Pb2w_9I`we&CmG-x;mqZkRi%cjC()ln^*G8lN0|I>@eSk}R-^Wx5NelK3u!I8B)M-ivLBG7 znF9rfLD<)yd_DNtH^a|{7M6Chxt0|xw&pG9sN0BDUP|L2bR(AJbUxehuTRjtcXEc& zwVh8@)NS9%%nBMgF_ki5K)}Z*8RM;Z-iz=LRMMk1`tFl|1d&hkG;>6j!Xx*KyNs#9 z9M7}TaE}ta9Vs+C|0Ennb0W8~qL$~;d z=bx6lKiFsDy7)iBn(>}PguO{Y%P|=Me+cPOWF0$51U9<*47gz+Lh2`mXb}m z-IIZV&WN>)^XWR<&GMtC%cnWwJXyQ85okXr= z_?yGf_?Je4-dL|~u0%1}OS8#c<9K4{YI06FE!QI;U{@#cOW-^g{{SBRLV)TK%LTcT zQu1Y_MTL}|qXdj7$j&*>P7hV#?RQAMxwtV4-8o`_vPQCevc7Si{B-r;9xJfZ+RIS4 zwbT{mgk0K7Z8>z_@+b(h4ab}}eB|@RWt!pY<<#A1Eg8)4tsZ}UZF70x@AyWW!$Gu5 zZ#LfZWcY?QN5eXjcPK0Y!yVZq=Ld|x3;cYy@Nl#6wbjJ`0Ay*y=z5*nfYT&V;jLsn za=X`S42D%1BRqXC@Z-TtslKDAU0b{smnn48d1?Y(B+T1(laL11CnRK!I@ieFAinV3 zpTvzzPnS*9t~5;%i^7u+-dWEl1;U-#;Q$K9Y2MwruanDhn0#ufMsd1Y{QI6}Dx4Cr z^go4lyKfR}j3d($dE>K^OD#s(K6QkR(nMoo0|O@FH!eW{?mhhi=fGy-&f4bQYwcv} zEpM_*eKnpNWy_gUDoBmOt~dakka5z!N79<>SMek2J`~jxNPRsri*FB@Bxb-kM#`4X z?oc51?_QVi{G;77XJY7gxEZiM{^6v?sqJTQG&0`1dovAeqqn89}z6HANW<; z$kVl3O%m?bGZeAO0^;k=ZQned0bCNkho*N{{{X_>MEL!Vk9B089lNq=eA{WQFmEH} zxJDbivb+Wdh6CwbKgVx|Q{Q-MFA4a2MYp^nMObBq*C0G+muz)#NN+{X)$?5$ zyhLkPmoB?5#|{=xobX?T-U)9H*?7mm66n_Ymbr6yFCe_~Hf*gk%L-kBGMp}Mw<$=x8GWJ$0xH(-Qse2jBg-x~fL#~zR2crF?5=hH5(nsfv?&)ObV z<2g7O;~ZzXuUi$HEKPL{mv!H%?p38|a~y~5bMXHFP1dxp3t8GMa(UWI8!MQBV=tE= zMgVRHaQU)WV;IMJ_~Tgcjm*9un$FbSM-7$KzIN^!R^5Y@$z#z+74>$dGq0R? z^~&cXk-_%jyRU_wC-Cj>hP6)($)`oEU)#vZVKc@tG7@m46NNmFn>=nlmBIW5*I?Iv zC~clgx6`!EGF#~iLc4@E@%hCHXXXPBjQ;?5^~kOYPaIEY@d2jMpf-yfk~O(y!InMj zP&$%VpdXJttLtTv;%nAwOU!>zoW164co*UOYrZnR)M3-^C5qosRi55BeD5WTJ1k{E zEwpR^oMQ?Fbk^Stbw$^)r&}n#omnAg2X0)D94Q?~0E}_T^{03@;*>rl)^zD_B#jnH zk~{e%W-=*O4j4FK6?Z5hhuqto9CPiS6MaKb7x!95ofL9u_(?ZNZdU3xjD!lwwF<~L zbI09I`Olr4;;P{!iIe13XU{i!W!{1DpG~pWAy}>>xq?YiS7LcgKm~EZ&hMMhu01p9 z-agc%@SWCybpxj5)inUb5XF3{)T48dcq6FCPo;5R6!hIwM%S+Ny+Ym6;>uq+BWR0B zZX{f)XK^d?mE-ZO>n&GN)HIu0Nx?Rjeq+KU9HEe@W1goaM_)?%{I?~ijHL?mdNg)J z3mUOfXJg{ei0 zY4hl}Hm;J1w#tRV@>yT2Y;U|u5r!pez%`Ew-)deTyhTRCK>K|p`AGl{{{a1J@4PAD z2rhI@K3U2n=gOH_#?BT*!!A^gihFm-=NYW?&K<(6JBz#R3FvYZZNRq$ zw0>oc{m|aq|qC`KR`x@MXV)JVAANrRqgv zV9wrD4+J+KI|UdlcAhxF=m_s#$Kj;ZY|KYflTZE1yjOPZaz~tqtCP+%kO>NLfu6WH z>O6Juqr<*1@W+&wH?!R8O&N_@BN0Zd+wr%Yu72t1&sz3yn0i<$oXc*ar;3XAS@Um$ z{yy6HlS^}~#RxiD$88ky29YDd$X%n8(S}JlE!T|K)ZYg_EBJrnb;{}Y^6GJE$!ZlK zwUh+CxL&RUl2EdRIRu7aFh)qPnDvj@GhfquU9Z5_Yja^a;Sxj#0e}q6{46nn!Rk2c zUX}1m;7$Jk!w(U>(wX6o;d27VGRm+jjl~(tj)Qk21mN*p{6Rwq==(}9-Z*i}={RnC z{-NO5BGaOt)6HarJfCEhu<*o4AoIiZ$@#IKeJejv*RC~)n%v79MpMfSv5%EN$l4Fg zJ;3MdQ+PnxSPPhS3$?tNVoRteR8W{@+<@eahF&@39o=fR#;#0KH;}O;uevvle9pKe zG3YyU+zRX9*~zBs$KG2z8R6wouX!JNf58Fub-l3or4~Vw1Eg*P++KiB{qsd!{{Vs$ zXx7?X-xZ!8H_VjjD>s@-1=;`(Wi6Y{s-xHI*zmcpQ$dJ3P%K{SGQ?~;7--rtf!Jd&PQ7HU)yKI zdWVYt0A;Hy8-Z~)o1#vakxs7^cI~=H4X|S;bI9MscHoNn>%+FQ_?p5CYc)Y}er;iZ zynz6ez7r(yK5SRfUlTuMPl<4T%Dy?gxbYRG=8fRXc%;3tu~(icTrhbQ%nrs0lai!> zz>cE6HxZZ5>$IyUvpl@d4OUfo;j#JfWEyPhN0=j71A=f$=O6uQ>1}l1wt~vYpvP z)+oYE#@gXFGRDPhR=!UnNTiUKyP0%i(Bgbvpk51lc9LdK}EB%8`7x zZ%jIm>-~FI(fCg$Gw^~)Zo(zkvSJko314jE)nIOjZy^V=Ci z4=NP-kZ#H7N$*~>`#X4M=UVXzJtp<1`W8=rB0 z$+`uac>e%Fo@-d|ZLDMxNdt_fz`z)8LB~ChYRUb-Jb7*6&-f^Afp=@9#ik2uJvlzl z3l>09PBx4HI3Q!&Jxyi)#lN(#gmr%yoif_&KBI4L-dZ^dv+&$54s-K*SD${<9~0v7 z2kqXM$7~jwdui(-DoBVbM(j@Ek<^~uagkq|W;E;1IkR5xD>&V0s{X|z&VS&c9}%y< zIeyz7HN9Bmy_#K1`#RbfGbZs8EJ%ygob3P%XY;Qj@sEbzPx0o1do|Ua@>)e4Q^Nxp zg{uZ*>^}sA{hGXGsC+_uuMNSd>vPYk9Y<8t{@ygWWs#&v;E#Hu z$ir!4_lEtUR4FIskJ|J83JIxvd7A4=u+scBqv#)OTY}bl9j&Ftp)!UZe61RW$=ujo z#~X>xSl8%TMj6hOX{BV5>N+u_Po8Y`uL)>zcz42=cTZ>&N4>OWiF35Gji|*y2P1N~ z9_#5}r$6vd?-A<11pfeL&kX63l(&acbE?kC81qk^%93zL3aj+Rems80pYTv06MPiX zb*&Aw&kgvh%T%&xV7JyR7US$vXK{F30V=m%6|wZ{KSzIHUyEKl_=dX2g}i@tqK!-J zaci1Wo9q}ZS>6$Emdgwn*9uAFxi#>|{ zX|7qrsa^((Y2>w4m4N_--GD#()$=F(6~D&1zkt7GO=byio>Ssm$Sovz<^KR&p_WXs z`bS=$G&j0jtec@Af6qCA$o0-K{{ZS0^2huZ16;Vc{hT~K465M1xe(k>Kp>OqJJ;oW z6GI;Hv7REUl6@KFP{zt~T#`|_)(fJgUxih(J@cPW#=MXAn$YLG z{{Vt-d>hw3eAsF-+PfnYwH`^=rVn_=4{Y_XLj90$5|YMN*4k?~F9 zwy=E_^n(nt&3CqVrESs1u_y88%q5O^+AFmG0D@%rBgFdUzM0}ZI!h1iJu+9eyoTat zP)iVgRSI*)ahzApUk-e2Z=wFk-Z`*$NM7sgVjMo!3@#TWdN$nTj(oHP$TDugEtXJ8BPPE> zKj5tY03NPB0{kAe@V$icTI;?uNd$+HHMN?Zu6gKO;YYUYSLb)aDTbfn-Fr|t4;_=n zxdWh5+5Ae6%DZx08l_9xSjrU~n`JMFo;O`j!#*G(1Y%j^iZv&qf(A4H007V9UMnPv zJ>Wb7t^pb8&2>I5)l1t(j@fei+b6C`#~+1p!r@x@^T}dPJL8|}UqK3K>Qj9V$HCTr zZ`SRVeo~F!*P5~M66j6i2!ZG4jyxXQRY&!!UkokdpIKQS?yK%6`=AV;^Y2+Y`5K)}PhSojKiy^OO%r_L3FdX-#$WPVlpOZyVveYfFN z{4%!TYkq+XIOaFCftNY&oc^`*8MNIxT*&Kg@Z~r=&)K@j-bFm|?vel&Go82xuR=4$ zdY6FwX|DJ-XyUQdr?p7CZO9!kdS|(=-%#+?#meCzcTD`Osr_oA=r;YMWqhwzA1? zxyjnWP7ZPJ?N@ZKh?g-)!Z*~f7Di3JZTV-l`SXF0S+l_B1KOzH_)_yH{Tw+_*$2z- zoc{ogSkk;dtwPUnV`Xu(Xvs)-@;&<34Dw16f~Mo5(B7V5S}x~X@dNgc)Gw_qblb~m z*3`&6!z6Kr2*eP$3J~B79D~Md!9Fi8se9rH&=&pZE{d!ldLCE(UI$Ed9AdqyEgJgc zMN}GJn{*wCS?!A*g;X4per`uXJNs8JWAKMpxV+pn>$Nu$bLGRaP+;@}fCr!*{j0Mj z$?*6_rB0f;wM=~HA9%Fgz(Z9Vun_O5>K;VtXgnLn|$7tbIqteN_bKl;`8 zG_xtC%WEUda+IZ_JZ$)3V0DcnI|0bq$MyB3pTbgHHuJXGoZ+y!f3Nv9=?n1BRJy!n z`z68xc46Wp%O0d+tk3Xv@--PmEKb1ctWFOem87w~Vjl85Sa>c=OO3ITPz;uCH+9eF zT_%yDtlD1dtMh4PWjMG?Q0xZgAQmJLzz)Ya2L~KiqA$UHW6LNlC;5oPiiZRP-#Gljarkjq2TWxeXC9VxU?w+g_i<#-3K(e7*5 zExs7)+DhH3Tnj8J-oq23BTCD+D}#W_2p*j}`t!aV@M3sx;)bt#tIwvf)LPo(%ZfZ9VW)x?H|PPvyU&#I0Px( zl_TXj>Bq3Ga{S3h-q)W00CB@fPG0LiXz`Af{{RZdNbt4w;@(}}YBsX5pKwU!O~y1i zU%NOe%0b9%E<1|vw0|9VSH=DVw6LBzG}tnH=^}So;N67|NkF|2k^yDQ91X;iuQ%-H zs`$Uay1Hr!X%tO!a-s>?OJZ)9|kmv+$g{E`qNi^FG84gt4oK+j6dX zAh84=lw@_u#eJ1rBE(QtYF#^v5rmg5&#nFj_*&!Po|QDe@RMEZ>d-S-NiZ@CNcjtg zV~v2GMg}&XJJ#Qa{xW!T<7a@c8&NQ6*DA6}cLl2$=Q6B0QvU!j`B~LSEs%F(BD|mB zph^B0>9AeexoB*$+eh@L;0)rRH4D98&gdUKw&nc`oC8r;_Jd1q~=Tg7((M>1dA zz|toL7^H{gYz%M*PTA+>=;cz!Vx>lM_phPDme-H8aA@lOBz$V{ea+^F;Qe0GUlLo5 zA$1!&n<-VK(yyfgL`M$AI0`qeTd4|pHNgBy@SnwBkE^Wz0AlL1&!K2B8INUH!D}(Vj!s~y6`ZSSvzQa$}lJ5De!kv=K1ba(w zSpnXo&>RvlLB)DMhP2O$UJUsD((3wc>C^Q~F>t!H5&4#oGh~9274n-QKs+30)K)i$ ze`ft(#k#}aYWmfM)Y#Y_@^&&t6p#QU5JoyUkztfx|IXSk-w@7jSLa$pf*jU%@^FO%qp5@jsO6@v+;G zGNcZpk_jKJeH$O_j`#PXNi{tl7V=|09X)k&jdZU(D zxzVS}&zMmm%yF%_MwH-4IQKX>>;5&P2zllah?ipU#!ucVFLF2>*QfZ$_I9`MF1a7t z^_W@ifn*{EljYsh2ngzW@l~|1h8lhC^CWuuL>vX%C7i@JBa|c@cdnh+r>Txw=+EOL#0dhYo@bt zH_M&lD$F_gSEf(Rj`i%ikHI?)KHfQ3UGt?-cIMLH12T`F(tUwZQFX`*`vA)z>I%)-=}_^>$VtKMOrbjqQK9w_8W(lZ_are=54&*_!>Jc2-+Y-2xBGxOK<1Zunx;%Z?+EOEBZto}ZR$m4YDiB94TT zbKm^nS9{>SH6)%e;kg@*KZg}g=~(vSxsOlr4W!U~FSjER=V<^*lZ<5N@;{w^V7I=Z@o^PK181kn>U#CBpFSRVgy_0{n{vCO{?9KfIBaC?JbtFTpC5d6wDI?YwH+wW zk$q@>aL#rGI0|w*?9UnME5?=@tmd3{Ov@Ql-qD{j>Je|bkl>Z+l6`ad@q^y2X{#){ z9ll7Bw*aR-)rT4S8jkodm0dpSfq;AQo) zcXu8e(LOMnE58u<-VY7h>2{(Rg~pw6a||iGw%ze==X0Jh>s~vhN^TJyIBXC(>BU9y zidBb6(`0Cjsc&)n&zvsgARK208Nv0ge`4n?G&bhbQ|MhY_FC{uy3cFzzv0}9~Y>Jxmz;+%v^COR*ho@@re-Hdd_;WRq{{U$C zFT|GOLC4v3*w>8wq;I!8b?I6+eku4}b9E85wfKW!5ar3dwVWSdb|?AmT$O0mZpug0 z*L1%TOXCj?>RR2j&x=b>5ZJU!mB4KIfVMG{-_RO^ z#HD-z!(+~j^0^DdRC{3E($W${16JvQY4 z=|C30L2w^JwYx@f%7T3L1a${0K^$Y6;&dO1v3TFbTE*Xpd}StyaEh_pt-g$_1jqpx zD+yJM@Hhj#alEQ^Dk|@Ec=(@TD!$goRr_RoP4Op+{AST>Ivv-BU{b~l8RL_9Rryyg z{I&oc00Sojn(&LMzSR-NPEQ!?&t7}yiuDhPI%?}*3#PlX*R;)YEk5O5R*h##<5mSv z5+bhNM@Bsbd3}YO$r}@p2;qUoMsRR?Z~;GseTE7#jT=U)g?t6?{n4B=G*Zsay-a0c6vzAMHq|1Y>AfRr?6o^(2vs=KN#( zNo(ukO*&|y(!48aq^MgvX0&fIXqyMOZeH)999r!--;N_V4Br5aMEjiDApmyTEVE+Ju!}zYn{tWnQOM_p~^;?0g`K=C| zK`?;}47M1IWRKIDtMJ42O!240-w0@0qy}3%9bVEayJ_yU*`iXCC?h3_MLhTC2j0DJ z$G`ASd+7cgAGdgB!^IZ@CK5=p2_%J!V1!h|6VT@bU{~V!t|-g0tW;@AD*j0H>0~ur zeX2*xf3o+-Df~P8GJHnxJQm+*y72|Hi4kKMjwN`CI~QY~0nQX2oO8uy{7LZ!u{Z1| zqI^7>?JdrYsn4w60kPH9RoWQU*OQiZBp>dI^p6Mr%X-)B&G9`=#)M?CnLmH0YOu_Z z%MfL6^@;#oGO5Tp;Ewn`x5tTo6!_K~1-1BTt?0MXZk4Vy9ZDG$&h}Ot9e^kgu*N{= zgI({8Cs!31;b7bzrc%PXdNbf(33yuT$G#o@$+w;>d75J)30Q<;xz6G_@A=o#-?Bf) zKOg?az8%#xy*3L?YS#F9o=4iiiYbTjZeV#K0LD4#$6B@V6GrgIjVZ0^5v4jo8mW&aBvLUIl^+TN|4X5y`4dQrc<`@6RKe_rJF> zm6y9o+tA6=x$|G`W#eBR{BHQ2apF%Ex7#%th=Mq6$aJ@faj{iKcCHBHC!eikd@s>1 z@3gD!DoACvH}>p`(k=#BP7Qr=qIf4t@dmMSwpvxC+S-srHxslnsc;A(LwvyPKA0fZ z4zu8WIjtAW&?L0Eauu9iD?*zULyQ!_`>a0ode~go8D&q|G8`IO9|QbY&~AJw;u$S& z)TFVDf$FE`2l6$?=@J`@p@tdV$UJe8b$8MnX z^{x}acG6$!>KAEzfrI(~080C8J8qJcw=leux#}MeZx>Ey-0`!dZeQfcY^na0%Pqr3 z7D*1(i8wgGAoKl2Z1{b?&7P-wf#geIFiL%mS7!D3FryV+b*K4Er`(M4eNTk#*WDmi_4i~?u z9+mlCXPm4GZnW&Y&wh>$l|^)5$NN6rO&$btD@o4L4&p~a&{DzsH|jRl(gi}j{%cPE z0Eq&%J|p<6Rq(_XVr@>^6r7NfKbi(X9AQ-R&1Gws8orEWmGz4w5``gJSpnsTa-e4? z*S&dv>s1eD?NszPd1M}zEJyo1Yc`R_7Ffi{=K#XJ2qL3zfV$#UD=|8-yyCE{{Zz=Pcdk2WuZu z(!RP5bB8*Xhd0$}EuwlQzwEIh$li9g(Z2oLMWE-8tyaDLo=QcvHMUlbvN2-4zNA-` zUU*N%DI;$2r-uIkc6cA!yTcz`^Zrd^YT74=QBxi;@YkClBr58l9{lrb#r}tdb^d9Hq;vz2rx+bPC)zBt7H3G zYrhn}Ai-+Z)|Mk(p5IQ2J4u;5qSBx&2{|pn1mmGK@Oj?_V`yDjk=l=lOE8s=9!@mxVw`~QaP%;&^ zMmr@>o-wtEVsKlQBm>7ok>@(E?IW*gch|7#dY-C=-gb+~lIfXF7zQfC9XeyCI#)yR zH^v?>_{rm&t1H!en<#XvtHBhqZw11TnNnD=E-};b74&~o#Zth*;vKAcj*68#btL!~ zs%e_;pC+Gosmjs0m+V(f6Bw1zvc=Q76p3AAe%Uu3On%T02Q^1;c?1sLWdtyI`Y&dE^7=2qmvA;mXx3tW`D2uesylaFC-_ z%5grToAzJv0Fa>ZBoCD#)!uAjus{S=KO6qY{wSA3wY{|0l-=7vuuh995jpc-L~Jp^ zH~?V(0Cd;Ho*|Q4hIA7>(<}b~8K2JFIUPZ4{{Sl5@UMvcWutftT=4CSEv=@tBv(>P zIr3$RVDlIiY=ANwr(P@Xa}FBB;wdQequ;g~P}VH_A4K>8;|o1L7%u!)u-vp?=*{O# z9>(ZYjE(2-a0u^;s=u>8jC7)W&1+AN00;{t^2VU>NgI=#{{WL;5MFA2B)ut}QugeI zU>oghRC@I|=QRcHldf67vphHP!Mlk_B^dAk&rfRY%Q#c&%bF8cXBzsg`IL1&>C^uJ zW^Wa0vu=;Xx**&)0Cg2Xf!C4+Z$tYnc%FHZX*JympCA`YrITl;8TYS&EVZ3NJ8-gI zyap}GB9)~L!NUL)8t5O#n)FtSV!D&co={O4X;XpERs%d&w>*y%C8W*b@cTHQbwBL) zucWSD#J1llQI)sOa&gced;b96HJ9U$+2RY$E(rBs6G&F>L=hx5MdfB~%H%NIyLt}X z^{J6mD+?;l<<3sWHh$V+jxVqGT;$IU8j6ZLQ zX(^o5+#|c*}`x;(O#&4xhwWb!=`U-xcZ>e;PCo4qqfzS1`i{wPh4H zazP^pv~MIMxcPRdB$Yhp1Eqd-is8&%SjLS?F7I}DwIZeQEe~R!_H@&=3wt=*RJpm1 z#db!&Wf(c+x86DVyMgtqG5*b37up8foAQ2cw#gX$4s+{YKj_~VZhSrGqU%$vr5YA! zNRc1rBWXMEbGNWP4;?F4!#+R1kY+2(&zXi7&26|G;DFqILcc-5aLy+Uhm0w^BzDro zQlzb8-dFZu(ypM439l8l@U0f@!`G3Dv!VXYmR=s#qP(}cou`6TC`?fRNIZkZdDeyE z&k)Np8y#O!meyj$L=oJw5O7CP$R|AK2L`l1;VSWlr6$NV3z*f11+Kid4}*{cxY{$$ z51{6@d1fgqHV+#|vD9Dw%KCHaK6si*UREy3sTKzwojoex{hRc?sH+9rF44FMVaxX9 zxCGWJw=WNEIU+6c)Sn7C3YMoCv6*)QF z@N4^YbdAGpb0*+1$v9l&{PwK7GRtu$(X(&LNFRHz_*TD(Ee?xu6cXcowAc)dkZ?#i z{HvdzQu1yaZbsHPBk`|#l)2)hwq(atKHgCJjB4brTMS6&{P9oKBvqMr5}*ROtj4@8 zsau|MWE+Y4pYf~OlL;pE`Lk6uWNM_6HMC3Y0GxnvgZU5ZTOKJlT8DtO3u|c7X{L-8 z+@PFBcja@?{Jnm@wSl2xJxLL{$sKFA@az4a_8h>MR^m1;j7shdq;92&5sxyoC)BZetEAk)iuum+wf^Vh9)zYTmP;e8KRSuT8O3~3Z+%WI7q zS2pfA+w#5$>&|)Ynt$yyJU^{#{utD3HLW9CG26#wd-iK-Ey8oR%x&?g%PG$c-*EF? zaO8{S?l)3zRxXXD_&dcO9M<%`0{g{!Yuv^%Il0?N{S>io8v!+Fa@$BGk1joia7HwYZ*Vk*%UqHmpRS z-GDMaTpoIi*S`M%!7nZT7Wjwug-`fedM>%* z2l-5a7-ddIK_l@rRi#dJ+#{!V zN(#*ze-0aF(nvYa;4|I$33SBKQ%>41w2c9n3yn zeoliXyfXg)$65xxpiLf$;N5=C=1IO|ZoWb>EX})dY>bjJ4+oEW>z~BlJk{cc-%9Yw zvQ@TH9{T-QC>h5f5>8ZpUgo|Z7s1(8S*ntzn_bUZo@j|cS~+rBhpzdqucYSUCo1m(;uR33Jzc(lERy@aI{R#~Q5n z8k{Mn-bmQCy0Q7})NW!`!vl2U;GE@7 z4}9SI*7kw>EO>hBP?FmB#&gX!92J{Tb_6m0B4kB5=OherYSx+i8hC!*_*&cD_)cqS zq7g>TbMufBEAtg>@!vgamOBd#jaCYBS4WEYPsaWW(R@X%YKO!(mY35q$Qs7|-_0RN z2MP!S*bm|NuCL-Z#{U2S=pF$#qSIfywb9`hvbE$>T`j|n+k-oWP>#fQ>yCQYR^PJ8 z@YI@(wu&^Hwh0(`zS9mvJ~o8~hDJJf88z|m{1l(#Rqdt39}b!;7_KzLj!jhByl$)) z{Zj5ydmNB?1OP>J;juKa5BFy^YEq`XS%P}Givq%FC_F+uZVo_%ZDQA#J3 zeNKz}Tt%X=AM(~!3KyUp{{TQMGV@ULE+LGa+ojHZvOoItw$Od1$4rE>g7Rego(*&B zc%#HGjE^o}3G}SpHuNcOeMkE|>akvU`%AN#ytqEk6gM)Xa*4nh{6;I>J{8?t506?z z_gvWdrrs$PgnJfU>e(dV<(Ww)zDD?Es_!^CdoraY^g8K3bo~%S)I7(Dpy;oWf% zGLM)NcLh6gIlw2UJ!|PbGsU*r7l*b>x+v1z+-^zYbwD$o4jR9UykDt`sgCw>mYt8F z%j-%g^6%T#-cJvBU`B1?G3sDBTaUfF9qe2&(KJpMb9-_QRWtg{s!qScR)a`iJ+`sWk{#y+$&f#T^pk1ycA@D%J7zcs~ z9A~aYeAl3AkK#>s{_E{OYDpwr&i2?)dEgG8*1hB67yL~A48?c*gDPy;@XTCbrbyg= zfZz_|zHj}V^(E9M)gt@15#6#A=50}py*T>zuiLmgErlEm@9`#hn9N;COMMF894_F! zxv;zc07OX0G0m|&m)+L@;EZ$WT*tuw01V6He;XS(;kMK~s6@LM2aw-arKVG5C%n3l;KxE)WgrG8UO ziLrCZo-T}T`Rr{f$uyf2!@sg+)%^EgZEK07Tf-0*I;>?OUnxl3zFF#WdB@e$d_BQ_*aH}VEB!qUHo;kohQ@oV2l$pO?@&bVcp%JQWR~;12wM?XF08GTa9$= zYcFMGXQ>~$RV``d2UeG}^C^e`_xnY7jo1D!{g~BWbrXrLYdT8(EY)aHsft8uowN zWt&y~m|o##x%2L{`_%FhbajLUKwN`{91ePoto`v`);Ec96f=5QceAz5%3jCVOPh1% z5os5Qz7+UIZ?@QJ(p+20w-Sgqav0$Jk?!4$boJy{Bj6v38VA6?jCwA;s64v8j+rsI zk?oZ4k%AUMwm_f9kD$rwE8Tx(-w0axyWt0dK`-d_#B;T`y=JQhTb5_CEDIiy6GZ_@W~k*kXeYq$IXs<8mHpV zh>LA)Z)f(qYxyl* zJB3%>w1ODtoP))EVezlU+JD4vg+3gzio(`8;L+`-D{*lwk`-wdJ+ZLBS0rN@KYF|` z;G=jm;fKU866yCkW}y-rxT9c-t>$@8yJ-cFeg-`cJlCs{@jY5ue5uYp^maGqrzV>@ zPl~?`Zafv^==8Iu>QG5~WsVDPI%kqStaFio*d%x3iueBjg?|IA?lpL0NpE1kxYFfG zT2xo^RnbQ!GFKpy3G_Txzlb!g3t!fB?M*bfZZ34aa!4W<5z7RnSQk{#(O#x{nl~fD#x19JdacG zHjAa}k;UX|A7hF}Q!+wKQk{Ue8~0OQMCq z1mlo;`u_krx2bsZOlFUDs;nuMkNp%&j0}GhlluNu$65t@dpO{=5qUjcC1q#%k1dgm z;DN#7i@6GDHht zaCtfJ@87j-c!nggxpWsZv~oiXkgD75Ro($3X$`c4jzRBT6x>`kyEREkT<=rk>qfB{ ztTfBL>AFCToD6Tb^HkFx{RiZLhGdFHD5^2@GchCpNar}OKJY|C zUA#+sOKXdr!HJF=b0ex1#(3oR&mDz&AB4OqrP}ycQhUd_hFdb>VrfKA2pL_nM!9tv z2k!yYRAN`UXI_=n(b4Ijw0-*AW;oGcTp(EsPVf%O8JOjLHh=~Xt#o!@80>XhsM6u= z76FDX&6J6W$t{eYq>i2I!}Wg?X=7EHQRlO@aT!I(Art|UI5^22vDDVLgS>SNk_ay@ zHC4Cr{y-eevE-a_mHBhD=Q$W08sX$y*z@Hf$65tkKElxR3@G@aAS|`N4 zEZ97X-gw=#F=BV%gUc5^Kdp5-cg3i#Y?|DQd7cb3a>;P&U~Wm;bN}q|Jiq#S9 zT0K`#@li>pXx~+VljLyr?uz}6L0pU;IXL5`7P|G~TK?+dbp$s#$6sN`QR!R_hl=lY z2}0XxdQ(e1v5?HNEA0%p+(Qxbat=VxUTZ#Y7Tm1!M)8t88pE!?}J1a{V#6C`^tE1?(4=nQCw&I8`-KstGC6; zB9d7?T@<-#8HVrpm}eOS(u(%z!6+l$!gDGyx%h=+`!e_|Ue)$rhtlC(<-_D0b}jkU z&k=seUk%46t+^y*JI;=db|^9ahyt3HyZAC&O_0FC|w zweTH{owPCDBTEd7eD)4THjEq&54Cw#h^Xa;4(ODS3XXZrdtdE&;(M(|T^sE`W1WmI zBHY3NdADsRa36<$)#JKEN69WW{`GNRYnHjX3)*fAL+QWRA4Krih5R%6yj9_z& zj%(*1+5Z4ov(mJkLTk7#CEILInG=LD0NFVwk}>EB=C-w89_kuSo-Lz-$zT9RSjHq} z2fk0ujlsH()$sYQRa(9;+bO$tFs&CRc#p?BDYU;E>NYZM^I*9xCL23CkUqaL{HueW zRcTdMb2B&KYt{ZF=+J5x&U}VRHU9%C>Bk=aKBw_3vRkHKrd5b7UkYiT34g&EZO zs_gP8+@J&MK(D>Q<0;X@$J#xK*x@Xf%+%ss9IT6wMPUjnrY zn_W9wwzFck))7f`u%{6!jE6i7S1SUxNM*{03{U3HYbQ%OnW*daat=&lEC(4nbJu5t6(B+ezn~ zRUh~z-kacW6?mUt(Y$qcCY&zB7gjGE1?82#;Xrb6klElKmFvIoP!A4#5Yj(oFA^_= z?(VO(y|7!_OZK1jDkP77R1h-BoaBEIugx(J_j3CbMt*!g3?f3oU$ zm*8H7uIsvY+Gf-b+nFuJtZxJoe5e6rBw%3t%yW^N@-Nz#;C+X~OKV5dpu9^<_6Qp6 z#$R?+whAhhV4sZ>hr z@EN~hi|rf37dnoi;+y?Egxwnd0A{-^#12%rY;Nt->s&{TJ{;>F5zxFZWS%DTbschY zv0E7i$hi>ikl+>**THW2JFiC||HbBVv)JQiD;=O#Qh#`ro zI779cypziVHOo-6p(@J8pu`ZbQFqduc@k0j|d5e3xY+fnVQIoV&7UfKHt;^X`%P;;BGXQ}b87I|OLa7nMCKVnf(Y7$aoYrr z^|v>KE&Mn8I6>n`B>PYHT;JIy2DW6~i3iTI6Z2=O0eT+1SFis7!80`NH}-r#5beBc zd*RFJwVg3wh2^`I-Es&qvZ6Q)#k%C+s2%Dr0opc;{{RHI)O5?u7s3}87dqYBtXhzo zVF*{qZHU~r1f~E0k)AlMUS_0~&Q~WHSu^FIgr5>F{9W-=TX`&vgm)JAS5E1KA(AJN zM*cI(k$_G`cOS9`iL|ebTGpkgc%#L3-VL_XC5(%QyGRg{q!s<yi({S>!$OMpQOQ#f=er%QGh9a+gRZb>X8-$`@CcN*EMTy&oO3Fs?Nc4-x&V@ z8hu8N*TUW^n@78~xru;%svIv|1IhdcKZSbkiQ}f$bh!3;jJh+h* zdhne;OqN@4u>;iPDJKJ={(r4^e+m3S29@GSOxv2uWqW(5$^QUZ6OZP(%IElnb5^AZ zElp|O=jwm#Gx5gS_x5{fA-a=wmG9ZE86^>u&6Mih+>HZ#y z;?q$QtdT9FshM^^MJme8l|A_YpU%G}{to;~)czfKhT}u~OyDPk}s5W#Yeww)5zAEA|DPorWN1w~$B)60jdLa52Y2U(bAL!78RV>oQkI zbTJMZBeMOY{w`l>9ud$q$iB{FT|@0&P?T`R0uaMF;Yl1C=KOu}KT+`d5Q?;H5w-dS7Vn}$w83R1}8tQIsP4~l#iEpfDmgDTv z5M1nKJ8~BoAn*aM+Bq!>7)W!$8C9t!^k>z24~yZ~{{UynmODsv`;Kg*je2 zoyW&bC8qtJymxT^Twm#S*D8}lq=Frj<=lQkLHoex+ml{-{{RHvxR3rCPDm!&!tY7B zMDr8Qj2*~E;8c!){Kp=d=Le&;4mO794S65z zUGaB8_GvA;!C^cS!m{})UMXEjQ@cF}BPY~x+Eel#^UrM`s+*vf~oq zu|TYaez?J2yjPW|p>;%&Er z{59~u&z|BN^JS<*H-N}(Pw}p!;%!sxw~}(PMrHHk zn%Z=A$O|H)46AZ>{{RbCSB3n4FTu4m$x#7$$yehk$v4CeOYc3C{xzi?S`yC6RV0-$Xe$2@v0Mhoir?`?(;yxuU%;W017T| zVs@1zvuhb`+5xlxg%z7USYwWyk<+Dof2%ub5sS2f;K+79T^Gr0NclM+{{Rl&-NkZb zSwAgF#zZQe5%sl?#qaF@0Ea^Q=Kla*yP5Su@n2rWHtCo|P>|ql47?CB2+j^Ut~28I z?G!v+qvy^J6{Rtl0 z+#2}a?@~JV#633N+E|pw<-nduA0P!l0k;vy;l_BcWs_UDwDC-2-nF7Rc&2Gi_mv9+ z+k!GWA8Owpm%5NiXmibXFnmRAHMRZRnc-;?WGt9mj3?e)=cyHHUmxpJTRNMq zLUSGhox?0Lxddmuecn~?VdCTHLXTr}S=D9KH5OkiVkpSOk_IS9 zByo(ceLbq2SC+6^#_bN*W_4s~M)Vi}FklpQE9!mgmcH?|-lZ%bX}f!twF*?o7!U#F zK_rper{pPQ)uD>Q*`X6OjHAy-Bg>1>1GtmZJuB8wdzI|lI`1CcS>1R$WOi6K`wUV^ zINVNh{1P*tZffSIsz$Lykx6{`f;N~Ng4uneBP3^okIK0HE8+@h7b!YhLv<`c{HJoj z#LeGuBPDu(c*qrRM)4fFloP$p)7(7RJLVKh$YRhFl1pm@sjz> zrOeh6+(IJX1;ZmEFgugvJc6eOC-BIro5r?3*>g1aGF(kB`rkENERD}3XRqVUa+=?X zg}$1q65c_yVWf|95^#SW{MSFMYYgc$xQpFHN6KBd^Rm6OqM1t@ygrSDR>( z<-DlWu-vY91^yfr<2d#FYd8Bs>r&Fz$)dBCXLg!NRx{`Q3Ftx3LFrk)*_w`~vIMrC zP{6B}QU@Kq2N~;8$rCp9vw$QB<%PgTWjNz4m>NAjY z`O`JO5?kDOrRTP>Tf0=0I@`YWh^}+6V24qY{p|1#c*S|q%cQ2~a|u&+KU}}y*^9rl zpN*N8d2#)OL2!0}f3$w@x6+EI{{RNQ-&$(d-yY|*(w9j|CD4zOlQgOa{7kwR%XQCE zdeL63I5iZHPK;WDKP9yv2I|@upDo^>c#CH!3?41GAa%!5GuVGh!yXycArr=KtsrMA z;v*zzWI`}V$ru9%t9KlFdj9~9zh|$Bx?Z0BM} z!h8EWIU{>-Chqm*4rj8!Kz5a2Ta({`>tBlCF;yhLd1LG9W!0ha9u@KDM!K34-FTX9}M?debB zZ#-9)ixUNL8?grm3gGehf%W}IdE#9wY_OZVR-WSQ3B1JLf_fG>$m@>3u4^9S!nPCn zX=X$b%O9BPlI6E>3gq+od)3V^#`m5QZ|vqX-T9m(d!zl|Jb$dtM^4@9YjaEANY330 z`fr6atBo%0rnj5VKqUJ^WF&dc23TYA=Dk1RRVt zvI*~s<}@FPdW=@q&vB<&OJ@|yW)r}hrSjY`T!Icd{nt_LUqpB#_U7>3lVfkU!Co0R z2qO(^1Rhys`F9e);BmY0#!0V?&gF`YqN%rj%=BcG zeJk%T6@K3y2Jv>iBpSEF-5MKKjiYHa>3pf%jP7Rnl$`e+anrqdUyuGRd=~L{hGo&M zd@16%pbA1lOJ5g7sQV_7(}>Av@_z1T#n9<6*jmM#sGo5R z17&st*x(V^^*!o)O*3zo8Ugbu%*2KqWaqEay&uJ18PMmwl07C}Md3W{yOCUj^;8-B zg<`|ui%BkU$TJ^8xdBg3KLTs-qTNMycrw7wF2Q=371jTG|)?;LwDu1vwWm59IJHbeR!{v&$4>bsKZPyH;ChBl0K*390eQ^_j=dY9u@epq4=N0ao)?~AF-kn9LubvQh=O}aut9X z{tj!8__b;9pH|oW`#V_$<-4Oj#*7QwT@Z2$!7$p~u5cIv8wQ>O9Vp7xse9eeM-`Vv zQg4{@4JXGQGrZVuuXPLGvlF*BOF!AS0$XTiU^D)4ns6XoCOJur3V&HqiBq` z+S&jPc;hTTHN{Wx`^TOEx7IZcOT=Cg(Y4)P<+ByT>vF@kEx15c20l@+WkU4p>+^qz z;Nu31_lqk zO)i9f&fjEfrMFN(k7x&sfsd{~EY^I~6{BO4b!6Gg+G+M_Iy%}$Jfo7*10Yh}0Lbsh z8K|`=<8_sVim_KM^Y+2#j-CGiTH4g^KE-3@PK$0v)>v3!vcR0@+Z&Tr#Tn z;Nu@k>Yilai;kzy*Lp?e{g&v{YVnp;J$rk4im$17LgH&!kYHSYd5#MXpH8^1b=5pG z_RTBox=dD~*x-|%{W5$101A)yYZFiSLwa?)2rsuSvU!p2fEik5T>Q9VF`Ov>0D%hH zhH(WOnx0$W%_3>;CfGrmJSh%wjP&NTt~?&sI$ZF1W;vrAZ5d_hyMyX*ay={3pW#u1 z#a9pokbR!rXK0ywG6R<9jBW#p$-A%uTXqb~a*449MnLx&@QCVBpWAN(T` zEY4lLv$P$bDd6Kh`s0e%vD1}jj^ZO4CCZl=>;ca|iLRp8!ti*y$szka>fA>%sznSw zbIeKFaHAaj*&TXQE_^45UOSsrks@Yf$lBQ8WT+n8jQZBkGL5Xrbs8V1O?BeiTSkQW zH~Mo2f?d3TavCy6W69&EL0#X0ykW0s_p#sF-o1_JP}4`f)o#8}NIOXRz59X9b9zRX z4V{d4Hu&=+j0cSy4-*F9kb4p7S2SC@oh`$UEHi?{I*`SP13sO7{{RZ|GYm~St5gcV zQ`mer@y0I@nQe7DYppKuDU#Wjjct~9MuP2X!p5nl=3 zV5NWnF%CvEv~mUruK`n;BJ?p`(QY~^Nb5Cr2ec)e@I%kJ86tupUIM~G?V&h{;xi*H+3VHl%H}+Ef zqC6AfpBebC!`j}nXQVat(p_0Bw=W!WI;cRUig2xxbGJFiVr%DpKga8@NgO8rDIm_} zjG#~y^(O#)-FuQhI?Znb==!XXNYTk@B#oAoBFVXwal0VoAFes|#eBSStTL5HHEw>w z_SZg}`0wJa8^jBH9+{~m<>P-gAn_kBaLLZyqd3n{a!(cWe}V3GZ42UVktM3aCAW|| z#^D%ApO+h0Z99QH5sol=)-~Ov-WGyZ7grYxD`cw^8DKaH4{^qL_p7>xj_-^8tlg?0 z3N|`!WX1`>ALljdw%AyrSW#FYvCDf;JkRPCXl&`JAg3VIZ$)aeFbfJ&*Lm!Eb!|s_n5Hx zepyo=AH&df=Wc6?)1k7|Y#+&;r#rs>7b-pQGu!yRYuLzW(ZJ#4q`KU~RU0y{H7C2g z+~u2bIRSmWantduFkit03S^S*+y@8m4T?GB`wo@1o*%QlY$QK$65eEiSAmn0=xWON z7ed!9r#6TL(?_(%lJARfAmEUDfuF{`8o8V%t!)VA(A4mkh*IxQo?WUV^2;o-G2V8w zZ)H6{h+y&cs$URwFYVn%d)+bbZ>{{HJg;~FDV}&F?jtAM8tAki1k0r9*7j#fu)4E^ zDPY^q)ho^hbN9CXblrc$>k`QW>DKl>ZpCsOU=ny$104V$a8DKD`&tU4sSx&v+wi}| z9SuGM=(-%Yy0YsQ;zKQ?7i(2toDGUe0g29gdJb!z_-o@ED@%Lp30nF&Cqkd=e8vRw zM&1TEIT-1jRxQ_t^)lipt>2C1<}4&Bf=)>5-0|;P-WbuYY&=nIaW$pPQ`C+9wY}x_>aY)GS>jUz%l^%eO(unFhgI`!v=|Moye_2?r?T3wz6ETjW1PJ zDdv2@@D4!l(;a%(Bk>#IIPh1Aw6zaE*>!Cy4N^U*4g{fqQVs~^8@6jlz}kd*PmJx% zaI?1K02_+G&Bj%+kVZ%Ao-Fuy=(!8?ALKU)1(_+{hU zzYKgQ(mvmzS!z+*g=qx7CbYJBl!1&V%6RSbVBic2{M7xW%inxv@kPP&;`8sMogupb zPa3-x0rAFg!;o-m!{BV@z9SP;4^}o&dNQLMYH+D|?QEgT6UR=zoqmS3#q-PIjn68F zieO?-FXopZ?)m+&I6k$ImQOkXAIwR@X&aBHggdvL3MqI;FLPb{!@Qp!kDK)_Z!@H%(o z<26?I;XTc#me$u0-@@^u6K>hTWyn+h*Eq*qjCHG;2ZXgB4|s~oE4w-Ev2zrAu2jPx zAtXY~!vRXNzV4V{YNevFan%#}ms*Pw;15@Wz>Md8p`O#dN#>050O;V`*KH{_D6oS6nID>(q7TxL*`$S9aQk z%&9NhG~*^>kV%A-Ipi;I!n3ENGFOYx!~Wf$&A|v4cI-0stvNhVaBaxj5DdF;7XdxT zPx4J>Ud85PocHU}tm#p__i>_aFP;Nq4f)qnmve4(mZp}Eu3hpBov?POAdjU&HJiIh z1H~>FWDbKF$gR7Z3)^U9H!B2atTu(24`bLG$+w1ksdmS1uhjGvi=Ca$Ze?+h>$hnh z(00d=Saj*!;N$eI7;o>I+{nnA0)j!{_xyhvb-#zy1d?>}!Q|~EAEtJ;KPvBhA)t6` zShI{;cyC?3Xsy4}V~Y68Bgwx2uG?S~W0DSjyix5|N7_iH}`Q{z94I>rD;_{fV_^KPe3aVNbuZJq|w?f z&z!2ynAdYEj--$m1E)Burq*mMMWUQrHsK%uyA#olPa?lO`lcEW-AMaNxZ1DcXHdQ_ zg8pfw{=~DqK2cIGC1(ki;ep3qgRiY3NoB2RZj$Jt#RG<89mY@r#(rgC*R^4JtEI!S zwJ$M?;3ROy0Plm2eQF=D+sPKwGjoF?DrF9Ho*1$Gxb~#uN;;%s@m$(6Ht@7MjPDc| zG1-M;(KLq$-E*Cz82l<*Z-w{zP0VVNdGSy40Ik&f3=Vy$k5##`lVz(W^=*Y=0}GN) z;xYX{8nvbP%T|w2Li65A$(M{R#Jzi*XK!wVWAVjjQmf^DlVu_9r)W?l&sm%75xI&m7@f?x`MYpG8v1|Xm+Wcb zzYx9TmwNWLjvb3WdRLypOGALyPbdZZX{*D=@3Cf>9kQ{{-D7}w9kW?8+p)Bb zr%Ca!G6{0NV)4*62Y$8c%Q2@~3RGvg>ppHVrmfB&uZXl+Ex}2BY0v)XFTzjJPvw}coo3h>JgUR8F11rLM}!ZBw%OUQYGvY z51!)Xc4X`?oxM9}{N|-onq1Om6>|m4WQ~iv6_(*KY82yQvbZapb-`>N{i`zK=g7VZ zBJCK!+EtMbK7jgC+W5-K=?RkS{a*n#VWS@3pv@N7`gXlMMmfY$ocX28I3I>H>G{>E zw6-`UjhwWwwpwk>Ftq#bjAe+*l14H+4l!3YMx|Jli5%fKNsZ^&XX{a4{i?=x7E{l^ zlW9(AJT2_t|R+Ry~>dkW<^GghhLa}HH)u1m^zL`lS_Gk5ZeNc z<}MCKJ^hFB&1XHE>KcQ|I)+7yej)jZ895;T0C%PZHW~FRnWP_Ph7Xqni2y7=-`#`h z%|mB>Hi;zPX%jS35}0GTBgQat4;}GT)SP*XoEnKGo{e#;TB&QI%bq`Vh8XBL@A%fZ z)8*3qhqstdETAbFBo6sG=y=ED(y-T8v=(mAUP1$X&}J-v@Om#ko%__&2(MM8H}C@y z2t28XNRNJUe@xe(Sxc$KB-ZBd_C?J15=!$&3p{|x5q?+BPgCiR-<3ywrp2ge>?Xdq z3U;e(brPTrkCdGH^X*i$o7=l<2iwj_J1*Yoyx2HCyw5xv2~k4Jl6JLMj<22ky%dIPaifq zo=NNLQNsfGYUO8-%#t<-%tXlvjlP_J`l~YQTwD8;NQ->n4dZ}$IqUTm*-A6EfM4+r zjUI~|+M7FRgsKKf^6}g9tP6Wv`31t3&AZ5OB|9>Gy|L+DrW%5refDa$HSPRY_SGz&bOb5_Joej; zi;@ZC9%@)TXMY9Xo99U*#~|H~Lu1pZ$-w&Jx$9j8;kHtU^R7<)bB@$%Ca|Op4`*p*Q056TsVSI-#+N~mEd$f_$To- zG=3S0ZKb@m5j2sY1t(SOjO`gcYB8e0Erb*Ao6ZVkx`*ti5c`J5JW*&#UgEz({)>Ak zb$FKANR$wzh#S6MLH?hOZ1{K!S%b+G3oMR9198z! z_A|MYD{mvqf(J~Kp4m0eYtr3mknXazid%V{uI=TOutw4kxHa8Rum1pQ+Y395F7D|> zYn4bDCPii+cR0u=jQiG2{{V+Y$hVlLtpXAIrnrHWTY$#{IopHRn(o3~d}fz9H1UnZ zmg;5GVz^ZV823g&;NXx!IO;lg6dh|up2y5xBU88571wmJPne@zo&CsE@ zx=SnXE=XmU%STxme7S_A9#01cIraV;fjl=AwYuF{q*6;8mR;LH3Ik_7hX7!A&38t0 zwg{!v$ctFD)g@(y*tNv2QPV#=V}pziGBR>~I@NCw=^DI|$#~9+7c)j&HV--e@*g)+=q3Byck>)}7Ql1Jou!J-Ssc zM(q|%ky6K4@dOtJd#z4bp;&_|BCpIo?*}*sKDE(ad{J)@-$yIh{fX2snKLj088~18 z%Q5FYdS{$uW1kOS!K+7Y_KlVoakyB#&FGy-Yyx(Ud)Ah_@Yv02^7%&MHh?se$0Ly# zJdQqu9zANRLW|L@Oq%G9gI~Rd;>ng9!2`&XAmR%H(yy0Ce5RtmsGC%aJ`yoLSN8`j&@ve+2N{i7llH zV!3O0l(y`vE11X5*~U&g@GB0_!0W8)5!%@5wy?Bkb-Nw0tDXZ9$l+Reo$_k8_IXKFbB~jN{Q@f^W1gAMGF7 z1jMR#5EOuzCyas5Bi}s-hPA8T0c#Q)c`bD)AjI;pk-X_J3k|?YlfhQbGuzg^YL)QS z>7=(3S2>@Fe+~3_{ueKcW%pQOh= zqo~Oe&p5YP5je{(z?-v$BX&R=myWgc=B4ASPly+{3#w@j+GgP)xQ5irC9;VDI0rni zZror1YR8D=&^$w_TWi`4jm%n>p9I#C$8iC*A_*Xs4&Rq*_vz{nQCzg})fL=zMJg`$ zK2z~+owlu~XvRSjU0Nu%i_6&4GWXxN2LP4E;rv4x!LCn1z55@F@b=O_lP++>0O0eS zHhXp>>)N`D?}vKL=A(5idR5!$nk1qdnW4n-Spvsy=1@WcRj?bUuQ;r&4@??|kKQzj zEVC*SP-SpOUY&FFuU3s0?714~RF#&8ym&w2LTO$ZpGjDg!?Motvg&Dbs3YA0fwyWm zlg3X~=WkzMHu$mO4Nh%V<5BY)T(`XovrxE60k~iQz!LuRvF8{#;kD=^GTKflzY7NBINZirB z9BMxiblZD-2yCqW!x_1{NiLv^?122Qw{(G+kO2x5p1AH!BjJmCoiTM=hr8953*#HS zl6hZii7-=c;gOY5j2}X3j9(G#>~FN^x4fF>`%4IMxZ4?@b`D!>U=Tq#1M$uc%e_+m z)5H;LCjS6WS#?Bt%E3I(1)uLEMUAuHmx{hH&4c110?^O4`2 zAEkS5?G>VUb*;4RPffGb=hf%5j^|R5pv{%6?1y*O zf&!DCFrxr*iu#PJ5gOF)o!O$;rz;^H&lnje`BtZatyc41ixUW>i0%b~9CAB12l>`y z>6HHfRUCc3UZm7;-A|=XCxTXnKt>r)Bk}!z3iVyyh>JI&^e#1BKI(GGZ*wHEjm6nW zz#L$7T+(SD38wLN=J~Ab%1e{5Tt&_a=LOXE&*NBM3VtKqYc@zO?^0=`O_PR60e*o? zFc|i)MDU-&pAT!AVZOPzm&<1%i99ABpvwYB1B&x2RFql9?wyZY(tltN4$p61 zImU3Daz{~F{sR4uU4mWwnYlXic(90Q>tKIWBo( zeq)@sOm@aSi{clBEZ5*Zi>q5|{{RqfZ)Zn}OI!9cX|X8YzF;I^HWwfh#tt*qybHu} zzMmo9R%p`SAtq%DA}Kgt+0P(zo(^ehjx0~RqCZpr0N~$kI!hz*UTL&Q^qH<<(96se zsk|UxjQ!?bImQq1b45k}00!`Qx^EQtd*WbiBEwFG-Ypx-mJ6RX?g9ILLk-Ln3}kS* z-gx4Q_2}yabr`E;tj8;;{i3>M=}4{!-U(C-A~4DAGT&r`-~TU{>V8)m%PE)q6omR5)~ zBRCl4c^vS$>V2#8`N`P#{;}NXbbo=T#Clpsr@$ng%P9GFnY{XxBIj7$|-)2?Vz}`f=!MPvN`T*y=X_0BzK)%85o}nnv>G!u+Euqye~$ z_u{oJ{w7)v3g6k>Xxc}YFcJN+?pkYt%y)sdMk)`>f%5U&t#i8Ph1}h>%r{<4w=yd1 z7jTk?80e%oPh8_5RdUy>OO|TJuB8}FI%m>;5BNvnpB=)sqgvFaj^RwQMQLX97`pH> zs&GAf;2d#XzlZ+-Wym3UANxk@OMt3LZ*?t@n9Losg1GreCml{P)4hCYY2j^K!0YG9 zJ;4ovvNh4bATT2UoMalD{AuxB)bPU&rG0XiZT^iEa!EIpx%g1M6?21+rxo$o-WA8x zoAz}yKC=tNSXyyh@znha)jk_ZtlJ$g#2zZL)zxAiM1xQJ6p$$!N-TyzIKb$qBl4r+ z{{VtN;Z$f>S81nNJ+sEP_G+>Stu7Sjb2O3`DsUG76uAI5;eqm=eZA^}-!yh{ ztD~1CN}>iQrv#3Bj+OMCn(99kf3%X*NWZyhz`A(te9iXBozAPYZ`!;bMh8RIyuVxU z!LhOtnB8sN$~JT6Nhn~X07mjUWF9(q&3(QLIaNK{s?7M>(Trx)UCs{9;cee)87+hD zjm&a1MTRmme!Z)y@XJ}jeH1r08lBa%{pgjqH>+X8jyUdXJ}ns`)XX;u-dqY9)t6#) z0Bz3)k~4y9O3TBVDbw9Wz0zK&42>7>B9V_>!-6yI`B!av^qSPlGf{Uva??xrO?zh~ zH`92w+TcQ5qsSRUADf}=oOM0x1-v)ld$+in#^Uzv6~A!p0SwNV^I~1=5d$9Gy-j%T9Fpczb~>x( z9?~gT>QmvqfvD*hckLWkDHuj@@o4WM{f%+VF?^L`^aeb|sqSZAmT+1S|hno^E6yOxk8S9^$ zsm*2S{vWW1OPkBor;XsaW;r+^Ly$>3j^ZGFAy z`Hb6E6A2gxhQU7BIO=OA$3(YE|SEB=q97 zo;Fk?Y3xmpC%5ohTP*DycCR}fie0|(8P0h)2P5&tEBFUe7Y#MNgf{7J4)%5PRZ9#E zG0z7FA4>W+K>e47qS{~CBWW7rY+w+kOM*Z-Tob!E2c|F%abBU|zt~$%@%M(qSlmnf zs#r%olqdH#*gHcxCkKO*u;F)bde?=C<4ispH=L}EBZsLqcpnQVgRZV6Xw=9qQIDGm zQIz0g_<`rs6=--Jj*<&O=PSFeaNDDG136GQ$s~?z?ic?6f=k13;a|1M;yVpDQ1g74 zp5H!L8Q$$8kTL)~bO#w3#%qz&{{UbeZ^1KNG+LAEkz5rjQWaZi7=TajLH*e|;}sOR z_bsg()2gm2n0m2RvGONNybmNZ>}rp9}s@ey6xTRj_X9TOKF$wHnB#euD}ZbADo6oy`MJAwf?JXX(&C{%~LFT~=XG<0Xq0#V_8M&bk|OQA^` zWF$$@;NvIKqwtl5#GzY%duH$VNC&SklUVIjMe3uszkQ&_W8=vOR*4)8|%z7N~IIUl^ zSWTzc+r<=?@)-8q!6mqfqL6MV0WI^P+8Fe}Bz<~64fxvA!}?@)f^V}y9AZmw^7-u> z4os1f0p3azurM8QntZ++(6xULSjjEycQ?AEe zZpw_B+~ya-rq1u|_LlR#&exJf5sxhbWcMc^WS#5i5YfQPfwEI)V za%A$OEDJ{44t_>l4B!FtXB<~NZLW09TJAkdY}V~!(p&EfiJep(th|?Q2L$%%T`Y)vc`_LW zbj3JpBCRC#Dr$OEt0b{mu9k{gQDB>|9D$6e!^CVtaf)o;X&N}m3Rm4gZ?-N-&E1dn` zf$k)cbrE9h8G;z(-7DhRRUn;IM)i_K5XjRPuT-F|KqoaY>!!y}yJ;;B#Y zFHcLsbN#rJrp#`F@T-TWk(fL6T2_!zR=0nJQZ=T>Q-wcOCQbU zJht;VVtBy{PtAaM1dcYIxdNmg5A|rgw1R7yw5wk*G;_h0Ok*E1^&ZEZ05e@JhKnwb zB+yxGGTS;yXjPS@W)GDNn}#^ta^Q@208~~!F4TNItVs@`1>^{>iUGNemTceWkWfClsVc_a1Jssag)l{ZjYn* ze^=FJ)UF#$n^TDS7XsAElkeaFKvKEo7p^dYi5chG?=_t}SG#Q^S<8!W5QmGWjKn`Xvj!Ji^~JxDE3a z2O&mI4Smj0nZZKxc79>YEt%yvzA?7=N|xGas$7k2FAKPM4fVZe|P&@cz& z&2|15{hw@pGW<1*SkN28dVa9%@>@%9yhg+hBaoD0G0y~ge8#gS{eUk#d2vgB>~H(|ieH{&gkabD~2WBv*Aaqu=fdGx;%YNGC79^nPtV%3I57^zR2 zJZC%%`q$}sJgMTT^D93>)D^WnD@6ET@q59(9n`!pcc6GzTC~j%w7~S|6O=3`s3?ych+%Z5~NjH!yC%?jxxch2slIM!7fH=AKJ% zQ zZk@g2rB$`=oBse4by&PT;Q1}B%3NIBT6q$?%u&G`NyY~}`t|(l!fj+*c?&rCnDew_ zp4k3_wRN8qyk#GZ{6u_^;?@DOAnUQ4Jhn$)z5MHzvC-~z2_^DjX;BoD=rPkjjw|Z8 zQ!lB8!+!JPmZrFPO-AxAY6N|sl`7jq{KFkhgxlgzNUW6b!j&_l0cc=``m5&$L_Jt zTM9E>*Ts7u7V2Iq8kMhz^w4jtyr;H;$uFdULd2|z9`yh)X2yE$85lVqA$&Cbw>)D6 zIz%NbZte8iJ}CS^)T}JD{R6?tKB*PFQLGns z@xwmE+!%v0s-Kxc9S=~J=t&)o$+&xa zjk0YCh(cf-Z@~)VDJ;l1pc=1M#A+{{X?g_aE9iuf{8>TJi2CgFzC!^ZAO{8i4@@)!G0( zIs7QEPLIHjnoHbA-k>Ub53w_*Susa?-aCzdJb?}GAOFpA! z+D@R0r$my>?*d2Vk_#!r05WiJI-DO$>pUUxo_`8KYi=XbE+v_Q$-3RQE`IMJ$>4%= zG1nM4$=bj1{{V)5A>6}j;tNY}?HQwYu)Vc{Qf4ZwtND#Q@GPfU_eYSNp+>7w{r(X|ikxh|$+>-+F$ zbz__mpDqC;@_UN4uIc(_v{o$NCb1;IZM3#zj_Y&oP!&S*a#XVn_55)4?}zt38jtN) z(KxkM3S(J8Amo+Yp|=JkbU)qc+@lV? zz-Q(s1Jb$Ce>RJ)Oq1x>IvYVD^X=WpELak|R~wj;2Yh?hzONsLwF^`BX)c=ZxM0fr zRRLUMmFMQ#c{~7d)~B`7Z7ytPdF<}5^+{0unn@3r0+0%jUw0#~IL{}(D_U5dhAynP zOvJhI9n3m@pqBzsawFdyatB5zHj*$~)6mwxg7q7XV?@1?X12F@U2jokjl9PhUSljk zI27cX?(M8aAJx` z+2x8%IZ=W^C0Uf?)O6!D*0B#{DdJ}(Ynq-rz8)Z5=H;~sUSQWTyZ|s^z-+JJcsR

$D_pUy_>W)v zVYGWlJe2ax4i;IwwkjY9WHh8eDAl~2zl#9+&~ z6a_#<1h*LPfrFfI22;GXHvZ6?>PdI4U0G}1UCqpljmTAB-OO@x8oBB^pQ6`K;BN(g z!d(WXsn}|E_80nmesf!7B9u7^nn@e?zJ6OHduOp7 z0R9#9HJ?9*Y_%T<+I@m4_r))i&e4AD@ILlQC!Byg=YiI`B=}Jreim!wj_$>D`H7sf zD3A#@6=1}ir_Ojh{vx>4Dg0(%TUWC)EVXSi4RApv^Yg2w{UpJbLmw1WUj(hudx=D zCXEf`vd?=Wk1?TTP2ehEoQB%jB$L4;a5{9Wng#u~fp;^>J%!er6}*fh2_%J_^yFh{ z`=hT?Yg@y<7>7)b*5JF?=@)T_Zz%rqcTGWxctTZeZH^ z7-H-<6m`oI0R$2K;8{?r;ciXHO|2Hwipc-w%Z zrWA$a9rI7sbSpN#mhS517F$@8Y%qY1j1UeEvlon4N7P(+B9o2g&J7qEwju6vu#m>fO?O{u4sDgp1G&l zTK%)ky^Vv(9%Df2&B@6aYyhW{Ka1Nt1H-yJb`ruT7ie=dvN8r(iNWiGg$!3DW2ntm ze+=nb>OHlgM0uSfc){NpP`KO<(}3Gos{lEy9ePzG%O$a|wM^~468u!V@E?gH)Fu;6 z3<_MjJunki3pNg(URn=-+|gw6sm)3+*oVQPVUAOIdFtWMzsu8QENj%wr9P z>4hXHVdzK4-Xi#Yq*&?q5Ph;oj_ysxVt@5TP-S}q%XcFg=Z=wvZE5L1VM>qTsC@oer@0g5KHx=6Of zT#&~nJDBoUYL4U3iuim_hRL@)JnVXObIY%NA9(n~QcKI0lFkX>Fos2WU@-||4A|P? zNKt_&Y#gv0jMovS+Yc7&msdK4^wt9F%MrpRSuqN;6Y_zaqYxFBC!YDQo%LUi8uyJg z3nbRHlOCsJr^}MrONf*rs}|%9-!FboZne9mcI>v z-xBZkT+n3JX7lGac2X6%i4dtTGoqZcF9+s3azMw@x&1R(wDH}h$UH%9H`(O!-QwH> zuytZMB!X8blfcg$WN+ALHuiD((CY%;IExvId5<8J;B^SVk-Qu*0OuJQsBpzl_Z>!v zgN(FD<@{6NjRV5ICS^KZ{rop-Ve|a6FOmuQfB*oYcJAsMjEs!eIcuS5-Yk2s5BPp~ zw7zq2x4-I%7#}MJ+{L-hc|V5gnTXm9r(k2?@GV*kzu3DCfhca7EN9!&YEYyyO{4M zxRG=~x^M+n%GK>~qlMiXvD|y{)b$_|LU?Py*3kHl#!+lhS~bWvcw|3#Z3lM5m%nMzWwz67HC2s`xVj{Q2qfb> zv68t2o^pFt4;Of9>%-a_-|6=NY0RjAJWN{QSRdVv4?syL9Fk8574=20!HqflqrZPUJldTXP$nQ6nMc&>#8`a z<<%2Dbn(0%I@YvZ7R}N`k;wc2oQw+d30FnklU{2KoJRJMpx#4|7Lb)v*FKcAVZN;jV@@15Og_wbi0?qtG zk~yjg@O#95DAVNAzp$=jp7KJNiar5cHdOTk58wO8o}#_Q#W3XOsM1Ft)M}@p;(Dxi zhfaHg1QynIm@yljIRK2a9PDk_$;Ti8-ngxM#1?nbPadB7eUvv$9nm0G`!U;+SNGl6 zj-#j*_Qt3G00i^#O#TP3zqfWWnNlHW(&3JNPIqtsAoc7|O7pJ~{{X>1_02BA=KkSe zx@)Cj6ca?gcHDvT;Ed;R+tR!&Q#w%yuht6!yA}mGo9xWLwCW z?B+Bf&cmJTRk$ujKDB0V4?(EwdbPfTs_NfliB>sgfp&>Fz$0){;68Zof%UInPuP>h zx>lbY8h?g#>7#2UnVNfL4{UMs<#HV0k<&kT@zS^rQ^Ec*@GiX@FZOnhmNEUZRkkm; zauFbALcy`fC+d4w+tbgmn8o{wh}xwF^&ztw_k?^&ACo8c&Yy2?TGlu(9wtrsBPe8N z035JWz$2jsrSQ(3sxGNvCG0o1H>Kj4-2VWrLhh1dL{CGu+#`HA*Mb@L>Lb8VTy2ZB`fBZU|kIji6B zg=@AN>OIAc%+`@ktfokwNTQL!BRharLN@?%GqjL%kyyX*kc}h5*0Fh7^`@pS3Q8Fx znQjB;WBJ+K2*wCt+#mLE-JPF^?tBZN!6cfm+N~}M#d8FbD30SiGRPxR3C;;UP7Zrx z#l&+*RB|^o^dDj2-DVrlIvrn4T|Q_*jwr3Z_pd&oan5>TsCXrBAn_}~tKDh(>qj7F zid#2=;>@n^mu47Yx`IzYdE&Y#?=-DT;zpNi3VnhNMUvfQNkZG$oNZPKfH;4fC$>A9 z-PH8U3mq@6k#P2sNY4IIcX`Tya=`q`ayid`sG|#9BZbUX5=S z>+P3tgKc#j5xOc!0^%ld!75aKMyTqVW}W_!lH1O z44{mh;HmkshU8}ibN8PUu6!|gmad7u>TzkSMJ(V+A_2w}^38|q>9>sLwPf)OdPcKs z)5I=iyD$)MK&vp5prg8IuK?Gsr7|2GiRFcdv6M&GDH_ z=EEz+_h%=zl78;T(smyjO~;6CE&l+vtp&43i6b`%<~`~gDo9d#oM$8ztPpJe!FsXW zTWY#B<;1YC!*6$8-ef}yw;_~{at6|R3i;>$77y69i|HiO!fDq#Ezm8aZnBUtBVobZ zzbg);V;RB4X?R!mg3~lz0_w&|r;5ha363|nl>MZ$Z1WfuAOKrA!THMM5ygGa{6t)1 zr)N)5OBmpen|qABrzD5H4g{Y@vTXI7rS5CN`De z_(-hfTi+Nqu^*HjktKNIbpr&t#z)LC_lZ3Q0O)>q(Y1Xi#9D&f>Duz>8lI67te2Ac z%w+q@2H;K^!!SFP43A9K2Bq-h#I_nd&!yd1_>w86+Z5Kf(oV<|aap{~K zaAEvH$0pR>k&K zgTQux?ib41 zqiGP5z+jwi$;ip}rg%f+&)5SS3p<<0;3LU`J2@H|NhA=B895+ea7IQ)01;n9Lpr61 ze6-b$`gI(lc~`@~4O!{m4|TnLJW*w%YgQ_4#*KYyL*HAlRLn281+rX~$ME&zo({{; z)g&e%yySvRI5@!c$0I!YcdxMi3j8SXO^1))$2LC=<-60ZU~47P^*cqn6GrSe`Dr3B z`L{R$lxzgyvU618{{Vu0>%J_Wc_;84-k&wi(Q_0`k%Usr#6}4?UP6KOt{i@Tu#VD$ zE1jl%<7+t5d>K|ggs&NyRReiZnL<>W3mQ1O^&eBIw zzyx<6TJ%qgo;I=Z)vc70M4D{SLFKfT=^2ejb|oSW&fZBqdCw$Qf@@zHZay5m(k6_T zu*bQZZOB2#B%CKuKTK5%Kih8CSi7~GQqZ*+;6_(*ZFiQDa5A9bO6NS0$j?gFo-RDM zGJ~4f`cL8ht83xiZsKcgUTteo(scPHwM$6ndug8=T*z7DB?7x+ZW|y1t&SJrrS7aX zbM|X*wOs10B!6aWcaYD(1dgYG+zj^z9qY%w7<_#2_4kf1{7bFAyDiniGug-c$;!KY zzFd=*-V`Ss?mI!pQfs8}rnz@`$#Y|QcAr1mQK4<6NIAg-=RTz5o<9w#%`tJ@YTPAtRWV9?0U`^&2-S_8~{S9AleUJNg3no zT;l4H==0fqmTUBu35y5&h%yR>P){WH$g6%W)9*CBdMjz;wzODqu@d7Pt}+;@9G*@G zIXsNwxo;9^viN&evn@Jbhz`**tEvW6EX7I3P7X26enCc*QulWr`yFlF^~L9j8hOOA zO>oK~Aga2q(b-1P*Ez;{>snU76|9Dx{g;&zC>LBPcz~vaO?l5+G1CM&IrdlV3^$3K|d1*UKzD?2o z_ii~DARc=RclNFC6?l(Lhh4h+9fPzUR96U_w;wPCI4#Bj$v7R&b1L$S(7@xazRM?{ zb9$3pY8#azfg&YhZms44o}72aFA42)42>ndLbl*P;!LfrdE)Am@=z@hj=tW#zKnYS%BQBIHjXX(gTaum_TT zeSJNvX<{d`+)ra&yktB*b2YTOO^X<3No~YdsT7`B;p6jqbA`#qcsT2t_G`b5Ukbh} z_(tN&PX}3edsKqlL?qHgYjBbrfhJdMZU%YCQOFq2HRU?AHhPDJ?5`%C^50aM{?jm0 z8VL}mU{SUMqGW?8;a*Y#MsEqWonupkq(KZ>K3-p$$BGL zZz6IDoxvnI1d=)dkO0O(9OOZ#{7CUGjT!qz&YS1k$k7<2x7jOTob!yYUcGbBR}JBR ziOX}Z&2^|-#rDT6H_SkVMavit)Pz1`^@uW^Cz8IX0{KHkf1E6yz{~0 zy%NviY?_~mG-STGku9b2LB#0EYD)Z&1``@cq(C z_K)W)OTFbq;D<$QWR1szk%7~=hsV(CBgQ~XZuE-@^9V9Wm6ZwJRQ$)QbBu%NFe^Dq zZdNr^=9Sr@@q5GbcvD;c&hV;v`cbsywS}oLdrz)5DI zk}F@cK?pEMb1W|2Y03GED99Nc4{n_+5?w&}2gFvh+uUlG7R4q;ju&~JRA|`-2wk~G zZUH9)ABGQtwb<}9%@<_`(B%9D-Z&g^v0T<~yuj8|hEy03?HO%ucE;rp#0#~Mn+BDh%NF-)v7 z3!~?rSe9Ia{C_rUoA_(ujS_811TyP4w{k}U$9rRbZM>dTv1K6S;E+aflU||XFNj*L z#LT#} z0D^6N1#7M8&0*v~vZTc(5TTwV01Tid*gu#$6UyYCfb=}Vm(};XIu;gIOv1gio5mWj zwbAGM4wBLdE_F43FUfpzHZd4vVn%up#BrS0rA6@z{t%sN9W2^4+#)1so=~1}ETu_f z8YWkqa6P~?bud18`p4UbORlBmLr^kdEbb-Rqw+; z55)ffVP^X)kqm1fl)NpIzZ_#3?gt+DHRV)M#@ZGsDM0VM74e5o@Rq4P(6-br=F~Sr zL$b*nXump@0YSz>laa{jUX9=n64`4X5bbqcYTHk<(^k(bZos;ha6o1Q3USo;>CYAN zmXqTxLNtY&PJ8Ilo@u4GQ}Ztht|7rW=a5_1(z+GcY0xec3R#65LYi}t^vbN+H z!6&FI{{R5T@n*c7(}krp;|1k&SYoFac7Bm~V_DHJ{3^CkH<1*Iu1qp1@1PV{L6Xi%ptYT4<0gFrvN0SRXM8dJG?LZUL`^J`H?cgU0rnt<8}dCyOkc zTcx$jxqHzdW@S;FWC*d&I*jxc*nBhnrsdT&c{J;*h^?fyj7f2IBe;imO`A#f10aF( z9Pyg`r!(Lx^yJ;{eGD_0#U#=8T%*H!sx_#zZ$4?-JlrgVNWc-XSnV5lIorn-g{1z^ zzYjb!Z#{*Uh5Ow?b)DV?5}a~b7d(J-$6l4@9}d1PzlX0D+gI@w#-uH`$+^%(xNMN1 z20R{m6Omqr;r{@Ox(=VBTwPhcsZIWC!dy!3tbZ`Qkpmc2lbi#cx%1q{56+~5pnnq|$czlns2By+~f89Ok-G9Bm}w4_`+5xotjT%;l@pnxnu@B_7N0u9K zAhMB$2OzF->qEpJvL%Ss)LGmA0BGGq=Bz$^e|A+yDtyx6NRw)*Ez>caj9~pD{swD_ zEd;VYo+L)hW-Z(L?kwDYaWV!+&M;~EZ@~+#e!ndP|@z2Fiff|&)AG9!OnpBsBtf^uzl6fN-!8@|sxyc0Z*%&7R zxX%{p*Sbx`ow2rYqhXRrZY<23j|X}-(suxU?%*;&#&9d_e;@wJR(juuqP5a5?oIES z>1#FPjnOk@T&YkuE)~Yo0r^4t@JstQ__xD4Wy}z@t&F-?nZ>=dyPjSn2Piw(`TqX^Mi&17WAO#m<&1iaZvrC-5D27AfEf|M z(`o=9!on3Ox{!S;C$)AhHgrLKqO_l)tG(@yc%cQXTM8uNp`bI)r%Ih={F>{ zttq=(6FiPmOlNLD=jKv-lb-eG-xMx1e-G)AM=p^f>Gu!`;8<-|2xK6P5~Xr^#(gq* z;MdgQb4&&*9?|b(DwVL@rAa!)d7Lcd==<(lRyc$i{d{1TN2*BQ9KX&UPN0 zS5vR(nzgOHm7GQ`RvRfAcx~dBbh8WsyH&DSDIuA2(N7hZ;SU&F_$xq;1=B1wA$1GQ zBEuddiKQ9Z2?1G`0F0A@$Ddw$9da)bUs%U>_BKZiBgr`t%FI`d%!F+uvv=ft*x&{8 zYI3>rL0KLZYOr$A9e%!&=^ic9F6?d|-%8da^6wzi@0=M%&~uew2n7iVv@+m>jsd-Q zq1b3Mw36RygHDovv0U6eytdO?Hr6V|oPbC>axtG?YsfD&tsg?YS+_D>#VnF6kw}UI z?auwX%5B386VE-cDz?4xX43xvQMH1YxV7;I_H3GT=q%GvmON_8`NUjzVy%&aNOf!xn#l1Mo#LCH z5LsSWq`q`=c`^YC+YQ7JOJpjHd3#%SIX!seA4~Z0_PeR=n)g!HG$|m6#+NAgv&cBz zj5LEM1SwI;Zg4B3@TbLJ40xAXztg9%wv8RU$Xv5C*sA=^A^BBEb0!8?jfWWGu*53V z_1yES;#-M5t=5qrhpug9(=6lE*`zbxM!{r(7%IrGo@9tTdx71--?ur)>^>Z5nhSVN zShUGzlH<>e!wsatgOm)b&Q3C?sPB+KIW@`nq-meo+IFP{tg>2cdrv+#A~{*fXAD`K zbY>$w5CJ2MRV7HYJq?z?$29FSIgZxt4=TGs%WhT}-P0XMu&)-kJ|aA^Z5;0$o{Z@H zWuQx__?u3GVVw1xR{bI);}Fh)8y_?>q@ zm1S>lGbOtz+R>I+aIOF49M@cz5<@_^I(GF*Vo6 zOVJXlf5)At*+>L%epUxO^M(9sZD;l?_=ltTiXngTp4DNo0j^_`!bZ7(lpwHkD;409 zJ^AVYuL{(@J$S!J^4i8pC$ySX0c1u%fC3Ke;gk=2XSHKp{9pKipvS0M>k!=ET-~&G zqT*SlZ?+d~g&Tc|KQ>1Po<)0*;w%V`gWw7WTc#YkmL%D6+dfaiC z*vq0yzi0B2=!54<#jpqf6#xR+R$-QG_OGGJ__k19#}-^OOf7G9BbNB_`vMOT_(Y!# zczZ~+@fNCG6HnCS9!&i3B6TBcWDejQbQR|Q4gUawPx#Bpu}w~21ZhpD2_#!+^*3kU z{Cu&jQUWp)zfj$))%b8E_P4DV4gVlJwfxo5`NIS zzk#&Lt@PU;5cu{DLHyHkbup4SxDCW$d7%zK<@$ulh|zyns~{{RN%X&N=G9~bX5iy8F6dNf})-dO|e z$M%6=;Zitmas?IZsvga9b~dL)sHA=}={^sR-$!xi@z;vz zv`sqkW52b62w~o$-Z&+Qe7$~R#|I?!9;yXT@t*S6O4DsLy&2H?F%fd`D3UGBw+C|! z?mnNxo~HoUS)urATGIXlqo!RODKh5tjtnE@e zx3T8Nw7IN!Pm6U&&_%;fa3Pgt4;0qCDUc78wm2tfIZ%4^r}$#VJ!&gibo*#-WuFRU zFB3}v<#0DQJAOlhj-$3~zJH0@KZs+20_p2_8luHCkr>eA4WZcvHmC~6AouIRt%cWq z%kbjn-0E618m*h}P}jECC=NbAu^hP#jFW&mbv5)fv2`U5R~=7Mnz}gu02TZZWzwON z?fys+8_0pl6RQ!<3oyxC9tase#-i3dEopA{i*GcxA9CexUU$lE`I$m6`{4BF89W-& zvAot7#6wop-41t6X_9#ja`-TeHD&saTIPERahDWMWlw zfI;I1s9x)%QHn;E3ps!Vt|d+0R0KHzumHfyoN?R=>TLWudE%V{EB^otT-w^*K@&%E zHpcFe=PZGot~1yH$Kzb@h&*fMCZQd^ktK!9Ya3pfE=;?WF6LC+i?c7B;1SOU9Mgm6 zUSf?aoTZ+mX4gO((82N=#O_lYI&cZ@tWVf}@rTxi}l+TDfw9GC4MmXY$r{_(b<$sl7G9rK)5Rh-&z+}qgRe2DX33+nOs zcT2dE;^aeP1YfxziC$MytMW&N?iBp%kC=hj)`x{Q>Uxx;#9FSRBXGAi)7x8TYzz(+ z=g3eF02$|w-79a$J}B_Dj)DD`q21eS4|5;y?jv+16CsHXyGdpsmHj5J7FKYtajs zp7%|Q5j63yn&~4F-#fA}bIBRO0IBA(yj|e$4(gsNit5p%yt9ThG1$fBMAH&ZRE5Ww zPJ4ldEyqgI@IC(khDMovK9j272^`9|7WWI~wiQ_XvL{@z$Wl&t>xz>{T@Of-9YQOQ z6pQUDeDIX!TBo@%tNpmI)|OzUiP9}jAFvUq>{D*MAaCFDlw z?OJz`+fIaqUz%kB=NVE8({9->RTi*AoGLoR=j)R{{RyB2jXY;o}Z{_ zwz7DBNH#%lac&uq66)nsXyEnE3CUiE2g^{aQcg8)f`t_)d2DR!pAGdt3h8lc>)`wC zI@xmY{{Ux%MX_SvHt53w53Vo)?TX`kS!sLY-E!XOS!uUysHg3y#uU6}0HPINo6Pdg zNl}g4jz|^in#b)m@dx5}hb(mc9$hAX25I)QM_?w@r zk98Q$(!-;{a;+t-cP>J!uhPdv5NdIz%Y&(6e=+>M z%-GnnV5kFbb`76*CpF9Xs_tA{3ymFY?ypuRk|x*`$`BG&^O8v{dEjFlROC-9}>>;(gRuKz9 z1*sz-sZ~|T#(Vz&7qHh%QR~JL<@{-einlQ|ZlK%iGY&Xl20X=s&twZC> zeILbM7?spsX(h-Ak`rOQ)Sk>KbL3#jL9vxVU0B zAD0|30~r4RYKl>HBkg9kE;MA(MKx=$9qV6YhR#h-N^=`3T-u9?B`h$g3XviL6@Fac z5>EtH*Mq(s>l&SgrFr0}{4loK1WP8TZ+R(6+2q~wk2v{-u&e;c#y+&~1Z#g|@zi(M z&_N!XcXVVkBwLF<-0Wf5loGhX&I!SKUHR&u=VAO4)+d~I^S>@gpvbFe&XfI>Z*2YbeTRc`12McgE<$|0Y#1y9g8jYQ%r>5$9m8`@hQAr<_00aUU$g(gU6pv1Nb5L4%L&f?Qv8Z3@+D5)C z?&nF!wzZiy;T(;ekXVz9o!dZe4h|;qr^O!-+i3PsHK~r?OQ_?5+WsYS=W3Qv1bf&5 z+yKA>&}WKVwSA{OH}08EhPnsCts3NN3t<(c@gf76WrbW@gYuoHkmm=sTiUcVeFIUG z#uqkfbwh2is$8rfM=s@ddmWGP#iwcuXzjZBjuw z3a5jdgNz?qCi=ECX=CjK(Jes)^!Vu zi(fWTY}*n9^8Q(5Il=jcdJN=qj=mjSJxZ^Y8#q;KknVrsaq7Phv=eD*bA1Q)geEZt z;C$eBk^+uF`Ivp|jGy7)dHh~JzSFfW9@=|Lm`&*|bu-7hCQ;5ZFsycl=yQ?K)xBF$ z66wFZea>hFUy>P??#*Ah%WE%G+TJBqLx|2u{GLa6-P1XB}5>GDyimGRC%E&%oGI8%%+P{Zy^*;}by9*Tug`_=uVR?V za_R!j4b#cGM`R&$9zznOV}J$$CxUCxye+2L_%6!Q;_qL+zSO~cxuMggwt{FB02IpK zFPN>6LX2R8kU_3DUhz(y@yAuwZ4RR4_$#Mh3hK~#}|A&A^VUKS z1>c+=Aoz+R;3#d2fWb%y7(BN%*TW;h8V6X=qVC_9I&q1Tj;tvPSG`Dxw zdVAeS3Hw1SEy@g#RR$Ce0anHiK?brkj}}thg{unSJQl9Yio5J{{U&YGb;%$uEuB1_Ax5pDJ6zN=>VlI3&2D2%+mr=C5SGBi>*r1V|9nZCLRQ=ooj*EnXL>ZTG?)9+0@Lj+Z~P&~Iz9nAfF}#ngIv?$tR#|@Qn}y#r8Q5LGw5#z zYknrzd_ie{Z6u=7U>;K}=@?c}0XT7%2LSCo!0t_NcyC#;_+hKAt7&}Kx0lw2`H0ys zl!QMHi}xD`92}nbAOrJnhP+`9h5SKtZ*{5O&vO98lQbnGbC5rdHQGVzfO#kDR5g!_ z$H38vVw_pt$tYOFcd05!r#Zm&Imzkw@$}%W!p@^`gmgBim`)M>*5}red_jlC0dI8% z4Fa#)9p;rpVEmy52g+D=+;UDjgNn-1K0BWaNq9W#h#gQ!HgN=-k1R(`fRJ#!f!jTP zQiJ10vEiFrv@0$CjAUkmW2XCk<&H>33;;MCMt#Qzb4%B?TiZpsiq&xe60=FXE(hHV zxyL6Q1<8+9Lukc-%+X>7~1DlKObyeh>=1CYQE zEaZ@LxB@eZ=(O*Owi>+cZo1=I>T1!vcGG|)lpK<~vIaJty-s>{BEBBb{{U)F80dG` zakq!Q%(8C#JE|39v~J$pf!cBxow&|0de)|&@#1-WF>k5r?-aU#l0WoYxuS@q<}lu3 zg#c~gFbLp~I#)e@0C0T#tCyjz3{__n>8}v{UyjSiK3=J+eUigZV?2|Iqbw#3#$y-_ zlIL*;fsEr7%KSt9v^3pT8;I|&+DY}Op4DeIi4$xp6&*I@Z3;1vGs(y&gUt8_&evPh z)M_wk^IB^1nOZVb`E4TYlWqYafl|P!#z3zY__^?+ZxMLcN$`wbCDLs54-L7yj%!$F zbyz0dwilO>(xb=&aHWAKCm0@%O~Uv}lW?f{TtnN+t7>fZ-`W@UrPse_?H5PXY;0}y zZAR!rZ*S$=w7+YK5kcNS3^R~2M{X2nBbCtpJzd@DUvAWVIdyAwsL1JY71BIn&B89w z6l9f9Pf|(FN#d{Qz6;cJ-7iMDz1E&fojMOLHMWvN6r4Ks(#_r)BC5{V=Nfd4QutwmmxN>qB51CKUWyRuG@y?%V4!LD@aU4(QK?RwW ziSu*Aus<$(o~!h5jAU{6(W_uW=5Y6}$oo7D&eO0s?`6kYJOZN#U|c$*f-$ z_>KH0;zZFb<6jVI_q^N94T>vS{J0Av7Gm55QYn(fLx`f>`&4Z_b;qwHdR7L7@Y)@J##*(8zj=9Y{+aT{Fd{2cf_BOu z=4U+Pa^-l(2Bh)-0D)|^PZU_Ei8TKJ5a|B^V~onyw=oN0ca5pJcMa{1Ps)4t$gRJE z{tMH7B5D`&-1w3ezlt+yY;`4jsP5%(;Z{jwa?0p2_s1X-MgTS6PK={U(386`o?TKq znVu;4MSV7nsao1S z9e_OWP&V)m-+cA0iM8jlx4c8H+URyNyh@QZfz;ag0^6AjZSuj-2YVa?^Ko8df8h@j zUu$}d34f>^J}G4oK{c<~<(XPSyA$S+D&S->W4k%VM;*9q9wouLld>YdSvf~WcUtem z0paZ_T38cL)1rh)ZFZ9w;<{xY!5|$8+6sY=8`QDoEc6@i7>M4>Zj*a%r_8yH$IPzh z0J5`i2|c(K>An;AcjGNL;aA(WYx^tz01n3TTIu$87fW$9thwdbFeM3Y$}oAr?^%8w z_KY)OD6O47w+RB~P?s;;{Dn*?Ap1*A*t!os^ zt0tPttR&qdT)uhA9A`UJ0x&@K&1xMlNby#Wb!&HH{h#)iN1AAZF?hgS_a-xd0KhoU zJ!>MD@itOx{Dwz~AK%0)vD6J^3RQm3ncc)ZDCaR?D0n*_rVF06@`WI+)QlR+`59F+zsr z%!!ZzQe0rD!8zIp$RvO&Uk~`C=)N9kW7D+@3%M>G*jdPKXOJ9ZxeiZEZeAY;rZZ8; z@HW%I8s)~JCZ(pEr5j+=4VnF#6jie9=1Ez7F0Ts?!{9S8JW6iSD^*ti?30ioj zV>11fh66_O<2ze%!5cup7(5f%3Q)whqVBtztOqmD=`DUbS=#DLYT9E@c?``f?uTPr zyOswk!ypaI&<(i8O<&diJ@{u#ypY^#T7+eh66!c&W>|gHGLkYl&rBb2USAE*iab~2 zU1wX>qPVtwMgt|qszG^;cq7IUJI;Qpd#8SZQ|+7PoJ#THEjPqK?&X zwt;}2X8!=*r^*1~NdR@`y1%gKPu`BElF41Jj)TPi02jPP;tg8x=zde%8^LAY}jW5ihg6K)!4zctk(VUI%n2ug8Adta)(46# ze1D|)e%)Hy?8yYt#rxS~jujiX?Q&lyaRZeqK4Fv2D+A({*01qHU$&1{wwp(m-Go!Z z_od!#g#FcL#{glAV4NOFuWu>9QH?uPmaA2%czi4tvU;Aar+6bu@y~@UEcJg5SUu&v zw2pNcWkW5~`GO=sRDf7~pagTsCmA)zc)Q?6o#6Y6AM8ygS=FtGxP3y>>RW+6K6X`) zfK+pm4svU&)xH4SYd#>c{>HMBeH9~V?k!@tVQBJ(MGh7IVhCvo#|WO=H$b+<#=rBPdy{U`qb zgJ3i(tpiB-&a>UE>dg8qsOHvNW(B{rScAPlU^Br{iYtHq4aC=Pbv+~E#Cn&MH6%?A zSwd;QV#2y!l?8f|q%x9ER5VxVbaN=wf|}}fC87AgcdE;(*`=cFYs<@&WSNOyn4g%E zc-q5|I`Au@@LsQ~c-O=_UX8EX>35oHvpKVdSr#dP1gvGYXFaZp?G}+Tz}BxY8QQydhbX8@E=rtA3FT`;!qMm+2M>PQMwPF~ z{%6=5Q(fO;#JMB_&e~c?13Hd++6_4S+*a!B5m&UKDUHlIC!Khi}38SCGI*qv?9B)u#1&QS2Z}AR2 zFsXyZHq>C!^kQwxbaVPYjLw;&R+F5_cLfl=Yn{K-&8&sT{BnlHjSrhuPh?hPLZPDB4eGw3EDBW zKpD=%>ytxA@CS%~AYN&!s7<44IyKYD40eGSTy6+NiU?NP7oOmJ!xi**!;knTe~#^9 zlUea6!M}`p?fasAB;-0chV5JT(W1E@r>GEdq&NaAnw~&e6M$#AlD-IIp2Be_(%% z6TFW%z(0&PI*Yt%Z#145)izi}BMQqHlH8^;3Bk`(R&M_QU{8)834Bm4Y<>#-RMxb# zwh1MocryNBchO94qAjI=h+qt3-nDe9^Qlv&)AVDqx#Hgo{tozm!glwXWZHP~eyMdC z7GqDEYftR=Pzi0=`Iqkxt|}i7d^^;%`ENhrA-fQ1nmgj}O`XbKOBX`Q8>v%~oP)^x zePc=Z9s5l|;H^Ql4}kvw8~iuoN$!{IpJ@1hsNBir7JMMMctR?n#@{hU0R)oVh^&9$ zoZqw$i@XAFHD83^8ZNv`d45guP2mfhX?CzyEMIQf6fwZsMlrzPlb$0l#JIUQKe*Eo z8ginXcRY*17XAtG7m00jt3MCVX&$Y4i+hW!hnEgODY&YF7Z^Y5J#*BGcf_4G_rtn2 ztEb<+mEN&us3JMHk8?C=o4n2B258AS0l47fImq;n_+g*gKf+T>4u$Yn;+Bo2Z26&+ zz#5hOvL-TPIDmuBFhS0JFBgF0=#}ejL2Af&!aTHj*`oGa%ZhE0WuJ z&u>1|{{Ule+D<=-e`V4C0B5g=`elrethaMR;B8y%*AgiodwgYEBnBfNPL+lqhOsH~ z@;k3nSBK=MXfuQGjosw>mHm#ex;Sfl8E$2=u^Srg04i_@3JD}PPR6_47sNVltEOpo z5$F%$eNRYu;gN)bXoO}mV=e`(C{;wQr^!{YCQzZ%{_9%5U+56GI5 z$O+2%klAi@>H%!F4+TdRu3?o`jBep4-Y>MD;*W0VqGDKBRVQs1m!`5m}? zJt`EhQc2wSuj4n1d|B|b;RG6Pk8g8lbN0z?wRL&bwoD|EP^@K(5K);)#yD?cdH(2kCxFMVD`RmlP9G)|Z`)npp`>slq@7DHY`#d{ZGLOekj526e@Mv*p zcj+C}5YCdMv8>DH=aj=SZQBbGyQv<7EATtVYjLXB=#8gppV@bixtW6m zV%}y~U@f?jx1k`{sd$h63A_75>UQHswfHUZ6GGDMZlJllXnZNCO?9Z2-v0pW)d<*! zk1a>b@}9Y`Q1GYx6FcI6gRG?0wGV|K6E#^QvW;Q3{{Vze`bJWY9h4zPU>I%~#z7#A z0!4Y)%&Jtd?i6Ufe3^wzJu6-<97^d|%i;#Jn^B4EqcUBsrOoT4pDO&xydygT1{aKH zzdY0N#QGM6q-j@{w>ngMy~K(nwDZKwkrWCxv5YCnCxG1-*A=Pp8}?8Aqx9Pk?5VyB z{8iO#tWdRt+CPD>;gq3Mh*{PENf;Ps1gUNb$2i(2{1f-%^}mEApHuh~@h0t{#K|B0 zA=k}!D-5dR_dh9I@wWtw^Xu~w;k;x0?BMkBXC1xm&pq*#w~OpNL;a~?WU=YmYeT3D z+kopmvVs}WMjR>L$7{0Vfu5vSW26mN#y&fJe?`<_zPD_(t(sif+fOds?@h}pxj6@t zi<}LhcJ(h4e#UUm z1o-&HsA(25-+UPOv|YyOBmV$}d8tn;N%vS5Xwza4qZv}z#!2HIh957))Q2rv4^Jj^ z(wsig=2QODab4?jSy}j7Q`R*RbY46AiKJMdjo3z2f)d1nyb!^G$vcH}KNbG~Xsf>k z>oV!uU5&)nQ*B0t5&q1oxN{_AWro(=KKH34=Z~iK{{YxO16B9Gx`#(g$T7R{x! zlH0y(~UhqwjkMZn`q(DsN-KEdDatUHDC2?&|h5h9p?0iC##PcGI+nIS9;* zGsoZKBZbiTP4NT3!^LpvvPY}wuLZB065CuXV{-u8705ne3>mP+3B~~=oiHw`aq#luI4zWCV#KR&$>eSaB<%zdj8{+MAJ`}2hsCCwUvGq; z61*jQdak;Ton_z~#aAbhu$TcUfkI)-{iE+Lf7-@D*B6kt6x1Kw zO<2)=P7}jk0@Sp9Gg#NZwo_Zvt#6I3<+_HHOA8QJ=Z%5LR~Q*MJ;=s0{v_-F0NDC| znI5}or^BRLY!RlNZwyzk4TZo*-t0J3&zJ$guI3Ne!{gqeq`r%7@KfS`gQw~@2`tw` z!1|h8yeDs%u2Lrvzsf#j8;(Hezcku+>?`7}2gEZ&dGG_{&xkCVXy5HA;H_aU;=v5z zUP~~ANgji@P%&JUav8X}@;|sGLX5TMMPCkhg2!6$x@tRQxsFr|3^GWuxI(=SK2X_U zNyl-MsbTxZ2dQYt1L@922d--0vDd{-8s^^H zO867;f*%bejL8h%7QVWjfk2~vAq5Bk-~~MWa5+6+{t5ZLUqdZzTZ+cwMLr39lzlOdd?9_Z^ zeW^t>@EO+OUu(Pa36KTd)q3vr>yT@l(mYe)Uk1slU1;|Y4wrWCY=PMfj{C8l-+eL$ zbA}%(f<|kr@c#hpJ@KUKnlx7*3BD}8pJ?j0jcwq&`zCOwb21@^%fpgR3LIwxpfvA^ z-|$cG9clWl_ld232K;W-Z|)>tu~^%9TKyxm1&DIP$|aj=>(FA9ay(RK;V4VW(PizS ziQ_AO?4Jci;=N<+dWF1~Xnxvt04KPCzTkNB#9_*f!)V)#kCv-xzY=f$#Ik7c#|7ll zA3D{?naJehZ_Mlt2>N{8FnX;|_9Xbz<1YZ8?H_~R6NaGB>`5f>W%EwYyo|8&al(e< z7$Jsw)K*{cPCtqEy6jq={{VnKGqG0@+CG=z9b(pPE>zsUUT)dk>oMb?3~lE4jL;ijOP zb@+0gWa$}&6-eciGb;n0Pj0&WD~X(K4sW@gbHY1X5-@aYq|-H7Eo`r??3#I`^6ZN+ zi_GDOi-WyDIRKtG+y!d;{@Z1^VbDekG$aAp87M1&}rJ_8b`%_ zOn}Ex)2%HQb&c*dIo3ZS;iFx+3RtSK`FD|mbDl>R^^b_7@f|kuB6# zvuYMLrFXcFOt>U&8v`LH_72u#By8t{{RC%BHvszG6w$uiX&9=2?9SW%nJ`JH_Mkf zW*}#!IB;jaoT$t0VvY_wwqV}tH~uiQw%2q!-B(t(x|(R76|h*1n}tUpu3rZS0kij` z&P8P1>pI4-tmwA-KBwUu>%^GNKA-2sZGC6kYcC9B030%@1TyD1z}@gi>`n2a-%z^J zZoU`%dD67lVhN{R>E8}+l1U~k9h%^n*K(K64($HqFQiSdJ2 z@W+Z9P}VJVYk#(0Tifal7`sd?hisEZ`%1_LN|Dd$kKx}C=-OY4Z#8K&nJo~{HLOO)YU&+l;g`itLs7rE-j@yFOSv{9GZsfF z2>Eg4@)M{(balF)vscEw4@8BmJ_7teTi+-=kRJiw>{c=sLI{H!l`yVo z018{;R2S1mVK*`O8&SVpAL4zn?v2108+vXddCmu&_|yIg{{ZpM&g1Qk@Vny%t2OlB zVwqFH8nxKBgXYYNWrKSB$03I!j>Dg01(o7GpDd|AnrBnPQ|0)Pz+HSo)P5Y@L8NNp z*I5=M$nd~f32e8Q3Fl4xF3vCCs;adjQz zI0i;j0yffi{G*^#!8Pb3{t18a4r%SI0nMfHfPKuO9@T+^wq1l6&Oj zb>|hM2kZgypIWrjlSl9;#LX7!S&X`rn!m!GWud$B$L^DhX;`4kV}9P9vtEWDC569x zMg78#8k*{l9MmoCb>D{3c-u?W{6(WXNNnV}T}J9uKt5R=;uianHvpvqGr#FYSD|eniT>`|o-uPS<7%hi9Rs9S0F8!lzyhh$2Ux0oqPq8^gvK|Y( ziW|f+fTCD71eH*+{snK8klE_7{69+(O+iy?-bQtD{5@Zdp`I(zbt^v}JenldJ}b7= z);Usr1l--+>CYkDSi|Iz68+=2kfdYf3~(j*t>OEPXH3*?{=uW#OJEjlLMctInKjr@ zH@Zd+$2jT^6yuSeYtnpq`yu>W(C5>9PvIYgpAfW-X4gn@J&u#$t!C2RW@bKQERM2# z$7yg-u3UkDq}Ls;e#rj-9BrD;>s|OM@e{>Yy2ZlYw5i}dSMAn*W*O2;rA^ovz=@8< zA1(+2ynpN#mo+L<)1{fr@ECY}Cz)M%>MsgOZDHaGr?9+`w04&;q5l9>R}pVl+VQL8 zjlNop0y+?DIy*C_-pOaC-C99wEx9&!&|1Uxm}K%s=`)2~Ze6)-k+^rodvC=L*i+&r ztER~h{3>sXnvLwXu&RBlz#7%WF{~ggafgjgBoX|ex;mV;O84X-{{Vt<{A-g)FAu>F ziI+Ns+1hR{G%ZTeEL#XjML-(>$Be2f^TENcydFVTElv@VPjzNvI#G_tmYqef{BfyU zx7kjjsunx8WVVJ}f`4?re#r(vBy{%Xx-;Sn+use@Y1-bG6}8o*4|5+Fq+qyd#y zD9yNzy!ANZwC=y)oqrp=HK*BW)BG0r!>>thB#vvr;hj_}hEP63hHf_Tv@UbVu9Har z0D^RURl?C{?grAioglA;GD&YO%PfGQx--2gU_;PiLw8z&i zrC+p-M^bq0%w>Ogz$cZEN)v`HfsaxtbidgX<8OuhUu|i7`!f7g)pXlg10a#iElD_R9i)J80mg8t;@{av_M_Ak#io28__ZFM#a*CZ4C*%iP}%dS+X@!l$UJg- z^{0&C$v7oKEqsB|i_so=@z-0@6T$XZk{g@NY7&7zdQ~A2kT60aX3piv9Dp;yCmlb7 zZ(HMshU1j!(cL|u5yf-%mWi;0GXh8eo>_80IVU9KSD@&>uphs zN|M@3g=o+fB_!H+41+qY#9~U&AwoP?BmR=venI~=Y+nI)-;yDiTHvxfx9C*MOIL#G5 z{1Erxzr_Cl0eFYw4!Q9!PVp6$=ZPfJ7S*+_KIYcqZy;W)oXns&#F6r!k5Q7o(=5YR Nh87T#cSi8o|Je+vYkvR$ 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 30db71bb..c5b34eed 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,3989 +1,563 @@ { - "src": [ - "testability/pages/Index", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0001", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0002", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0003", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0004", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0005", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0006", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0007", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0008", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0009", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0010", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0011", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0012", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0013", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0014", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0015", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0016", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0017", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0018", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0019", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0020", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0021", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0022", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0023", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0024", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0025", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0026", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0027", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0028", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0029", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0030", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0031", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0032", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0033", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0034", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0035", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0036", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0037", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0038", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0039", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0040", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0041", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0042", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0043", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0044", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0045", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0046", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0047", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0048", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0049", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0050", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0051", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0052", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0053", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0054", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0055", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0056", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0057", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0058", - "testability/pages/ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeature0059", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0001", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0002", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0003", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0004", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0005", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0006", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0007", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0008", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0009", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0010", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0011", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0012", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0013", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0014", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0015", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0016", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0017", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0018", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0019", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0020", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0021", - "testability/pages/ComponentTextRicheditorWordbreakTest/ComponentTextRicheditorWordbreak0022", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0001", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0002", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0003", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0004", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0005", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0006", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0007", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0008", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0009", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0010", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0011", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0012", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0013", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0014", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0015", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0016", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0017", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0018", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0019", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0020", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0021", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0022", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0023", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0025", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0026", - "testability/pages/ComponentTextRicheditorCustomColorsTest/ComponentTextRicheditorCustomColor0028", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0001", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0002", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0003", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0004", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0005", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0006", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0007", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0008", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0009", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0010", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0011", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0012", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0013", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0014", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0015", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0016", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_157", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_157_029", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_429", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0017_429_005", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0018", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0019", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0020", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0021", - "testability/pages/ComponentTextRicheditorLongPresstoselectallTest/ComponentTextRicheditorLongPresstoselectall0022", - "testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0001", - "testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0002", - "testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0003", - "testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0004", - "testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0005", - "testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0006", - "testability/pages/ComponentTextRicheditorOnWillChangeTest/ComponentTextRicheditorOnWillChange0007", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0001", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0002", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0003", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0004", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0005", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0006", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0007", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0008", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0009", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0010", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0011", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0012", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0013", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0016", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0017", - "testability/pages/ComponentTextRicheditorCustomkeyBoardAvoidAnceTest/ComponentTextRicheditorCustomkeyBoardAvoidAnce0019", - "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0014", - "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0019", - "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0020", - "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0021", - "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0022", - "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0023", - "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0024", - "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0025", - "testability/pages/ComponentTextRicheditorLineHeightLetterSpacing/ComponentTextRicheditorLineHeightLetterSpacing0026", - "testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0001", - "testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0002", - "testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0003", - "testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0004", - "testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0012", - "testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0013", - "testability/pages/ComponentTextRicheditorKeyboardReinForcingTest/ComponentTextRicheditorKeyboardReinForcing0015", - "testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0006", - "testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0007", - "testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0011", - "testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0012", - "testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0013", - "testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0014", - "testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0015", - "testability/pages/ComponentTextRicheditorUxConformanceTest/ComponentTextRicheditorUxConformance0016", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0010", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0020", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0030", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0040", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0050", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0060", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0070", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0080", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0090", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0100", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0110", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0120", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0130", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0140", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0150", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0160", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0170", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0180", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0190", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0200", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0210", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0220", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0230", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0240", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0250", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0260", - "testability/pages/ComponentTextRicheditorAITest/ComponentTextRicheditorAI0270", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0340", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0350", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0360", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0410", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0420", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0430", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0440", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0450", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0460", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0470", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0480", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0490", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0500", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0510", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0520", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0530", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0540", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0550", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0560", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0570", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0580", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0590", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0600", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0610", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0620", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0630", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0640", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0650", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0660", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0670", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0680", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0690", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0700", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0710", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0720", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0730", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0740", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0750", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0760", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0770", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0780", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0790", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0800", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0810", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0820", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0830", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0840", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0850", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0860", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0870", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0880", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0890", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0900", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0910", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0920", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0930", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0940", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0950", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0960", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0970", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0980", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface0990", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1000", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1010", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1020", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1030", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1040", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1050", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1060", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1070", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1080", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1090", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1100", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1110", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1120", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1130", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1140", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1150", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1160", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1170", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1180", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1190", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1200", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1210", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1220", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1230", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1240", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1250", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1260", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1270", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1280", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1290", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1300", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1310", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1320", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1330", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1340", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1350", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1360", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1380", - "testability/pages/ComponentTextRicheditorInterface/ComponentTextRicheditorInterface1400", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0010", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0020", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0030", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0040", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0050", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0060", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0070", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0080", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0090", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0100", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0110", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0120", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0130", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0140", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0150", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0160", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0170", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0180", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0190", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0200", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0210", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0220", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0230", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0240", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0260", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0270", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0280", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0290", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0300", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0310", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0320", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0330", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0340", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0350", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0360", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0370", - "testability/pages/ComponentTextRicheditorShortKcutKeys/ComponentTextRicheditorShortKcutKeys0380", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0001", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0002", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0003", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0004", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0005", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0006", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0007", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0008", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0009", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0010", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0011", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0012", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0013", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0014", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0015", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0016", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0017", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0018", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0019", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0020", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0021", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0022", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0023", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0024", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0025", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0026", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0027", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0028", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0029", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0030", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0031", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0032", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0033", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0034", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0035", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0036", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0037", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0038", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0039", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0040", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0041", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0042", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0043", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0044", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0045", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0046", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0047", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0048", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0049", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0050", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0051", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0052", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0053", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0054", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0055", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0056", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0057", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0058", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0059", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0060", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0061", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0062", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0063", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0064", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0065", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0066", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0067", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0068", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0069", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0070", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0071", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0072", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0073", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0074", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0075", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0076", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0077", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0078", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0079", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0079_932", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0080", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0081", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0082", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0083", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0084", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0085", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0086", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0087", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0088", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0089", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0090", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0091", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0092", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0093", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0094", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0095", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0097", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0098", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder0099", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00100", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00101", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00102", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103_040", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103_040_934", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00104", - "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00105", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0310", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt001", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt002", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt003", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt004", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0050", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt007", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0080", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt010", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt011", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt012", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt013", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt014", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0150", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0180", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0210", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0240", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt027", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt028", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt030", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt032", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt033", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt034", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt035", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0160", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0190", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0220", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0250", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0170", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0200", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0230", - "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0260", - "testability/pages/ArkUITabScrollable/ArkUITabScrollable001", - "testability/pages/ArkUITabScrollable/ArkUITabScrollable002", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont005", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont007", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont008", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont009", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont010", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont011", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont015", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont016", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont020", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont001", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont003", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont004", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont006", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont012", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont013", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont017", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont018", - "testability/pages/ArkUITabsLabelStylefont/ArkUITabsLabelStylefont019", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor001", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor003", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor005", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor007", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor009", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor011", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor013", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor017", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor019", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor027", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor029", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor012", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor015", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor021", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor023", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor024", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor025", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor026", - "testability/pages/ArkUITabsLabelStyleSelectedColor/ArkUITabsLabelStyleSelectedColor028", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor001", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor005", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor008", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor011", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor012", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor017", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor021", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor022", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor025", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor026", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor027", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor028", - "testability/pages/ArkUITabsLabelStyleUnselectedColor/ArkUITabsLabelStyleUnselectedColor024", - "testability/pages/ArkUITabsVertical/ArkUITabsVertical001", - "testability/pages/FunctionJichuWaterFlow/FunctionJichuWaterFlow001806", - "testability/pages/FunctionJichuWaterFlow/FunctionJichuWaterFlow0350", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0080458", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0090321", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0100678", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0110972", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0120725", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0130072", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0140666", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0150827", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0160890", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0170444", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0270011", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0280056", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0290223", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0300414", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0310330", - "testability/pages/UIComponentListAndGridWaterFlowAdd/UIComponentListAndGridWaterFlowAdd0320534", - "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0370", - "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0380", - "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0390", - "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0400", - "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0410", - "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0420", - "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0500", - "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0510", - "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0520", - "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0530", - "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0540", - "testability/pages/UIComponentListAndGridWaterSections/UIComponentListAndGridWaterSections0560", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier0370", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier0380", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier0400", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier041", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier043", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier044", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier045", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier046", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier048", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier053", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier056", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier058", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier060", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier063", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier065", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier066", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier0770", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier0810", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier083", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier0840", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier0860", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier0900", - "testability/pages/UIComponentNavModifier/UIComponentNavModifier0920", - "testability/pages/UIComponentNavTabsAction/UIComponentNavTabsAction0011", - "testability/pages/UIComponentNavTabsAction/UIComponentNavTabsAction0012", - "testability/pages/UIComponentNavTabsAction/UIComponentNavTabsAction0030", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0010", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0011", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0012", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0013", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0014", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0015", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0016", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0017", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0029", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0030", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0031", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0032", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0033", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0034", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0035", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0036", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0038", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0039", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0040", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0041", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0042", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0043", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0044", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0045", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0046", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0048", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0049", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0050", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0018", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0019", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0020", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0021", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0022", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0023", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0024", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0025", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0026", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0027", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0028", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0047", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0051", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0052", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0053", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0060", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0080", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0100", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0110", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0160", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0170", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0180", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0190", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0200", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0210", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0220", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0230", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0240", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0250", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0260", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0270", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0280", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0290", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0300", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0310", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0320", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0340", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0350", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0360", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0370", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0380", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0390", - "testability/pages/UIComponentNavTabsBlurStyle/UIComponentNavTabsBlurStyle0400", - "testability/pages/UIComponentNavTabsCachedCount/UIComponentNavTabsCachedCount014", - "testability/pages/UIComponentNavTabsCachedCount/UIComponentNavTabsCachedCount015", - "testability/pages/UIComponentNavTabsCachedCount/UIComponentNavTabsCachedCount016", - "testability/pages/UIComponentNavTabsHeight/UIComponentNavTabsHeight001", - "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0010", - "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0020", - "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0030", - "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0040", - "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0060", - "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0070", - "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0080", - "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0120", - "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0130", - "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0140", - "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0150", - "testability/pages/UIComponentNavTabsImproTrace/UIComponentNavTabsImproTrace0160", - "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0010", - "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0030", - "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0040", - "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0050", - "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0060", - "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0070", - "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0080", - "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0090", - "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0130", - "testability/pages/UIComponentNavTabsInterception/UIComponentNavTabsInterception0150", - "testability/pages/UIComponentNavTabsInterface/UIComponentNavTabsInterface012", - "testability/pages/UIComponentNavTabsInterface/UIComponentNavTabsInterface1190", - "testability/pages/UIComponentNavTabsInterface/UIComponentNavTabsInterface1220", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0030", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0070", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0090", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror010", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0110", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0120", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0130", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0140", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0150", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0160", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0250", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror0260", - "testability/pages/UIComponentNavTabsMirror/UIComponentNavTabsMirror080", - "testability/pages/UIComponentNavTabsOnWillShow/UIComponentNavTabsOnWillShow0190", - "testability/pages/UIComponentNavTabsSubTabbarStyle/UIComponentNavTabsSubTabbarStyle0010", - "testability/pages/UIComponentNavTabsWidth/UIComponentNavTabsWidth001", - "testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0040", - "testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0050", - "testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0070", - "testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0080", - "testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0090", - "testability/pages/UIComponentOtherRefreshAbility/UIComponentOtherRefreshAbility0100", - "testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0380", - "testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0390", - "testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0400", - "testability/pages/UIComponentOtherRefreshInterAction/UIComponentOtherRefreshInterAction0410", - "testability/pages/UIComponentOtherRefreshInterface/UIComponentOtherRefreshInterface0140", - "testability/pages/UIComponentOtherRefreshInterface/UIComponentOtherRefreshInterface0170", - "testability/pages/UIComponentOtherRefreshInterface/UIComponentOtherRefreshInterface0180", - "testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0040", - "testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0050", - "testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0060", - "testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0100", - "testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0110", - "testability/pages/UIComponentOtherRefreshPromptText/UIComponentOtherRefreshPromptText0120", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0010", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0020", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0030", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0040", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0060", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0070", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0080", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0090", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0110", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0120", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0130", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0140", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0150", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0160", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0170", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0180", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0190", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0230", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabBarSymbol0260", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabbarTabbarsymbol0050", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabbarTabbarsymbol0240", - "testability/pages/UIComponentTabTabBarSymbol/UIComponentTabTabbarTabbarsymbol0250", - "testability/pages/UIComponentNavTabsEdgeeffect/UIComponentNavTabsEdgeeffect0230", - "testability/pages/UIComponentNavTabsEdgeeffect/UIComponentNavTabsEdgeeffect0270", - "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0090", - "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0010", - "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0120", - "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0050", - "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0080", - "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0070", - "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0060", - "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0040", - "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0030", - "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0020", - "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0100", - "testability/pages/UIComponentNavTabsExpandsafearea/UIComponentNavTabsExpandsafearea0110", - "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor001", - "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor004", - "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor008", - "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor013", - "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor014", - "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor022", - "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor024", - "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor025", - "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor026", - "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor027", - "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor028", - "testability/pages/ArkUITabsIconStyleSelectedColor/ArkUITabsIconStyleSelectedColor029", - "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor002", - "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor005", - "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor014", - "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor016", - "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor021", - "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor022", - "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor024", - "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor026", - "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor027", - "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor028", - "testability/pages/ArkUITabsIconStyleUnselectedColor/ArkUITabsIconStyleUnselectedColor029", - "testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor002", - "testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor005", - "testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor008", - "testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor011", - "testability/pages/ArkUITabsSingleUnselectedcolor/ArkUITabsSingleUnselectedcolor003", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0010", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0020", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0030", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0040", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0050", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0060", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0070", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0080", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0090", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0100", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0110", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0120", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0130", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0140", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0150", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0160", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0170", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0180", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0190", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0200", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0210", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0220", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0230", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0240", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0250", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0260", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0270", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0280", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0290", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0300", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0310", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0320", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0330", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0340", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0350", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0360", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0370", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0380", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0390", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0400", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0410", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0420", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0430", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0440", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0450", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0460", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0470", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0480", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0490", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0500", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0510", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0520", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0530", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0540", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0550", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0560", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0570", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0580", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0590", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0600", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0610", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0620", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0630", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0640", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0650", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0660", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0670", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0680", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0690", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0700", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0710", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0720", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0730", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0740", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0750", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0760", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0770", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0790", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0810", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0820", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0830", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0840", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0850", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0860", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0870", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0880", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0890", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0900", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0910", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0920", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0930", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0940", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0950", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0960", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0970", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0980", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0990", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1000", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1010", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1020", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1040", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1050", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1060", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1080", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1090", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1100", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1110", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1120", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1130", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1140", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1150", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1160", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1170", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1180", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1190", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1200", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1210", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1220", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1230", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1240", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1250", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1270", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1280", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1290", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1300", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1310", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1320", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1330", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1340", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1350", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1360", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1370", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1380", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1390", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1400", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1410", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1420", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1430", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1440", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1450", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1460", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1470", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1480", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1490", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1500", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1510", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1520", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1530", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1540", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1550", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1560", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1570", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1580", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1590", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1600", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1610", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1620", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1630", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1640", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1650", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1660", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1670", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1680", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1690", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1700", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1710", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1720", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1730", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1740", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1750", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1760", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1770", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1780", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1790", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1860", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1870", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1880", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1890", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1900", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1910", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1920", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1930", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1940", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1950", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1960", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1970", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1980", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1990", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2000", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2010", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2020", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2030", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2040", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2050", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1800", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1810", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1820", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1830", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1840", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1850", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2060", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2070", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2080", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2090", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2100", - "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2110", - "testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0520", - "testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0010", - "testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0020", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0040", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0820", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0830", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3160", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3300", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3310", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3330", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3340", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3350", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3380", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3430", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3450", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3460", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3500", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3510", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3390", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3520", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3530", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1010", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1030", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1040", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1050", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1180", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1190", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1210", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1220", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1230", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1260", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1270", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2910", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3030", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3040", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3050", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3060", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3070", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3120", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3130", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3140", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3550", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3560", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3570", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3600", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3610", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3700", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2180", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2190", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2200", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2210", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2230", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2330", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2340", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2350", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2460", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2560", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2570", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2720", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2790", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0890", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0960", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0980", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0990", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3780", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3790", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3810", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3820", - "testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0010", - "testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0030", - "testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0060", - "testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0070", - "testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0080", - "testability/pages/UIComponentScrollSwiperDisplaycount/UIComponentScrollSwiperDisplaycount0140", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0610", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0620", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0630", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0640", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0650", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0660", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0670", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0680", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0690", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0700", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0710", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0720", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0730", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0740", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0750", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0760", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0770", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0780", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0790", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0800", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0010", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0020", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0030", - "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0040", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1660", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1670", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1680", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1710", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1780", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1860", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1870", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1890", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1900", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1970", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2050", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2060", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2110", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2160", - "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2370", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent010", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent013", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent014", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent015", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent017", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent018", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent019", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent022", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent023", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent024", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent025", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent026", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent027", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent029", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent030", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent032", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent034", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent035", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent036", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent038", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent039", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent040", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent054", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent056", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent057", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent059", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent060", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent061", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent062", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent063", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent065", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent067", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent071", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent072", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent073", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent074", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent076", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent077", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent078", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent079", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent080", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent081", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent082", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent083", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent094", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent096", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent098", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent099", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent100", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent102", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent103", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent104", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent105", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent108", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent109", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent110", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent111", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent112", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent113", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent115", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent116", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent117", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent118", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent119", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent121", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent122", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent123", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent124", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent125", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent126", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent128", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent129", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent130", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent131", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent132", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent133", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent135", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent136", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent137", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent138", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent139", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent140", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent143", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent144", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent146", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent147", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent149", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent150", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent151", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent152", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent153", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent154", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent156", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent157", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent159", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent160", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent162", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent164", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent166", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent168", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent171", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent172", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent173", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent174", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent175", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent176", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent177", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent178", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent179", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent180", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent181", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent182", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent183", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent184", - "testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange001", - "testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange002", - "testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange003", - "testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange004", - "testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange005", - "testability/pages/UIComponentSpecialComponentsUIExtensionComponentPopupChange/UIComponentSpecialComponentsUIExtensionComponentPopupChange006", - "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow012", - "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow013", - "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow014", - "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow016", - "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow017", - "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow018", - "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow020", - "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow021", - "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow022", - "testability/pages/UIComponentPopupBoxSpecificationsShadow/UIComponentPopupBoxSpecificationsShadow083", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor092", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor093", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor094", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor095", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor096", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor097", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor098", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor099", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor100", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor101", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor102", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor103", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor104", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor105", - "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle051", - "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle052", - "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle053", - "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle054", - "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle055", - "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle056", - "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle057", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic004", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic008", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic009", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic013", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic019", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic020", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic022", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic024", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic025", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic027", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic028", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic030", - "testability/pages/UIComponentButtonRadioLConic/UIComponentButtonRadioLConic031", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications058", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications059", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications060", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications061", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications062", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications063", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications064", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications065", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications066", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications067", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications068", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications069", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications070", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications071", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications072", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications073", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications074", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications075", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications076", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications077", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications078", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications079", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications080", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications081", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications082", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications083", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications084", - "testability/pages/UIComponentPopupBoxSpecifications/UIComponentPopupBoxSpecifications085", - "testability/pages/ComponentFunctionLAdvancedComponentsPopupInterface/ComponentFunctionLAdvancedComponentsPopupInterface01780", - "testability/pages/ComponentFunctionLAdvancedComponentsPopupInterface/ComponentFunctionLAdvancedComponentsPopupInterface0178", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing001", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing002", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing003", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing004", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing005", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing006", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing007", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing008", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing009", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing010", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing011", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing012", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing013", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing015", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing016", - "testability/pages/UIComponentButtonRadioCustonmizing/UIComponentButtonRadioCustonmizing017", - "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark001", - "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark003", - "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark005", - "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark006", - "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark008", - "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark010", - "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark011", - "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark012", - "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark013", - "testability/pages/UIComponentButtonRadioCheckMark/UIComponentButtonRadioCheckMark014", - "testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute004", - "testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute005", - "testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute006", - "testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute031", - "testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute032", - "testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute033", - "testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute034", - "testability/pages/UIComponentButtonSelectAttribute/UIComponentButtonSelectAttribute035", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent053", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent092", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent142", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent165", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent167", - "testability/pages/UIComponentSpecialComponentsFormComponentTransparent/UIComponentSpecialComponentsFormComponentTransparent169", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0010", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0020", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0030", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0040", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0050", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0060", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0070", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0080", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0090", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0100", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0110", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0120", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0130", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0140", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0150", - "testability/pages/UIComponentButtonSelectDivider/UIComponentButtonSelectDivider0160", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0020", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0030", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0040", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0050", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0060", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0070", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0080", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0090", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0100", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0110", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0120", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0130", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0140", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0150", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0160", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0170", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0180", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0190", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0200", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0210", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0220", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0230", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0240", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0250", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0260", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0270", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0280", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0290", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0300", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0310", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0320", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0330", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0340", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0350", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0360", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0370", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0380", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0390", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0400", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0410", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0420", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0430", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0450", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0470", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0480", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0490", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0500", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0510", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0520", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0530", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0540", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0550", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0560", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0570", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0580", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0590", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0600", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0610", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0620", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0630", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0640", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0650", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0660", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0670", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0680", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0690", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0700", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0710", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0720", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0730", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0740", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0750", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0760", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0770", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0780", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0790", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0800", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0810", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0820", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0830", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0840", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0860", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0880", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0890", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0900", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0910", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0920", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0930", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0940", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0950", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0960", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0970", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0980", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize0990", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize1000", - "testability/pages/UIComponentButtonSelectControlSize/UIComponentButtonSelectControlSize1010", - "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0010", - "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0020", - "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0030", - "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0040", - "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0050", - "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0060", - "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0070", - "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0090", - "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0110", - "testability/pages/UIComponentFunctionSelectSymbol/UIComponentFunctionSelectSymbol0120", - "testability/pages/demo", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface001", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface002", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface003", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface004", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface007", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface008", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface009", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface010", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface011", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface012", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface013", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface014", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface015", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface016", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface017", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface018", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface019", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface020", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface021", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface022", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface023", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface024", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface025", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface026", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface027", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface028", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface029", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface030", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface031", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface003", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface004", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface005", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface006", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface007", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface008", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface009", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface010", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface011", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface012", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface013", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface014", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface015", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface016", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface017", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface018", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface019", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface020", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface021", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface022", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface023", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface024", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface025", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface026", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface027", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface028", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface029", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface030", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface031", - "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface009", - "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface010", - "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface012", - "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface013", - "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface014", - "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface015", - "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface016", - "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface017", - "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface019", - "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface020", - "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface022", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle085", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle086", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle087", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle088", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle089", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle090", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle095", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle096", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle097", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle098", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle099", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle100", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle101", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle102", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle103", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle104", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle105", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle106", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle107", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle108", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle109", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle110", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle111", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle112", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle113", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle114", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle121", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle122", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle123", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle124", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle125", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle126", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle127", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle128", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle129", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle130", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle131", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle132", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle133", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle134", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle135", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle136", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle137", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle138", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle139", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle140", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle141", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle142", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle143", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle144", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle149", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle150", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle151", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle152", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle153", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle154", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle155", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle156", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle157", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle158", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle159", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle160", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle161", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle162", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle163", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle164", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle165", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle166", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle167", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle168", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle169", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle170", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle171", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle172", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle173", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle174", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle175", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle176", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle177", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle178", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle179", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle180", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle181", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle182", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle183", - "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle184", - "testability/pages/UIAttributePositionVisibility/UIAttributePositionVisibility001", - "testability/pages/UIAttributePositionVisibility/UIAttributePositionVisibility002", - "testability/pages/UIAttributePositionVisibility/UIAttributePositionVisibility003", - "testability/pages/UIAttributePositionVisibility/UIAttributePositionVisibility004", - "testability/pages/UIAttributePositionVisibility/UIAttributePositionVisibility005", - "testability/pages/UIAttributePositionVisibility/UIAttributePositionVisibility006", - "testability/pages/UIAttributePositionVisibility/UIAttributePositionVisibility007", - "testability/pages/UIAttributePositionVisibility/UIAttributePositionVisibility008", - "testability/pages/UIAttributePositionVisibility/UIAttributePositionVisibility009", - "testability/pages/UIAttributePositionVisibility/UIAttributePositionVisibility0100", - "testability/pages/UIAttributePositionVisibility/UIAttributePositionVisibility0110", - "testability/pages/UIAttributePositionVisibility/UIAttributePositionVisibility0120", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle0910", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle0920", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle0930", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle0940", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle1900", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle1950", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle1960", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle1970", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle1980", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle1990", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2000", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2010", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2020", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2030", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2090", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2100", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2110", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2160", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2170", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2180", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2190", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2200", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2210", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2220", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2230", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2240", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle2250", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface001", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface002", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface004", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface005", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface006", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface007", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface009", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface140", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface150", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface170", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface210", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface220", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface230", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface340", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface360", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface370", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface380", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface420", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface430", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface440", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface450", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface470", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface480", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface490", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface510", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface530", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface560", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface600", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface610", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface620", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface630", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface640", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface860", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface870", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface890", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface910", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface920", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface930", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface950", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface960", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface970", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface980", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface990", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface1000", - "testability/pages/UIAttributePositionSizeLayout/UIAttributePositionSizeLayout001", - "testability/pages/UIAttributePositionSizeLayout/UIAttributePositionSizeLayout002", - "testability/pages/UIAttributePositionSizeLayout/UIAttributePositionSizeLayout003", - "testability/pages/UIAttributePositionSizeLayout/UIAttributePositionSizeLayout004", - "testability/pages/UIAttributePositionSizeLayout/UIAttributePositionSizeLayout005", - "testability/pages/UIAttributePositionSizeLayout/UIAttributePositionSizeLayout006", - "testability/pages/UIAttributePositionInterface/UIAttributePositionInterface001", - "testability/pages/UIAttributePositionInterface/UIAttributePositionInterface002", - "testability/pages/UIAttributePositionInterface/UIAttributePositionInterface003", - "testability/pages/UIAttributePositionInterface/UIAttributePositionInterface004", - "testability/pages/UIAttributePositionInterface/UIAttributePositionInterface005", - "testability/pages/UIAttributePositionInterface/UIAttributePositionInterface006", - "testability/pages/ComponentAttributeStringModifyingStyle/ComponentAttributeStringModifyingStyle001", - "testability/pages/ComponentAttributeStringModifyingStyle/ComponentAttributeStringModifyingStyle002", - "testability/pages/ComponentAttributeStringModifyingStyle/ComponentAttributeStringModifyingStyle003", - "testability/pages/ComponentAttributeStringModifyingStyle/ComponentAttributeStringModifyingStyle004", - "testability/pages/ComponentAttributeStringModifyingStyle/ComponentAttributeStringModifyingStyle005", - "testability/pages/ComponentAttributeStringModifyingStyle/ComponentAttributeStringModifyingStyle006", - "testability/pages/ComponentAttributeStringModifyingStyleText/ComponentAttributeStringModifyingStyleText001", - "testability/pages/ComponentAttributeStringModifyingStyleText/ComponentAttributeStringModifyingStyleText002", - "testability/pages/ComponentAttributeStringModifyingStyleText/ComponentAttributeStringModifyingStyleText003", - "testability/pages/ComponentAttributeStringModifyingStyleText/ComponentAttributeStringModifyingStyleText004", - "testability/pages/ComponentAttributeStringModifyingStyleText/ComponentAttributeStringModifyingStyleText005", - "testability/pages/ComponentAttributeStringModifyingText/ComponentAttributeStringModifyingText001", - "testability/pages/ComponentAttributeStringModifyingText/ComponentAttributeStringModifyingText002", - "testability/pages/ComponentAttributeStringModifyingText/ComponentAttributeStringModifyingText003", - "testability/pages/ComponentAttributeStringModifyingText/ComponentAttributeStringModifyingText004", - "testability/pages/ComponentAttributeStringModifyingText/ComponentAttributeStringModifyingText005", - "testability/pages/ComponentAttributeStringModifyingText/ComponentAttributeStringModifyingText006", - "testability/pages/ComponentAttributeStringModifyingText/ComponentAttributeStringModifyingText007", - "testability/pages/ComponentAttributeStringModifyingText/ComponentAttributeStringModifyingText008", - "testability/pages/ComponentAttributeStringModifyingText/ComponentAttributeStringModifyingText009", - "testability/pages/ComponentAttributeStringModifyingText/ComponentAttributeStringModifyingText010", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString001", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString002", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString003", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString004", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString005", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString006", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString007", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString008", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString009", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString010", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString011", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString012", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString013", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString014", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString015", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString016", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString017", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString018", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString019", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString020", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString021", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString022", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString023", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString024", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString025", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString026", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString027", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString028", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString029", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString030", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString031", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString032", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString033", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString034", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString035", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString036", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString037", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString038", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString039", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString040", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString041", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString042", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString043", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString044", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString045", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString046", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString047", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString048", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString049", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString050", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString051", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString052", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString053", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString054", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString055", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString056", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString057", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString058", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString059", - "testability/pages/ComponentTextAttributeString/ComponentTextAttributeString060", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs001", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs002", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs003", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs004", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs005", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs006", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs007", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs008", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs009", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs010", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs011", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs012", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs013", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs014", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs015", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs016", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs017", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs018", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs019", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs020", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs021", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs022", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs023", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs024", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs025", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs026", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs027", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs028", - "testability/pages/ComponentTextAttributeStringConstructs/ComponentTextAttributeStringConstructs029", - "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel001", - "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel002", - "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel003", - "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel004", - "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel005", - "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel006", - "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel007", - "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel008", - "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel009", - "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel010", - "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel011", - "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel012", - "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel013", - "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel014", - "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel015", - "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel016", - "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel017", - "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel018", - "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel019", - "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel020", - "testability/pages/ComponentLayoutCommonPixel/ComponentLayoutCommonPixel021", - "testability/pages/UiTextBrighten/UiTextBrighten001", - "testability/pages/UiTextBrighten/UiTextBrighten002", - "testability/pages/UiTextBrighten/UiTextBrighten003", - "testability/pages/UiTextBrighten/UiTextBrighten004", - "testability/pages/UiTextBrighten/UiTextBrighten005", - "testability/pages/UiTextBrighten/UiTextBrighten006", - "testability/pages/UiTextBrighten/UiTextBrighten007", - "testability/pages/UiTextBrighten/UiTextBrighten008", - "testability/pages/UiTextBrighten/UiTextBrighten009", - "testability/pages/UiTextBrighten/UiTextBrighten010", - "testability/pages/UiTextBrighten/UiTextBrighten011", - "testability/pages/UiTextBrighten/UiTextBrighten012", - "testability/pages/UiTextBrighten/UiTextBrighten013", - "testability/pages/UiTextBrighten/UiTextBrighten014", - "testability/pages/UiTextBrighten/UiTextBrighten015", - "testability/pages/UiTextBrighten/UiTextBrighten016", - "testability/pages/UiTextBrighten/UiTextBrighten017", - "testability/pages/UiTextBrighten/UiTextBrighten018", - "testability/pages/UiTextBrighten/UiTextBrighten019", - "testability/pages/UiTextBrighten/UiTextBrighten020", - "testability/pages/UiTextBrighten/UiTextBrighten021", - "testability/pages/UiTextBrighten/UiTextBrighten022", - "testability/pages/UiTextBrighten/UiTextBrighten023", - "testability/pages/UiTextBrighten/UiTextBrighten024", - "testability/pages/UiTextBrighten/UiTextBrighten025", - "testability/pages/UiTextBrighten/UiTextBrighten026", - "testability/pages/UiTextBrighten/UiTextBrighten027", - "testability/pages/UiTextBrighten/UiTextBrighten028", - "testability/pages/UiTextBrighten/UiTextBrighten029", - "testability/pages/UiTextBrighten/UiTextBrighten030", - "testability/pages/UiTextBrighten/UiTextBrighten031", - "testability/pages/UiTextBrighten/UiTextBrighten032", - "testability/pages/UiTextBrighten/UiTextBrighten033", - "testability/pages/UiTextBrighten/UiTextBrighten034", - "testability/pages/UiTextBrighten/UiTextBrighten035", - "testability/pages/UiTextBrighten/UiTextBrighten036", - "testability/pages/UiTextBrighten/UiTextBrighten037", - "testability/pages/UiTextBrighten/UiTextBrighten038", - "testability/pages/UiTextBrighten/UiTextBrighten039", - "testability/pages/UiTextBrighten/UiTextBrighten040", - "testability/pages/UiTextBrighten/UiTextBrighten041", - "testability/pages/UiTextBrighten/UiTextBrighten042", - "testability/pages/UiTextBrighten/UiTextBrighten043", - "testability/pages/UiTextBrighten/UiTextBrighten044", - "testability/pages/UiTextBrighten/UiTextBrighten045", - "testability/pages/UiTextBrighten/UiTextBrighten046", - "testability/pages/UiTextBrighten/UiTextBrighten047", - "testability/pages/UiTextBrighten/UiTextBrighten048", - "testability/pages/UiTextBrighten/UiTextBrighten049", - "testability/pages/UiTextBrighten/UiTextBrighten050", - "testability/pages/UiTextBrighten/UiTextBrighten051", - "testability/pages/UiTextBrighten/UiTextBrighten052", - "testability/pages/UiTextBrighten/UiTextBrighten053", - "testability/pages/UiTextBrighten/UiTextBrighten054", - "testability/pages/UiTextBrighten/UiTextBrighten055", - "testability/pages/UiTextBrighten/UiTextBrighten056", - "testability/pages/UiTextBrighten/UiTextBrighten057", - "testability/pages/UiTextBrighten/UiTextBrighten058", - "testability/pages/UiTextBrighten/UiTextBrighten059", - "testability/pages/UiTextBrighten/UiTextBrighten060", - "testability/pages/UiTextBrighten/UiTextBrighten061", - "testability/pages/UiTextBrighten/UiTextBrighten062", - "testability/pages/UiTextBrighten/UiTextBrighten063", - "testability/pages/UiTextBrighten/UiTextBrighten064", - "testability/pages/UiTextBrighten/UiTextBrighten065", - "testability/pages/UiTextBrighten/UiTextBrighten066", - "testability/pages/UiTextBrighten/UiTextBrighten067", - "testability/pages/UiTextBrighten/UiTextBrighten068", - "testability/pages/UiTextBrighten/UiTextBrighten069", - "testability/pages/UiTextBrighten/UiTextBrighten070", - "testability/pages/UiTextBrighten/UiTextBrighten071", - "testability/pages/UiTextBrighten/UiTextBrighten072", - "testability/pages/UiTextBrighten/UiTextBrighten073", - "testability/pages/UiTextBrighten/UiTextBrighten074", - "testability/pages/UiTextBrighten/UiTextBrighten075", - "testability/pages/UiTextBrighten/UiTextBrighten076", - "testability/pages/UiTextBrighten/UiTextBrighten077", - "testability/pages/UiTextBrighten/UiTextBrighten078", - "testability/pages/UiTextBrighten/UiTextBrighten079", - "testability/pages/UiTextBrighten/UiTextBrighten080", - "testability/pages/UiTextBrighten/UiTextBrighten081", - "testability/pages/UiTextBrighten/UiTextBrighten082", - "testability/pages/UiTextBrighten/UiTextBrighten083", - "testability/pages/UiTextBrighten/UiTextBrighten084", - "testability/pages/UiTextBrighten/UiTextBrighten085", - "testability/pages/UiTextBrighten/UiTextBrighten086", - "testability/pages/UiTextBrighten/UiTextBrighten087", - "testability/pages/UiTextBrighten/UiTextBrighten088", - "testability/pages/UiTextBrighten/UiTextBrighten089", - "testability/pages/UiTextBrighten/UiTextBrighten090", - "testability/pages/UiTextBrighten/UiTextBrighten091", - "testability/pages/UiTextBrighten/UiTextBrighten092", - "testability/pages/UiTextBrighten/UiTextBrighten093", - "testability/pages/UiTextBrighten/UiTextBrighten094", - "testability/pages/UiTextBrighten/UiTextBrighten095", - "testability/pages/UiTextBrighten/UiTextBrighten096", - "testability/pages/UiTextBrighten/UiTextBrighten097", - "testability/pages/UiTextBrighten/UiTextBrighten098", - "testability/pages/UiTextBrighten/UiTextBrighten099", - "testability/pages/UiTextBrighten/UiTextBrighten100", - "testability/pages/UiTextBrighten/UiTextBrighten101", - "testability/pages/UiTextBrighten/UiTextBrighten102", - "testability/pages/UiTextBrighten/UiTextBrighten103", - "testability/pages/UiTextBrighten/UiTextBrighten104", - "testability/pages/UiTextBrighten/UiTextBrighten105", - "testability/pages/UiTextBrighten/UiTextBrighten106", - "testability/pages/UiTextBrighten/UiTextBrighten107", - "testability/pages/UiTextBrighten/UiTextBrighten108", - "testability/pages/UiTextBrighten/UiTextBrighten109", - "testability/pages/UiTextBrighten/UiTextBrighten110", - "testability/pages/UiTextBrighten/UiTextBrighten111", - "testability/pages/UiTextBrighten/UiTextBrighten112", - "testability/pages/UiTextShadow/UiTextShadow001", - "testability/pages/UiTextShadow/UiTextShadow002", - "testability/pages/UiTextShadow/UiTextShadow003", - "testability/pages/UiTextShadow/UiTextShadow004", - "testability/pages/UiTextShadow/UiTextShadow005", - "testability/pages/UiTextShadow/UiTextShadow006", - "testability/pages/UiTextShadow/UiTextShadow007", - "testability/pages/UiTextShadow/UiTextShadow008", - "testability/pages/UiTextShadow/UiTextShadow009", - "testability/pages/UiTextShadow/UiTextShadow010", - "testability/pages/UiTextShadow/UiTextShadow011", - "testability/pages/UiTextShadow/UiTextShadow012", - "testability/pages/UiTextShadow/UiTextShadow013", - "testability/pages/UiTextShadow/UiTextShadow014", - "testability/pages/UiTextShadow/UiTextShadow015", - "testability/pages/UiTextShadow/UiTextShadow016", - "testability/pages/UiTextShadow/UiTextShadow017", - "testability/pages/UiTextShadow/UiTextShadow018", - "testability/pages/UiTextShadow/UiTextShadow019", - "testability/pages/UiTextShadow/UiTextShadow020", - "testability/pages/UiTextShadow/UiTextShadow021", - "testability/pages/UiTextShadow/UiTextShadow022", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle001", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle002", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle003", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle004", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle005", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle006", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle007", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle008", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle009", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle010", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle011", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle012", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle013", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle014", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle015", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle016", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle017", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle018", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle019", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle020", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle021", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle022", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle023", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle024", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle025", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle026", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle027", - "testability/pages/UiComponentDividerStyle/UiComponentDividerStyle028", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel001", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel002", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel003", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel004", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel005", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel006", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel007", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel008", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel009", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel010", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel011", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel012", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel024", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel025", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel026", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel027", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel028", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel029", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel030", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel031", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel042", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel043", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel045", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel046", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel047", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel048", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel049", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel050", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel051", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel063", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel066", - "testability/pages/UiComponentLayoutCommonPixel/UiComponentLayoutCommonPixel068", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface018", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface019", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface020", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface021", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface022", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface023", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface024", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface026", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface075", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface076", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface077", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface078", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface079", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface080", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface081", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface082", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface083", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface084", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface085", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface086", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface087", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface088", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface089", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface090", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface091", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface092", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface093", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface094", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface095", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface096", - "testability/pages/UiComponentRowcolumnSidebarcontainerInterface/UiComponentRowcolumnSidebarcontainerInterface097", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle001", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle002", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle003", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle004", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle005", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle006", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle007", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle008", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle009", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle010", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle011", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle012", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle013", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle014", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle015", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle016", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle017", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle018", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle019", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle020", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle023", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle024", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle025", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle026", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle027", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle028", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle029", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle030", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle031", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle037", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle038", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle039", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle040", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle041", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle042", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle043", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle044", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle045", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle046", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle047", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle048", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle049", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle050", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle051", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle052", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle053", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle054", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle055", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle056", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle057", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle058", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle059", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle060", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle061", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle062", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle063", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle064", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle065", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle066", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle067", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle068", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle069", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle070", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle071", - "testability/pages/UiComponentTextCommonTextstyle/UiComponentTextCommonTextstyle072", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier001", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier002", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier003", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier004", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier005", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier006", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier007", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier008", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier009", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier010", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier011", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier012", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier013", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier014", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier015", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier016", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier017", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier018", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier019", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier020", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier021", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier022", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier023", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier024", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier025", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier026", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier027", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier028", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier029", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier030", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier031", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier032", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier033", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier034", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier035", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier036", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier037", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier038", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier039", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier040", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier041", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier042", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier043", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier044", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier045", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier046", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier047", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier048", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier049", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier050", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier051", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier052", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier053", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier054", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier055", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier056", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier057", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier058", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier059", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier060", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier061", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier062", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier063", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier064", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier065", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier066", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier067", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier068", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier069", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier070", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier071", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier072", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier073", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier074", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier075", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier076", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier077", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier078", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier079", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier080", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier081", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier082", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier083", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier084", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier085", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier086", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier087", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier088", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier089", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier090", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier091", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier092", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier093", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier094", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier095", - "testability/pages/UIComponentCreateColor/UIComponentCreateColor005", - "testability/pages/UIComponentCreateColor/UIComponentCreateColor010", - "testability/pages/UIComponentCreateColor/UIComponentCreateColor014", - "testability/pages/UiComponentTextModifier/UiComponentTextModifier096", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi001", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi002", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi003", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi004", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi005", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi006", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi007", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi008", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi009", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi010", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi011", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi012", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi013", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi015", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi016", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi017", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi018", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi019", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi020", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi021", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi022", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi023", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi024", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi026", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi027", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi028", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi030", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi031", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi032", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi033", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi034", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi035", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi036", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi037", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi038", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi039", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi040", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi041", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi042", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi043", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi044", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi045", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi046", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi048", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi049", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi050", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi051", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi052", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi053", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi054", - "testability/pages/UIComponentTextCapi/UIComponentTextCapi055", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface002", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface007", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface008", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface009", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface010", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface011", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface012", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface013", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface014", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface015", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface016", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface017", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface018", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface019", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface020", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface021", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface022", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface028", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface033", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface034", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface041", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface048", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface049", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface056", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface057", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface058", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface059", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface060", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface061", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface062", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface063", - "testability/pages/UIComponentTextTextinputInterface/UIComponentTextTextinputInterface064", - "testability/pages/UIComponentTextTextinputPolymorphic/UIComponentTextTextinputPolymorphic001", - "testability/pages/UIComponentTextTextinputPolymorphic/UIComponentTextTextinputPolymorphic002", - "testability/pages/UIComponentTextTextinputPolymorphic/UIComponentTextTextinputPolymorphic003", - "testability/pages/UIComponentTextTextinputPolymorphic/UIComponentTextTextinputPolymorphic004", - "testability/pages/UIComponentTextTextinputPolymorphic/UIComponentTextTextinputPolymorphic005", - "testability/pages/UIComponentTextTextinputPolymorphic/UIComponentTextTextinputPolymorphic006", - "testability/pages/UIComponentTextTextinputPolymorphic/UIComponentTextTextinputPolymorphic007", - "testability/pages/UIComponentTextTextinputPolymorphic/UIComponentTextTextinputPolymorphic008", - "testability/pages/UiComponentWordbreak/UiComponentWordbreak001", - "testability/pages/UiComponentWordbreak/UiComponentWordbreak002", - "testability/pages/UiComponentWordbreak/UiComponentWordbreak003", - "testability/pages/UiComponentWordbreak/UiComponentWordbreak004", - "testability/pages/UiComponentWordbreak/UiComponentWordbreak005", - "testability/pages/UiComponentWordbreak/UiComponentWordbreak006", - "testability/pages/UiComponentWordbreak/UiComponentWordbreak007", - "testability/pages/UiComponentWordbreak/UiComponentWordbreak008", - "testability/pages/UiComponentWordbreak/UiComponentWordbreak009", - "testability/pages/UiComponentWordbreak/UiComponentWordbreak010", - "testability/pages/UiComponentWordbreak/UiComponentWordbreak011", - "testability/pages/UiComponentWordbreak/UiComponentWordbreak012", - "testability/pages/UiComponentWordbreak/UiComponentWordbreak013", - "testability/pages/UiComponentWordbreak/UiComponentWordbreak014", - "testability/pages/UiComponentWordbreak/UiComponentWordbreak015", - "testability/pages/UiComponentWordbreak/UiComponentWordbreak016", - "testability/pages/UiComponentWordbreak/UiComponentWordbreak017", - "testability/pages/UiComponentWordbreak/UiComponentWordbreak018", - "testability/pages/UiComponentWordbreak/UiComponentWordbreak019", - "testability/pages/UiComponentWordbreak/UiComponentWordbreak020", - "testability/pages/UiComponentWordbreak/UiComponentWordbreak021", - "testability/pages/UiComponentWordbreak/UiComponentWordbreak022", - "testability/pages/UIFontFeature/UIFontFeature001", - "testability/pages/UIFontFeature/UIFontFeature002", - "testability/pages/UIFontFeature/UIFontFeature003", - "testability/pages/UIFontFeature/UIFontFeature004", - "testability/pages/UIFontFeature/UIFontFeature005", - "testability/pages/UIFontFeature/UIFontFeature006", - "testability/pages/UIFontFeature/UIFontFeature007", - "testability/pages/UIFontFeature/UIFontFeature008", - "testability/pages/UIFontFeature/UIFontFeature009", - "testability/pages/UIFontFeature/UIFontFeature010", - "testability/pages/UIFontFeature/UIFontFeature011", - "testability/pages/UIFontFeature/UIFontFeature012", - "testability/pages/UIFontFeature/UIFontFeature013", - "testability/pages/UIFontFeature/UIFontFeature014", - "testability/pages/UIFontFeature/UIFontFeature015", - "testability/pages/UIFontFeature/UIFontFeature016", - "testability/pages/UIFontFeature/UIFontFeature017", - "testability/pages/UIFontFeature/UIFontFeature018", - "testability/pages/UIFontFeature/UIFontFeature019", - "testability/pages/UIFontFeature/UIFontFeature020", - "testability/pages/UIFontFeature/UIFontFeature021", - "testability/pages/UIFontFeature/UIFontFeature022", - "testability/pages/UIFontFeature/UIFontFeature023", - "testability/pages/UIFontFeature/UIFontFeature024", - "testability/pages/UIFontFeature/UIFontFeature025", - "testability/pages/UIFontFeature/UIFontFeature026", - "testability/pages/UIFontFeature/UIFontFeature027", - "testability/pages/UIFontFeature/UIFontFeature028", - "testability/pages/UIFontFeature/UIFontFeature029", - "testability/pages/UIFontFeature/UIFontFeature030", - "testability/pages/UIFontFeature/UIFontFeature031", - "testability/pages/UIFontFeature/UIFontFeature032", - "testability/pages/UIFontFeature/UIFontFeature033", - "testability/pages/UIFontFeature/UIFontFeature034", - "testability/pages/UIFontFeature/UIFontFeature035", - "testability/pages/UIFontFeature/UIFontFeature036", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface1010", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface1030", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface1080", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface1090", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack025", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack030", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack031", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack032", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack033", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack034", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack038", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack039", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack041", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack042", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack043", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack047", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack048", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack049", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack050", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack053", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack054", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack055", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack064", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack065", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack066", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack067", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack068", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack069", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack070", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack071", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack072", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack089", - "testability/pages/UIComponentLayoutStack/UIComponentLayoutStack090", - "testability/pages/UIComponentSymbolColorrendering/UIComponentSymbolColorrendering002", - "testability/pages/UIComponentSymbolColorrendering/UIComponentSymbolColorrendering007", - "testability/pages/UIComponentSymbolColorrendering/UIComponentSymbolColorrendering008", - "testability/pages/UIComponentSymbolColorrendering/UIComponentSymbolColorrendering009", - "testability/pages/UIComponentSymbolColorrendering/UIComponentSymboldisplay003", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation001", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation002", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation003", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation004", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation005", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation006", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation009", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation010", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation012", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation014", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation015", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation016", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation017", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation018", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation019", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation020", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation021", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation022", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation023", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation026", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation027", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation028", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation029", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation030", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation031", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation032", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation033", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation034", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation035", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation036", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation037", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation038", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation039", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation040", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation043", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation044", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation045", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation046", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation047", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation048", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation049", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation050", - "testability/pages/UIComponentTextCommonLocation/UIComponentTextCommonLocation051", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout002", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout003", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout004", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout005", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout006", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout007", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout008", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout009", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout010", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout011", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout012", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout013", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout014", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout015", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout016", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout017", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout018", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout019", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout020", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout021", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout022", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout023", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout024", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout025", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout026", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout027", - "testability/pages/UITestCase/UITestCase001", - "testability/pages/UITestCase/UITestCase002", - "testability/pages/UITestCase/UITestCase003", - "testability/pages/UITestCase/UITestCase004", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K012", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K013", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K014", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K015", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K016", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K017", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K018", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K019", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K020", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K021", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K022", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K023", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K024", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K025", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K026", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K027", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K028", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K029", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K030", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K031", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K032", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K033", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K034", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K035", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K036", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K037", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K038", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K039", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K040", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K041", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K042", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K043", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K044", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K045", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K046", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K047", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K048", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K049", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K050", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K051", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K052", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K053", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K054", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K055", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K056", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K057", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K058", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K059", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K060", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K061", - "testability/pages/FunctionJiChuSR000HUB4K/FunctionJiChuSR000HUB4K062", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0010", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0011", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0012", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0013", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0014", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0015", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0016", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0017", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0018", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0020", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0022", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0023", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0024", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0025", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0026", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0027", - "testability/pages/ComponentButtonSelectMenuItemContentModifier/ComponentButtonSelectMenuItemContentModifier0028", - "testability/pages/UiComponentButtonSelectInterface/UiComponentButtonSelectInterface0240", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0030", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0040", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0050", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0060", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0070", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0080", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0090", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0100", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0110", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0120", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0130", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0140", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0150", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0160", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0170", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0180", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0190", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0220", - "testability/pages/UiComponentButtonSelectEnhancement/UiComponentButtonSelectEnhancement0230", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0010", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0020", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0030", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0040", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0050", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0060", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0070", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0080", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0090", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0100", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0110", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0120", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0130", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0140", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0150", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0160", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0170", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0180", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0190", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0200", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0210", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0220", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0230", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0240", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0250", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0260", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0270", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0280", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0290", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0300", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0310", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0320", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0330", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0340", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0350", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0360", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0370", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0380", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0390", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0400", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0410", - "testability/pages/UiComponentButtonSelectAlign/UiComponentButtonSelectAlign0420", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0010", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0030", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0040", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0050", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0060", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0070", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0090", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0100", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0110", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0120", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0130", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0150", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0160", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0170", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0180", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0190", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0210", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0220", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0230", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0240", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0250", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0260", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0280", - "testability/pages/UiComponentPopupboxZero/UiComponentPopupboxZero0290", - "testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0070", - "testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0250", - "testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0310", - "testability/pages/UIComponentPopupboxCalendarpickerInterface/UIComponentPopupboxCalendarpickerInterface0330", - "testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0050", - "testability/pages/UIComponentPopupboxDatepickerDialogLanguageHabit/UIComponentPopupboxDatepickerDialogLanguageHabit0210", - "testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test124", - "testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test125", - "testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test126", - "testability/pages/TsComponentSR000HRP34Test/TsComponentSR000HRP34Test127", - "testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0010", - "testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0020", - "testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0090", - "testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0110", - "testability/pages/UiComponentPopupboxDatePickerDialogScenarios/UiComponentPopupboxDatePickerDialogScenarios0110Page", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0010", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0020", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0030", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0040", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0050", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0060", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0070", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0080", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0090", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0100", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0110", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0120", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0130", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0140", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0150", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0160", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0170", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0180", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0190", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0200", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0210", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0220", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0230", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0240", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0250", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0260", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0270", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0280", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0290", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0300", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0310", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0320", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0330", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0340", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0350", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0360", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0370", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0380", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0390", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0400", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0410", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0420", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0430", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0440", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0450", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0460", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0470", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0480", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0490", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0500", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0510", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0520", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0530", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0540", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0550", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0560", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0570", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0580", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0590", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0600", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0610", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0620", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0630", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0640", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0650", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0660", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0670", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0680", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0690", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0700", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0710", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0720", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0730", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0740", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0750", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0760", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0770", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0780", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0790", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0830", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0840", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0850", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0880", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0890", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0900", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0910", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0920", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0930", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0940", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0950", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface0960", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1000", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1010", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1020", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1030", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1070", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1080", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1090", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1170", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1180", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1450", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1460", - "testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute006", - "testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute011", - "testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute050", - "testability/pages/UIComponentPopupBoxAttribute/UIComponentPopupBoxAttribute051", - "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence002", - "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence003", - "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence004", - "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence005", - "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence006", - "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence007", - "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence008", - "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence009", - "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence014", - "testability/pages/UIComponentPopupBoxPromptToastSequence/UIComponentPopupBoxPromptToastSequence015", - "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton033", - "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton034", - "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton035", - "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton036", - "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton037", - "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton038", - "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton039", - "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton040", - "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton041", - "testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup001", - "testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup002", - "testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup003", - "testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup004", - "testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup005", - "testability/pages/UIComponentPopupBoxSpecificationsPopup/UIComponentPopupBoxSpecificationsPopup006", - "testability/pages/UiComponentPopupboxDatePickerDialogInterface/UiComponentPopupboxDatePickerDialogInterface1470", - "testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface001", - "testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface002", - "testability/pages/UIComponentPopupBoxPopupInterface/UIComponentPopupBoxPopupInterface003", - "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface001", - "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface002", - "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface003", - "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface004", - "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface005", - "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface006", - "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface007", - "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface008", - "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface009", - "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface0010", - "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface0011", - "testability/pages/UIComponentPopupPromptInterface/UIComponentPopupPromptInterface0012", - "testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface001", - "testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface002", - "testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface003", - "testability/pages/UIComponentPopupBoxToastStyleInterface/UIComponentPopupBoxToastStyleInterface004", - "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface005", - "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface004", - "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface003", - "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface002", - "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface001", - "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface006", - "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface007", - "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface008", - "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface009", - "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface0010", - "testability/pages/UITestCase/UITestCase005", - "testability/pages/UITestCase/UITestCase006", - "testability/pages/UITestCase/UITestCase007", - "testability/pages/UITestCase/UITestCase008", - "testability/pages/UITestCase/UITestCase009", - "testability/pages/UITestCase/UITestCase010", - "testability/pages/UITestCase/UITestCase011", - "testability/pages/UITestCase/UITestCase012", - "testability/pages/UITestCase/UITestCase014", - "testability/pages/UITestCase/UITestCase020", - "testability/pages/UITestCase/UITestCase021", - "testability/pages/UITestCase/UITestCase022", - "testability/pages/UITestCase/UITestCase024", - "testability/pages/UITestCase/UITestCase025", - "testability/pages/UITestCase/UITestCase030", - "testability/pages/UITestCase/UITestCase034", - "testability/pages/UITestCase/UITestCase035", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle1190", - "testability/pages/UIComponentTextCommonTextStyle/UiComponentTextCommonTextstyle1200", - "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier023", - "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier024", - "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier025", - "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier026", - "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier027", - "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier028", - "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier029", - "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier030", - "testability/pages/UIComponentLineheightDecoration/UIComponentLineheightDecoration002", - "testability/pages/UIComponentLineheightDecoration/UIComponentLineheightDecoration003", - "testability/pages/UIComponentLineheightDecoration/UIComponentLineheightDecoration004", - "testability/pages/UIComponentLineheightDecoration/UIComponentLineheightDecoration006", - "testability/pages/UIComponentLineheightDecoration/UIComponentLineheightDecoration007", - "testability/pages/UIComponentLineheightDecoration/UIComponentLineheightDecoration008", - "testability/pages/UIComponentLineheightDecoration/UIComponentLineheightDecoration009", - "testability/pages/UIComponentLineheightDecoration/UIComponentLineheightDecoration010", - "testability/pages/UIComponentLineheightDecoration/UIComponentLineheightDecoration011", - "testability/pages/UIComponentLineheightDecoration/UIComponentLineheightDecoration012", - "testability/pages/UIComponentTextinputUnderlinecolor/UIComponentTextinputUnderlinecolor001", - "testability/pages/UIComponentTextinputUnderlinecolor/UIComponentTextinputUnderlinecolor002", - "testability/pages/UIComponentTextinputUnderlinecolor/UIComponentTextinputUnderlinecolor003", - "testability/pages/UIComponentTextinputUnderlinecolor/UIComponentTextinputUnderlinecolor004", - "testability/pages/UIComponentTextinputUnderlinecolor/UIComponentTextinputUnderlinecolor005", - "testability/pages/UIComponentTextinputUnderlinecolor/UIComponentTextinputUnderlinecolor006", - "testability/pages/UIComponentTextinputUnderlinecolor/UIComponentTextinputUnderlinecolor007", - "testability/pages/UIComponentTextinputUnderlinecolor/UIComponentTextinputUnderlinecolor009", - "testability/pages/UIComponentTextinputUnderlinecolor/UIComponentTextinputUnderlinecolor010", - "testability/pages/UIComponentTextinputUnderlinecolor/UIComponentTextinputUnderlinecolor011", - "testability/pages/UIComponentTextinputUnderlinecolor/UIComponentTextinputUnderlinecolor012", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout001", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout002", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout003", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout004", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout005", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout006", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout007", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout008", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout009", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout010", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout011", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout012", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout013", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout014", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout015", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout016", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout017", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout018", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout019", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout020", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout021", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout022", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout023", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout024", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout025", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout028", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout029", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout030", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout031", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout032", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout033", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout034", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout036", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout037", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout038", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout039", - "testability/pages/UIComponentLayoutColumnLayout/UIComponentLayoutColumnLayout040", - "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace001", - "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace002", - "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace003", - "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace004", - "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace005", - "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace007", - "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace008", - "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace009", - "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace010", - "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace011", - "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace012", - "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace013", - "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace014", - "testability/pages/UIComponentTextCommonLinespace/UIComponentTextCommonLinespace015", - "testability/pages/UIComponentTextCommonLinespaceC/UIComponentTextCommonLinespaceC002", - "testability/pages/UIComponentTextCommonLinespaceC/UIComponentTextCommonLinespaceC003", - "testability/pages/UIComponentTextCommonLinespaceC/UIComponentTextCommonLinespaceC004", - "testability/pages/UIComponentTextCommonLinespaceC/UIComponentTextCommonLinespaceC005", - "testability/pages/UIComponentTextCommonLinespaceC/UIComponentTextCommonLinespaceC006", - "testability/pages/UIComponentTextCommonLinespaceC/UIComponentTextCommonLinespaceC007", - "testability/pages/UIComponentTextCommonLinespaceC/UIComponentTextCommonLinespaceC008", - "testability/pages/UIComponentTextCommonLinespaceC/UIComponentTextCommonLinespaceC009", - "testability/pages/UiComponentNavModifier/UiComponentNavModifier013", - "testability/pages/UiComponentSymbolSymbol/UiComponentSymbolSymbol009", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation002", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation003", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation006", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation007", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation008", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix039", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix042", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix048", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix049", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix050", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix051", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix052", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix053", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix054", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix055", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix056", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix057", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix058", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix059", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix060", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix061", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix062", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix063", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix064", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix065", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix066", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix067", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix068", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix069", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix070", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix071", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix072", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix073", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix074", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix075", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix076", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix077", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix078", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix079", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix080", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix082", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix083", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix084", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix085", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix086", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix087", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix088", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix090", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix091", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix092", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix093", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix094", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix095", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix096", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix097", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix098", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix099", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix100", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix101", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix102", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix103", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix104", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix105", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix106", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix107", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix108", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix109", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix110", - "testability/pages/UIComponentScrollSwiperInterfaceMix/UIComponentScrollSwiperInterfaceMix111", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation009", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation011", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation012", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation017", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation018", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation020", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation021", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation026", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation027", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier016", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier017", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier018", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier019", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier020", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier021", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier022", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier031", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier032", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier033", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier034", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier035", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier036", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier037", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier038", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier047", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier048", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier049", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier050", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier051", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier052", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier053", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier054", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier055", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier056", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier057", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier058", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier059", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier060", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier061", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier062", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier063", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier064", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier065", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier066", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier067", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier068", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier069", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier070", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier071", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier072", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier073", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier074", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier075", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier076", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier077", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier078", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifier079", - "testability/pages/UiComponentLayoutModifier/UiComponentLayoutModifierPageB", - "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset001", - "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset003", - "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset004", - "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset005", - "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset007", - "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset008", - "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset009", - "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset010", - "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset012", - "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset013", - "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset014", - "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset019", - "testability/pages/UiComponentSpanBaselineoffset/UiComponentSpanBaselineoffset020", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation035", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation036", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation037", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation038", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation039", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation040", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation041", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation042", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation045", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation046", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation047", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation048", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation049", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation050", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation051", - "testability/pages/UiComponentTextCommonAffineTransformation/UiComponentTextCommonAffineTransformation052", - "testability/pages/ComponentTextCommonTextMinFontSize/ComponentTextCommonTextMinFontSize001", - "testability/pages/ComponentTextCommonTextMinFontSize/ComponentTextCommonTextMinFontSize002", - "testability/pages/ComponentTextCommonTextMinFontSize/ComponentTextCommonTextMinFontSize003", - "testability/pages/ComponentTextCommonTextMinFontSize/ComponentTextCommonTextMinFontSize004", - "testability/pages/ComponentTextCommonTextMinFontSize/ComponentTextCommonTextMinFontSize005", - "testability/pages/ComponentTextCommonTextMinFontSize/ComponentTextCommonTextMinFontSize006", - "testability/pages/ComponentTextCommonTextMinFontSize/ComponentTextCommonTextMinFontSize007", - "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier001", - "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier002", - "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier003", - "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier004", - "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier005", - "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier006", - "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier007", - "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier008", - "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier009", - "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier010", - "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier011", - "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier012", - "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier013", - "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier014", - "testability/pages/ComponentLayoutModifier/ComponentLayoutModifier015", - "testability/pages/ComponentRowColumnSidebarContainerAttribute/ComponentRowColumnSidebarContainerAttribute001", - "testability/pages/ComponentRowColumnSidebarContainerAttribute/ComponentRowColumnSidebarContainerAttribute002", - "testability/pages/ComponentRowColumnSidebarContainerBlurStyle/ComponentRowColumnSidebarContainerBlurStyle001", - "testability/pages/ComponentRowColumnSidebarContainerBlurStyle/ComponentRowColumnSidebarContainerBlurStyle002", - "testability/pages/ComponentRowColumnSidebarContainerBlurStyle/ComponentRowColumnSidebarContainerBlurStyle003", - "testability/pages/ComponentRowColumnSidebarContainerBlurStyle/ComponentRowColumnSidebarContainerBlurStyle004", - "testability/pages/ComponentRowColumnSidebarContainerBlurStyle/ComponentRowColumnSidebarContainerBlurStyle005", - "testability/pages/ComponentRowColumnSidebarContainerBlurStyle/ComponentRowColumnSidebarContainerBlurStyle006", - "testability/pages/ComponentRowColumnSidebarContainerBlurStyle/ComponentRowColumnSidebarContainerBlurStyle007", - "testability/pages/ComponentRowColumnSidebarContainerBlurStyle/ComponentRowColumnSidebarContainerBlurStyle008", - "testability/pages/ComponentTextCommonAffineTransformation/ComponentTextCommonAffineTransformation001", - "testability/pages/ComponentTextCommonAffineTransformation/ComponentTextCommonAffineTransformation002", - "testability/pages/ComponentTextCommonAffineTransformation/ComponentTextCommonAffineTransformation003", - "testability/pages/ComponentTextCommonAffineTransformation/ComponentTextCommonAffineTransformation004", - "testability/pages/ComponentTextCommonAffineTransformation/ComponentTextCommonAffineTransformation005", - "testability/pages/ComponentTextCommonAffineTransformation/ComponentTextCommonAffineTransformation006", - "testability/pages/ComponentTextCommonAffineTransformation/ComponentTextCommonAffineTransformation007", - "testability/pages/ComponentTextCommonAffineTransformation/ComponentTextCommonAffineTransformation008", - "testability/pages/ComponentTextCommonAffineTransformation/ComponentTextCommonAffineTransformation009", - "testability/pages/ComponentTextCommonAffineTransformation/ComponentTextCommonAffineTransformation010", - "testability/pages/ComponentTextCommonAffineTransformation/ComponentTextCommonAffineTransformation011", - "testability/pages/ComponentTextCommonAffineTransformation/ComponentTextCommonAffineTransformation012", - "testability/pages/UIComponentTextTextinputAction/UIComponentTextTextinputAction001", - "testability/pages/UIComponentTextTextinputAction/UIComponentTextTextinputAction014", - "testability/pages/UIComponentTextTextinputAction/UIComponentTextTextinputAction024", - "testability/pages/UIComponentTextTextinputAction/UIComponentTextTextinputAction028", - "testability/pages/UIComponentTextTextinputAction/UIComponentTextTextinputAction029", - "testability/pages/UIComponentTextTextinputAction/UIComponentTextTextinputAction030", - "testability/pages/UIComponentTextTextinputAction/UIComponentTextTextinputAction031", - "testability/pages/UIComponentTextTextinputAction/UIComponentTextTextinputAction033", - "testability/pages/UIComponentTextTextinputAction/UIComponentTextTextinputAction038", - "testability/pages/UIComponentTextTextinputAction/UIComponentTextTextinputAction039", - "testability/pages/UIComponentTextTextinputAction/UIComponentTextTextinputAction057", - "testability/pages/UIComponentTextTextinputAction/UIComponentTextTextinputInterAction0020", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface540", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface750", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface760", - "testability/pages/UiComponentTextTextareaInterface/UiComponentTextTextareaInterface770", - "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0140", - "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0150", - "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0160", - "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0190", - "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0220", - "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0230", - "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0240", - "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0250", - "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0280", - "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0290", - "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0300", - "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0310", - "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0320", - "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0330", - "testability/pages/UIComponentTextCommonAffingTran/UIComponentTextCommonAffingTran0340", - "testability/pages/UIComponentTextinputUnderlinecolor/UIComponentTextinputUnderlinecolor008", - "testability/pages/UITestCase/UITestCase040", - "testability/pages/UITestCase/UITestCase041", - "testability/pages/UITestCase/UITestCase042", - "testability/pages/UITestCase/UITestCase043", - "testability/pages/UITestCase/UITestCase044", - "testability/pages/UITestCase/UITestCase045", - "testability/pages/UITestCase/UITestCase046", - "testability/pages/UITestCase/UITestCase047", - "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier039", - "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier041", - "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier042", - "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier043", - "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier044", - "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier045", - "testability/pages/UIComponentLayoutModifier/UIComponentLayoutModifier046", - "testability/pages/UIComponentSymbolDisplay/UIComponentSymbolDisplay003", - "testability/pages/UIComponentSymbolDisplay/UIComponentSymbolDisplay009", - "testability/pages/UIComponentCommonattrDrawingLayout/UIComponentCommonattrDrawingLayout001", - "testability/pages/UIAttributeFontSupportstage/UIAttributeFontSupportstage001", - "testability/pages/UIAttributeFontSupportstage/UIAttributeFontSupportstage002", - "testability/pages/UIAttributeFontSupportstage/UIAttributeFontSupportstage003", - "testability/pages/UIAttributeFontSupportstage/UIAttributeFontSupportstage004", - "testability/pages/UIAttributeFontSupportstage/UIAttributeFontSupportstage005", - "testability/pages/UIAttributeFontSupportstage/UIAttributeFontSupportstage006", - "testability/pages/UIAttributeFontSupportstage/UIAttributeFontSupportstage007", - "testability/pages/UIAttributeFontSupportstage/UIAttributeFontSupportstage008", - "testability/pages/UIAttributeFontSupportstage/UIAttributeFontSupportstage009", - "testability/pages/UIAttributeFontSupportstage/UIAttributeFontSupportstage010", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface050", - "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface060", - "testability/pages/UIAttributeFontInterface02/fontAttributePage01", - "testability/pages/UIAttributeFontInterface02/fontAttributePage03", - "testability/pages/UIAttributeFontInterface02/fontAttributePage04", - "testability/pages/UIAttributeFontInterface02/fontAttributePage05", - "testability/pages/UIAttributeFontInterface02/fontAttributePage06", - "testability/pages/UIAttributeFontInterface02/fontAttributePage07", - "testability/pages/UIAttributeFontInterface02/fontAttributePage08", - "testability/pages/UIAttributeFontInterface02/fontAttributePage09", - "testability/pages/UIAttributeFontInterface02/fontAttributePage10", - "testability/pages/UIAttributeFontInterface02/fontAttributePage11", - "testability/pages/UIAttributeFontInterface02/fontAttributePage12", - "testability/pages/UIAttributeFontInterface02/fontAttributePage13", - "testability/pages/UIAttributeFontInterface02/fontAttributePage14", - "testability/pages/UIAttributeFontInterface02/fontAttributePage15", - "testability/pages/UIAttributeFontInterface02/fontAttributePage16", - "testability/pages/UIAttributeFontInterface02/fontAttributePage17", - "testability/pages/UIAttributeFontInterface02/fontAttributePage18", - "testability/pages/UIAttributeFontInterface02/fontAttributePage19", - "testability/pages/UIAttributeFontInterface02/fontAttributePage20", - "testability/pages/UIAttributeFontInterface02/fontAttributePage21", - "testability/pages/UIAttributeFontInterface02/fontAttributePage22", - "testability/pages/UIAttributeFontInterface02/fontAttributePage23", - "testability/pages/UIAttributeFontInterface02/fontAttributePage24", - "testability/pages/UIAttributeFontInterface02/fontAttributePage25", - "testability/pages/UIAttributeFontInterface02/fontAttributePage26", - "testability/pages/UIAttributeFontInterface02/fontAttributePage27", - "testability/pages/UIAttributeFontInterface02/fontAttributePage28", - "testability/pages/UIAttributeFontInterface02/fontAttributePage29", - "testability/pages/UIAttributeFontInterface02/fontAttributePage30", - "testability/pages/UIAttributeFontInterface02/fontAttributePage33", - "testability/pages/UIAttributeFontInterface02/fontAttributePage34", - "testability/pages/UIAttributeFontInterface02/fontAttributePage35", - "testability/pages/UIAttributeFontInterface02/fontAttributePage36", - "testability/pages/UIAttributeFontInterface02/fontAttributePage41", - "testability/pages/UIAttributeFontInterface02/fontAttributePage42", - "testability/pages/UIAttributeFontInterface02/fontAttributePage43", - "testability/pages/UIAttributeFontInterface02/fontAttributePage44", - "testability/pages/UIAttributeFontInterface02/fontAttributePage45", - "testability/pages/UIAttributeFontInterface02/fontAttributePage46", - "testability/pages/UIAttributeFontInterface02/fontAttributePage47", - "testability/pages/UIAttributeFontInterface02/fontAttributePage48", - "testability/pages/UIAttributeFontInterface02/fontAttributePage49", - "testability/pages/UIAttributeFontInterface02/fontAttributePage50", - "testability/pages/UIAttributeFontInterface02/fontAttributePage51", - "testability/pages/UIAttributeFontInterface02/fontAttributePage52", - "testability/pages/UIAttributeFontInterface02/fontAttributePage53", - "testability/pages/UIAttributeFontInterface02/fontAttributePage54", - "testability/pages/UIAttributeFontInterface02/fontAttributePage55", - "testability/pages/UIAttributeFontInterface02/fontAttributePage56", - "testability/pages/UIAttributeFontInterface02/fontAttributePage57", - "testability/pages/UIAttributeFontInterface02/fontAttributePage58", - "testability/pages/UIAttributeFontInterface02/fontAttributePage59", - "testability/pages/UIAttributeFontInterface02/fontAttributePage60", - "testability/pages/UIAttributeFontInterface02/fontAttributePage61", - "testability/pages/UIAttributeFontInterface02/fontAttributePage62", - "testability/pages/UIAttributeFontInterface02/fontAttributePage63", - "testability/pages/UIAttributeFontInterface02/fontAttributePage64", - "testability/pages/UIAttributeFontInterface02/fontAttributePage65", - "testability/pages/UIAttributeFontInterface02/fontAttributePage66", - "testability/pages/UIAttributeFontInterface02/fontAttributePage67", - "testability/pages/UIAttributeFontInterface02/fontAttributePage68", - "testability/pages/UIAttributeFontInterface02/fontAttributePage69", - "testability/pages/UIAttributeFontInterface02/fontAttributePage70", - "testability/pages/UIAttributeFontInterface02/fontAttributePage71", - "testability/pages/UIAttributeFontInterface02/fontAttributePage72", - "testability/pages/UIAttributeFontInterface02/fontAttributePage73", - "testability/pages/UIAttributeFontInterface02/fontAttributePage74", - "testability/pages/UIAttributeFontInterface02/fontAttributePage75", - "testability/pages/UIAttributeFontInterface02/fontAttributePage76", - "testability/pages/UIAttributeFontInterface02/fontAttributePage77", - "testability/pages/UIAttributeFontInterface02/fontAttributePage78", - "testability/pages/UIAttributeFontInterface02/fontAttributePage79", - "testability/pages/UIAttributeFontInterface02/fontAttributePage80", - "testability/pages/UIAttributeFontInterface02/fontAttributePage81", - "testability/pages/UIAttributeFontInterface02/fontAttributePage82", - "testability/pages/UIAttributeFontInterface02/fontAttributePage83", - "testability/pages/UIAttributeFontInterface02/fontAttributePage84", - "testability/pages/UIAttributeFontInterface02/fontAttributePage85", - "testability/pages/UIAttributeFontInterface02/fontAttributePage86", - "testability/pages/UIAttributeFontInterface02/fontAttributePage87", - "testability/pages/UIAttributeFontInterface02/fontAttributePage88", - "testability/pages/UIAttributeFontInterface02/fontAttributePage89", - "testability/pages/UIAttributeFontInterface02/fontAttributePage90", - "testability/pages/UIAttributeFontInterface02/fontAttributePage91", - "testability/pages/UIAttributeFontInterface02/fontAttributePage92", - "testability/pages/UIAttributeFontInterface02/fontAttributePage93", - "testability/pages/UIAttributeFontInterface02/fontAttributePage94", - "testability/pages/UIAttributeFontInterface02/fontAttributePage95", - "testability/pages/UIAttributeFontInterface02/fontAttributePage96", - "testability/pages/UIAttributeFontInterface02/fontAttributePage97", - "testability/pages/UIAttributeFontInterface02/fontAttributePage98", - "testability/pages/UIAttributeFontInterface02/fontAttributePage99", - "testability/pages/UIAttributeFontInterface02/fontAttributePage100", - "testability/pages/UIAttributeFontInterface02/fontAttributePage101", - "testability/pages/UIAttributeFontInterface02/fontAttributePage102", - "testability/pages/UIAttributeFontInterface02/fontAttributePage103", - "testability/pages/UIAttributeFontInterface02/fontAttributePage104", - "testability/pages/UIAttributeFontInterface02/fontAttributePage105", - "testability/pages/UIAttributeFontInterface02/fontAttributePage106", - "testability/pages/UIAttributeFontInterface02/fontAttributePage107", - "testability/pages/UIAttributeFontInterface02/fontAttributePage108", - "testability/pages/UIAttributeFontInterface02/fontAttributePage109", - "testability/pages/UIAttributeFontInterface02/fontAttributePage110", - "testability/pages/UIAttributeFontInterface02/fontAttributePage111", - "testability/pages/UIAttributeFontInterface02/fontAttributePage112", - "testability/pages/UIAttributeFontInterface02/fontAttributePage113", - "testability/pages/UIAttributeFontInterface02/fontAttributePage114", - "testability/pages/UIAttributeFontInterface02/fontAttributePage115", - "testability/pages/UIAttributeFontInterface02/fontAttributePage116", - "testability/pages/UIAttributeFontInterface02/fontAttributePage117", - "testability/pages/UIAttributeFontInterface02/fontAttributePage118", - "testability/pages/UIAttributeFontInterface02/fontAttributePage119", - "testability/pages/UIAttributeFontInterface02/fontAttributePage120", - "testability/pages/UIAttributeFontInterface02/fontAttributePage121", - "testability/pages/UIAttributeFontInterface02/fontAttributePage122", - "testability/pages/UIAttributeFontInterface02/fontAttributePage123", - "testability/pages/UIAttributeFontInterface02/fontAttributePage124", - "testability/pages/UIAttributeFontInterface02/fontAttributePage125", - "testability/pages/UIAttributeFontInterface02/fontAttributePage126", - "testability/pages/UIAttributeFontInterface02/fontAttributePage127", - "testability/pages/UIAttributeFontInterface02/fontAttributePage128", - "testability/pages/UIAttributeFontInterface02/fontAttributePage129", - "testability/pages/UIAttributeFontInterface02/fontAttributePage130", - "testability/pages/UIAttributeFontInterface02/fontAttributePage131", - "testability/pages/UIAttributeFontInterface02/fontAttributePage132", - "testability/pages/UIAttributeFontInterface02/fontAttributePage133", - "testability/pages/UIAttributeFontInterface02/fontAttributePage134", - "testability/pages/UIAttributeFontInterface02/fontAttributePage135", - "testability/pages/UIAttributeFontInterface02/fontAttributePage136", - "testability/pages/UIAttributeFontInterface02/fontAttributePage137", - "testability/pages/UIAttributeFontInterface02/fontAttributePage138", - "testability/pages/UIAttributeFontInterface02/fontAttributePage139", - "testability/pages/UIAttributeFontInterface02/fontAttributePage140", - "testability/pages/UIAttributeFontInterface02/fontAttributePage141", - "testability/pages/UIAttributeFontInterface02/fontAttributePage142", - "testability/pages/UIAttributeFontInterface02/fontAttributePage143", - "testability/pages/UIAttributeFontInterface02/fontAttributePage144", - "testability/pages/UIAttributeFontInterface02/fontAttributePage145", - "testability/pages/UIAttributeFontInterface02/fontAttributePage146", - "testability/pages/UIAttributeFontInterface02/fontAttributePage147", - "testability/pages/UIAttributeFontInterface02/fontAttributePage148", - "testability/pages/UIAttributeFontInterface02/fontAttributePage149", - "testability/pages/UIAttributeFontInterface02/fontAttributePage150", - "testability/pages/UIAttributeFontInterface02/fontAttributePage151", - "testability/pages/UIAttributeFontInterface02/fontAttributePage152", - "testability/pages/UIAttributeFontInterface02/fontAttributePage153", - "testability/pages/UIAttributeFontInterface02/fontAttributePage154", - "testability/pages/UIAttributeFontInterface02/fontAttributePage155", - "testability/pages/UIAttributeFontInterface02/fontAttributePage156", - "testability/pages/UIAttributeFontInterface02/fontAttributePage157", - "testability/pages/UIAttributeFontInterface02/fontAttributePage158", - "testability/pages/UIAttributeFontInterface02/fontAttributePage159", - "testability/pages/UIAttributeFontInterface02/fontAttributePage160", - "testability/pages/UIAttributeFontInterface02/fontAttributePage161", - "testability/pages/UIAttributeFontInterface02/fontAttributePage162", - "testability/pages/UIAttributeFontInterface02/fontAttributePage163", - "testability/pages/UIAttributeFontInterface02/fontAttributePage164", - "testability/pages/UIAttributeFontInterface02/fontAttributePage165", - "testability/pages/UIAttributeFontInterface02/fontAttributePage166", - "testability/pages/UIAttributeFontInterface02/fontAttributePage167", - "testability/pages/UIAttributeFontInterface02/fontAttributePage168", - "testability/pages/UIAttributeFontInterface02/fontAttributePage169", - "testability/pages/UIAttributeFontInterface02/fontAttributePage170", - "testability/pages/UIAttributeFontInterface02/fontAttributePage171", - "testability/pages/UIAttributeFontInterface02/fontAttributePage172", - "testability/pages/UIAttributeFontInterface02/fontAttributePage173", - "testability/pages/UIAttributeFontInterface02/fontAttributePage174", - "testability/pages/UIAttributeFontInterface02/fontAttributePage175", - "testability/pages/UIAttributeFontInterface02/fontAttributePage176", - "testability/pages/UIAttributeFontInterface02/fontAttributePage177", - "testability/pages/UIAttributeFontInterface02/fontAttributePage178", - "testability/pages/UIAttributeFontInterface02/fontAttributePage179", - "testability/pages/UIAttributeFontInterface02/fontAttributePage180", - "testability/pages/UIAttributeFontInterface02/fontAttributePage181", - "testability/pages/UIAttributeFontInterface02/fontAttributePage182", - "testability/pages/UIAttributeFontInterface02/fontAttributePage183", - "testability/pages/UIAttributeFontInterface02/fontAttributePage184", - "testability/pages/UIAttributeFontInterface02/fontAttributePage185", - "testability/pages/UIAttributeFontInterface02/fontAttributePage186", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle01", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle02", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle03", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle04", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle05", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle06", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle07", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle08", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle09", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle10", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle11", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle12", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle13", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle14", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle15", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle16", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle17", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle18", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle19", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle20", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle21", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle23", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle24", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle25", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle26", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle27", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle28", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle29", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle30", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle31", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle32", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle33", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle34", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle35", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle36", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle37", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle38", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle39", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle40", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle41", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle42", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle43", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle44", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle45", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle46", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle47", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle48", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle49", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle50", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle51", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle52", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle53", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle54", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle55", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle56", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle57", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle58", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle59", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle60", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle61", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle62", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle63", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle64", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle65", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle66", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle67", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle68", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle69", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle70", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle71", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle72", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle73", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle74", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle75", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle76", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle77", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle78", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle79", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle80", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle81", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle82", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle83", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle84", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle85", - "testability/pages/UIAttributeFontInterface03/fontAttributeAndStyle86", - "testability/pages/StatusManagerBelievable/StatusManagerBelievable0010", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan010", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan011", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan013", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan014", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan017", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan019", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan024", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan050", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan056", - "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater006", - "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater007", - "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater008", - "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater009", - "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater010", - "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater011", - "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater012", - "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater014", - "testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText011", - "testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText0090", - "testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText0100", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan001", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan002", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan004", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan005", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan007", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan008", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan009", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan012", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan015", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan016", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan020", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan021", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan022", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan023", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan027", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan028", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan032", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan033", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan034", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan035", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan036", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan037", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan038", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan039", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan040", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan041", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan042", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan043", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan044", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan045", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan046", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan047", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan048", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan049", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan051", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan052", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan053", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan054", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan055", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan0250", - "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan0290", - "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater001", - "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater002", - "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater003", - "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater004", - "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater005", - "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater013", - "testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt004", - "testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt005", - "testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt006", - "testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt007", - "testability/pages/UIComponentTextImagePrivacySensitive/UIComponentTextImagePrivacySensitive001", - "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable014", - "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable015", - "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable016", - "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable017", - "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable018", - "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable019", - "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable020", - "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable021", - "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable022", - "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable023", - "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable024", - "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable025", - "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable026", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle001", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle009", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle010", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle011", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle012", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle013", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle014", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle015", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle016", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle017", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle018", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle019", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle020", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle024", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle029", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle030", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle031", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle032", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle033", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle034", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle035", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle036", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle037", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0020", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0030", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0040", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0050", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0060", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0070", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0080", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0210", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0220", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0230", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0250", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0260", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0270", - "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0280", - "testability/pages/UIComponentTextTextInterface/UIComponentTextTextInterface029", - "testability/pages/UIComponentTextTextInterface/UIComponentTextTextInterface187", - "testability/pages/UIComponentTextTextInterface/UIComponentTextTextInterface202", - "testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress010", - "testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress011", - "testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress012", - "testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress013", - "testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee002", - "testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee005", - "testability/pages/UIComponentTextTextPrivacyMask/UIComponentTextTextPrivacyMask028", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle006", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle007", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle008", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle009", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle010", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle011", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle012", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle013", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle014", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle015", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle016", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle017", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle018", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle019", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle020", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle021", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle022", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle023", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle024", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle025", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle026", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle027", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle028", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle029", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle030", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle031", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle032", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle033", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle034", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle035", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle036", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle037", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle038", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle039", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle040", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle041", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle042", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle043", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle044", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle045", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle046", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle047", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle048", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle049", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle050", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle051", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle052", - "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle053", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor204", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor205", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor206", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor207", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor208", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor209", - "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor210", - "testability/pages/UIComponentTextTransparency/UIComponentTextTransparency003", - "testability/pages/UIComponentTextTransparency/UIComponentTextTransparency0040", - "testability/pages/UIComponentTextTransparency/UIComponentTextTransparency0050", - "testability/pages/UIComponentTextTransparency/UIComponentTextTransparency0060", - "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree032", - "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree061", - "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree075", - "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree090", - "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree092", - "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree101", - "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree103", - "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree104", - "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree105", - "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree106", - "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree117", - "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree120", - "testability/pages/UIComponentCreateColor/UIComponentCreateColor001", - "testability/pages/UIComponentCreateColor/UIComponentCreateColor002", - "testability/pages/UIComponentCreateColor/UIComponentCreateColor003", - "testability/pages/UIComponentCreateColor/UIComponentCreateColor004", - "testability/pages/UIComponentCreateColor/UIComponentCreateColor006_1", - "testability/pages/UIComponentCreateColor/UIComponentCreateColor006_2", - "testability/pages/UIComponentCreateColor/UIComponentCreateColor006_3", - "testability/pages/UIComponentCreateColor/UIComponentCreateColor007", - "testability/pages/UIComponentCreateColor/UIComponentCreateColor008", - "testability/pages/UIComponentCreateColor/UIComponentCreateColor009", - "testability/pages/UIComponentCreateColor/UIComponentCreateColor011", - "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0430", - "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0440", - "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0450", - "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0460", - "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0470", - "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0890", - "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1120", - "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1140", - "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1150", - "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1160", - "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1170", - "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1180", - "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1190", - "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1200", - "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1220", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0010", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0020", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0030", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0040", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0050", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0060", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0080", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0090", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0100", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0110", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0120", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0130", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0140", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0150", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0160", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0170", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0180", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0190", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0200", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0210", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0220", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0230", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0240", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0250", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0260", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0270", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0280", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0290", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0300", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0310", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0320", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0330", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0340", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0350", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0360", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0370", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0380", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0390", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0400", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0410", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0420", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0430", - "testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0460", - "testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0220", - "testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0320", - "testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0330", - "testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0340", - "testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0350", - "testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0360", - "testability/pages/UIComponentCreateColor/UIComponentCreateColor0120", - "testability/pages/UIComponentCreateColor/UIComponentCreateColor0130", - "testability/pages/UIComponentCreateColor/UIComponentCreateColor0140", - "testability/pages/UIComponentCreateColor/UIComponentCreateColor0150", - "testability/pages/UIComponentCreateColor/UIComponentCreateColor0160", - "testability/pages/UIComponentCreateColor/UIComponentCreateColor0170", - "testability/pages/UIComponentCreateColor/UIComponentCreateColor0180", - "testability/pages/UIComponentCreateColor/UIComponentCreateColor0200", - "testability/pages/UIComponentCreateColor/UIComponentCreateColor0210", - "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0010", - "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0020", - "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0030", - "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0040", - "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0070", - "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0080", - "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0090", - "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0100", - "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0110", - "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0010", - "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0016", - "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0020", - "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0030", - "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0040", - "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0050", - "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0060", - "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0080", - "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0090", - "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0100", - "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0110", - "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0120", - "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0130", - "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0140", - "testability/pages/UIComponentTextTextAreaEvaSaveInputMethod/UIComponentTextTextAreaEvaSaveInputMethod0130", - "testability/pages/UIComponentTextTextAreaEvaSaveInputMethod/UIComponentTextTextAreaEvaSaveInputMethod0140", - "testability/pages/UIComponentTextTextAreaEvaSaveInputMethod/UIComponentTextTextAreaEvaSaveInputMethod0150", - "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0010", - "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0020", - "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0030", - "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0040", - "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0050", - "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0060", - "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0070", - "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0300", - "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0320", - "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0330", - "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0340", - "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0350", - "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0360", - "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0370", - "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0380", - "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0670", - "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0680", - "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0690", - "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0700", - "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0710", - "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0720", - "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0730", - "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0740", - "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface1020", - "testability/pages/UIComponentTextTextAreaLayout/UIComponentTextTextAreaLayout0010", - "testability/pages/UIComponentTextTextAreaLayout/UIComponentTextTextAreaLayout0020", - "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0020", - "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0030", - "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0040", - "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0050", - "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0060", - "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0070", - "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0090", - "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0100", - "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0110", - "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0120", - "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0130", - "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0140", - "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0150", - "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0160", - "testability/pages/UIComponentTextInput/UIComponentTextInput0010", - "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0010", - "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0020", - "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0030", - "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0040", - "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0050", - "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0060", - "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0070", - "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0080", - "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0100", - "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0010", - "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0020", - "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0030", - "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0040", - "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0050", - "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0060", - "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0070", - "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0080", - "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0090", - "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0100", - "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0110", - "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0120", - "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0130", - "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0140", - "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0150", - "testability/pages/UIComponentTextTextAreaUxComsistency/UIComponentTextTextAreaUxComsistency0060", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0440", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0450", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0460", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0470", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0480", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0490", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0500", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0510", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0520", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0530", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0540", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0550", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0560", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0570", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0600", - "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0640", - "testability/pages/UIComponentTextTextAreaEnhances/UIComponentTextTextAreaEnhances0900", - "testability/pages/UIComponentTextTextAreaEnhances/UIComponentTextTextAreaEnhances2500", - "testability/pages/UIComponentTextTextAreaInterAction/UIComponentTextTextAreaInterAction0010", - "testability/pages/UIComponentTextTextAreaInterAction/UIComponentTextTextAreaInterAction0030", - "testability/pages/UIComponentTextTextAreaInterAction/UIComponentTextTextAreaInterAction0040", - "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0010", - "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0020", - "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0030", - "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0040", - "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0050", - "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0180", - "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0060", - "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0070", - "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0080", - "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0090", - "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0100", - "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0110", - "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0120", - "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0130", - "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0140", - "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0150", - "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0160", - "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0170", - "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0030", - "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0170", - "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0180", - "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0190", - "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0200", - "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0210", - "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0220", - "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0230", - "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0240", - "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0250", - "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0260", - "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0270", - "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0280", - "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0290", - "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0300", - "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0310", - "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0320", - "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0330", - "testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0030", - "testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0040", - "testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0080", - "testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0090", - "testability/pages/UIComponentTextInline/UIComponentTextInline0010", - "testability/pages/UIComponentTextInline/UIComponentTextInline0020", - "testability/pages/UIComponentTextInline/UIComponentTextInline0030", - "testability/pages/UIComponentTextInline/UIComponentTextInline0060", - "testability/pages/UIComponentTextInline/UIComponentTextInline0070", - "testability/pages/UIComponentTextInline/UIComponentTextInline0080", - "testability/pages/UIComponentTextInline/UIComponentTextInline0090", - "testability/pages/UIComponentTextInline/UIComponentTextInline0120", - "testability/pages/UIComponentTextInline/UIComponentTextInline0130", - "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0300", - "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0350", - "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0480", - "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0490", - "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0500", - "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0510", - "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0390", - "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0400", - "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0410", - "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0420", - "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0430", - "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0010", - "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0020", - "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0030", - "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0040", - "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0050", - "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0060", - "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0070", - "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0080", - "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0090", - "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0100", - "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0110", - "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0120", - "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0130", - "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0150", - "testability/pages/UIComponentAttributeUserData/UIComponentAttributeUserData0030", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0150", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0160", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0170", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0180", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0190", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0200", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0210", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0220", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0230", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0240", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0250", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0260", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0270", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0280", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0300", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0310", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0320", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0330", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0340", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0350", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0360", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0370", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0380", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0400", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0410", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0420", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0430", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0440", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0460", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0490", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0500", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0510", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0610", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0620", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0660", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0670", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0710", - "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0720", - "testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput001", - "testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput002", - "testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput003", - "testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput004", - "testability/pages/UIComponentTextTextAreaOnEditChange/UIComponentTextTextAreaOnEditChange0100", - "testability/pages/UIComponentTextTextAreaOnEditChange/UIComponentTextTextAreaOnEditChange0090", - "testability/pages/UIComponentTextTextAreaOnEditChange/UIComponentTextTextAreaOnEditChange0130" - ] -} \ No newline at end of file + "src": [ + "testability/pages/UIComponentAttributeImage/UIComponentAttributeImage001", + "testability/pages/UIComponentAttributeImage/UIComponentAttributeImage002", + "testability/pages/UIComponentAttributeImage/UIComponentAttributeImage003", + "testability/pages/UIComponentAttributeImage/UIComponentAttributeImage004", + "testability/pages/UIComponentAttributeImage/UIComponentAttributeImage005", + "testability/pages/UIComponentAttributeImage/UIComponentAttributeImage006", + "testability/pages/UIComponentAttributeImage/UIComponentAttributeImage007", + "testability/pages/UIComponentAttributeImage/UIComponentAttributeImage008", + "testability/pages/UIComponentAttributeImage/UIComponentAttributeImage009", + "testability/pages/UIComponentAttributeImage/UIComponentAttributeImage010", + "testability/pages/UIComponentAttributeImage/UIComponentAttributeImage011", + "testability/pages/UIComponentAttributeImage/UIComponentAttributeImage012", + "testability/pages/UIComponentAttributeImage/UIComponentAttributeImage013", + "testability/pages/UIComponentAttributeImage/UIComponentAttributeImage014", + "testability/pages/UIComponentAttributeImage/UIComponentAttributeImage015", + "testability/pages/UIComponentAttributeImage/UIComponentAttributeImage016", + "testability/pages/UIComponentAttributeImage/UIComponentAttributeImage017", + "testability/pages/UIComponentAttributeImage/UIComponentAttributeImage018", + "testability/pages/StatusManagerBelievable/StatusManagerBelievable0010", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan010", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan011", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan013", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan014", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan017", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan019", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan024", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan050", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan056", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater006", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater007", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater008", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater009", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater010", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater011", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater012", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater014", + "testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText011", + "testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle015", + "testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle016", + "testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle022", + "testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle023", + "testability/pages/UIComponentAttributeStringModifyingStyle/UIComponentAttributeStringModifyingStyle0120", + "testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText023", + "testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText0090", + "testability/pages/UIComponentAttributeStringModifyingStyleText/UIComponentAttributeStringModifyingStyleText0100", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan001", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan002", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan004", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan005", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan007", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan008", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan009", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan012", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan015", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan016", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan020", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan021", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan022", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan023", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan027", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan028", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan032", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan033", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan034", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan035", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan036", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan037", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan038", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan039", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan040", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan041", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan042", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan043", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan044", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan045", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan046", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan047", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan048", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan049", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan051", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan052", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan053", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan054", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan055", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan0250", + "testability/pages/UIComponentTextCommonCustomDrawingSpan/UIComponentTextCommonCustomDrawingSpan0290", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater001", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater002", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater003", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater004", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater005", + "testability/pages/UIComponentTextCommonItscaAttributeUpdater/UIComponentTextCommonItscaAttributeUpdater013", + "testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt004", + "testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt005", + "testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt006", + "testability/pages/UIComponentTextTextImageSpanAlt/UIComponentTextTextImageSpanAlt007", + "testability/pages/UIComponentTextImagePrivacySensitive/UIComponentTextImagePrivacySensitive001", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable014", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable015", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable016", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable017", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable018", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable019", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable020", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable021", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable022", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable023", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable024", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable025", + "testability/pages/UIComponentTextTextEditable/UIComponentTextTextEditable026", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle001", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle009", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle010", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle011", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle012", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle013", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle014", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle015", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle016", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle017", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle018", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle019", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle020", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle024", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle029", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle030", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle031", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle032", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle033", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle034", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle035", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle036", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle037", + + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0020", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0030", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0040", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0050", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0060", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0070", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0080", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0210", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0220", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0230", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0250", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0260", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0270", + "testability/pages/UIComponentTextTextGestureStyle/UIComponentTextTextGestureStyle0280", + + "testability/pages/UIComponentTextTextInterface/UIComponentTextTextInterface029", + "testability/pages/UIComponentTextTextInterface/UIComponentTextTextInterface187", + "testability/pages/UIComponentTextTextInterface/UIComponentTextTextInterface202", + "testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress010", + "testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress011", + "testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress012", + "testability/pages/UIComponentTextTextLongPress/UIComponentTextTextLongPress013", + "testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee002", + "testability/pages/UIComponentTextTextMarquee/UIComponentTextTextMarquee005", + "testability/pages/UIComponentTextTextPrivacyMask/UIComponentTextTextPrivacyMask028", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle006", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle007", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle008", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle009", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle010", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle011", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle012", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle013", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle014", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle015", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle016", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle017", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle018", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle019", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle020", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle021", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle022", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle023", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle024", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle025", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle026", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle027", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle028", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle029", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle030", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle031", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle032", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle033", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle034", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle035", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle036", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle037", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle038", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle039", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle040", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle041", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle042", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle043", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle044", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle045", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle046", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle047", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle048", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle049", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle050", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle051", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle052", + "testability/pages/UIComponentTextTextStringParagraphStyle/UIComponentTextTextStringParagraphStyle053", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor204", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor205", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor206", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor207", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor208", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor209", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor210", + "testability/pages/UIComponentTextTransparency/UIComponentTextTransparency003", + "testability/pages/UIComponentTextTransparency/UIComponentTextTransparency0040", + "testability/pages/UIComponentTextTransparency/UIComponentTextTransparency0050", + "testability/pages/UIComponentTextTransparency/UIComponentTextTransparency0060", + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree032", + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree061", + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree075", + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree090", + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree092", + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree101", + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree103", + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree104", + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree105", + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree106", + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree117", + "testability/pages/UIAttributesStateStylesInterfaceEditableTextThree/UIAttributesStateStylesInterfaceEditableTextThree120", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor001", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor002", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor003", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor004", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor006_1", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor006_2", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor006_3", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor007", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor008", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor009", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor011", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0430", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0440", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0450", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0460", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0470", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix0890", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1120", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1140", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1150", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1160", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1170", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1180", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1190", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1200", + "testability/pages/UIComponentScrollSwiperInterfacemix/UIComponentScrollSwiperInterfacemix1220", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0010", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0020", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0030", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0040", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0050", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0060", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0080", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0090", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0100", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0110", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0120", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0130", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0140", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0150", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0160", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0170", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0180", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0190", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0200", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0210", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0220", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0230", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0240", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0250", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0260", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0270", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0280", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0290", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0300", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0310", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0320", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0330", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0340", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0350", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0360", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0370", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0380", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0390", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0400", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0410", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0420", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0430", + + "testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0460", + "testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0220", + "testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0320", + "testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0330", + "testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0340", + "testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0350", + "testability/pages/UIComponentTextAttributeStringConstructs/UIComponentTextAttributeStringConstructs0360", + + "testability/pages/UIComponentCreateColor/UIComponentCreateColor0120", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor0130", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor0140", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor0150", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor0160", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor0170", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor0180", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor0200", + "testability/pages/UIComponentCreateColor/UIComponentCreateColor0210", + "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0010", + "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0020", + "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0030", + "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0040", + "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0070", + "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0080", + "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0090", + "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0100", + "testability/pages/UIComponentTextTextAreaAction/UIComponentTextTextAreaAction0110", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0010", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0016", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0020", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0030", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0040", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0050", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0060", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0080", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0090", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0100", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0110", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0120", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0130", + "testability/pages/UIComponentTextTextAreaEnterkeyType/UIComponentTextTextAreaEnterkeyType0140", + "testability/pages/UIComponentTextTextAreaEvaSaveInputMethod/UIComponentTextTextAreaEvaSaveInputMethod0130", + "testability/pages/UIComponentTextTextAreaEvaSaveInputMethod/UIComponentTextTextAreaEvaSaveInputMethod0140", + "testability/pages/UIComponentTextTextAreaEvaSaveInputMethod/UIComponentTextTextAreaEvaSaveInputMethod0150", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0010", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0020", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0030", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0040", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0050", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0060", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0070", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0300", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0320", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0330", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0340", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0350", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0360", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0370", + "testability/pages/UIComponentTextTextAreaInterActive/UIComponentTextTextAreaInterActive0380", + "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0670", + "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0680", + "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0690", + "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0700", + "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0710", + "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0720", + "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0730", + "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface0740", + "testability/pages/UIComponentTextTextAreaInterface/UIComponentTextTextAreaInterface1020", + "testability/pages/UIComponentTextTextAreaLayout/UIComponentTextTextAreaLayout0010", + "testability/pages/UIComponentTextTextAreaLayout/UIComponentTextTextAreaLayout0020", + + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0020", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0030", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0040", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0050", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0060", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0070", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0090", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0100", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0110", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0120", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0130", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0140", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0150", + "testability/pages/UIComponentTextTextAreaSelection/UIComponentTextTextAreaSelection0160", + + "testability/pages/UIComponentTextInput/UIComponentTextInput0010", + + "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0010", + "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0020", + "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0030", + "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0040", + "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0050", + "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0060", + "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0070", + "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0080", + "testability/pages/UIComponentTextInputNumberDecimal/UIComponentTextInputNumberDecimal0100", + + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0010", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0020", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0030", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0040", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0050", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0060", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0070", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0080", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0090", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0100", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0110", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0120", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0130", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0140", + "testability/pages/UIComponentTextInputSecurityKeyboardScroll/UIComponentTextInputSecurityKeyboardScroll0150", + + "testability/pages/UIComponentTextTextAreaUxComsistency/UIComponentTextTextAreaUxComsistency0060", + + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0440", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0450", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0460", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0470", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0480", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0490", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0500", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0510", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0520", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0530", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0540", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0550", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0560", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0570", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0600", + "testability/pages/UIComponentTextAttribute/UIComponentTextAttribute0640", + + "testability/pages/UIComponentTextTextAreaEnhances/UIComponentTextTextAreaEnhances0900", + "testability/pages/UIComponentTextTextAreaEnhances/UIComponentTextTextAreaEnhances2500", + + "testability/pages/UIComponentTextTextAreaInterAction/UIComponentTextTextAreaInterAction0010", + "testability/pages/UIComponentTextTextAreaInterAction/UIComponentTextTextAreaInterAction0030", + "testability/pages/UIComponentTextTextAreaInterAction/UIComponentTextTextAreaInterAction0040", + + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0010", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0020", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0030", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0040", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0050", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0180", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0060", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0070", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0080", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0090", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0100", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0110", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0120", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0130", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0140", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0150", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0160", + "testability/pages/UIComponentTextCommonCopyOptionDraggable/UIComponentTextCommonCopyOptionDraggable0170", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0030", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0170", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0180", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0190", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0200", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0210", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0220", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0230", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0240", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0250", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0260", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0270", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0280", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0290", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0300", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0310", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0320", + "testability/pages/UIComponentTextTextSupportFont/UIComponentTextTransparency0330", + "testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0030", + "testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0040", + "testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0080", + "testability/pages/UIComponentTextHyperlinkInteraction/UIComponentTextHyperlinkInteraction0090", + "testability/pages/UIComponentTextInline/UIComponentTextInline0010", + "testability/pages/UIComponentTextInline/UIComponentTextInline0020", + "testability/pages/UIComponentTextInline/UIComponentTextInline0030", + "testability/pages/UIComponentTextInline/UIComponentTextInline0060", + "testability/pages/UIComponentTextInline/UIComponentTextInline0070", + "testability/pages/UIComponentTextInline/UIComponentTextInline0080", + "testability/pages/UIComponentTextInline/UIComponentTextInline0090", + "testability/pages/UIComponentTextInline/UIComponentTextInline0120", + "testability/pages/UIComponentTextInline/UIComponentTextInline0130", + "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0200", + "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0300", + "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0350", + "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0480", + "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0490", + "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0500", + "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0510", + "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0390", + "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0400", + "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0410", + "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0420", + "testability/pages/UIComponentTextReverseAnalysis/UIComponentTextReverseAnalysis0430", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0010", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0020", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0030", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0040", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0050", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0060", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0070", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0080", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0090", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0100", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0110", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0120", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0130", + "testability/pages/UIComponentInputKeyboardAvoidMode/UIComponentInputKeyboardAvoidMode0150", + "testability/pages/UIComponentAttributeUserData/UIComponentAttributeUserData0030", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0150", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0160", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0170", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0180", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0190", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0200", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0210", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0220", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0230", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0240", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0250", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0260", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0270", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0280", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0300", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0310", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0320", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0330", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0340", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0350", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0360", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0370", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0380", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0400", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0410", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0420", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0430", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0440", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0460", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0490", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0500", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0510", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0610", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0620", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0660", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0670", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0710", + "testability/pages/UICustomTextShortCutKeyReplacement/UICustomTextShortCutKeyReplacement0720", + "testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput001", + "testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput002", + "testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput003", + "testability/pages/UIComponentTextTextEvasiveInputMethod/UIComponentTextTextEvasiveInput004", + "testability/pages/UIComponentTextTextAreaOnEditChange/UIComponentTextTextAreaOnEditChange0100", + "testability/pages/UIComponentTextTextAreaOnEditChange/UIComponentTextTextAreaOnEditChange0090", + "testability/pages/UIComponentTextTextAreaOnEditChange/UIComponentTextTextAreaOnEditChange0130" + ] +} -- Gitee